diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-30 11:37:37 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-30 11:40:15 +0100 |
commit | f7f34f9f3f6c5d4e68ca1e2820fffd40533ad69c (patch) | |
tree | eecd5f39fe01f57bbfafab55db799f4eeece8b72 /sys/wasapi/Makefile.am | |
parent | 3be147046d1a465e21da5947ab03c26a6a8cf09b (diff) | |
download | gstreamer-plugins-bad-f7f34f9f3f6c5d4e68ca1e2820fffd40533ad69c.tar.gz |
wasapi: Integrate into the autotools build system
Patch based on a patch by Fabrizio Ciavatta <fabrizio.ciavatta@gmail.com>
Diffstat (limited to 'sys/wasapi/Makefile.am')
-rw-r--r-- | sys/wasapi/Makefile.am | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/sys/wasapi/Makefile.am b/sys/wasapi/Makefile.am index 905817835..49cbd1d6d 100644 --- a/sys/wasapi/Makefile.am +++ b/sys/wasapi/Makefile.am @@ -1,5 +1,20 @@ -EXTRA_DIST = \ - gstwasapi.c \ - gstwasapisrc.c gstwasapisrc.h \ - gstwasapisink.c gstwasapisink.h \ - gstwasapiutil.c gstwasapiutil.h +plugin_LTLIBRARIES = libgstwasapi.la + +libgstwasapi_la_SOURCES = gstwasapi.c \ + gstwasapisrc.c \ + gstwasapisink.c \ + gstwasapiutil.c + +libgstwasapi_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DCOBJMACROS=1 +libgstwasapi_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ + -lgstaudio-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \ + $(WASAPI_LIBS) +libgstwasapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +if !GST_PLUGIN_BUILD_STATIC +libgstwasapi_la_LIBTOOLFLAGS = --tag=disable-static +endif + +noinst_HEADERS = gstwasapisrc.h \ + gstwasapisink.h \ + gstwasapiutil.h + |