pbutils: use fewer variables in Makefile.am to make things clearer

Also fix typo in DISTCLEANFILES.
This commit is contained in:
Tim-Philipp Müller 2010-10-15 19:14:49 +01:00
parent 4c42a5840f
commit c85e958c7c

View file

@ -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