2009-08-06 10:47:38 +00:00
|
|
|
built_header_make = gesmarshal.h
|
2010-08-05 09:40:49 +00:00
|
|
|
built_source_make = gesmarshal.c
|
2009-08-04 15:16:31 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libges-@GST_MAJORMINOR@.la
|
|
|
|
|
2009-08-06 10:47:38 +00:00
|
|
|
EXTRA_libges_@GST_MAJORMINOR@_la_SOURCES = gesmarshal.list
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make)
|
2009-08-04 15:16:31 +00:00
|
|
|
|
2009-08-06 09:23:01 +00:00
|
|
|
libges_@GST_MAJORMINOR@_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 \
|
2009-08-07 14:45:16 +00:00
|
|
|
ges-custom-timeline-source.c \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-simple-timeline-layer.c \
|
|
|
|
ges-timeline.c \
|
|
|
|
ges-timeline-layer.c \
|
|
|
|
ges-timeline-object.c \
|
|
|
|
ges-timeline-pipeline.c \
|
|
|
|
ges-timeline-source.c \
|
2011-01-31 12:28:44 +00:00
|
|
|
ges-timeline-effect.c \
|
2011-02-10 15:15:50 +00:00
|
|
|
ges-timeline-parse-launch-effect.c \
|
2009-09-21 10:51:16 +00:00
|
|
|
ges-timeline-file-source.c \
|
2010-12-09 13:25:22 +00:00
|
|
|
ges-timeline-operation.c \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-timeline-transition.c \
|
2010-12-09 16:09:11 +00:00
|
|
|
ges-timeline-standard-transition.c \
|
2010-06-30 18:25:18 +00:00
|
|
|
ges-timeline-test-source.c \
|
2010-06-14 11:31:15 +00:00
|
|
|
ges-timeline-title-source.c \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-timeline-overlay.c \
|
2010-07-01 09:17:46 +00:00
|
|
|
ges-timeline-text-overlay.c \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-track.c \
|
2009-08-06 16:54:01 +00:00
|
|
|
ges-track-object.c \
|
2009-09-21 10:51:16 +00:00
|
|
|
ges-track-source.c \
|
2010-06-30 15:50:49 +00:00
|
|
|
ges-track-operation.c \
|
2010-05-20 08:44:01 +00:00
|
|
|
ges-track-filesource.c \
|
2010-08-06 10:58:08 +00:00
|
|
|
ges-track-image-source.c \
|
2010-05-24 12:55:53 +00:00
|
|
|
ges-track-transition.c \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-track-audio-transition.c \
|
|
|
|
ges-track-video-transition.c \
|
|
|
|
ges-track-video-test-source.c \
|
|
|
|
ges-track-audio-test-source.c \
|
|
|
|
ges-track-title-source.c \
|
|
|
|
ges-track-text-overlay.c \
|
2010-11-05 11:12:24 +00:00
|
|
|
ges-track-effect.c \
|
2011-02-10 11:17:50 +00:00
|
|
|
ges-track-parse-launch-effect.c \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-screenshot.c \
|
2010-09-13 23:21:15 +00:00
|
|
|
ges-formatter.c \
|
2010-10-07 12:49:15 +00:00
|
|
|
ges-keyfile-formatter.c \
|
2010-05-20 08:44:01 +00:00
|
|
|
ges-utils.c
|
2009-08-04 15:16:31 +00:00
|
|
|
|
2009-08-06 09:23:01 +00:00
|
|
|
libges_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/ges/
|
|
|
|
libges_@GST_MAJORMINOR@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 \
|
2009-08-07 14:45:16 +00:00
|
|
|
ges-custom-timeline-source.h \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-simple-timeline-layer.h \
|
|
|
|
ges-timeline.h \
|
|
|
|
ges-timeline-layer.h \
|
|
|
|
ges-timeline-object.h \
|
|
|
|
ges-timeline-pipeline.h \
|
|
|
|
ges-timeline-source.h \
|
2009-09-21 10:51:16 +00:00
|
|
|
ges-timeline-file-source.h \
|
2011-01-31 12:28:44 +00:00
|
|
|
ges-timeline-effect.h \
|
2011-02-10 15:15:50 +00:00
|
|
|
ges-timeline-parse-launch-effect.h \
|
2010-12-09 13:25:22 +00:00
|
|
|
ges-timeline-operation.h \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-timeline-transition.h \
|
2010-12-09 16:09:11 +00:00
|
|
|
ges-timeline-standard-transition.h \
|
2010-06-30 18:25:18 +00:00
|
|
|
ges-timeline-test-source.h \
|
2010-06-14 11:31:15 +00:00
|
|
|
ges-timeline-title-source.h \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-timeline-overlay.h \
|
2010-07-01 09:17:46 +00:00
|
|
|
ges-timeline-text-overlay.h \
|
2010-11-05 11:12:24 +00:00
|
|
|
ges-track-effect.h \
|
2011-02-10 11:17:50 +00:00
|
|
|
ges-track-parse-launch-effect.h \
|
2009-08-04 15:16:31 +00:00
|
|
|
ges-track.h \
|
2009-08-06 16:54:01 +00:00
|
|
|
ges-track-object.h \
|
2009-09-21 10:51:16 +00:00
|
|
|
ges-track-source.h \
|
2010-06-30 15:50:49 +00:00
|
|
|
ges-track-operation.h \
|
2010-05-20 08:44:01 +00:00
|
|
|
ges-track-filesource.h \
|
2010-08-06 10:58:08 +00:00
|
|
|
ges-track-image-source.h \
|
2010-05-24 12:55:53 +00:00
|
|
|
ges-track-transition.h \
|
2010-07-16 16:00:05 +00:00
|
|
|
ges-track-audio-transition.h \
|
|
|
|
ges-track-video-transition.h \
|
|
|
|
ges-track-video-test-source.h \
|
|
|
|
ges-track-audio-test-source.h \
|
|
|
|
ges-track-title-source.h \
|
|
|
|
ges-track-text-overlay.h \
|
|
|
|
ges-screenshot.h \
|
2010-09-13 23:21:15 +00:00
|
|
|
ges-formatter.h \
|
2010-10-07 12:49:15 +00:00
|
|
|
ges-keyfile-formatter.h \
|
2010-05-20 08:44:01 +00:00
|
|
|
ges-utils.h
|
2009-08-04 15:16:31 +00:00
|
|
|
|
2011-01-11 16:19:54 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
ges-internal.h
|
|
|
|
|
2010-12-15 11:36:25 +00:00
|
|
|
libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) $(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
|
|
libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PBUTILS_LIBS) $(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
|
2011-01-11 15:32:56 +00:00
|
|
|
libges_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -export-symbols-regex \^_*\(ges_\|GES_\).*
|
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)
|
|
|
|
|
|
|
|
gesmarshal.h: gesmarshal.list
|
|
|
|
glib-genmarshal --header --prefix=ges_marshal $^ > gesmarshal.h.tmp
|
|
|
|
mv gesmarshal.h.tmp gesmarshal.h
|
|
|
|
|
|
|
|
gesmarshal.c: gesmarshal.list
|
|
|
|
echo "#include \"glib-object.h\"" >gesmarshal.c.tmp
|
|
|
|
echo "#include \"gesmarshal.h\"" >> gesmarshal.c.tmp
|
|
|
|
glib-genmarshal --body --prefix=ges_marshal $^ >> gesmarshal.c.tmp
|
|
|
|
mv gesmarshal.c.tmp gesmarshal.c
|
2010-12-15 11:58:26 +00:00
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GES-@GST_MAJORMINOR@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libges_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_MAJORMINOR@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_MAJORMINOR@_la_SOURCES))
|
|
|
|
gir_cincludes=$(patsubst %,--c-include='ges/%',$(libges_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
gir_cincludes+=$(patsubst %,--c-include='ges/%',$(nodist_libges_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
|
|
|
|
GES-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libges-@GST_MAJORMINOR@.la
|
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GES \
|
|
|
|
--nsversion=@GST_MAJORMINOR@ \
|
|
|
|
--identifier-prefix=GES \
|
|
|
|
--symbol-prefix=ges \
|
|
|
|
--warn-all \
|
|
|
|
$(gir_cincludes) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir) \
|
2011-08-05 11:24:17 +00:00
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.11` \
|
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-0.11` \
|
2010-12-15 11:58:26 +00:00
|
|
|
--library=libges-@GST_MAJORMINOR@.la \
|
|
|
|
--include=Gst-@GST_MAJORMINOR@ \
|
|
|
|
--include=GstPbutils-@GST_MAJORMINOR@ \
|
|
|
|
--libtool="$(top_builddir)/libtool" \
|
|
|
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
|
|
|
--pkg gstreamer-pbutils-@GST_MAJORMINOR@ \
|
|
|
|
--pkg-export ges-@GST_MAJORMINOR@ \
|
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) \
|
2011-08-05 11:24:17 +00:00
|
|
|
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-0.11` \
|
|
|
|
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-0.11` \
|
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
|
|
|
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
|
|
androgenizer -:PROJECT libges -:SHARED libges-@GST_MAJORMINOR@ \
|
|
|
|
-:TAGS eng debug \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
|
|
-:SOURCES $(libges_@GST_MAJORMINOR@_la_SOURCES) \
|
|
|
|
$(nodist_libges_@GST_MAJORMINOR@_la_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(libges_@GST_MAJORMINOR@_la_CFLAGS) \
|
|
|
|
-:LDFLAGS $(libges_@GST_MAJORMINOR@_la_LDFLAGS) \
|
|
|
|
$(libges_@GST_MAJORMINOR@_la_LIBADD) \
|
|
|
|
-ldl \
|
|
|
|
-:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/interfaces \
|
|
|
|
-:HEADERS $(libges_@GST_MAJORMINOR@include_HEADERS) \
|
|
|
|
$(nodist_libges_@GST_MAJORMINOR@include_HEADERS) \
|
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
> $@
|