s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...

Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
This commit is contained in:
Andy Wingo 2002-03-19 01:39:43 +00:00
parent d91ddcbd30
commit 1ee4a02043
14 changed files with 18 additions and 18 deletions

View file

@ -5,7 +5,7 @@ plugin_LTLIBRARIES = libgstalsa.la
libgstalsa_la_SOURCES = gstalsa.c libgstalsa_la_SOURCES = gstalsa.c
libgstalsa_la_CFLAGS = $(GST_CFLAGS) $(ALSA_CFLAGS) libgstalsa_la_CFLAGS = $(GST_CFLAGS) $(ALSA_CFLAGS)
libgstalsa_la_LIBADD = $(GST_LIBS) $(ALSA_LIBS) libgstalsa_la_LIBADD = $(GST_LIBS) $(ALSA_LIBS)
libgstalsa_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstalsa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstalsa.h noinst_HEADERS = gstalsa.h

View file

@ -5,6 +5,6 @@ plugin_LTLIBRARIES = libgstcdparanoia.la
libgstcdparanoia_la_SOURCES = gstcdparanoia.c libgstcdparanoia_la_SOURCES = gstcdparanoia.c
libgstcdparanoia_la_CFLAGS = $(GST_CFLAGS) libgstcdparanoia_la_CFLAGS = $(GST_CFLAGS)
libgstcdparanoia_la_LIBADD = $(GST_LIBS) $(CDPARANOIA_LIBS) libgstcdparanoia_la_LIBADD = $(GST_LIBS) $(CDPARANOIA_LIBS)
libgstcdparanoia_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstcdparanoia_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstcdparanoia.h noinst_HEADERS = gstcdparanoia.h

View file

@ -5,9 +5,9 @@ plugin_LTLIBRARIES = libgstgnomevfssrc.la libgstgnomevfssink.la
libgstgnomevfssrc_la_SOURCES = gstgnomevfssrc.c libgstgnomevfssrc_la_SOURCES = gstgnomevfssrc.c
libgstgnomevfssrc_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS) libgstgnomevfssrc_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS)
libgstgnomevfssrc_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS) libgstgnomevfssrc_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS)
libgstgnomevfssrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstgnomevfssrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstgnomevfssink_la_SOURCES = gstgnomevfssink.c libgstgnomevfssink_la_SOURCES = gstgnomevfssink.c
libgstgnomevfssink_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS) libgstgnomevfssink_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS)
libgstgnomevfssink_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS) libgstgnomevfssink_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS)
libgstgnomevfssink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstgnomevfssink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

View file

@ -6,6 +6,6 @@ libgstvorbis_la_SOURCES = vorbis.c vorbisenc.c vorbisdec.c
libgstvorbis_la_CFLAGS = $(GST_CFLAGS) $(VORBIS_CFLAGS) libgstvorbis_la_CFLAGS = $(GST_CFLAGS) $(VORBIS_CFLAGS)
## AM_PATH_VORBIS also sets VORBISENC_LIBS ## AM_PATH_VORBIS also sets VORBISENC_LIBS
libgstvorbis_la_LIBADD = $(GST_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) libgstvorbis_la_LIBADD = $(GST_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS)
libgstvorbis_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstvorbis_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = vorbisenc.h vorbisdec.h noinst_HEADERS = vorbisenc.h vorbisdec.h

View file

@ -9,4 +9,4 @@ libgstaudioinclude_HEADERS = audio.h
libgstaudio_la_LIBADD = $(GST_LIBS) libgstaudio_la_LIBADD = $(GST_LIBS)
libgstaudio_la_CFLAGS = $(GST_CFLAGS) -finline-functions -ffast-math libgstaudio_la_CFLAGS = $(GST_CFLAGS) -finline-functions -ffast-math
libgstaudio_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

View file

@ -29,4 +29,4 @@ noinst_HEADERS = dct.h
libgstidct_la_LIBADD = $(GST_LIBS) libgstidct_la_LIBADD = $(GST_LIBS)
libgstidct_la_CFLAGS = $(GST_CFLAGS) -finline-functions -ffast-math libgstidct_la_CFLAGS = $(GST_CFLAGS) -finline-functions -ffast-math
libgstidct_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstidct_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

View file

@ -15,7 +15,7 @@ endif
libgstresample_la_SOURCES = dtos.c functable.c resample.c resample.h libgstresample_la_SOURCES = dtos.c functable.c resample.c resample.h
libgstresample_la_LIBADD = $(GST_LIBS) libgstresample_la_LIBADD = $(GST_LIBS)
libgstresample_la_CFLAGS = $(GST_CFLAGS) -ffast-math $(ARCHCFLAGS) libgstresample_la_CFLAGS = $(GST_CFLAGS) -ffast-math $(ARCHCFLAGS)
libgstresample_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstresample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = resample.h noinst_HEADERS = resample.h

View file

@ -9,4 +9,4 @@ libgstriffinclude_HEADERS = riff.h
libgstriff_la_LIBADD = $(GST_LIBS) libgstriff_la_LIBADD = $(GST_LIBS)
libgstriff_la_CFLAGS = $(GST_CFLAGS) -funroll-all-loops -finline-functions -ffast-math libgstriff_la_CFLAGS = $(GST_CFLAGS) -funroll-all-loops -finline-functions -ffast-math
libgstriff_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstriff_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

View file

@ -5,6 +5,6 @@ plugin_LTLIBRARIES = libgstadder.la
libgstadder_la_SOURCES = gstadder.c libgstadder_la_SOURCES = gstadder.c
libgstadder_la_CFLAGS = $(GST_CFLAGS) libgstadder_la_CFLAGS = $(GST_CFLAGS)
libgstadder_la_LIBADD = $(GST_LIBS) libgstadder_la_LIBADD = $(GST_LIBS)
libgstadder_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstadder_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstadder.h noinst_HEADERS = gstadder.h

View file

@ -5,6 +5,6 @@ plugin_LTLIBRARIES = libgstaudioscale.la
libgstaudioscale_la_SOURCES = gstaudioscale.c libgstaudioscale_la_SOURCES = gstaudioscale.c
libgstaudioscale_la_CFLAGS = -ffast-math $(GST_CFLAGS) libgstaudioscale_la_CFLAGS = -ffast-math $(GST_CFLAGS)
libgstaudioscale_la_LIBADD = $(GST_LIBS) libgstaudioscale_la_LIBADD = $(GST_LIBS)
libgstaudioscale_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstaudioscale_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstaudioscale.h noinst_HEADERS = gstaudioscale.h

View file

@ -5,7 +5,7 @@ plugin_LTLIBRARIES = libgstsinesrc.la
libgstsinesrc_la_SOURCES = gstsinesrc.c libgstsinesrc_la_SOURCES = gstsinesrc.c
libgstsinesrc_la_CFLAGS = $(GST_CFLAGS) libgstsinesrc_la_CFLAGS = $(GST_CFLAGS)
libgstsinesrc_la_LIBADD = $(GST_LIBS) libgstsinesrc_la_LIBADD = $(GST_LIBS)
libgstsinesrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstsinesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstsinesrc.h noinst_HEADERS = gstsinesrc.h

View file

@ -16,6 +16,6 @@ libgstvideoscale_la_SOURCES = \
$(ARCHSRCS) $(ARCHSRCS)
libgstvideoscale_la_CFLAGS = -O2 $(FOMIT_FRAME_POINTER) -funroll-all-loops -finline-functions -ffast-math $(GST_CFLAGS) libgstvideoscale_la_CFLAGS = -O2 $(FOMIT_FRAME_POINTER) -funroll-all-loops -finline-functions -ffast-math $(GST_CFLAGS)
libgstvideoscale_la_LIBADD = $(GST_LIBS) libgstvideoscale_la_LIBADD = $(GST_LIBS)
libgstvideoscale_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstvideoscale_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstvideoscale.h videoscale_x86.h noinst_HEADERS = gstvideoscale.h videoscale_x86.h

View file

@ -5,6 +5,6 @@ plugin_LTLIBRARIES = libgstvolume.la
libgstvolume_la_SOURCES = gstvolume.c libgstvolume_la_SOURCES = gstvolume.c
libgstvolume_la_CFLAGS = $(GST_CFLAGS) libgstvolume_la_CFLAGS = $(GST_CFLAGS)
libgstvolume_la_LIBADD = $(GST_LIBS) libgstvolume_la_LIBADD = $(GST_LIBS)
libgstvolume_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstvolume.h filter.func noinst_HEADERS = gstvolume.h filter.func

View file

@ -6,22 +6,22 @@ plugin_LTLIBRARIES = libgstv4lelement.la libgstv4lsrc.la \
libgstv4lelement_la_SOURCES = gstv4lelement.c v4l_calls.c v4l-overlay_calls.c libgstv4lelement_la_SOURCES = gstv4lelement.c v4l_calls.c v4l-overlay_calls.c
libgstv4lelement_la_CFLAGS = $(GST_CFLAGS) libgstv4lelement_la_CFLAGS = $(GST_CFLAGS)
libgstv4lelement_la_LIBADD = $(GST_LIBS) libgstv4lelement_la_LIBADD = $(GST_LIBS)
libgstv4lelement_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstv4lelement_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstv4lsrc_la_SOURCES = gstv4lsrc.c v4lsrc_calls.c libgstv4lsrc_la_SOURCES = gstv4lsrc.c v4lsrc_calls.c
libgstv4lsrc_la_CFLAGS = $(GST_CFLAGS) libgstv4lsrc_la_CFLAGS = $(GST_CFLAGS)
libgstv4lsrc_la_LIBADD = $(GST_LIBS) libgstv4lelement.la libgstv4lsrc_la_LIBADD = $(GST_LIBS) libgstv4lelement.la
libgstv4lsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstv4lsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstv4lmjpegsrc_la_SOURCES = gstv4lmjpegsrc.c v4lmjpegsrc_calls.c libgstv4lmjpegsrc_la_SOURCES = gstv4lmjpegsrc.c v4lmjpegsrc_calls.c
libgstv4lmjpegsrc_la_CFLAGS = $(GST_CFLAGS) libgstv4lmjpegsrc_la_CFLAGS = $(GST_CFLAGS)
libgstv4lmjpegsrc_la_LIBADD = $(GST_LIBS) libgstv4lelement.la libgstv4lmjpegsrc_la_LIBADD = $(GST_LIBS) libgstv4lelement.la
libgstv4lmjpegsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstv4lmjpegsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstv4lmjpegsink_la_SOURCES = gstv4lmjpegsink.c v4lmjpegsink_calls.c libgstv4lmjpegsink_la_SOURCES = gstv4lmjpegsink.c v4lmjpegsink_calls.c
libgstv4lmjpegsink_la_CFLAGS = $(GST_CFLAGS) libgstv4lmjpegsink_la_CFLAGS = $(GST_CFLAGS)
libgstv4lmjpegsink_la_LIBADD = $(GST_LIBS) libgstv4lelement.la libgstv4lmjpegsink_la_LIBADD = $(GST_LIBS) libgstv4lelement.la
libgstv4lmjpegsink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstv4lmjpegsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstv4lelement.h v4l_calls.h \ noinst_HEADERS = gstv4lelement.h v4l_calls.h \
gstv4lsrc.h v4lsrc_calls.h \ gstv4lsrc.h v4lsrc_calls.h \