source: examples/tracedump/Makefile @ d2e3359

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since d2e3359 was 5d6ebe1, checked in by Perry Lorier <perry@…>, 17 years ago

Added asn1 parsing
Started fixing bug with tcp option parsing

  • Property mode set to 100644
File size: 769 bytes
Line 
1CXX=g++
2INCLUDES=-I/usr/local/wand/include
3CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic
4LDFLAGS=-L/usr/local/wand/lib
5LDLIBS=-ltrace -ldl -lpcap -lz
6LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
7ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
8IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
9TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
10PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
11
12all: tracedump $(PLUGINS) asn1-test
13
14tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o
15
16tcp_1720.so: tcp_1720.cc asn1.o
17
18%.so:%.cc
19        $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@
20
21asn1-test: CXXFLAGS+=-DTEST
22asn1-test: asn1.cc
23
24clean:
25        rm -f *.o tracedump *.so
26
27install:
28        cp *.so $(LIBDIR)
29
30.PHONY: clean all
31
Note: See TracBrowser for help on using the repository browser.