| 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 |
include $(srcdir)/m4/filelist.am |
| 19 |
|
| 20 |
#TODO: Should these go into $(datadir)/$(PACKAGE_TARNAME)/ instead as in gtkmm? |
| 21 |
plugingen_bindir = $(libdir)/$(GSTREAMERMM_MODULE_NAME)/gen |
| 22 |
plugingen_m4dir = $(plugingen_bindir)/m4 |
| 23 |
dist_plugingen_m4_DATA = $(addprefix m4/,$(files_codegen_m4) $(files_plugin_m4)) |
| 24 |
|
| 25 |
# Build and install the generate_plugin_gmmproc_file utility executable so that |
| 26 |
# other gstreamermm modules can also generate plug-ins. |
| 27 |
plugingen_bin_PROGRAMS = extra_defs_gen/generate_plugin_gmmproc_file |
| 28 |
|
| 29 |
noinst_PROGRAMS = extra_defs_gen/generate_defs_gst \ |
| 30 |
extra_defs_gen/generate_plugin_module_defs_gst |
| 31 |
|
| 32 |
extra_defs_gen_generate_plugin_gmmproc_file_SOURCES = \ |
| 33 |
extra_defs_gen/generate_plugin_gmmproc_file.cc |
| 34 |
extra_defs_gen_generate_plugin_gmmproc_file_LDADD = $(GSTREAMERMM_LIBS) |
| 35 |
|
| 36 |
extra_defs_gen_generate_defs_gst_SOURCES = extra_defs_gen/generate_defs_gst.cc |
| 37 |
extra_defs_gen_generate_defs_gst_LDADD = \ |
| 38 |
$(GSTREAMERMM_LIBS) -lglibmm_generate_extra_defs-2.4 |
| 39 |
|
| 40 |
extra_defs_gen_generate_plugin_module_defs_gst_SOURCES = extra_defs_gen/generate_plugin_module_defs_gst.cc |
| 41 |
extra_defs_gen_generate_plugin_module_defs_gst_LDADD = \ |
| 42 |
$(GSTREAMERMM_LIBS) -lglibmm_generate_extra_defs-2.4 |
| 43 |
|
| 44 |
|
| 45 |
AM_CPPFLAGS = -I$(top_builddir) $(GSTREAMERMM_CFLAGS) |
| 46 |
AM_CXXFLAGS = $(GSTREAMERMM_WXXFLAGS) |
| 47 |
|
| 48 |
# Instruct GNU make to delete the targets of a rule after it failed, in |
| 49 |
# order to avoid the complication of handling that situation manually. |
| 50 |
.DELETE_ON_ERROR: |