mmore updates
[platform/upstream/gstreamer.git] / tools / Makefile.am
1 if GST_DISABLE_REGISTRY
2 GST_REGISTRY_SRC = 
3 else
4 GST_REGISTRY_SRC = gst-register
5 endif
6
7 if GST_DISABLE_LOADSAVE
8 GST_LOADSAVE_SRC = 
9 else
10 GST_LOADSAVE_SRC = gst-compprep gst-xmllaunch
11 endif
12
13 bin_PROGRAMS =  gst-launch      \
14                 $(GST_REGISTRY_SRC)     \
15                 gst-inspect     \
16                 $(GST_LOADSAVE_SRC)     \
17                 gst-complete
18
19 man_MANS = gst-launch.1 gst-register.1 gst-inspect.1 \
20         gst-complete.1 gst-compprep.1 gst-xmllaunch.1
21
22 gst_launch_LDADD = $(GST_LIBS) #-lefence
23 gst_launch_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
24
25 if !GST_DISABLE_REGISTRY
26 gst_register_LDADD = $(GST_LIBS)
27 gst_register_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
28 endif
29
30 gst_inspect_LDADD = $(GST_LIBS) ../libs/gst/control/libgstcontrol.la
31 gst_inspect_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
32
33 gst_complete_LDADD = $(GST_LIBS)
34 gst_complete_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
35
36 if !GST_DISABLE_LOADSAVE
37 gst_compprep_LDADD = $(GST_LIBS)
38 gst_compprep_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
39
40 gst_xmllaunch_SOURCES = gst-launch.c
41 gst_xmllaunch_LDADD = $(GST_LIBS)
42 gst_xmllaunch_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" 
43 endif
44
45 EXTRA_DIST = $(man_MANS)