source: swig/ @ 47de0aa

Last change on this file since 47de0aa was 47de0aa, checked in by Daniel Lawson <dlawson@…>, 16 years ago
  • Cosmetic changes to trace_help() output
  • inclusion of some m4 handlers to deal with swig and python, lifted from 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
1BUILT_SOURCES = libtrace_wrap.c
2SWIG_SOURCES = libtrace.i
4pkgpython_PYTHON =
5pkgpyexec_LTLIBRARIES =
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
12libtrace_wrap.c : $(SWIG_SOURCES)
13        $(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir)/lib -o $@ $<
16        rm libtrace_wrap.c
Note: See TracBrowser for help on using the repository browser.