summaryrefslogtreecommitdiff
path: root/gst-libs/gst/tuner/Makefile.am
blob: f25ab297bf2c731013e72100ec5f8e8f2f9b0328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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