source: examples/tracedump/Makefile @ 5d6ebe1

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 5d6ebe1 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
RevLine 
[d907ff5]1CXX=g++
2INCLUDES=-I/usr/local/wand/include
3CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic
4LDFLAGS=-L/usr/local/wand/lib
[5d6ebe1]5LDLIBS=-ltrace -ldl -lpcap -lz
[d907ff5]6LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
7ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
8IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
[5d6ebe1]9TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
10PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
[d907ff5]11
[5d6ebe1]12all: tracedump $(PLUGINS) asn1-test
[d907ff5]13
14tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o
15
[5d6ebe1]16tcp_1720.so: tcp_1720.cc asn1.o
17
[d907ff5]18%.so:%.cc
[5d6ebe1]19        $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@
20
21asn1-test: CXXFLAGS+=-DTEST
22asn1-test: asn1.cc
[d907ff5]23
24clean:
25        rm -f *.o tracedump *.so
26
[5d6ebe1]27install:
28        cp *.so $(LIBDIR)
29
[d907ff5]30.PHONY: clean all
31
Note: See TracBrowser for help on using the repository browser.