fix X dependencies
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
1 if USE_GCONF
2 GCONF_DIR = gconf
3 else
4 GCONF_DIR =
5 endif
6
7 if USE_X
8 X_DIR = xwindowlistener xoverlay
9 X_INTERFACE_LIBS = xoverlay/libgstxoverlay.la
10 else
11 X_DIR =
12 X_INTERFACE_LIBS =
13 endif
14
15 SUBDIRS = audio colorbalance floatcast \
16                 $(GCONF_DIR) idct media-info \
17                 mixer navigation play propertyprobe \
18                 resample riff tuner video \
19                 $(X_DIR)
20
21 DIST_SUBDIRS = audio colorbalance floatcast \
22                 gconf idct media-info \
23                 mixer navigation play propertyprobe \
24                 resample riff tuner video \
25                 xoverlay xwindowlistener
26
27
28 lib_LTLIBRARIES = libgstinterfaces-@GST_MAJORMINOR@.la
29
30 libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = 
31
32 libgstinterfaces_@GST_MAJORMINOR@_la_LIBADD = \
33         colorbalance/libgstcolorbalance.la \
34         mixer/libgstmixer.la \
35         navigation/libgstnavigation.la \
36         propertyprobe/libgstpropertyprobe.la \
37         tuner/libgsttuner.la \
38         $(X_INTERFACE_LIBS) \
39         $(GST_LIBS)
40
41 libgstinterfaces_@GST_MAJORMINOR@_la_LDFLAGS = @GST_PLUGINS_LT_LDFLAGS@ -version-info @GST_PLUGINS_LIBVERSION@
42