gstreamer/ges/Makefile.am

265 lines
7.8 KiB
Makefile
Raw Normal View History

built_header_make =
built_source_make =
2009-08-04 15:16:31 +00:00
2012-04-04 12:50:23 +00:00
lib_LTLIBRARIES = libges-@GST_API_VERSION@.la
2009-08-04 15:16:31 +00:00
Cleanup import of GNL and rename gnl to nle for Non Linear Engine Conflicts: ges/ges-track-element.c gnl/Makefile.am gnl/common Conflicts: ges/ges-internal.h ges/ges-track.c ges/ges-utils.c ges/nle/.gitignore ges/nle/gnlmarshal.list ges/nle/nle.h ges/nle/nlecomposition.c ges/nle/nlecomposition.h ges/nle/nleghostpad.c ges/nle/nleghostpad.h ges/nle/nleobject.c ges/nle/nleoperation.c ges/nle/nleoperation.h ges/nle/nlesource.c ges/nle/nlesource.h ges/nle/nletypes.h ges/nle/nleurisource.c ges/nle/nleurisource.h gnl/Makefile.am gnl/gnl.c gnl/gnl.h gnl/gnl/gnl.h gnl/gnl/gnlcomposition.c gnl/gnl/gnlcomposition.h gnl/gnl/gnlghostpad.c gnl/gnl/gnlghostpad.h gnl/gnl/gnlmarshal.list gnl/gnl/gnlobject.c gnl/gnl/gnloperation.c gnl/gnl/gnloperation.h gnl/gnl/gnlsource.c gnl/gnl/gnlsource.h gnl/gnl/gnltypes.h gnl/gnl/gnlurisource.c gnl/gnl/gnlurisource.h gnl/gnlcomposition.c gnl/gnlcomposition.h gnl/gnlghostpad.c gnl/gnlghostpad.h gnl/gnlmarshal.list gnl/gnlobject.c gnl/gnlobject.h gnl/gnloperation.c gnl/gnloperation.h gnl/gnlsource.c gnl/gnlsource.h gnl/gnltypes.h gnl/gnlurisource.c gnl/gnlurisource.h gnl/tests/check/gnl/common.c gnl/tests/check/gnl/common.h gnl/tests/check/gnl/complex.c gnl/tests/check/gnl/gnlcomposition.c gnl/tests/check/gnl/gnloperation.c gnl/tests/check/gnl/gnlsource.c gnl/tests/check/gnl/seek.c gnl/tests/check/gnl/simple.c tests/check/gnl/common.c tests/check/gnl/common.h tests/check/gnl/complex.c tests/check/gnl/gnlcomposition.c tests/check/gnl/gnloperation.c tests/check/gnl/gnlsource.c tests/check/gnl/seek.c tests/check/gnl/simple.c tests/check/nle/common.c tests/check/nle/common.h tests/check/nle/complex.c tests/check/nle/nlecomposition.c tests/check/nle/nleoperation.c tests/check/nle/nlesource.c tests/check/nle/seek.c tests/check/nle/simple.c
2014-08-15 13:48:14 +00:00
2012-04-04 12:50:23 +00:00
EXTRA_libges_@GST_API_VERSION@_la_SOURCES = gesmarshal.list
2009-08-06 10:47:38 +00:00
2015-02-26 16:08:43 +00:00
EXTRA_DIST=parse.l
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
nodist_libges_@GST_API_VERSION@_la_SOURCES = lex.priv_ges_parse_yy.c parse_lex.h
2009-08-04 15:16:31 +00:00
2012-04-04 12:50:23 +00:00
libges_@GST_API_VERSION@_la_SOURCES = \
2010-08-05 10:19:32 +00:00
$(built_source_make) \
Cleanup import of GNL and rename gnl to nle for Non Linear Engine Conflicts: ges/ges-track-element.c gnl/Makefile.am gnl/common Conflicts: ges/ges-internal.h ges/ges-track.c ges/ges-utils.c ges/nle/.gitignore ges/nle/gnlmarshal.list ges/nle/nle.h ges/nle/nlecomposition.c ges/nle/nlecomposition.h ges/nle/nleghostpad.c ges/nle/nleghostpad.h ges/nle/nleobject.c ges/nle/nleoperation.c ges/nle/nleoperation.h ges/nle/nlesource.c ges/nle/nlesource.h ges/nle/nletypes.h ges/nle/nleurisource.c ges/nle/nleurisource.h gnl/Makefile.am gnl/gnl.c gnl/gnl.h gnl/gnl/gnl.h gnl/gnl/gnlcomposition.c gnl/gnl/gnlcomposition.h gnl/gnl/gnlghostpad.c gnl/gnl/gnlghostpad.h gnl/gnl/gnlmarshal.list gnl/gnl/gnlobject.c gnl/gnl/gnloperation.c gnl/gnl/gnloperation.h gnl/gnl/gnlsource.c gnl/gnl/gnlsource.h gnl/gnl/gnltypes.h gnl/gnl/gnlurisource.c gnl/gnl/gnlurisource.h gnl/gnlcomposition.c gnl/gnlcomposition.h gnl/gnlghostpad.c gnl/gnlghostpad.h gnl/gnlmarshal.list gnl/gnlobject.c gnl/gnlobject.h gnl/gnloperation.c gnl/gnloperation.h gnl/gnlsource.c gnl/gnlsource.h gnl/gnltypes.h gnl/gnlurisource.c gnl/gnlurisource.h gnl/tests/check/gnl/common.c gnl/tests/check/gnl/common.h gnl/tests/check/gnl/complex.c gnl/tests/check/gnl/gnlcomposition.c gnl/tests/check/gnl/gnloperation.c gnl/tests/check/gnl/gnlsource.c gnl/tests/check/gnl/seek.c gnl/tests/check/gnl/simple.c tests/check/gnl/common.c tests/check/gnl/common.h tests/check/gnl/complex.c tests/check/gnl/gnlcomposition.c tests/check/gnl/gnloperation.c tests/check/gnl/gnlsource.c tests/check/gnl/seek.c tests/check/gnl/simple.c tests/check/nle/common.c tests/check/nle/common.h tests/check/nle/complex.c tests/check/nle/nlecomposition.c tests/check/nle/nleoperation.c tests/check/nle/nlesource.c tests/check/nle/seek.c tests/check/nle/simple.c
2014-08-15 13:48:14 +00:00
nle/nleobject.c \
nle/nlecomposition.c \
nle/nleghostpad.c \
nle/nleoperation.c \
nle/nlesource.c \
nle/nleurisource.c \
2009-08-06 09:23:01 +00:00
ges.c \
ges-enums.c \
ges-meta-container.c \
2009-08-04 15:16:31 +00:00
ges-timeline.c \
2013-04-23 23:04:04 +00:00
ges-layer.c \
2013-01-20 15:42:29 +00:00
ges-clip.c \
ges-pipeline.c \
ges-source-clip.c \
ges-base-effect-clip.c \
ges-effect-clip.c \
ges-uri-clip.c \
ges-operation-clip.c \
ges-base-transition-clip.c \
ges-transition-clip.c \
ges-test-clip.c \
ges-title-clip.c \
ges-overlay-clip.c \
ges-text-overlay-clip.c \
2009-08-04 15:16:31 +00:00
ges-track.c \
ges-audio-track.c \
ges-video-track.c \
ges-track-element.c \
2013-01-26 16:08:20 +00:00
ges-source.c \
ges-operation.c \
ges-video-source.c \
ges-audio-source.c \
ges-video-uri-source.c \
ges-audio-uri-source.c \
ges-image-source.c \
ges-multi-file-source.c \
ges-transition.c \
ges-audio-transition.c \
ges-video-transition.c \
ges-video-test-source.c \
ges-audio-test-source.c \
ges-title-source.c \
ges-text-overlay.c \
2013-01-26 15:35:19 +00:00
ges-base-effect.c \
ges-effect.c \
ges-screenshot.c \
ges-formatter.c \
ges-pitivi-formatter.c \
ges-asset.c \
ges-uri-asset.c \
2013-01-27 15:51:52 +00:00
ges-clip-asset.c \
ges-track-element-asset.c \
ges-extractable.c \
ges-project.c \
ges-base-xml-formatter.c \
ges-xml-formatter.c \
ges-command-line-formatter.c \
ges-auto-transition.c \
ges-timeline-element.c \
ges-container.c \
ges-effect-asset.c \
ges-smart-adder.c \
ges-smart-video-mixer.c \
ges-utils.c \
ges-group.c \
ges-validate.c \
ges-structured-interface.c \
ges-structure-parser.c \
gstframepositionner.c
2009-08-04 15:16:31 +00:00
2012-04-04 12:50:23 +00:00
libges_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/ges/
libges_@GST_API_VERSION@include_HEADERS = \
2010-08-05 10:19:32 +00:00
$(built_header_make) \
ges-types.h \
2009-08-06 09:23:01 +00:00
ges.h \
ges-enums.h \
2013-03-18 15:41:06 +00:00
ges-gerror.h \
ges-meta-container.h \
2009-08-04 15:16:31 +00:00
ges-timeline.h \
2013-04-23 23:04:04 +00:00
ges-layer.h \
2013-01-20 15:42:29 +00:00
ges-clip.h \
ges-pipeline.h \
ges-source-clip.h \
ges-uri-clip.h \
ges-base-effect-clip.h \
ges-effect-clip.h \
ges-operation-clip.h \
ges-base-transition-clip.h \
ges-transition-clip.h \
ges-test-clip.h \
ges-title-clip.h \
ges-overlay-clip.h \
ges-text-overlay-clip.h \
2013-01-26 15:35:19 +00:00
ges-base-effect.h \
ges-effect.h \
2009-08-04 15:16:31 +00:00
ges-track.h \
ges-audio-track.h \
ges-video-track.h \
ges-track-element.h \
2013-01-26 16:08:20 +00:00
ges-source.h \
ges-operation.h \
ges-video-source.h \
ges-audio-source.h \
ges-video-uri-source.h \
ges-audio-uri-source.h \
ges-image-source.h \
ges-multi-file-source.h \
ges-transition.h \
ges-audio-transition.h \
ges-video-transition.h \
ges-video-test-source.h \
ges-audio-test-source.h \
ges-title-source.h \
ges-text-overlay.h \
ges-screenshot.h \
ges-formatter.h \
ges-pitivi-formatter.h \
ges-asset.h \
ges-uri-asset.h \
2013-01-27 15:51:52 +00:00
ges-clip-asset.h \
ges-track-element-asset.h \
ges-extractable.h \
ges-project.h \
ges-base-xml-formatter.h \
ges-xml-formatter.h \
ges-command-line-formatter.h \
ges-timeline-element.h \
ges-container.h \
ges-effect-asset.h \
ges-smart-adder.h \
ges-smart-video-mixer.h \
ges-utils.h \
2014-03-26 22:47:03 +00:00
ges-group.h \
ges-version.h
2009-08-04 15:16:31 +00:00
noinst_HEADERS = \
Cleanup import of GNL and rename gnl to nle for Non Linear Engine Conflicts: ges/ges-track-element.c gnl/Makefile.am gnl/common Conflicts: ges/ges-internal.h ges/ges-track.c ges/ges-utils.c ges/nle/.gitignore ges/nle/gnlmarshal.list ges/nle/nle.h ges/nle/nlecomposition.c ges/nle/nlecomposition.h ges/nle/nleghostpad.c ges/nle/nleghostpad.h ges/nle/nleobject.c ges/nle/nleoperation.c ges/nle/nleoperation.h ges/nle/nlesource.c ges/nle/nlesource.h ges/nle/nletypes.h ges/nle/nleurisource.c ges/nle/nleurisource.h gnl/Makefile.am gnl/gnl.c gnl/gnl.h gnl/gnl/gnl.h gnl/gnl/gnlcomposition.c gnl/gnl/gnlcomposition.h gnl/gnl/gnlghostpad.c gnl/gnl/gnlghostpad.h gnl/gnl/gnlmarshal.list gnl/gnl/gnlobject.c gnl/gnl/gnloperation.c gnl/gnl/gnloperation.h gnl/gnl/gnlsource.c gnl/gnl/gnlsource.h gnl/gnl/gnltypes.h gnl/gnl/gnlurisource.c gnl/gnl/gnlurisource.h gnl/gnlcomposition.c gnl/gnlcomposition.h gnl/gnlghostpad.c gnl/gnlghostpad.h gnl/gnlmarshal.list gnl/gnlobject.c gnl/gnlobject.h gnl/gnloperation.c gnl/gnloperation.h gnl/gnlsource.c gnl/gnlsource.h gnl/gnltypes.h gnl/gnlurisource.c gnl/gnlurisource.h gnl/tests/check/gnl/common.c gnl/tests/check/gnl/common.h gnl/tests/check/gnl/complex.c gnl/tests/check/gnl/gnlcomposition.c gnl/tests/check/gnl/gnloperation.c gnl/tests/check/gnl/gnlsource.c gnl/tests/check/gnl/seek.c gnl/tests/check/gnl/simple.c tests/check/gnl/common.c tests/check/gnl/common.h tests/check/gnl/complex.c tests/check/gnl/gnlcomposition.c tests/check/gnl/gnloperation.c tests/check/gnl/gnlsource.c tests/check/gnl/seek.c tests/check/gnl/simple.c tests/check/nle/common.c tests/check/nle/common.h tests/check/nle/complex.c tests/check/nle/nlecomposition.c tests/check/nle/nleoperation.c tests/check/nle/nlesource.c tests/check/nle/seek.c tests/check/nle/simple.c
2014-08-15 13:48:14 +00:00
nle/nle.h \
nle/nleobject.h \
nle/nlecomposition.h \
nle/nletypes.h \
nle/nleghostpad.h \
nle/nleoperation.h \
nle/nlesource.h \
nle/nletypes.h \
nle/nleurisource.h \
ges-internal.h \
2013-11-13 12:18:00 +00:00
ges-auto-transition.h \
ges-structured-interface.h \
ges-structure-parser.h \
2013-11-13 12:18:00 +00:00
gstframepositionner.h
2012-04-04 12:50:23 +00:00
libges_@GST_API_VERSION@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) \
$(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS)
2012-04-04 12:50:23 +00:00
libges_@GST_API_VERSION@_la_LIBADD = $(GST_PBUTILS_LIBS) \
$(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) \
$(GST_BASE_LIBS) $(GST_LIBS) $(XML_LIBS) $(GIO_LIBS) $(GST_VALIDATE_LIBS)
2012-04-04 12:50:23 +00:00
libges_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
$(GST_LT_LDFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS)
2009-08-04 15:16:31 +00:00
2009-08-06 10:47:38 +00:00
DISTCLEANFILE = $(CLEANFILES)
#files built on make all/check/instal
BUILT_SOURCES = \
$(built_header_make) \
2015-02-26 16:08:43 +00:00
$(built_source_make) \
lex.priv_ges_parse_yy.c \
parse_lex.h
2009-08-06 10:47:38 +00:00
2010-12-15 11:58:26 +00:00
include $(top_srcdir)/common/gst-glib-gen.mak
if HAVE_INTROSPECTION
2012-04-04 12:50:23 +00:00
BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir
2010-12-15 11:58:26 +00:00
2012-04-04 12:50:23 +00:00
gir_headers=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS))
gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES))
gir_cincludes=$(patsubst %,--c-include='ges/%',$(libges_@GST_API_VERSION@include_HEADERS))
2010-12-15 11:58:26 +00:00
2012-04-04 12:50:23 +00:00
GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
2010-12-15 11:58:26 +00:00
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
$(INTROSPECTION_SCANNER) -v --namespace GES \
2012-04-04 12:50:23 +00:00
--nsversion=@GST_API_VERSION@ \
2010-12-15 11:58:26 +00:00
--identifier-prefix=GES \
--symbol-prefix=ges \
--warn-all \
$(gir_cincludes) \
-I$(top_srcdir) \
-I$(top_builddir) \
2012-04-04 12:50:23 +00:00
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
2012-04-04 12:50:23 +00:00
--library=libges-@GST_API_VERSION@.la \
--include=Gst-@GST_API_VERSION@ \
--include=GstVideo-@GST_API_VERSION@ \
2012-04-04 12:50:23 +00:00
--include=GstPbutils-@GST_API_VERSION@ \
--include=Gio-2.0 \
2010-12-15 11:58:26 +00:00
--libtool="$(top_builddir)/libtool" \
2012-04-04 12:50:23 +00:00
--pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-pbutils-@GST_API_VERSION@ \
2013-11-13 12:18:00 +00:00
--pkg gstreamer-controller-@GST_API_VERSION@ \
--pkg gio-2.0 \
2012-04-04 12:50:23 +00:00
--pkg-export ges-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL, NULL);" \
--add-init-section="ges_init(NULL, NULL);" \
2010-12-15 11:58:26 +00:00
--output $@ \
$(gir_headers) \
$(gir_sources)
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
# install anything - we need to install inside our prefix.
girdir = $(datadir)/gir-1.0
gir_DATA = $(BUILT_GIRSOURCES)
typelibsdir = $(libdir)/girepository-1.0/
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
%.typelib: %.gir $(INTROSPECTION_COMPILER)
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
$(INTROSPECTION_COMPILER) \
2010-12-15 11:58:26 +00:00
--includedir=$(srcdir) \
--includedir=$(srcdir)/../video \
--includedir=$(builddir) \
2012-04-04 12:50:23 +00:00
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
2013-11-13 12:18:00 +00:00
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-controller-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
2010-12-15 11:58:26 +00:00
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
endif
2012-12-24 12:29:04 +00:00
%.c.gcov: .libs/libges_@GST_API_VERSION@_la-%.gcda %.c
$(GCOV) -b -f -o $^ > $@.out
gcov: $(libges_@GST_API_VERSION@_la_SOURCES:=.gcov)
lex.priv_ges_parse_yy.c parse_lex.h: parse.l
$(AM_V_GEN)$(FLEX_PATH) --header-file=parse_lex.h -Ppriv_ges_parse_yy $^