summaryrefslogtreecommitdiffstats
path: root/swig/mzscheme
diff options
context:
space:
mode:
Diffstat (limited to 'swig/mzscheme')
-rw-r--r--swig/mzscheme/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/swig/mzscheme/Makefile.am b/swig/mzscheme/Makefile.am
new file mode 100644
index 0000000..afc8f10
--- /dev/null
+++ b/swig/mzscheme/Makefile.am
@@ -0,0 +1,10 @@
+if WITH_MZSCHEME
+all:
+ swig -DMZSCHEME -Wall -mzscheme -I../.. -o slv2_mzscheme.c -oh slv2_mzscheme.h ../slv2.i
+ gcc -fPIC -shared -Iplt -I../.. \
+ -I/usr/include/plt slv2_mzscheme.c -o libslv2_mzscheme.so
+
+clean-local:
+ rm -f *.[ch] *.so *.o
+endif
+