- use GST_CFLAGS only

Original commit message from CVS:
- use GST_CFLAGS only
- use AM_CFLAGS instead of CFLAGS so user cflags are not overwritten
- use LDADD instead of LIBS (by analogy for <program>_LDADD, look for
example in tools/Makefile.am) - kill me if it is wrong
This commit is contained in:
Wrobell 2001-12-16 18:49:35 +00:00
parent 7e56c1dbe1
commit d4d144032c
5 changed files with 10 additions and 15 deletions

View file

@ -12,8 +12,7 @@ paranoia rip mp3encode case4 markup load autoplug3 \
incsched reaping threadlock mp1vid reconnect \ incsched reaping threadlock mp1vid reconnect \
faketest events timecache faketest events timecache
# we have nothing but apps here, we can do this safely LDADD = $(GST_LIBS)
LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
EXTRA_DIST = README EXTRA_DIST = README

View file

@ -1,5 +1,4 @@
noinst_PROGRAMS = case1 case2 case3 case4 case5 case6 case7 noinst_PROGRAMS = case1 case2 case3 case4 case5 case6 case7
# jsut apps here, this is safe LDADD = $(GST_LIBS)
LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)

View file

@ -1,5 +1,4 @@
noinst_PROGRAMS = case1 noinst_PROGRAMS = case1
# jsut apps here, this is safe LDADD = $(GST_LIBS)
LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)

View file

@ -1,5 +1,4 @@
noinst_PROGRAMS = nego1 noinst_PROGRAMS = nego1
# jsut apps here, this is safe LDADD = $(GST_LIBS)
LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)

View file

@ -6,6 +6,5 @@ endif
dynamic_pipeline_SOURCES = dynamic-pipeline.c dynamic_pipeline_SOURCES = dynamic-pipeline.c
# nothing but apps here, this is safe LDADD = $(GST_LIBS)
LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS)
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)