1 lib_LTLIBRARIES = libgstcontroller-@GST_API_VERSION@.la
3 libgstcontroller_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/controller
4 libgstcontroller_@GST_API_VERSION@_include_HEADERS = \
6 gstargbcontrolbinding.h \
7 gstdirectcontrolbinding.h \
8 gsttimedvaluecontrolsource.h \
9 gstinterpolationcontrolsource.h \
10 gsttriggercontrolsource.h \
13 libgstcontroller_@GST_API_VERSION@_la_SOURCES = \
14 gstargbcontrolbinding.c \
15 gstdirectcontrolbinding.c \
16 gsttimedvaluecontrolsource.c \
17 gstinterpolationcontrolsource.c \
18 gsttriggercontrolsource.c \
21 libgstcontroller_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS)
22 libgstcontroller_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) $(LIBM)
23 libgstcontroller_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
25 CLEANFILES = *.gcno *.gcda *.gcov
27 %.c.gcov: .libs/libgstcontroller_@GST_API_VERSION@_la-%.gcda %.c
28 $(GCOV) -b -f -o $^ > $@.out
30 gcov: $(libgstcontroller_@GST_API_VERSION@_la_SOURCES:=.gcov)
32 Android.mk: Makefile.am
33 androgenizer -:PROJECT gstreamer -:SHARED libgstcontroller-@GST_API_VERSION@ -:TAGS eng debug \
34 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
35 -:SOURCES $(libgstcontroller_@GST_API_VERSION@_la_SOURCES) \
36 -:CFLAGS $(libgstcontroller_@GST_API_VERSION@_la_CFLAGS) \
37 -:LDFLAGS $(libgstcontroller_@GST_API_VERSION@_la_LDFLAGS) \
38 $(libgstcontroller_@GST_API_VERSION@_la_LIBADD) \
39 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/controller \
40 -:HEADERS $(libgstcontroller_@GST_API_VERSION@_include_HEADERS) \
41 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
45 BUILT_GIRSOURCES = GstController-@GST_API_VERSION@.gir
47 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_include_HEADERS))
48 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_la_SOURCES))
50 GstController-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@GST_API_VERSION@.la
51 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
52 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
53 $(INTROSPECTION_SCANNER) -v --namespace GstController \
54 --nsversion=@GST_API_VERSION@ \
58 -I$(top_srcdir)/libs \
60 -I$(top_builddir)/libs \
61 --c-include "gst/controller/controller.h" \
62 --add-include-path=$(top_builddir)/gst \
63 --library-path=$(top_builddir)/gst \
64 --library=libgstcontroller-@GST_API_VERSION@.la \
65 --include=Gst-@GST_API_VERSION@ \
66 --libtool="$(top_builddir)/libtool" \
67 --pkg gstreamer-@GST_API_VERSION@ \
68 --pkg-export gstreamer-controller-@GST_API_VERSION@ \
69 --add-init-section="gst_init(NULL,NULL);" \
74 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
75 # install anything - we need to install inside our prefix.
76 girdir = $(datadir)/gir-1.0
77 gir_DATA = $(BUILT_GIRSOURCES)
79 typelibsdir = $(libdir)/girepository-1.0/
81 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
83 %.typelib: %.gir $(INTROSPECTION_COMPILER)
84 $(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=$(top_builddir)/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
86 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)