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