1 ### assemble a list of programs we want to build and install
2 if GST_DISABLE_REGISTRY
6 GST_REGISTRY_SRC = gst-register
7 GST_REGISTRY_SRC_V = gst-register-@GST_MAJORMINOR@
10 if GST_DISABLE_LOADSAVE
14 GST_LOADSAVE_SRC = gst-complete gst-compprep gst-xmllaunch
15 GST_LOADSAVE_SRC_V = \
16 gst-complete-@GST_MAJORMINOR@ \
17 gst-compprep-@GST_MAJORMINOR@ \
18 gst-xmllaunch-@GST_MAJORMINOR@
29 gst-inspect-@GST_MAJORMINOR@ \
30 gst-launch-@GST_MAJORMINOR@ \
31 gst-md5sum-@GST_MAJORMINOR@ \
32 gst-typefind-@GST_MAJORMINOR@ \
33 gst-xmlinspect-@GST_MAJORMINOR@
35 ### so all of the programs we want to build
37 $(GST_REGISTRY_SRC) $(GST_REGISTRY_SRC_V) \
38 $(GST_LOADSAVE_SRC) $(GST_LOADSAVE_SRC_V) \
39 $(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
40 bin_SCRIPTS = gst-feedback-@GST_MAJORMINOR@
42 # make sure each versioned tool has the right source file
43 if !GST_DISABLE_REGISTRY
44 gst_register_@GST_MAJORMINOR@_SOURCES = gst-register.c
46 if !GST_DISABLE_LOADSAVE
47 gst_complete_@GST_MAJORMINOR@_SOURCES = gst-complete.c
48 gst_compprep_@GST_MAJORMINOR@_SOURCES = gst-compprep.c
49 gst_xmllaunch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
51 gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c
52 gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
53 gst_md5sum_@GST_MAJORMINOR@_SOURCES = gst-md5sum.c
54 gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c
55 gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c
57 # make sure each unversioned tool comes from gst-run.c
58 if !GST_DISABLE_REGISTRY
59 gst_register_SOURCES = gst-run.c
61 if !GST_DISABLE_LOADSAVE
62 gst_complete_SOURCES = gst-run.c
63 gst_compprep_SOURCES = gst-run.c
64 gst_xmllaunch_SOURCES = gst-run.c
66 gst_feedback_SOURCES = gst-run.c
67 gst_inspect_SOURCES = gst-run.c
68 gst_launch_SOURCES = gst-run.c
69 gst_md5sum_SOURCES = gst-run.c
70 gst_typefind_SOURCES = gst-run.c
71 gst_xmlinspect_SOURCES = gst-run.c
73 # set correct compile and link flags for all, as well as for specific
74 AM_CFLAGS = $(GST_CFLAGS)
75 AM_LDFLAGS = $(GST_LIBS)
77 gst_inspect_@GST_MAJORMINOR@_LDADD = ../libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
79 gst_xmlinspect_@GST_MAJORMINOR@_LDADD = ../libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
81 ### man pages we want to install
82 if GST_DISABLE_REGISTRY
83 GST_REGISTRY_MAN = gst-register-@GST_MAJORMINOR@.1
88 if GST_DISABLE_LOADSAVE
90 gst-complete-@GST_MAJORMINOR@.1 \
91 gst-compprep-@GST_MAJORMINOR@.1 \
92 gst-xmllaunch-@GST_MAJORMINOR@.1
98 gst-feedback-@GST_MAJORMINOR@.1 \
99 gst-inspect-@GST_MAJORMINOR@.1 \
100 gst-launch-@GST_MAJORMINOR@.1 \
101 gst-md5sum-@GST_MAJORMINOR@.1 \
102 gst-typefind-@GST_MAJORMINOR@.1
103 # gst-xmlinspect-@GST_MAJORMINOR@.1
105 manpages = $(GST_REGISTRY_MAN) $(GST_LOADSAVE_MAN) $(GST_OTHER_MAN)
107 CLEANFILES = $(manpages)
108 man_MANS = $(manpages)
120 gst-feedback-@GST_MAJORMINOR@
122 %-@GST_MAJORMINOR@.1: %.1.in
124 -e s,gst-complete,gst-complete-@GST_MAJORMINOR@,g \
125 -e s,gst-compprep,gst-compprep-@GST_MAJORMINOR@,g \
126 -e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
127 -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
128 -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
129 -e s,gst-md5sum,gst-md5sum-@GST_MAJORMINOR@,g \
130 -e s,gst-register,gst-register-@GST_MAJORMINOR@,g \
131 -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
132 -e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \