fix Makefiles for C++ libraries. They should now work with Forte. This needs a new libtool, update autogen.sh to refl...

Original commit message from CVS:
fix Makefiles for C++ libraries. They should now work with Forte. This needs a new libtool, update autogen.sh to reflect this.
This commit is contained in:
Benjamin Otte 2003-05-22 20:45:10 +00:00
parent ab5956a396
commit 4416041257
2 changed files with 3 additions and 13 deletions

View file

@ -36,7 +36,7 @@ version_check "autoconf" "$AUTOCONF autoconf autoconf-2.54 autoconf-2.53 autocon
version_check "automake" "$AUTOMAKE automake automake-1.7 automake-1.6 automake-1.5" \
"ftp://ftp.gnu.org/pub/gnu/automake/" 1 5 || DIE=1
version_check "libtool" "" \
"ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1
"ftp://ftp.gnu.org/pub/gnu/libtool/" 1 5 0 || DIE=1
version_check "pkg-config" "" \
"http://www.freedesktop.org/software/pkgconfig" 0 8 0 || DIE=1

View file

@ -5,18 +5,8 @@ plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
plugin_LTLIBRARIES = libgstmonkeyaudio.la
libgstmonkeyaudio_la_SOURCES = monkey_io.cc gstmonkeyaudio.cc gstmonkeydec.cc gstmonkeyenc.cc
libgstmonkeyaudio_la_CFLAGS = $(GST_CFLAGS)
libgstmonkeyaudio_la_CXXFLAGS = $(GST_CFLAGS)
libgstmonkeyaudio_la_CPPFLAGS = $(GST_CFLAGS)
libgstmonkeyaudio_la_LIBADD = $(top_builddir)/gst/monkeyaudio/libmonkeyaudio/libmonkeyaudio.la
# we add stdc++ because it'll be used by C programs
libgstmonkeyaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lstdc++
libgstmonkeyaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstmonkeyaudio.h gstmonkeydec.h monkey_io.h gstmonkeyenc.h
# this is the silliest hack I ever did, but for some reason some dependency
# tracking is not able to figure out that the actual file is gstmonkeyaudio.cc
# I appreciate any help into fixing this mess definitively
# I suspect a libtool bug, because in the end it doesn't even *use* the .c
# file; my libtool version when seeing this bug was 1.4.2
gstmonkeyaudio.c: gstmonkeyaudio.cc
cp $(srcdir)/gstmonkeyaudio.cc gstmonkeyaudio.c