4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 183b39e was
183b39e,
checked in by Daniel Lawson <dlawson@…>, 16 years ago
|
poink
|
-
Property mode set to
100644
|
File size:
931 bytes
|
Line | |
---|
1 | CXX=g++ |
---|
2 | INCLUDES=-I/usr/local/include |
---|
3 | # Directory to search for plugins |
---|
4 | LIBDIR="./" |
---|
5 | CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic |
---|
6 | LDFLAGS=-L/usr/local/wand/lib |
---|
7 | LDLIBS=-ltrace -ldl -lpcap -lzl |
---|
8 | LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc))) |
---|
9 | ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc))) |
---|
10 | IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc))) |
---|
11 | TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc))) |
---|
12 | PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS) |
---|
13 | |
---|
14 | all: tracedump $(PLUGINS) asn1-test links |
---|
15 | |
---|
16 | tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o |
---|
17 | |
---|
18 | tracedump-lib.o: CXXFLAGS+=-DLIBDIR=$(LIBDIR) |
---|
19 | |
---|
20 | tcp_1720.so: tcp_1720.cc asn1.o |
---|
21 | |
---|
22 | %.so:%.cc |
---|
23 | $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@ |
---|
24 | |
---|
25 | asn1-test: CXXFLAGS+=-DTEST |
---|
26 | asn1-test: asn1.cc |
---|
27 | $(CXX) $(CXXFLAGS) $^ -o $@ |
---|
28 | |
---|
29 | links: links.txt |
---|
30 | ./make_links |
---|
31 | |
---|
32 | clean: |
---|
33 | rm -f *.o tracedump *.so |
---|
34 | |
---|
35 | install: |
---|
36 | cp *.so $(LIBDIR) |
---|
37 | |
---|
38 | .PHONY: clean all links |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.