summaryrefslogtreecommitdiffstats
path: root/csharp
diff options
context:
space:
mode:
Diffstat (limited to 'csharp')
-rw-r--r--csharp/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/csharp/Makefile.am b/csharp/Makefile.am
new file mode 100644
index 00000000..0c8a375b
--- /dev/null
+++ b/csharp/Makefile.am
@@ -0,0 +1,23 @@
+INCLUDES = -I$(top_srcdir)
+
+csharp_LTLIBRARIES = lassomod.la
+csharpdir = /tmp
+
+lassomod_la_SOURCES = lassomod_wrap.c \
+ $(top_srcdir)/swig/Lasso.c
+
+lassomod_la_CFLAGS = $(LASSO_CFLAGS) \
+ -DSWIG_COBJECT_TYPES
+
+lassomod_la_LIBADD = $(top_builddir)/lasso/liblasso.la \
+ $(LASSO_LIBS)
+
+lassomod_la_LDFLAGS = -no-undefined -module -avoid-version
+
+lassomod_wrap.c: $(top_srcdir)/swig/Lasso.i
+ $(SWIG) -v -csharp -module lassomod -o lassomod_wrap.c $<
+
+SWIG_OUTPUTS = lassomod_wrap.c SWIGTYPE*.cs lasso*.cs Lasso*.cs
+
+MAINTAINERCLEANFILES = $(SWIG_OUTPUTS)
+