summaryrefslogtreecommitdiff
path: root/sys/dxr3/Makefile.am
blob: 44d217ad274e1f768a03356c5b2f38bf4d1d2a80 (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

plugin_LTLIBRARIES = libgstdxr3.la

libgstdxr3_la_SOURCES = dxr3videosink.c dxr3audiosink.c dxr3spusink.c \
			dxr3init.c ac3_padder.c 
nodist_libgstdxr3_la_SOURCES = dxr3marshal.c
libgstdxr3_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_CFLAGS)
libgstdxr3_la_LIBADD =
libgstdxr3_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdxr3_la_LIBTOOLFLAGS = --tag=disable-static

BUILT_SOURCES = dxr3marshal.c dxr3marshal.h
built_headers =	dxr3marshal.h

noinst_HEADERS = dxr3videosink.h dxr3audiosink.h dxr3spusink.h \
		 dxr3common.h ac3_padder.h

EXTRA_DIST = dxr3marshal.list
	

dxr3marshal.h: dxr3marshal.list
	glib-genmarshal --header --prefix=dxr3_marshal $^ > dxr3marshal.h.tmp
	mv dxr3marshal.h.tmp dxr3marshal.h

dxr3marshal.c: dxr3marshal.list
	echo "#include \"dxr3marshal.h\"" >> dxr3marshal.c.tmp
	glib-genmarshal --body --prefix=dxr3_marshal $^ >> dxr3marshal.c.tmp
	mv dxr3marshal.c.tmp dxr3marshal.c

CLEANFILES = $(BUILT_SOURCES)