File: Makefile.am

package info (click to toggle)
guessnet 0.35-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,564 kB
  • ctags: 1,447
  • sloc: cpp: 6,188; sh: 1,009; perl: 118; makefile: 105
file content (68 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#DEFINES := $(shell libnet-config --defines)
#LIBS := $(shell libnet-config --libs) -lpcap -lpthread -lpopt
#CFLAGS := $(shell libnet-config --cflags) $(CFLAGS)

#SUBDIRS = gnparser ifparser .
#SUBDIRS = ipexpr

noinst_PROGRAMS = test-iface test-netsender test-scanbag test-netwatcher test-processrunner

#noinst_PROGRAMS = tgp

#tgp_SOURCES = stringf.cc Exception.cc nettypes.cc Parser.cc GuessnetParser.cc

test_iface_SOURCES = \
	test-iface.cc
test_iface_LDADD = @LIBNET_LIBS@ \
	../src/Exception.o \
	../src/Environment.o \
	../src/IFace.o

test_netsender_SOURCES = \
	test-netsender.cc
test_netsender_LDADD = @LIBNET_LIBS@ \
	../src/stringf.o \
	../src/nettypes.o \
	../src/Exception.o \
	../src/Environment.o \
	../src/Buffer.o \
	../src/Thread.o \
	../src/IFace.o \
	../src/PacketMaker.o \
	../src/NetWatcher.o \
	../src/NetSender.o

test_netwatcher_SOURCES = \
	test-netwatcher.cc
test_netwatcher_LDADD = @LIBNET_LIBS@ \
	../src/stringf.o \
	../src/Exception.o \
	../src/Environment.o \
	../src/Buffer.o \
	../src/Thread.o \
	../src/IFace.o \
	../src/NetWatcher.o

test_processrunner_SOURCES = \
	test-processrunner.cc
test_processrunner_LDADD = @LIBNET_LIBS@ \
	../src/stringf.o \
	../src/Exception.o \
	../src/Environment.o \
	../src/Buffer.o \
	../src/Thread.o \
	../src/Exec.o \
	../src/ChildProcess.o \
	../src/ProcessRunner.o

test_scanbag_SOURCES = \
	test-scanbag.cc
test_scanbag_LDADD = @LIBNET_LIBS@ \
	../src/stringf.o \
	../src/nettypes.o \
	../src/Exception.o \
	../src/Environment.o \
	../src/ScanBag.o \
	../src/Parser.o

INCLUDES=@LIBNET_CFLAGS@ -DSCRIPTDIR=\"@scriptdir@\" -I ../src