1 # variables used for enum generation
3 include $(top_srcdir)/common/orc.mak
5 glib_enum_headers = video.h video-format.h video-color.h video-info.h \
6 colorbalance.h navigation.h
7 glib_enum_define = GST_VIDEO
8 glib_gen_prefix = gst_video
9 glib_gen_basename = video
11 built_sources = video-enumtypes.c
12 built_headers = video-enumtypes.h
13 BUILT_SOURCES += $(built_sources) $(built_headers)
15 lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la
17 CLEANFILES = $(BUILT_SOURCES)
19 libgstvideo_@GST_API_VERSION@_la_SOURCES = \
21 colorbalancechannel.c \
40 video-overlay-composition.c
42 nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
44 libgstvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video
45 libgstvideo_@GST_API_VERSION@include_HEADERS = \
47 colorbalancechannel.h \
66 video-overlay-composition.h
68 nodist_libgstvideo_@GST_API_VERSION@include_HEADERS = $(built_headers)
70 libgstvideo_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
72 libgstvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS)
73 libgstvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
75 include $(top_srcdir)/common/gst-glib-gen.mak
78 BUILT_GIRSOURCES = GstVideo-@GST_API_VERSION@.gir
80 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@include_HEADERS))
81 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
82 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@_la_SOURCES))
83 gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
85 GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VERSION@.la
86 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
87 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
88 $(INTROSPECTION_SCANNER) -v --namespace GstVideo \
89 --nsversion=@GST_API_VERSION@ \
92 --c-include "gst/video/gstvideo.h" \
93 -I$(top_srcdir)/gst-libs \
94 -I$(top_builddir)/gst-libs \
95 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
96 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
97 --library=libgstvideo-@GST_API_VERSION@.la \
98 --include=Gst-@GST_API_VERSION@ \
99 --include=GstBase-@GST_API_VERSION@ \
100 --libtool="$(top_builddir)/libtool" \
101 --pkg gstreamer-@GST_API_VERSION@ \
102 --pkg gstreamer-base-@GST_API_VERSION@ \
103 --pkg-export gstreamer-video-@GST_API_VERSION@ \
104 --add-init-section="gst_init(NULL,NULL);" \
109 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
110 # install anything - we need to install inside our prefix.
111 girdir = $(datadir)/gir-1.0
112 gir_DATA = $(BUILT_GIRSOURCES)
114 typelibsdir = $(libdir)/girepository-1.0/
116 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
118 %.typelib: %.gir $(INTROSPECTION_COMPILER)
119 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
120 $(INTROSPECTION_COMPILER) \
121 --includedir=$(srcdir) \
122 --includedir=$(builddir) \
123 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
124 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
125 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
127 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
130 Android.mk: Makefile.am $(BUILT_SOURCES)
131 androgenizer -:PROJECT libgstvideo -:SHARED libgstvideo-@GST_API_VERSION@ \
133 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
134 -:SOURCES $(libgstvideo_@GST_API_VERSION@_la_SOURCES) \
135 $(nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES) \
136 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstvideo_@GST_API_VERSION@_la_CFLAGS) \
137 -:LDFLAGS $(libgstvideo_@GST_API_VERSION@_la_LDFLAGS) \
138 $(libgstvideo_@GST_API_VERSION@_la_LIBADD) \
140 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
141 -:HEADERS $(libgstvideo_@GST_API_VERSION@include_HEADERS) \
142 $(nodist_libgstvideo_@GST_API_VERSION@include_HEADERS) \
143 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \