source: examples/tracedump/Makefile @ d907ff5

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

Import tracedump to libtrace

  • Property mode set to 100644
File size: 563 bytes
Line 
1CXX=g++
2INCLUDES=-I/usr/local/wand/include
3CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic
4LDFLAGS=-L/usr/local/wand/lib
5LDLIBS=-ltrace -ldl
6LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
7ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
8IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
9PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS)
10
11all: tracedump $(PLUGINS)
12
13tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o
14
15%.so:%.cc
16        $(CXX) $(CXXFLAGS) -fpic -shared $< -o $@
17
18clean:
19        rm -f *.o tracedump *.so
20
21.PHONY: clean all
22
Note: See TracBrowser for help on using the repository browser.