summaryrefslogtreecommitdiffstats
path: root/gst/udp/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp/Makefile.am')
-rw-r--r--gst/udp/Makefile.am25
1 files changed, 21 insertions, 4 deletions
diff --git a/gst/udp/Makefile.am b/gst/udp/Makefile.am
index b888c067..d88d1135 100644
--- a/gst/udp/Makefile.am
+++ b/gst/udp/Makefile.am
@@ -1,11 +1,28 @@
-
plugin_LTLIBRARIES = libgstudp.la
-libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c
+# variables used for enum/marshal generation
+glib_enum_headers = gstudp.h
+glib_enum_define = GST_UDP
+glib_enum_prefix = gst_udp
+
+include $(top_srcdir)/common/glib-gen.mak
+
+built_sources = gstudp-enumtypes.c gstudp-marshal.c
+built_headers = gstudp-enumtypes.h gstudp-marshal.h
+
+BUILT_SOURCES = $(built_sources) $(built_headers)
+
+libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c
libgstudp_la_CFLAGS = $(GST_CFLAGS)
libgstudp_la_LIBADD =
libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS)
-noinst_HEADERS = gstudpsink.h gstudpsrc.h gstudp.h
+nodist_libgstudp_la_SOURCES = \
+ $(built_sources)
+
+noinst_HEADERS = gstudpsink.h gstudpsrc.h gstudp.h gstmultiudpsink.h
+
+EXTRA_DIST = README gstudp-marshal.list
+
+CLEANFILES = $(BUILT_SOURCES)
-EXTRA_DIST = README