Rename GESStandardTransitionClip to GESTransitionClip
[platform/upstream/gst-editing-services.git] / ges / Makefile.am
1 built_header_make =
2 built_source_make =
3
4 lib_LTLIBRARIES = libges-@GST_API_VERSION@.la
5
6 EXTRA_libges_@GST_API_VERSION@_la_SOURCES = gesmarshal.list
7
8 CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make) *.gcno *.gcda *.gcov *.gcov.out
9
10 libges_@GST_API_VERSION@_la_SOURCES =           \
11         $(built_source_make)                    \
12         ges.c                                   \
13         ges-enums.c                             \
14         ges-custom-source-clip.c                \
15         ges-meta-container.c        \
16         ges-simple-timeline-layer.c             \
17         ges-timeline.c                          \
18         ges-timeline-layer.c                    \
19         ges-clip.c                      \
20         ges-timeline-pipeline.c                 \
21         ges-source-clip.c                       \
22         ges-effect-clip.c               \
23         ges-standard-effect-clip.c              \
24         ges-uri-clip.c          \
25         ges-operation-clip.c            \
26         ges-base-transition-clip.c              \
27         ges-transition-clip.c   \
28         ges-test-clip.c         \
29         ges-title-clip.c                \
30         ges-overlay-clip.c                      \
31         ges-text-overlay-clip.c         \
32         ges-track.c                             \
33         ges-track-object.c                      \
34         ges-track-source.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                \
45         ges-track-effect.c              \
46         ges-track-parse-launch-effect.c         \
47         ges-screenshot.c                        \
48         ges-formatter.c                         \
49         ges-pitivi-formatter.c                  \
50         ges-asset.c \
51         ges-uri-asset.c \
52         ges-asset-clip.c \
53         ges-asset-track-object.c \
54         ges-extractable.c \
55         ges-project.c \
56         ges-base-xml-formatter.c \
57         ges-xml-formatter.c \
58         ges-auto-transition.c \
59         ges-timeline-element.c \
60         ges-utils.c
61
62 libges_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/ges/
63 libges_@GST_API_VERSION@include_HEADERS =       \
64         $(built_header_make)                    \
65         ges-types.h                             \
66         ges.h                                   \
67         ges-enums.h                             \
68         ges-custom-source-clip.h                \
69         ges-meta-container.h        \
70         ges-simple-timeline-layer.h             \
71         ges-timeline.h                          \
72         ges-timeline-layer.h                    \
73         ges-clip.h                      \
74         ges-timeline-pipeline.h                 \
75         ges-source-clip.h                       \
76         ges-uri-clip.h          \
77         ges-effect-clip.h               \
78         ges-standard-effect-clip.h              \
79         ges-operation-clip.h            \
80         ges-base-transition-clip.h              \
81         ges-transition-clip.h   \
82         ges-test-clip.h         \
83         ges-title-clip.h                \
84         ges-overlay-clip.h                      \
85         ges-text-overlay-clip.h         \
86         ges-track-effect.h              \
87         ges-track-parse-launch-effect.h         \
88         ges-track.h                             \
89         ges-track-object.h                      \
90         ges-track-source.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                \
101         ges-screenshot.h                        \
102         ges-formatter.h                         \
103         ges-pitivi-formatter.h                  \
104         ges-asset.h \
105         ges-uri-asset.h \
106         ges-asset-clip.h \
107         ges-asset-track-object.h \
108         ges-extractable.h \
109         ges-project.h \
110         ges-base-xml-formatter.h \
111         ges-xml-formatter.h \
112         ges-timeline-element.h \
113         ges-utils.h
114
115 noinst_HEADERS = \
116         ges-internal.h \
117         ges-auto-transition.h \
118         ges-internal-enums.h
119
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)
128
129 DISTCLEANFILE = $(CLEANFILES)
130
131 #files built on make all/check/instal
132 BUILT_SOURCES =                 \
133         $(built_header_make)    \
134         $(built_source_make)
135
136 include $(top_srcdir)/common/gst-glib-gen.mak
137
138 if HAVE_INTROSPECTION
139 BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir
140
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))
147
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 \
154                 --warn-all \
155                 $(gir_cincludes) \
156                 -I$(top_srcdir) \
157                 -I$(top_builddir) \
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@ \
168                 --include=Gio-2.0 \
169                 --libtool="$(top_builddir)/libtool" \
170                 --pkg gstreamer-@GST_API_VERSION@ \
171                 --pkg gstreamer-pbutils-@GST_API_VERSION@ \
172                 --pkg gio-2.0 \
173                 --pkg-export ges-@GST_API_VERSION@ \
174                 --add-init-section="gst_init(NULL, NULL);" \
175                 --add-init-section="ges_init(NULL, NULL);" \
176                 --output $@ \
177                 $(gir_headers) \
178                 $(gir_sources)
179
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)
184
185 typelibsdir = $(libdir)/girepository-1.0/
186
187 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
188
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)
203
204 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
205 endif
206
207 %.c.gcov: .libs/libges_@GST_API_VERSION@_la-%.gcda %.c
208         $(GCOV) -b -f -o $^ > $@.out
209
210 gcov: $(libges_@GST_API_VERSION@_la_SOURCES:=.gcov)
211
212 Android.mk: Makefile.am $(BUILT_SOURCES)
213         androgenizer -:PROJECT libges -:SHARED libges-@GST_API_VERSION@ \
214          -:TAGS eng debug \
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) \
221                    -ldl \
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 \
226         > $@