Debian Codegraph @

examples/Makefile.am

raw
1 ## Copyright 2009 The gstreamermm Development Team
2 ##
3 ## This library is free software: you can redistribute it and/or modify it
4 ## under the terms of the GNU Lesser General Public License as published
5 ## by the Free Software Foundation, either version 2.1 of the License,
6 ## or (at your option) any later version.
7 ##
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ## Lesser General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU Lesser General Public License
14 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 AUTOMAKE_OPTIONS = subdir-objects
17
18 examples_cppflags = $(GSTREAMERMM_CFLAGS) $(GSTREAMERMM_GL_CFLAGS)
19 gstreamermm_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer)
20 local_libgstreamermm = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
21
22 if ENABLE_GUI_EXAMPLES
23 gui_examples = media_player_gtkmm/example ogg_player_gtkmm/example
24 examples_cppflags += $(GUI_EXAMPLES_CFLAGS)
25
26 media_player_gtkmm_example_SOURCES = media_player_gtkmm/main.cc \
27 media_player_gtkmm/player_window.cc \
28 media_player_gtkmm/player_window.h
29 media_player_gtkmm_example_LDADD = $(GUI_EXAMPLES_LIBS) $(local_libgstreamermm)
30
31 ogg_player_gtkmm_example_SOURCES = ogg_player_gtkmm/main.cc \
32 ogg_player_gtkmm/player_window.cc \
33 ogg_player_gtkmm/player_window.h
34 ogg_player_gtkmm_example_LDADD = $(GUI_EXAMPLES_LIBS) $(local_libgstreamermm)
35 endif
36
37 noinst_PROGRAMS = \
38 all_media_player/example \
39 audio_video_muxer/example \
40 dynamic_changing_element/example \
41 dynamic_changing_source/example \
42 element_link/example \
43 hello_world/example \
44 ogg_player/example \
45 ogg_rewriter/example \
46 tee_request_pad/example \
47 typefind/example \
48 optiongroup/example \
49 basics/bin \
50 basics/bus \
51 basics/dynamic_pads \
52 basics/element_factory \
53 basics/init_gstreamermm \
54 $(gl_examples) \
55 $(gui_examples)
56
57
58 AM_CPPFLAGS = -I$(top_builddir) $(gstreamermm_includes) $(examples_cppflags)
59 AM_CXXFLAGS = $(GSTREAMERMM_WXXFLAGS) -std=c++11
60 LDADD = $(GSTREAMERMM_LIBS) $(local_libgstreamermm)
61
62 all_media_player_example_SOURCES = all_media_player/main.cc
63 audio_video_muxer_example_SOURCES = audio_video_muxer/main.cc
64 dynamic_changing_element_example_SOURCES = dynamic_changing_element/main.cc
65 dynamic_changing_source_example_SOURCES = dynamic_changing_source/main.cc
66 element_link_example_SOURCES = element_link/element_link.cc
67 hello_world_example_SOURCES = hello_world/main.cc
68 ogg_rewriter_example_SOURCES = ogg_rewriter/main.cc
69 ogg_player_example_SOURCES = ogg_player/main.cc
70 opengl_filter_example_SOURCES = opengl_filter/main.cc opengl_filter/sample_gl_filter.h
71 optiongroup_example_SOURCES = optiongroup/main.cc
72 tee_request_pad_example_SOURCES = tee_request_pad/main.cc
73 typefind_example_SOURCES = typefind/main.cc
74
75 # basic examples
76 basics_bin_SOURCES = basics/bin.cc
77 basics_bus_SOURCES = basics/bus.cc
78 basics_dynamic_pads_SOURCES = basics/dynamic_pads.cc
79 basics_element_factory_SOURCES = basics/element_factory.cc
80 basics_init_gstreamermm_SOURCES = basics/init_gstreamermm.cc