Enable NSIS support for example module and rename it to mod_example
[synfig.git] / synfig-core / src / modules / mod_example / Makefile.am
diff --git a/synfig-core/src/modules/mod_example/Makefile.am b/synfig-core/src/modules/mod_example/Makefile.am
new file mode 100644 (file)
index 0000000..bd4566f
--- /dev/null
@@ -0,0 +1,38 @@
+# $Id$
+
+MAINTAINERCLEANFILES = \
+       Makefile.in
+
+INCLUDES = \
+       -I$(top_builddir) \
+       -I$(top_srcdir)/src
+
+
+moduledir = @MODULE_DIR@
+
+module_LTLIBRARIES = libmod_example.la
+
+libmod_example_la_SOURCES = \
+       main.cpp \
+       simplecircle.cpp \
+       simplecircle.h \
+       filledrect.h \
+       filledrect.cpp \
+       metaballs.h \
+       metaballs.cpp
+
+libmod_example_la_LIBADD = \
+       ../../synfig/libsynfig.la \
+       @SYNFIG_LIBS@
+
+libmod_example_la_LDFLAGS = \
+       -module \
+       -no-undefined \
+       -avoid-version
+
+libmod_example_la_CXXFLAGS = \
+       @SYNFIG_CFLAGS@
+
+EXTRA_DIST = \
+       mod_example.nsh \
+       unmod_example.nsh