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 \
41 gstaudioutilsprivate.c \
45 nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
47 libgstaudio_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/audio
48 libgstaudio_@GST_API_VERSION@include_HEADERS = \
53 gstaudioringbuffer.h \
67 nodist_libgstaudio_@GST_API_VERSION@include_HEADERS = \
70 noinst_HEADERS = gstaudioutilsprivate.h
72 libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
74 libgstaudio_@GST_API_VERSION@_la_LIBADD = \
75 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
76 $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS)
77 libgstaudio_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
79 include $(top_srcdir)/common/gst-glib-gen.mak
82 BUILT_GIRSOURCES = GstAudio-@GST_API_VERSION@.gir
84 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@include_HEADERS))
85 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
86 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES))
87 gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
89 GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VERSION@.la
90 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
91 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
92 $(INTROSPECTION_SCANNER) -v --namespace GstAudio \
93 --nsversion=@GST_API_VERSION@ \
96 -I$(top_srcdir)/gst-libs \
97 -I$(top_builddir)/gst-libs \
98 --c-include "gst/audio/audio.h" \
99 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
100 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
101 --add-include-path="$(top_builddir)/gst-libs/gst/tag/" \
102 --library=libgstaudio-@GST_API_VERSION@.la \
103 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
104 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \
105 --library-path="$(top_builddir)/gst-libs/gst/tag/" \
106 --include=Gst-@GST_API_VERSION@ \
107 --include=GstBase-@GST_API_VERSION@ \
108 --include=GstTag-@GST_API_VERSION@ \
109 --libtool="$(top_builddir)/libtool" \
110 --pkg gstreamer-@GST_API_VERSION@ \
111 --pkg gstreamer-base-@GST_API_VERSION@ \
112 --pkg-export gstreamer-audio-@GST_API_VERSION@ \
113 --add-init-section="gst_init(NULL,NULL);" \
118 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
119 # install anything - we need to install inside our prefix.
120 girdir = $(datadir)/gir-1.0
121 gir_DATA = $(BUILT_GIRSOURCES)
123 typelibsdir = $(libdir)/girepository-1.0/
125 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
127 %.typelib: %.gir $(INTROSPECTION_COMPILER)
128 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
129 $(INTROSPECTION_COMPILER) \
130 --includedir=$(srcdir) \
131 --includedir=$(builddir) \
132 --includedir="$(top_builddir)/gst-libs/gst/tag/" \
133 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
134 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
135 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
137 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
140 Android.mk: Makefile.am $(BUILT_SOURCES)
141 androgenizer -:PROJECT libgstaudio -:SHARED libgstaudio-@GST_API_VERSION@ \
143 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
144 -:SOURCES $(libgstaudio_@GST_API_VERSION@_la_SOURCES) \
145 $(nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES) \
146 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \
147 -:LDFLAGS $(libgstaudio_@GST_API_VERSION@_la_LDFLAGS) \
148 $(libgstaudio_@GST_API_VERSION@_la_LIBADD) \
150 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
151 -:HEADERS $(libgstaudio_@GST_API_VERSION@include_HEADERS) \
152 $(nodist_libgstaudio_@GST_API_VERSION@include_HEADERS) \
153 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \