source: tools/tracedump/Makefile @ fd9d44c

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since fd9d44c was fd9d44c, checked in by Daniel Lawson <dlawson@…>, 16 years ago

moved tracedump into tools dir, updated to use libpacketdump

  • Property mode set to 100644
File size: 360 bytes
Line 
1CXX=g++
2PREFIX?=/usr/local
3INCLUDES=-I$(PREFIX)/include
4# Directory to search for plugins
5LIBDIR="./"
6CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic
7LDFLAGS=-L$(PREFIX)/lib
8LDLIBS=-ltrace -ldl -lpacketdump
9
10all: tracedump
11
12%.so:%.cc
13        $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@
14
15
16clean:
17        rm -f *.o tracedump *.so
18
19install:
20        cp *.so $(LIBDIR)
21
22.PHONY: clean all links
23
Note: See TracBrowser for help on using the repository browser.