source: lib/Makefile @ c5a22ec

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

poink

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[2c060e3]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)
[9135f43]7libdir = -L/usr/local/wand/lib/
8LDLIBS = $(libdir) -lpcapl -lzl
[2c060e3]9
10
[9135f43]11CURRENT=1
[a9d9fd6]12REVISION=4
[9135f43]13AGE=0
[2c060e3]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
[9135f43]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)
[2c060e3]32
33
34clean:
[9135f43]35        $(RM) *~ *.o libtrace.a *.lo *.la libtrace.so.* .libs/*.*
[2c060e3]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.