source: swig/Makefile @ 4e194bc

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

adding python binding stuff

  • Property mode set to 100644
File size: 362 bytes
Line 
1CFLAGS=-g -Wall -I/usr/include/python2.1 -I../include -I /usr/lib/perl/5.8.4/CORE/
2LDDIRS=-L../lib
3LDLIBS=-ltrace -lpcap -lz
4
5all:    libtrace_wrap.o
6        gcc -shared libtrace_wrap.o $(LDDIRS) $(LDLIBS) -o _libtrace.so
7
8libtrace_wrap.o: libtrace_wrap.c
9
10libtrace_wrap.c: libtrace.i
11        swig -python libtrace.i
12
13
14clean:
15        rm -f libtrace_wrap.c libtrace_wrap.o _libtrace.so
Note: See TracBrowser for help on using the repository browser.