gstreamer/gst-libs/gst/tuner/Makefile.am
Benjamin Otte 296d898eaf distcheck fixes: include built sources in CLEANFILES
Original commit message from CVS:
distcheck fixes: include built sources in CLEANFILES
2003-12-13 21:46:47 +00:00

35 lines
835 B
Makefile

libgstinterfacesincludedir = \
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/tuner
libgstinterfacesinclude_HEADERS = \
tuner.h \
tunernorm.h \
tunerchannel.h
noinst_LTLIBRARIES = libgsttuner.la
libgsttuner_la_SOURCES = \
tuner.c \
tunernorm.c \
tunerchannel.c \
tunermarshal.c
libgsttuner_la_CFLAGS = $(GST_CFLAGS)
BUILT_SOURCES = \
tunermarshal.c \
tunermarshal.h
built_headers = \
tunermarshal.h
EXTRA_DIST = tunermarshal.list
CLEANFILES = $(BUILT_SOURCES)
tunermarshal.h: tunermarshal.list
glib-genmarshal --header --prefix=gst_tuner_marshal $^ > tunermarshal.h.tmp
mv tunermarshal.h.tmp tunermarshal.h
tunermarshal.c: tunermarshal.list
echo "#include \"tunermarshal.h\"" >> tunermarshal.c.tmp
glib-genmarshal --body --prefix=gst_tuner_marshal $^ >> tunermarshal.c.tmp
mv tunermarshal.c.tmp tunermarshal.c