1 # variables used for enum/marshal generation
2 ORC_SOURCE=gstaudiopack
3 include $(top_srcdir)/common/orc.mak
9 audio-channel-mixer.h \
16 glib_enum_define = GST_AUDIO
17 glib_gen_prefix = gst_audio
18 glib_gen_basename = audio
20 built_sources = audio-enumtypes.c
21 built_headers = audio-enumtypes.h
22 BUILT_SOURCES += $(built_sources) $(built_headers)
25 libgstaudio-@GST_API_VERSION@.la
27 CLEANFILES = $(BUILT_SOURCES)
29 EXTRA_DIST += dbesi0.c
31 libgstaudio_@GST_API_VERSION@_la_SOURCES = \
35 audio-channel-mixer.c \
40 gstaudioringbuffer.c \
51 gstaudioutilsprivate.c \
55 nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
57 libgstaudio_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/audio
58 libgstaudio_@GST_API_VERSION@include_HEADERS = \
62 audio-channel-mixer.h \
67 gstaudioringbuffer.h \
81 nodist_libgstaudio_@GST_API_VERSION@include_HEADERS = \
85 gstaudioutilsprivate.h \
86 audio-resampler-x86.h \
87 audio-resampler-neon.h
89 libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
91 libgstaudio_@GST_API_VERSION@_la_LIBADD = \
92 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
93 $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS)
94 libgstaudio_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
96 include $(top_srcdir)/common/gst-glib-gen.mak
99 BUILT_GIRSOURCES = GstAudio-@GST_API_VERSION@.gir
101 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@include_HEADERS))
102 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
103 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES))
104 gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
106 GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VERSION@.la
107 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
108 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
109 CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
110 $(INTROSPECTION_SCANNER) -v --namespace GstAudio \
111 --nsversion=@GST_API_VERSION@ \
113 --identifier-prefix=Gst \
114 --symbol-prefix=gst \
115 -I$(top_srcdir)/gst-libs \
116 -I$(top_builddir)/gst-libs \
117 --c-include "gst/audio/audio.h" \
118 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
119 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
120 --add-include-path="$(top_builddir)/gst-libs/gst/tag/" \
121 --library=libgstaudio-@GST_API_VERSION@.la \
122 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
123 --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \
124 --library-path="$(top_builddir)/gst-libs/gst/tag/" \
125 --include=Gst-@GST_API_VERSION@ \
126 --include=GstBase-@GST_API_VERSION@ \
127 --include=GstTag-@GST_API_VERSION@ \
128 --libtool="$(top_builddir)/libtool" \
129 --pkg gstreamer-@GST_API_VERSION@ \
130 --pkg gstreamer-base-@GST_API_VERSION@ \
131 --pkg-export gstreamer-audio-@GST_API_VERSION@ \
132 --add-init-section="$(INTROSPECTION_INIT)" \
137 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
138 # install anything - we need to install inside our prefix.
139 girdir = $(datadir)/gir-1.0
140 gir_DATA = $(BUILT_GIRSOURCES)
142 typelibsdir = $(libdir)/girepository-1.0/
144 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
146 %.typelib: %.gir $(INTROSPECTION_COMPILER)
147 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
148 $(INTROSPECTION_COMPILER) \
149 --includedir=$(srcdir) \
150 --includedir=$(builddir) \
151 --includedir="$(top_builddir)/gst-libs/gst/tag/" \
152 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
153 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
154 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
156 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)