mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
234 lines
7.5 KiB
Makefile
234 lines
7.5 KiB
Makefile
built_header_make =
|
|
built_source_make =
|
|
|
|
lib_LTLIBRARIES = libges-@GST_API_VERSION@.la
|
|
|
|
EXTRA_libges_@GST_API_VERSION@_la_SOURCES = gesmarshal.list
|
|
|
|
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
|
|
|
|
libges_@GST_API_VERSION@_la_SOURCES = \
|
|
$(built_source_make) \
|
|
ges.c \
|
|
ges-enums.c \
|
|
ges-custom-source-clip.c \
|
|
ges-meta-container.c \
|
|
ges-simple-layer.c \
|
|
ges-timeline.c \
|
|
ges-layer.c \
|
|
ges-clip.c \
|
|
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 \
|
|
ges-track.c \
|
|
ges-audio-track.c \
|
|
ges-video-track.c \
|
|
ges-track-element.c \
|
|
ges-source.c \
|
|
ges-operation.c \
|
|
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 \
|
|
ges-base-effect.c \
|
|
ges-effect.c \
|
|
ges-screenshot.c \
|
|
ges-formatter.c \
|
|
ges-pitivi-formatter.c \
|
|
ges-asset.c \
|
|
ges-uri-asset.c \
|
|
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
|
|
|
|
libges_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/ges/
|
|
libges_@GST_API_VERSION@include_HEADERS = \
|
|
$(built_header_make) \
|
|
ges-types.h \
|
|
ges.h \
|
|
ges-enums.h \
|
|
ges-gerror.h \
|
|
ges-custom-source-clip.h \
|
|
ges-meta-container.h \
|
|
ges-simple-layer.h \
|
|
ges-timeline.h \
|
|
ges-layer.h \
|
|
ges-clip.h \
|
|
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 \
|
|
ges-base-effect.h \
|
|
ges-effect.h \
|
|
ges-track.h \
|
|
ges-audio-track.h \
|
|
ges-video-track.h \
|
|
ges-track-element.h \
|
|
ges-source.h \
|
|
ges-operation.h \
|
|
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 \
|
|
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
|
|
|
|
noinst_HEADERS = \
|
|
ges-internal.h \
|
|
ges-auto-transition.h
|
|
|
|
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)
|
|
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)
|
|
libges_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
|
|
$(GST_LT_LDFLAGS) $(GIO_CFLAGS)
|
|
|
|
DISTCLEANFILE = $(CLEANFILES)
|
|
|
|
#files built on make all/check/instal
|
|
BUILT_SOURCES = \
|
|
$(built_header_make) \
|
|
$(built_source_make)
|
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
|
|
|
if HAVE_INTROSPECTION
|
|
BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir
|
|
|
|
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))
|
|
|
|
GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
$(INTROSPECTION_SCANNER) -v --namespace GES \
|
|
--nsversion=@GST_API_VERSION@ \
|
|
--identifier-prefix=GES \
|
|
--symbol-prefix=ges \
|
|
--warn-all \
|
|
$(gir_cincludes) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir) \
|
|
--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` \
|
|
--library=libges-@GST_API_VERSION@.la \
|
|
--include=Gst-@GST_API_VERSION@ \
|
|
--include=GstPbutils-@GST_API_VERSION@ \
|
|
--include=Gio-2.0 \
|
|
--libtool="$(top_builddir)/libtool" \
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
--pkg gstreamer-pbutils-@GST_API_VERSION@ \
|
|
--pkg gio-2.0 \
|
|
--pkg-export ges-@GST_API_VERSION@ \
|
|
--add-init-section="gst_init(NULL, NULL);" \
|
|
--add-init-section="ges_init(NULL, NULL);" \
|
|
--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) \
|
|
--includedir=$(srcdir) \
|
|
--includedir=$(srcdir)/../video \
|
|
--includedir=$(builddir) \
|
|
--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` \
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
endif
|
|
|
|
%.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)
|
|
androgenizer -:PROJECT libges -:SHARED libges-@GST_API_VERSION@ \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-: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 \
|
|
-: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 \
|
|
> $@
|