forked from mfontanini/packet-capture-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
47 lines (28 loc) · 1.32 KB
/
Makefile.in
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
CXX=@CXX@
CXXFLAGS= -c -Wall @CXXFLAGS@
LDFLAGS=
all: @libraries@ pcap_generator
compile: $(OBJECTS)
libtins: libtins/benchmark.o
$(CXX) libtins/benchmark.o $(LDFLAGS) @LIBTINS_LIBS@ -o libtins/benchmark
libtins/benchmark.o: libtins/benchmark.cpp
$(CXX) -c libtins/benchmark.cpp @LIBTINS_CXXFLAGS@ -o libtins/benchmark.o
pcap_generator: pcap_generator/generator.o
$(CXX) pcap_generator/generator.o $(LDFLAGS) @LIBTINS_LIBS@ -o pcap_generator/generator
pcap_generator/generator.o: pcap_generator/generator.cpp
$(CXX) -c pcap_generator/generator.cpp @LIBTINS_CXXFLAGS@ -o pcap_generator/generator.o
libcrafter: libcrafter/benchmark.o
$(CXX) libcrafter/benchmark.o $(LDFLAGS) @LIBCRAFTER_LIBS@ -o libcrafter/benchmark
libcrafter/benchmark.o: libcrafter/benchmark.cpp
$(CXX) -c libcrafter/benchmark.cpp @LIBCRAFTER_CXXFLAGS@ -o libcrafter/benchmark.o
libpcap: libpcap/benchmark.o
$(CXX) libpcap/benchmark.o $(LDFLAGS) @LIBPCAP_LIBS@ -o libpcap/benchmark
libpcap/benchmark.o: libpcap/benchmark.cpp
$(CXX) -c libpcap/benchmark.cpp @LIBPCAP_CXXFLAGS@ -o libpcap/benchmark.o
benchmark: all
LD_LIBRARY_PATH=@EXECUTION_LIB_PATH@ ./benchmark.sh @libraries@
#.cpp.o:
# $(CXX) $(CXXFLAGS) $(INCLUDE) $< -o $@
clean:
rm -f libtins/benchmark libpcap/benchmark libcrafter/benchmark pcap_generator/generator */*.o
-include depends.d