summary refs log tree commit diff
path: root/marshallers/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'marshallers/Makefile.am')
-rw-r--r--marshallers/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/marshallers/Makefile.am b/marshallers/Makefile.am
new file mode 100644
index 00000000..357029dd
--- /dev/null
+++ b/marshallers/Makefile.am
@@ -0,0 +1,27 @@
+noinst_LTLIBRARIES = libmarshallers.la
+
+BUILT_SOURCES = \
+	nm-marshal.h \
+	nm-marshal.c
+
+libmarshallers_la_SOURCES = \
+	nm-marshal-main.c
+
+libmarshallers_la_CPPFLAGS = \
+	$(GLIB_CFLAGS) \
+	-DG_DISABLE_DEPRECATED
+
+
+libmarshallers_la_LIBADD = $(GLIB_LIBS)
+
+EXTRA_DIST = nm-marshal.list
+CLEANFILES = $(BUILT_SOURCES)
+
+nm-marshal.h: nm-marshal.list
+	$(GLIB_GENMARSHAL) $< --prefix=_nm_marshal --header > $@
+
+nm-marshal.c: nm-marshal.list
+	$(GLIB_GENMARSHAL) $< --prefix=_nm_marshal --body > $@
+
+nm-marshal-main.c: nm-marshal.c nm-marshal.h
+