gstreamer/ges/Makefile.am

235 lines
7.5 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
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 \
ges-enums.c \
ges-custom-source-clip.c \
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 \
2009-08-04 15:16:31 +00:00
ges-timeline-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 \
2013-01-26 17:07:01 +00:00
ges-uri-source.c \
ges-image-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-auto-transition.c \
ges-timeline-element.c \
ges-container.c \
ges-effect-asset.c \
ges-utils.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-custom-source-clip.h \
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 \
2009-08-04 15:16:31 +00:00
ges-timeline-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 \
2013-01-26 17:07:01 +00:00
ges-uri-source.h \
ges-image-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-timeline-element.h \
ges-container.h \
ges-effect-asset.h \
ges-utils.h
2009-08-04 15:16:31 +00:00
noinst_HEADERS = \
ges-internal.h \
ges-auto-transition.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)
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)
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)
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@` \
--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=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@ \
--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@` \
--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)
Android.mk: Makefile.am $(BUILT_SOURCES)
2012-04-04 12:50:23 +00:00
androgenizer -:PROJECT libges -:SHARED libges-@GST_API_VERSION@ \
-: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) \
-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) \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
> $@