1 # variables used for enum/marshal generation
2 ORC_SOURCE=gstaudiopack
3 include $(top_srcdir)/common/orc.mak
12 glib_enum_define = GST_AUDIO
13 glib_gen_prefix = gst_audio
14 glib_gen_basename = audio
16 built_sources = audio-enumtypes.c
17 built_headers = audio-enumtypes.h
18 BUILT_SOURCES += $(built_sources) $(built_headers)
21 libgstaudio-@GST_API_VERSION@.la
23 CLEANFILES = $(BUILT_SOURCES)
25 libgstaudio_@GST_API_VERSION@_la_SOURCES = \
30 gstaudioringbuffer.c \
44 nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
46 libgstaudio_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/audio
47 libgstaudio_@GST_API_VERSION@include_HEADERS = \
52 gstaudioringbuffer.h \
66 nodist_libgstaudio_@GST_API_VERSION@include_HEADERS = \
69 libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
71 libgstaudio_@GST_API_VERSION@_la_LIBADD = \
72 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
73 $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS)
74 libgstaudio_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
76 include $(top_srcdir)/common/gst-glib-gen.mak
79 BUILT_GIRSOURCES = GstAudio-@GST_API_VERSION@.gir
81 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@include_HEADERS))
82 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
83 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES))
84 gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
86 GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VERSION@.la
87 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
88 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
89 $(INTROSPECTION_SCANNER) -v --namespace GstAudio \
90 --nsversion=@GST_API_VERSION@ \
93 -I$(top_srcdir)/gst-libs \
94 -I$(top_builddir)/gst-libs \
95 --c-include "gst/audio/audio.h" \
96 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
97 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
98 --add-include-path="$(top_builddir)/gst-libs/gst/tag/" \
99 --library=libgstaudio-@GST_API_VERSION@.la \
100 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
101 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \
102 --library-path="$(top_builddir)/gst-libs/gst/tag/" \
103 --include=Gst-@GST_API_VERSION@ \
104 --include=GstBase-@GST_API_VERSION@ \
105 --include=GstTag-@GST_API_VERSION@ \
106 --libtool="$(top_builddir)/libtool" \
107 --pkg gstreamer-@GST_API_VERSION@ \
108 --pkg gstreamer-base-@GST_API_VERSION@ \
109 --pkg-export gstreamer-audio-@GST_API_VERSION@ \
110 --add-init-section="gst_init(NULL,NULL);" \
115 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
116 # install anything - we need to install inside our prefix.
117 girdir = $(datadir)/gir-1.0
118 gir_DATA = $(BUILT_GIRSOURCES)
120 typelibsdir = $(libdir)/girepository-1.0/
122 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
124 %.typelib: %.gir $(INTROSPECTION_COMPILER)
125 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
126 $(INTROSPECTION_COMPILER) \
127 --includedir=$(srcdir) \
128 --includedir=$(builddir) \
129 --includedir="$(top_builddir)/gst-libs/gst/tag/" \
130 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
131 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
132 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
134 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
137 Android.mk: Makefile.am $(BUILT_SOURCES)
138 androgenizer -:PROJECT libgstaudio -:SHARED libgstaudio-@GST_API_VERSION@ \
140 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
141 -:SOURCES $(libgstaudio_@GST_API_VERSION@_la_SOURCES) \
142 $(nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES) \
143 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \
144 -:LDFLAGS $(libgstaudio_@GST_API_VERSION@_la_LDFLAGS) \
145 $(libgstaudio_@GST_API_VERSION@_la_LIBADD) \
147 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
148 -:HEADERS $(libgstaudio_@GST_API_VERSION@include_HEADERS) \
149 $(nodist_libgstaudio_@GST_API_VERSION@include_HEADERS) \
150 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \