summaryrefslogtreecommitdiffstats
path: root/swig/chicken/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'swig/chicken/Makefile.am')
-rw-r--r--swig/chicken/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/swig/chicken/Makefile.am b/swig/chicken/Makefile.am
new file mode 100644
index 0000000..8e3de73
--- /dev/null
+++ b/swig/chicken/Makefile.am
@@ -0,0 +1,15 @@
+EXTRA_DIST = slv2.setup lv2_list.scm
+
+if WITH_CHICKEN
+all:
+ rm -f slv2.scm slv2_wrap.c
+ swig -DCHICKEN -Wall -chicken -proxy -nounit -I../.. -o slv2_wrap.c -oh slv2_wrap.h ../slv2.i
+ tar -czf slv2.egg slv2.setup slv2.scm slv2_wrap.c
+
+#install-exec-local:
+# chicken-setup ./slv2.egg
+
+clean-local:
+ rm -f *.[ch] *.so *.o slv2.egg slv2.scm
+endif
+