4 lib_LTLIBRARIES = libges-@GST_API_VERSION@.la
7 EXTRA_libges_@GST_API_VERSION@_la_SOURCES = gesmarshal.list
11 CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
13 nodist_libges_@GST_API_VERSION@_la_SOURCES = lex.priv_ges_parse_yy.c ges-parse-lex.h
16 libges_@GST_API_VERSION@_la_SOURCES = \
17 $(built_source_make) \
20 ges-meta-container.c \
26 ges-base-effect-clip.c \
29 ges-operation-clip.c \
30 ges-base-transition-clip.c \
31 ges-transition-clip.c \
35 ges-text-overlay-clip.c \
44 ges-video-uri-source.c \
45 ges-audio-uri-source.c \
47 ges-multi-file-source.c \
49 ges-audio-transition.c \
50 ges-video-transition.c \
51 ges-video-test-source.c \
52 ges-audio-test-source.c \
59 ges-pitivi-formatter.c \
63 ges-track-element-asset.c \
66 ges-base-xml-formatter.c \
68 ges-command-line-formatter.c \
69 ges-auto-transition.c \
70 ges-timeline-element.c \
75 ges-smart-video-mixer.c \
79 ges-structured-interface.c \
80 ges-structure-parser.c \
84 libges_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/ges/
85 libges_@GST_API_VERSION@include_HEADERS = \
86 $(built_header_make) \
92 ges-meta-container.h \
99 ges-base-effect-clip.h \
101 ges-operation-clip.h \
102 ges-base-transition-clip.h \
103 ges-transition-clip.h \
107 ges-text-overlay-clip.h \
113 ges-track-element.h \
118 ges-video-uri-source.h \
119 ges-audio-uri-source.h \
121 ges-multi-file-source.h \
123 ges-audio-transition.h \
124 ges-video-transition.h \
125 ges-video-test-source.h \
126 ges-audio-test-source.h \
131 ges-pitivi-formatter.h \
135 ges-track-element-asset.h \
138 ges-base-xml-formatter.h \
139 ges-xml-formatter.h \
140 ges-command-line-formatter.h \
141 ges-timeline-element.h \
151 ges-auto-transition.h \
152 ges-structured-interface.h \
153 ges-structure-parser.h \
154 ges-smart-video-mixer.h \
156 ges-timeline-tree.h \
159 libges_@GST_API_VERSION@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) \
160 $(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
161 $(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS) \
162 -DG_LOG_DOMAIN=\"GES\" -DBUILDING_GES
163 libges_@GST_API_VERSION@_la_LIBADD = $(GST_PBUTILS_LIBS) \
164 $(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) \
165 $(GST_BASE_LIBS) $(GST_LIBS) $(XML_LIBS) $(GIO_LIBS) $(GST_VALIDATE_LIBS)
166 libges_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
167 $(GST_LT_LDFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS)
169 DISTCLEANFILE = $(CLEANFILES)
171 #files built on make all/check/instal
173 $(built_header_make) \
174 $(built_source_make) \
175 lex.priv_ges_parse_yy.c \
178 include $(top_srcdir)/common/gst-glib-gen.mak
180 if HAVE_INTROSPECTION
181 BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir
183 gir_headers_temp=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS))
184 gir_headers=$(subst $(srcdir)/ges-version.h,$(builddir)/ges-version.h,$(gir_headers_temp))
185 gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES))
187 GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
188 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
189 CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
190 $(INTROSPECTION_SCANNER) -v --namespace GES \
191 --nsversion=@GST_API_VERSION@ \
192 --identifier-prefix=GES \
193 --symbol-prefix=ges \
195 --c-include='ges/ges.h' \
198 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
199 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
200 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
201 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
202 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
203 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
204 --add-include-path=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
205 --library=libges-@GST_API_VERSION@.la \
206 --include=Gst-@GST_API_VERSION@ \
207 --include=GstVideo-@GST_API_VERSION@ \
208 --include=GstPbutils-@GST_API_VERSION@ \
210 --libtool="$(top_builddir)/libtool" \
211 --pkg gstreamer-@GST_API_VERSION@ \
212 --pkg gstreamer-pbutils-@GST_API_VERSION@ \
213 --pkg gstreamer-controller-@GST_API_VERSION@ \
215 --pkg-export gst-editing-services-@GST_API_VERSION@ \
216 --add-init-section="$(INTROSPECTION_INIT)" \
217 --add-init-section="extern gboolean ges_init(void); ges_init();" \
222 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
223 # install anything - we need to install inside our prefix.
224 girdir = $(datadir)/gir-1.0
225 gir_DATA = $(BUILT_GIRSOURCES)
227 typelibsdir = $(libdir)/girepository-1.0/
229 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
231 %.typelib: %.gir $(INTROSPECTION_COMPILER)
232 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
233 $(INTROSPECTION_COMPILER) \
234 --includedir=$(srcdir) \
235 --includedir=$(srcdir)/../video \
236 --includedir=$(builddir) \
237 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
238 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
239 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
240 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
241 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
242 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
243 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-controller-@GST_API_VERSION@` \
244 --includedir=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
245 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
247 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
250 %.c.gcov: .libs/libges_@GST_API_VERSION@_la-%.gcda %.c
251 $(GCOV) -b -f -o $^ > $@.out
253 gcov: $(libges_@GST_API_VERSION@_la_SOURCES:=.gcov)
255 lex.priv_ges_parse_yy.c ges-parse-lex.h: parse.l
256 $(AM_V_GEN)$(FLEX_PATH) --header-file=ges-parse-lex.h -Ppriv_ges_parse_yy $^