Changeset 5d6ebe1 for examples/tracedump/Makefile
- Timestamp:
- 08/20/04 11:45:32 (18 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- d2e3359
- Parents:
- d907ff5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tracedump/Makefile
rd907ff5 r5d6ebe1 3 3 CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic 4 4 LDFLAGS=-L/usr/local/wand/lib 5 LDLIBS=-ltrace -ldl 5 LDLIBS=-ltrace -ldl -lpcap -lz 6 6 LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc))) 7 7 ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc))) 8 8 IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc))) 9 PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) 9 TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc))) 10 PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS) 10 11 11 all: tracedump $(PLUGINS) 12 all: tracedump $(PLUGINS) asn1-test 12 13 13 14 tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o 14 15 16 tcp_1720.so: tcp_1720.cc asn1.o 17 15 18 %.so:%.cc 16 $(CXX) $(CXXFLAGS) -fpic -shared $< -o $@ 19 $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@ 20 21 asn1-test: CXXFLAGS+=-DTEST 22 asn1-test: asn1.cc 17 23 18 24 clean: 19 25 rm -f *.o tracedump *.so 20 26 27 install: 28 cp *.so $(LIBDIR) 29 21 30 .PHONY: clean all 22 31
Note: See TracChangeset
for help on using the changeset viewer.