diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am index 81dfe4b722..91754f7e9e 100644 --- a/gst-libs/gst/pbutils/Makefile.am +++ b/gst-libs/gst/pbutils/Makefile.am @@ -14,14 +14,6 @@ glib_enum_define = GST_INSTALL glib_gen_prefix = gst_install glib_gen_basename = pbutils -built_sources = \ - pbutils-enumtypes.c \ - pbutils-marshal.c - -built_headers = \ - pbutils-enumtypes.h \ - pbutils-marshal.h - built_headers_configure = \ gstpluginsbaseversion.h @@ -36,13 +28,16 @@ libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \ gstdiscoverer-types.c nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \ - $(built_sources) + pbutils-enumtypes.c \ + pbutils-marshal.c libgstpbutils_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/pbutils libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \ $(headers_pbutils) nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \ - $(built_headers) $(built_headers_configure) + $(built_headers_configure) \ + pbutils-enumtypes.h \ + pbutils-marshal.h noinst_HEADERS = \ pbutils-private.h EXTRA_DIST = pbutils-marshal.list @@ -54,13 +49,15 @@ libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLA libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) BUILT_SOURCES = \ - $(built_sources) \ - $(built_headers) + pbutils-enumtypes.c \ + pbutils-enumtypes.h \ + pbutils-marshal.c \ + pbutils-marshal.h CLEANFILES = $(BUILT_SOURCES) # DISTCLEANFILES is for files generated by configure -DISTCLEANFILES = $(built_header_configure) +DISTCLEANFILES = $(built_headers_configure) include $(top_srcdir)/common/gst-glib-gen.mak