gstreamer/ext/sdl/Makefile.am
Tim-Philipp Müller f8f4620451 build: fix CFLAGS order and LIBS order
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
2012-02-03 00:50:33 +00:00

19 lines
537 B
Makefile

plugin_LTLIBRARIES = libgstsdl.la
libgstsdl_la_SOURCES = \
gstsdl.c \
sdlvideosink.c \
sdlaudiosink.c
libgstsdl_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(SDL_CFLAGS)
libgstsdl_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
-lgstvideo-$(GST_MAJORMINOR) \
-lgstaudio-$(GST_MAJORMINOR) \
-lgstinterfaces-$(GST_MAJORMINOR) \
$(SDL_LIBS)
libgstsdl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstsdl_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \
sdlvideosink.h \
sdlaudiosink.h