diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:53:49 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:53:49 -0400 |
commit | 8c8aa6b07e595cfac56838b5964ab3e96051f1b2 (patch) | |
tree | da38e2c1979148dbd3b0c7b87f930746f5ba7f44 /bindings/swig/Makefile.oth | |
parent | 8d3fc864d094eeadc721f8e93436b37a5fab173e (diff) |
Imported Upstream version 1.5.7
Diffstat (limited to 'bindings/swig/Makefile.oth')
-rw-r--r-- | bindings/swig/Makefile.oth | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bindings/swig/Makefile.oth b/bindings/swig/Makefile.oth new file mode 100644 index 0000000..44f00ce --- /dev/null +++ b/bindings/swig/Makefile.oth @@ -0,0 +1,22 @@ +TOP = $(PWD) +SWIG = swig +#SWIGOPT = -Wall -proxy +SWIGOPT = -shadow +CXXSRCS = +TARGET = sword +INTERFACE = sword.i +LIBS = -lm -lz -lsword +INCLUDE = -I$(TOP)/../../include/ + +all:: + $(MAKE) -f $(TOP)/Makefile.swig CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + TARGET='$(TARGET)' SWIGOPT='$(SWIGOPT)' INTERFACE='$(INTERFACE)' LIBS='$(LIBS)' INCLUDE='$(INCLUDE)' perl5_cpp + +static:: + $(MAKE) -f $(TOP)/Makefile.swig CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + TARGET='myperl' INTERFACE='$(INTERFACE)' INCLUDE='$INCLUDE' perl5_cpp_static + +clean:: + rm -f *_wrap* *.o *~ *.so myperl *.pyc .~* core + +check: all |