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
|
|
|
|
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
|
|
|
|
2012-12-24 12:29:04 +00:00
|
|
|
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
|
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 \
|
2013-01-17 03:35:39 +00:00
|
|
|
ges-custom-source-clip.c \
|
2012-11-26 16:31:17 +00:00
|
|
|
ges-meta-container.c \
|
2013-04-23 23:04:04 +00:00
|
|
|
ges-simple-layer.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-01-26 17:07:01 +00:00
|
|
|
ges-uri-source.c \
|
2013-01-26 17:21:56 +00:00
|
|
|
ges-image-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 \
|
2011-08-28 01:55:46 +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 \
|
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 \
|
2013-06-03 21:02:15 +00:00
|
|
|
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) \
|
2009-08-06 10:14:37 +00:00
|
|
|
ges-types.h \
|
2009-08-06 09:23:01 +00:00
|
|
|
ges.h \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-enums.h \
|
2013-03-18 15:41:06 +00:00
|
|
|
ges-gerror.h \
|
2013-01-17 03:35:39 +00:00
|
|
|
ges-custom-source-clip.h \
|
2012-11-26 16:31:17 +00:00
|
|
|
ges-meta-container.h \
|
2013-04-23 23:04:04 +00:00
|
|
|
ges-simple-layer.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-01-26 17:07:01 +00:00
|
|
|
ges-uri-source.h \
|
2013-01-26 17:21:56 +00:00
|
|
|
ges-image-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 \
|
2011-08-28 01:55:46 +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 \
|
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-05-29 16:48:42 +00:00
|
|
|
ges-smart-video-mixer.h \
|
2013-06-03 21:02:15 +00:00
|
|
|
ges-utils.h \
|
2013-06-26 21:08:57 +00:00
|
|
|
ges-group.h \
|
2013-06-03 21:02:15 +00:00
|
|
|
gstframepositionner.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-03-05 22:07:29 +00:00
|
|
|
ges-auto-transition.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) \
|
|
|
|
$(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS)
|
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) \
|
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(XML_LIBS) $(GIO_LIBS)
|
2012-04-04 12:50:23 +00:00
|
|
|
libges_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
|
2012-04-13 11:59:17 +00:00
|
|
|
$(GST_LT_LDFLAGS) $(GIO_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) \
|
|
|
|
$(built_source_make)
|
|
|
|
|
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_headers+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_cincludes=$(patsubst %,--c-include='ges/%',$(libges_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_cincludes+=$(patsubst %,--c-include='ges/%',$(nodist_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@` \
|
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@ \
|
|
|
|
--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@ \
|
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@ \
|
2012-02-10 19:13:44 +00:00
|
|
|
--add-init-section="gst_init(NULL, NULL);" \
|
2011-05-09 12:26:53 +00:00
|
|
|
--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)
|
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@` \
|
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)
|
|
|
|
|
2011-01-27 16:47:25 +00:00
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
2012-04-04 12:50:23 +00:00
|
|
|
androgenizer -:PROJECT libges -:SHARED libges-@GST_API_VERSION@ \
|
2011-01-27 16:47:25 +00:00
|
|
|
-:TAGS eng debug \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
2012-04-04 12:50:23 +00:00
|
|
|
-:SOURCES $(libges_@GST_API_VERSION@_la_SOURCES) \
|
|
|
|
$(nodist_libges_@GST_API_VERSION@_la_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(libges_@GST_API_VERSION@_la_CFLAGS) \
|
|
|
|
-:LDFLAGS $(libges_@GST_API_VERSION@_la_LDFLAGS) \
|
|
|
|
$(libges_@GST_API_VERSION@_la_LIBADD) \
|
2011-01-27 16:47:25 +00:00
|
|
|
-ldl \
|
2012-04-04 12:50:23 +00:00
|
|
|
-:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/interfaces \
|
|
|
|
-:HEADERS $(libges_@GST_API_VERSION@include_HEADERS) \
|
|
|
|
$(nodist_libges_@GST_API_VERSION@include_HEADERS) \
|
2011-01-27 16:47:25 +00:00
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
> $@
|