1 # variables used for enum/marshal generation
2 glib_enum_headers = video.h colorbalance.h
3 glib_enum_define = GST_VIDEO
4 glib_gen_prefix = gst_video
5 glib_gen_basename = video
7 built_sources = video-enumtypes.c video-marshal.c
8 built_headers = video-enumtypes.h video-marshal.h
9 BUILT_SOURCES = $(built_sources) $(built_headers)
11 lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la
13 CLEANFILES = $(BUILT_SOURCES)
15 EXTRA_DIST = video-marshal.list
17 libgstvideo_@GST_API_VERSION@_la_SOURCES = \
19 colorbalancechannel.c \
29 nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
31 libgstvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video
32 libgstvideo_@GST_API_VERSION@include_HEADERS = \
34 colorbalancechannel.h \
42 nodist_libgstvideo_@GST_API_VERSION@include_HEADERS = $(built_headers)
44 libgstvideo_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
45 libgstvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
46 libgstvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
48 include $(top_srcdir)/common/gst-glib-gen.mak
51 BUILT_GIRSOURCES = GstVideo-@GST_API_VERSION@.gir
53 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@include_HEADERS))
54 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstvideo_@GST_API_VERSION@include_HEADERS))
55 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@_la_SOURCES))
56 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES))
57 gir_cincludes=$(patsubst %,--c-include='gst/video/%',$(libgstvideo_@GST_API_VERSION@include_HEADERS))
58 gir_cincludes+=$(patsubst %,--c-include='gst/video/%',$(nodist_libgstvideo_@GST_API_VERSION@include_HEADERS))
60 GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VERSION@.la
61 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
62 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
63 $(INTROSPECTION_SCANNER) -v --namespace GstVideo \
64 --nsversion=@GST_API_VERSION@ \
68 -DGST_USE_UNSTABLE_API \
69 -I$(top_srcdir)/gst-libs \
70 -I$(top_builddir)/gst-libs \
71 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
72 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
73 --library=libgstvideo-@GST_API_VERSION@.la \
74 --include=Gst-@GST_API_VERSION@ \
75 --include=GstBase-@GST_API_VERSION@ \
76 --libtool="$(top_builddir)/libtool" \
77 --pkg gstreamer-@GST_API_VERSION@ \
78 --pkg gstreamer-base-@GST_API_VERSION@ \
79 --pkg-export gstreamer-video-@GST_API_VERSION@ \
80 --add-init-section="gst_init(NULL,NULL);" \
85 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
86 # install anything - we need to install inside our prefix.
87 girdir = $(datadir)/gir-1.0
88 gir_DATA = $(BUILT_GIRSOURCES)
90 typelibsdir = $(libdir)/girepository-1.0/
92 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
94 %.typelib: %.gir $(INTROSPECTION_COMPILER)
95 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
96 $(INTROSPECTION_COMPILER) \
97 --includedir=$(srcdir) \
98 --includedir=$(builddir) \
99 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
100 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
101 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
103 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
106 Android.mk: Makefile.am $(BUILT_SOURCES)
107 androgenizer -:PROJECT libgstvideo -:SHARED libgstvideo-@GST_API_VERSION@ \
109 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
110 -:SOURCES $(libgstvideo_@GST_API_VERSION@_la_SOURCES) \
111 $(nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES) \
112 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstvideo_@GST_API_VERSION@_la_CFLAGS) \
113 -:LDFLAGS $(libgstvideo_@GST_API_VERSION@_la_LDFLAGS) \
114 $(libgstvideo_@GST_API_VERSION@_la_LIBADD) \
116 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
117 -:HEADERS $(libgstvideo_@GST_API_VERSION@include_HEADERS) \
118 $(nodist_libgstvideo_@GST_API_VERSION@include_HEADERS) \
119 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \