mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
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:
parent
044e5b8b5f
commit
c49cdd59ff
7 changed files with 29 additions and 22 deletions
|
@ -2,8 +2,8 @@ plugin_LTLIBRARIES = libgstmimic.la
|
|||
|
||||
libgstmimic_la_SOURCES = gstmimic.c gstmimdec.c gstmimenc.c
|
||||
|
||||
libgstmimic_la_CFLAGS = $(GST_CFLAGS) $(MIMIC_CFLAGS) $(GST_BASE_CFLAGS) $(ERROR_CFLAGS)
|
||||
libgstmimic_la_LIBADD = $(GST_LIBS) $(MIMIC_LIBS)
|
||||
libgstmimic_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS)
|
||||
libgstmimic_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(MIMIC_CFLAGS)
|
||||
libgstmimic_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(MIMIC_LIBS)
|
||||
libgstmimic_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = gstmimdec.h gstmimenc.h
|
||||
|
|
|
@ -2,8 +2,8 @@ plugin_LTLIBRARIES = libgstautoconvert.la
|
|||
|
||||
libgstautoconvert_la_SOURCES = gstautoconvert.c gstautoconvert.h
|
||||
|
||||
libgstautoconvert_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS)
|
||||
libgstautoconvert_la_LIBADD = $(GST_LIBS_LIBS)
|
||||
libgstautoconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
|
||||
libgstautoconvert_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstautoconvert_la_LIBADD = $(GST_LIBS)
|
||||
libgstautoconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstautoconvert_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
|
@ -14,8 +14,10 @@ noinst_HEADERS = gstdtmfsrc.h \
|
|||
gstrtpdtmfcommon.h \
|
||||
tone_detect.h
|
||||
|
||||
libgstdtmf_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT
|
||||
libgstdtmf_la_LIBADD = $(GST_LIBS_LIBS) -lm
|
||||
libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@
|
||||
libgstdtmf_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
-DEXTERN_BUF -DRTP_SUPPORT
|
||||
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
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
plugin_LTLIBRARIES = libgstliveadder.la
|
||||
|
||||
libgstliveadder_la_SOURCES = liveadder.c
|
||||
libgstliveadder_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS)
|
||||
libgstliveadder_la_LIBADD = $(GST_LIBS_LIBS)
|
||||
libgstliveadder_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstaudio-0.10
|
||||
libgstliveadder_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libgstliveadder_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_MAJORMINOR@ \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libgstliveadder_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstliveadder_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
noinst_HEADERS = liveadder.h
|
||||
|
|
|
@ -2,9 +2,11 @@ plugin_LTLIBRARIES = libgstrtpmux.la
|
|||
|
||||
libgstrtpmux_la_SOURCES = gstrtpmuxer.c gstrtpmux.c gstrtpdtmfmux.c
|
||||
|
||||
libgstrtpmux_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT
|
||||
libgstrtpmux_la_LIBADD = $(GST_LIBS_LIBS)
|
||||
libgstrtpmux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@
|
||||
libgstrtpmux_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
-DEXTERN_BUF -DRTP_SUPPORT
|
||||
libgstrtpmux_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libgstrtpmux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstrtpmux_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
noinst_HEADERS = gstrtpmux.h gstrtpdtmfmux.h
|
||||
|
|
|
@ -8,9 +8,10 @@ libgstsiren_la_SOURCES = gstsiren.c \
|
|||
encoder.h huffman_consts.h rmlt.c siren7.h
|
||||
|
||||
|
||||
libgstsiren_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS)
|
||||
libgstsiren_la_LIBADD = $(GST_LIBS_LIBS) $(GST_BASE_LIBS) \
|
||||
-lgstrtp-@GST_MAJORMINOR@ -lm
|
||||
libgstsiren_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
|
||||
libgstsiren_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||
$(GST_CFLAGS)
|
||||
libgstsiren_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
|
||||
libgstsiren_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstsiren_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ plugin_LTLIBRARIES = libgstvalve.la
|
|||
|
||||
libgstvalve_la_SOURCES = gstvalve.c gstvalve.h
|
||||
|
||||
libgstvalve_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS)
|
||||
libgstvalve_la_LIBADD = $(GST_LIBS_LIBS)
|
||||
libgstvalve_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
|
||||
libgstvalve_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstvalve_la_LIBADD = $(GST_LIBS)
|
||||
libgstvalve_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstvalve_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
Loading…
Reference in a new issue