Tizen 2.0 Release
[framework/multimedia/gst-plugins-bad0.10.git] / ext / gsettings / Makefile.am
1 gsettings_SCHEMAS = org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml
2
3 org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml: org.freedesktop.gstreamer.default-elements.gschema.xml
4         cp org.freedesktop.gstreamer.default-elements.gschema.xml org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml
5
6 if USE_GSETTINGS
7 @GSETTINGS_RULES@
8 endif
9
10 plugin_LTLIBRARIES = libgstgsettingselements.la
11
12 libgstgsettingselements_la_SOURCES = \
13         gstgsettingsaudiosink.c \
14         gstgsettingsaudiosrc.c \
15         gstgsettingsvideosink.c \
16         gstgsettingsvideosrc.c \
17         gstswitchsink.c \
18         gstswitchsrc.c \
19         plugin.c
20
21 libgstgsettingselements_la_CFLAGS = $(GST_CFLAGS) $(GSETTINGS_CFLAGS) $(DIR_CFLAGS) \
22         -DGstSwitchSrc=GstGSettingsSwitchSrc \
23         -DGstSwitchSrcClass=GstGSettingsSwitchSrcClass \
24         -DGstSwitchSink=GstGSettingsSwitchSink \
25         -DGstSwitchSinkClass=GstGSettingsSwitchSinkClass
26 libgstgsettingselements_la_LIBADD = $(GST_LIBS) $(GSETTINGS_LIBS)
27 libgstgsettingselements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
28 libgstgsettingselements_la_LIBTOOLFLAGS = --tag=disable-static
29
30 noinst_HEADERS = \
31         gstgsettingsaudiosink.h \
32         gstgsettingsaudiosrc.h \
33         gstgsettingsvideosink.h \
34         gstgsettingsvideosrc.h \
35         gstswitchsink.h \
36         gstswitchsrc.h \
37         gstgsettings.h
38
39 EXTRA_DIST = org.freedesktop.gstreamer.default-elements.gschema.xml
40
41 CLEANFILES = $(gsettings_SCHEMAS)