4 lib_LTLIBRARIES = libges-@GST_API_VERSION@.la
6 EXTRA_libges_@GST_API_VERSION@_la_SOURCES = gesmarshal.list
8 CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
10 libges_@GST_API_VERSION@_la_SOURCES = \
11 $(built_source_make) \
14 ges-custom-source-clip.c \
15 ges-meta-container.c \
16 ges-simple-timeline-layer.c \
18 ges-timeline-layer.c \
20 ges-timeline-pipeline.c \
23 ges-standard-effect-clip.c \
25 ges-operation-clip.c \
26 ges-base-transition-clip.c \
27 ges-transition-clip.c \
31 ges-text-overlay-clip.c \
35 ges-track-operation.c \
36 ges-track-filesource.c \
37 ges-track-image-source.c \
38 ges-track-transition.c \
39 ges-track-audio-transition.c \
40 ges-track-video-transition.c \
41 ges-track-video-test-source.c \
42 ges-track-audio-test-source.c \
43 ges-track-title-source.c \
44 ges-track-text-overlay.c \
46 ges-track-parse-launch-effect.c \
49 ges-pitivi-formatter.c \
53 ges-asset-track-object.c \
56 ges-base-xml-formatter.c \
58 ges-auto-transition.c \
59 ges-timeline-element.c \
62 libges_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/ges/
63 libges_@GST_API_VERSION@include_HEADERS = \
64 $(built_header_make) \
68 ges-custom-source-clip.h \
69 ges-meta-container.h \
70 ges-simple-timeline-layer.h \
72 ges-timeline-layer.h \
74 ges-timeline-pipeline.h \
78 ges-standard-effect-clip.h \
79 ges-operation-clip.h \
80 ges-base-transition-clip.h \
81 ges-transition-clip.h \
85 ges-text-overlay-clip.h \
87 ges-track-parse-launch-effect.h \
91 ges-track-operation.h \
92 ges-track-filesource.h \
93 ges-track-image-source.h \
94 ges-track-transition.h \
95 ges-track-audio-transition.h \
96 ges-track-video-transition.h \
97 ges-track-video-test-source.h \
98 ges-track-audio-test-source.h \
99 ges-track-title-source.h \
100 ges-track-text-overlay.h \
103 ges-pitivi-formatter.h \
107 ges-asset-track-object.h \
110 ges-base-xml-formatter.h \
111 ges-xml-formatter.h \
112 ges-timeline-element.h \
117 ges-auto-transition.h \
120 libges_@GST_API_VERSION@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) \
121 $(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
122 $(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS)
123 libges_@GST_API_VERSION@_la_LIBADD = $(GST_PBUTILS_LIBS) \
124 $(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) \
125 $(GST_BASE_LIBS) $(GST_LIBS) $(XML_LIBS) $(GIO_LIBS)
126 libges_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
127 $(GST_LT_LDFLAGS) $(GIO_CFLAGS)
129 DISTCLEANFILE = $(CLEANFILES)
131 #files built on make all/check/instal
133 $(built_header_make) \
136 include $(top_srcdir)/common/gst-glib-gen.mak
138 if HAVE_INTROSPECTION
139 BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir
141 gir_headers=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS))
142 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_API_VERSION@include_HEADERS))
143 gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES))
144 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libges_@GST_API_VERSION@_la_SOURCES))
145 gir_cincludes=$(patsubst %,--c-include='ges/%',$(libges_@GST_API_VERSION@include_HEADERS))
146 gir_cincludes+=$(patsubst %,--c-include='ges/%',$(nodist_libges_@GST_API_VERSION@include_HEADERS))
148 GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
149 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
150 $(INTROSPECTION_SCANNER) -v --namespace GES \
151 --nsversion=@GST_API_VERSION@ \
152 --identifier-prefix=GES \
153 --symbol-prefix=ges \
158 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
159 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
160 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
161 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
162 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
163 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
164 --add-include-path=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
165 --library=libges-@GST_API_VERSION@.la \
166 --include=Gst-@GST_API_VERSION@ \
167 --include=GstPbutils-@GST_API_VERSION@ \
169 --libtool="$(top_builddir)/libtool" \
170 --pkg gstreamer-@GST_API_VERSION@ \
171 --pkg gstreamer-pbutils-@GST_API_VERSION@ \
173 --pkg-export ges-@GST_API_VERSION@ \
174 --add-init-section="gst_init(NULL, NULL);" \
175 --add-init-section="ges_init(NULL, NULL);" \
180 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
181 # install anything - we need to install inside our prefix.
182 girdir = $(datadir)/gir-1.0
183 gir_DATA = $(BUILT_GIRSOURCES)
185 typelibsdir = $(libdir)/girepository-1.0/
187 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
189 %.typelib: %.gir $(INTROSPECTION_COMPILER)
190 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
191 $(INTROSPECTION_COMPILER) \
192 --includedir=$(srcdir) \
193 --includedir=$(srcdir)/../video \
194 --includedir=$(builddir) \
195 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
196 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
197 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
198 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
199 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
200 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
201 --includedir=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
202 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
204 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
207 %.c.gcov: .libs/libges_@GST_API_VERSION@_la-%.gcda %.c
208 $(GCOV) -b -f -o $^ > $@.out
210 gcov: $(libges_@GST_API_VERSION@_la_SOURCES:=.gcov)
212 Android.mk: Makefile.am $(BUILT_SOURCES)
213 androgenizer -:PROJECT libges -:SHARED libges-@GST_API_VERSION@ \
215 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
216 -:SOURCES $(libges_@GST_API_VERSION@_la_SOURCES) \
217 $(nodist_libges_@GST_API_VERSION@_la_SOURCES) \
218 -:CFLAGS $(DEFS) $(libges_@GST_API_VERSION@_la_CFLAGS) \
219 -:LDFLAGS $(libges_@GST_API_VERSION@_la_LDFLAGS) \
220 $(libges_@GST_API_VERSION@_la_LIBADD) \
222 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/interfaces \
223 -:HEADERS $(libges_@GST_API_VERSION@include_HEADERS) \
224 $(nodist_libges_@GST_API_VERSION@include_HEADERS) \
225 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \