1 lib_LTLIBRARIES = libgstinterfaces-@GST_MAJORMINOR@.la
2 libgstinterfacesincludedir = \
3 $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/interfaces
7 colorbalancechannel.h \
20 # variables used for enum/marshal generation
21 glib_enum_headers = $(headers_interfaces)
22 glib_enum_define = GST_INTERFACES
23 glib_gen_prefix = gst_interfaces
24 glib_gen_basename = interfaces
27 interfaces-marshal.c \
28 interfaces-enumtypes.c
31 interfaces-marshal.h \
32 interfaces-enumtypes.h
34 libgstinterfacesinclude_HEADERS = \
37 nodist_libgstinterfacesinclude_HEADERS = \
38 interfaces-enumtypes.h
40 libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = \
42 colorbalancechannel.c \
55 nodist_libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = \
59 libgstinterfaces_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
60 libgstinterfaces_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(LIBM)
61 libgstinterfaces_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
67 EXTRA_DIST = interfaces-marshal.list
69 CLEANFILES = $(BUILT_SOURCES)
71 include $(top_srcdir)/common/gst-glib-gen.mak
74 BUILT_GIRSOURCES = GstInterfaces-@GST_MAJORMINOR@.gir
76 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstinterfacesinclude_HEADERS))
77 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstinterfacesinclude_HEADERS))
78 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES))
79 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES))
80 gir_cincludes=$(patsubst %,--c-include='gst/interfaces/%',$(libgstinterfacesinclude_HEADERS))
81 gir_cincludes+=$(patsubst %,--c-include='gst/interfaces/%',$(nodist_libgstinterfacesinclude_HEADERS))
83 GstInterfaces-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstinterfaces-@GST_MAJORMINOR@.la
84 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
85 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
86 $(INTROSPECTION_SCANNER) -v --namespace GstInterfaces \
87 --nsversion=@GST_MAJORMINOR@ \
90 -I$(top_srcdir)/gst-libs \
91 -I$(top_builddir)/gst-libs \
92 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
93 --library=libgstinterfaces-@GST_MAJORMINOR@.la \
94 --include=Gst-@GST_MAJORMINOR@ \
95 --libtool="$(top_builddir)/libtool" \
96 --pkg gstreamer-@GST_MAJORMINOR@ \
97 --pkg-export gstreamer-interfaces-@GST_MAJORMINOR@ \
98 --add-init-section="gst_init(NULL,NULL);" \
103 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
104 # install anything - we need to install inside our prefix.
105 girdir = $(datadir)/gir-1.0
106 gir_DATA = $(BUILT_GIRSOURCES)
108 typelibsdir = $(libdir)/girepository-1.0/
110 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
112 %.typelib: %.gir $(INTROSPECTION_COMPILER)
113 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
114 $(INTROSPECTION_COMPILER) \
115 --includedir=$(srcdir) \
116 --includedir=$(builddir) \
117 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
118 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
120 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
123 Android.mk: Makefile.am $(BUILT_SOURCES)
124 androgenizer -:PROJECT libgstinterfaces -:SHARED libgstinterfaces-@GST_MAJORMINOR@ \
126 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
127 -:SOURCES $(libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES) \
128 $(nodist_libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES) \
129 -:CFLAGS $(DEFS) $(libgstinterfaces_@GST_MAJORMINOR@_la_CFLAGS) \
130 -:LDFLAGS $(libgstinterfaces_@GST_MAJORMINOR@_la_LDFLAGS) \
131 $(libgstinterfaces_@GST_MAJORMINOR@_la_LIBADD) \
133 -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/interfaces \
134 -:HEADERS $(libgstinterfacesinclude_HEADERS) \
135 $(nodist_libgstinterfacesinclude_HEADERS) \
136 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \