source: lib/Makefile @ c681e86

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

updated to allow bpf filters on arbitrary data

  • Property mode set to 100644
File size: 1.1 KB
Line 
1CC=gcc-3.0
2CFLAGS= -Wall -Wimplicit -Wformat -pipe -g -O3
3
4INCLUDE = -I../include -I/usr/local/wand/include
5CFLAGS += -D_FILE_OFFSET_BITS=64
6CFLAGS += $(INCLUDE)
7libdir = -L/usr/local/wand/lib/
8LDLIBS = $(libdir) -lpcapl -lzl
9
10
11CURRENT=1
12REVISION=3
13AGE=0
14
15INCLIBS=/usr/local/wand/lib/libzl.a /usr/local/wand/lib/libpcapl.a
16
17.PHONY: all clean distclean install depend
18
19all: libtrace.lo libtrace.la
20
21
22libfifo.lo:     fifo.c
23        libtool --mode=compile $(CC) $(CFLAGS) -c $< -o libfifo.lo
24
25libtrace.lo:    trace.c
26        libtool --mode=compile $(CC) $(CFLAGS) -c $< -o libtrace.lo
27
28libtrace.la:    libtrace.lo libfifo.lo
29        libtool --mode=link $(CC) $(CFLAGS) -o libtrace.la \
30        libtrace.lo libfifo.lo -rpath /usr/local/wand/lib $(LDLIBS) \
31        -version-info $(CURRENT):$(REVISION):$(AGE)
32
33
34clean:
35        $(RM) *~ *.o libtrace.a *.lo *.la libtrace.so.* .libs/*.*
36
37distclean:
38        $(RM) *~ *.o
39
40
41install: libtrace.la
42        libtool --mode=install install -c libtrace.la /usr/local/wand/lib/libtrace.la
43        libtool --finish /usr/local/wand/lib/
44        cp ../include/libtrace.h /usr/local/wand/include/libtrace.h
45
46# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.