source: swig/Makefile.am @ f0b9060

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since f0b9060 was 47de0aa, checked in by Daniel Lawson <dlawson@…>, 15 years ago
  • Cosmetic changes to trace_help() output
  • inclusion of some m4 handlers to deal with swig and python, lifted from http://autoconf-archive.cryp.to/. These are GPLd, which needs to be taken into account if libtrace licensing changes!
  • updated the swig bindings for python. Mostly api compliant now. Still possibly a memory leak to do with displaying ip addresses - I haven't touched this particular part of the code yet.
  • Property mode set to 100644
File size: 659 bytes
RevLine 
[47de0aa]1BUILT_SOURCES = libtrace_wrap.c
2SWIG_SOURCES = libtrace.i
3
4pkgpython_PYTHON = libtrace.py
5pkgpyexec_LTLIBRARIES = _libtrace.la
6_libtrace_la_SOURCES = libtrace_wrap.c $(SWIG_SOURCES)
7_libtrace_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/lib -I/usr/local/include -shared
8#_libtrace_la_CXXFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/lib -g -shared -I/usr/local/include
9_libtrace_la_LDFLAGS = -module  -L/usr/local/lib -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@
10_libtrace_la_LIBADD = -ltrace
11
12libtrace_wrap.c : $(SWIG_SOURCES)
13        $(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir)/lib -o $@ $<
14
15clean-hook:
16        rm libtrace.py libtrace_wrap.c
Note: See TracBrowser for help on using the repository browser.