2012-03-12 15:46:42 +00:00
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2016-08-25 07:06:51 +00:00
|
|
|
nodist_libges_@GST_API_VERSION@_la_SOURCES = lex.priv_ges_parse_yy.c ges-parse-lex.h
|
2015-02-26 16:08:43 +00:00
|
|
|
|
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) \
|
2009-08-06 09:23:01 +00:00
|
|
|
ges.c \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-enums.c \
|
2012-11-26 16:31:17 +00:00
|
|
|
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 \
|
2013-07-01 14:27:54 +00:00
|
|
|
ges-pipeline.c \
|
2013-01-17 03:35:39 +00:00
|
|
|
ges-source-clip.c \
|
2013-01-25 18:45:07 +00:00
|
|
|
ges-base-effect-clip.c \
|
2013-01-25 18:51:02 +00:00
|
|
|
ges-effect-clip.c \
|
2013-01-20 15:44:57 +00:00
|
|
|
ges-uri-clip.c \
|
2013-01-17 03:26:35 +00:00
|
|
|
ges-operation-clip.c \
|
2013-01-25 14:26:14 +00:00
|
|
|
ges-base-transition-clip.c \
|
2013-01-25 18:16:21 +00:00
|
|
|
ges-transition-clip.c \
|
2013-01-17 03:58:28 +00:00
|
|
|
ges-test-clip.c \
|
2013-01-17 03:55:03 +00:00
|
|
|
ges-title-clip.c \
|
2013-01-17 03:49:43 +00:00
|
|
|
ges-overlay-clip.c \
|
2013-01-17 03:53:26 +00:00
|
|
|
ges-text-overlay-clip.c \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-track.c \
|
2013-03-28 17:51:45 +00:00
|
|
|
ges-audio-track.c \
|
|
|
|
ges-video-track.c \
|
2013-01-26 15:31:33 +00:00
|
|
|
ges-track-element.c \
|
2013-01-26 16:08:20 +00:00
|
|
|
ges-source.c \
|
2013-01-27 15:27:19 +00:00
|
|
|
ges-operation.c \
|
2013-07-09 13:31:15 +00:00
|
|
|
ges-video-source.c \
|
|
|
|
ges-audio-source.c \
|
|
|
|
ges-video-uri-source.c \
|
|
|
|
ges-audio-uri-source.c \
|
2013-01-26 17:21:56 +00:00
|
|
|
ges-image-source.c \
|
2013-11-12 11:13:31 +00:00
|
|
|
ges-multi-file-source.c \
|
2013-01-27 15:31:10 +00:00
|
|
|
ges-transition.c \
|
2013-01-27 15:44:13 +00:00
|
|
|
ges-audio-transition.c \
|
2013-01-27 15:41:51 +00:00
|
|
|
ges-video-transition.c \
|
2013-01-26 16:03:39 +00:00
|
|
|
ges-video-test-source.c \
|
2013-01-26 16:02:02 +00:00
|
|
|
ges-audio-test-source.c \
|
2013-01-26 17:25:14 +00:00
|
|
|
ges-title-source.c \
|
2013-01-27 15:24:44 +00:00
|
|
|
ges-text-overlay.c \
|
2013-01-26 15:35:19 +00:00
|
|
|
ges-base-effect.c \
|
2013-01-26 15:40:51 +00:00
|
|
|
ges-effect.c \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-screenshot.c \
|
2010-09-13 23:21:15 +00:00
|
|
|
ges-formatter.c \
|
2013-09-16 14:16:18 +00:00
|
|
|
ges-pitivi-formatter.c \
|
2012-09-10 00:15:17 +00:00
|
|
|
ges-asset.c \
|
2013-01-20 15:44:57 +00:00
|
|
|
ges-uri-asset.c \
|
2013-01-27 15:51:52 +00:00
|
|
|
ges-clip-asset.c \
|
2013-01-26 17:14:57 +00:00
|
|
|
ges-track-element-asset.c \
|
2012-09-10 00:15:17 +00:00
|
|
|
ges-extractable.c \
|
2012-12-17 22:26:23 +00:00
|
|
|
ges-project.c \
|
2012-11-19 16:24:03 +00:00
|
|
|
ges-base-xml-formatter.c \
|
|
|
|
ges-xml-formatter.c \
|
2015-02-23 13:48:18 +00:00
|
|
|
ges-command-line-formatter.c \
|
2013-01-10 21:50:54 +00:00
|
|
|
ges-auto-transition.c \
|
2013-01-15 13:52:17 +00:00
|
|
|
ges-timeline-element.c \
|
2013-03-01 01:27:50 +00:00
|
|
|
ges-container.c \
|
2013-03-14 15:14:31 +00:00
|
|
|
ges-effect-asset.c \
|
2013-03-30 23:08:15 +00:00
|
|
|
ges-smart-adder.c \
|
2013-05-29 16:48:42 +00:00
|
|
|
ges-smart-video-mixer.c \
|
2013-06-03 21:02:15 +00:00
|
|
|
ges-utils.c \
|
2013-06-26 21:08:57 +00:00
|
|
|
ges-group.c \
|
2014-11-03 10:58:30 +00:00
|
|
|
ges-validate.c \
|
2015-02-17 22:48:12 +00:00
|
|
|
ges-structured-interface.c \
|
2015-02-23 13:48:18 +00:00
|
|
|
ges-structure-parser.c \
|
2016-04-13 09:31:05 +00:00
|
|
|
gstframepositioner.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) \
|
2009-08-06 10:14:37 +00:00
|
|
|
ges-types.h \
|
2009-08-06 09:23:01 +00:00
|
|
|
ges.h \
|
2018-03-13 13:45:24 +00:00
|
|
|
ges-prelude.h \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-enums.h \
|
2013-03-18 15:41:06 +00:00
|
|
|
ges-gerror.h \
|
2012-11-26 16:31:17 +00:00
|
|
|
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 \
|
2013-07-01 14:27:54 +00:00
|
|
|
ges-pipeline.h \
|
2013-01-17 03:35:39 +00:00
|
|
|
ges-source-clip.h \
|
2013-01-20 15:44:57 +00:00
|
|
|
ges-uri-clip.h \
|
2013-01-25 18:45:07 +00:00
|
|
|
ges-base-effect-clip.h \
|
2013-01-25 18:51:02 +00:00
|
|
|
ges-effect-clip.h \
|
2013-01-17 03:26:35 +00:00
|
|
|
ges-operation-clip.h \
|
2013-01-25 14:26:14 +00:00
|
|
|
ges-base-transition-clip.h \
|
2013-01-25 18:16:21 +00:00
|
|
|
ges-transition-clip.h \
|
2013-01-17 03:58:28 +00:00
|
|
|
ges-test-clip.h \
|
2013-01-17 03:55:03 +00:00
|
|
|
ges-title-clip.h \
|
2013-01-17 03:49:43 +00:00
|
|
|
ges-overlay-clip.h \
|
2013-01-17 03:53:26 +00:00
|
|
|
ges-text-overlay-clip.h \
|
2013-01-26 15:35:19 +00:00
|
|
|
ges-base-effect.h \
|
2013-01-26 15:40:51 +00:00
|
|
|
ges-effect.h \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-track.h \
|
2013-03-28 17:51:45 +00:00
|
|
|
ges-audio-track.h \
|
|
|
|
ges-video-track.h \
|
2013-01-26 15:31:33 +00:00
|
|
|
ges-track-element.h \
|
2013-01-26 16:08:20 +00:00
|
|
|
ges-source.h \
|
2013-01-27 15:27:19 +00:00
|
|
|
ges-operation.h \
|
2013-07-09 13:31:15 +00:00
|
|
|
ges-video-source.h \
|
|
|
|
ges-audio-source.h \
|
|
|
|
ges-video-uri-source.h \
|
|
|
|
ges-audio-uri-source.h \
|
2013-01-26 17:21:56 +00:00
|
|
|
ges-image-source.h \
|
2013-11-12 11:13:31 +00:00
|
|
|
ges-multi-file-source.h \
|
2013-01-27 15:31:10 +00:00
|
|
|
ges-transition.h \
|
2013-01-27 15:44:13 +00:00
|
|
|
ges-audio-transition.h \
|
2013-01-27 15:41:51 +00:00
|
|
|
ges-video-transition.h \
|
2013-01-26 16:03:39 +00:00
|
|
|
ges-video-test-source.h \
|
2013-01-26 16:02:02 +00:00
|
|
|
ges-audio-test-source.h \
|
2013-01-26 17:25:14 +00:00
|
|
|
ges-title-source.h \
|
2013-01-27 15:24:44 +00:00
|
|
|
ges-text-overlay.h \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-screenshot.h \
|
2010-09-13 23:21:15 +00:00
|
|
|
ges-formatter.h \
|
2013-09-16 14:16:18 +00:00
|
|
|
ges-pitivi-formatter.h \
|
2012-09-10 00:15:17 +00:00
|
|
|
ges-asset.h \
|
2013-01-20 15:44:57 +00:00
|
|
|
ges-uri-asset.h \
|
2013-01-27 15:51:52 +00:00
|
|
|
ges-clip-asset.h \
|
2013-01-26 17:14:57 +00:00
|
|
|
ges-track-element-asset.h \
|
2012-09-10 00:15:17 +00:00
|
|
|
ges-extractable.h \
|
2012-12-17 22:26:23 +00:00
|
|
|
ges-project.h \
|
2012-11-19 16:24:03 +00:00
|
|
|
ges-base-xml-formatter.h \
|
|
|
|
ges-xml-formatter.h \
|
2015-02-23 13:48:18 +00:00
|
|
|
ges-command-line-formatter.h \
|
2013-01-15 13:52:17 +00:00
|
|
|
ges-timeline-element.h \
|
2013-03-01 01:27:50 +00:00
|
|
|
ges-container.h \
|
2013-03-14 15:14:31 +00:00
|
|
|
ges-effect-asset.h \
|
2013-03-30 23:08:15 +00:00
|
|
|
ges-smart-adder.h \
|
2013-06-03 21:02:15 +00:00
|
|
|
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
|
|
|
|
2011-01-11 16:19:54 +00:00
|
|
|
noinst_HEADERS = \
|
2012-09-01 02:36:37 +00:00
|
|
|
ges-internal.h \
|
2013-11-13 12:18:00 +00:00
|
|
|
ges-auto-transition.h \
|
2015-02-17 22:48:12 +00:00
|
|
|
ges-structured-interface.h \
|
2015-02-23 13:48:18 +00:00
|
|
|
ges-structure-parser.h \
|
2016-01-02 15:15:02 +00:00
|
|
|
ges-smart-video-mixer.h \
|
2016-04-13 09:31:05 +00:00
|
|
|
gstframepositioner.h
|
2011-01-11 16:19:54 +00:00
|
|
|
|
2012-04-04 12:50:23 +00:00
|
|
|
libges_@GST_API_VERSION@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) \
|
2012-04-03 23:25:18 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
2018-07-01 20:22:24 +00:00
|
|
|
$(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS) \
|
|
|
|
-DG_LOG_DOMAIN=\"GES\"
|
2012-04-04 12:50:23 +00:00
|
|
|
libges_@GST_API_VERSION@_la_LIBADD = $(GST_PBUTILS_LIBS) \
|
2012-04-03 23:25:18 +00:00
|
|
|
$(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
2014-11-03 10:58:30 +00:00
|
|
|
$(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) \
|
2014-11-03 10:58:30 +00:00
|
|
|
$(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 \
|
2016-08-25 07:06:51 +00:00
|
|
|
ges-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
|
|
|
|
2016-06-26 06:53:40 +00:00
|
|
|
gir_headers_temp=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_headers=$(subst $(srcdir)/ges-version.h,$(builddir)/ges-version.h,$(gir_headers_temp))
|
2012-04-04 12:50:23 +00:00
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES))
|
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)" \
|
2016-05-25 09:32:46 +00:00
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
2010-12-15 11:58:26 +00:00
|
|
|
$(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 \
|
2016-04-30 16:20:00 +00:00
|
|
|
--c-include='ges/ges.h' \
|
2010-12-15 11:58:26 +00:00
|
|
|
-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@` \
|
2012-10-31 17:49:44 +00:00
|
|
|
--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@` \
|
2012-04-03 23:25:18 +00:00
|
|
|
--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@ \
|
2014-04-06 14:39:33 +00:00
|
|
|
--include=GstVideo-@GST_API_VERSION@ \
|
2012-04-04 12:50:23 +00:00
|
|
|
--include=GstPbutils-@GST_API_VERSION@ \
|
2012-11-19 16:24:03 +00:00
|
|
|
--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@ \
|
2012-04-03 23:25:18 +00:00
|
|
|
--pkg gio-2.0 \
|
2012-04-04 12:50:23 +00:00
|
|
|
--pkg-export ges-@GST_API_VERSION@ \
|
2016-01-19 10:15:58 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
|
|
|
--add-init-section="extern gboolean ges_init(void); ges_init();" \
|
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)
|
2011-01-08 01:36:13 +00:00
|
|
|
$(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@` \
|
2012-10-31 17:49:44 +00:00
|
|
|
--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@` \
|
2012-04-03 23:25:18 +00:00
|
|
|
--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
|
2011-01-27 16:47:25 +00:00
|
|
|
|
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)
|
|
|
|
|
2016-08-25 07:06:51 +00:00
|
|
|
lex.priv_ges_parse_yy.c ges-parse-lex.h: parse.l
|
|
|
|
$(AM_V_GEN)$(FLEX_PATH) --header-file=ges-parse-lex.h -Ppriv_ges_parse_yy $^
|