Clean up LDFLAGS, LIBS, CFLAGS

Fix order, fix variables that don't exist, like GST_LIBS_LIBS,
use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD.

Spotted by Havard Graff.
This commit is contained in:
Tim-Philipp Müller 2009-11-22 19:30:58 +00:00
parent 5d439f56bb
commit d40c856ae5

View file

@ -14,8 +14,10 @@ noinst_HEADERS = gstdtmfsrc.h \
gstrtpdtmfcommon.h \ gstrtpdtmfcommon.h \
tone_detect.h tone_detect.h
libgstdtmf_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT libgstdtmf_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
libgstdtmf_la_LIBADD = $(GST_LIBS_LIBS) -lm -DEXTERN_BUF -DRTP_SUPPORT
libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ libgstdtmf_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdtmf_la_LIBTOOLFLAGS = --tag=disable-static libgstdtmf_la_LIBTOOLFLAGS = --tag=disable-static