summaryrefslogtreecommitdiff
path: root/gst/modplug/Makefile.am
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-05-22 20:45:09 +0000
committerBenjamin Otte <otte@gnome.org>2003-05-22 20:45:09 +0000
commit940740d32a58201798c47729771178b18316dd23 (patch)
tree624b083f5c1f3dee1a85c7215b8e38f2053ae23f /gst/modplug/Makefile.am
parentf3e0b840640f4fec0302eb8cd3836e3e794944d3 (diff)
downloadgstreamer-plugins-bad-940740d32a58201798c47729771178b18316dd23.tar.gz
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.
Diffstat (limited to 'gst/modplug/Makefile.am')
-rw-r--r--gst/modplug/Makefile.am17
1 files changed, 2 insertions, 15 deletions
diff --git a/gst/modplug/Makefile.am b/gst/modplug/Makefile.am
index 1aecfc34a..a784ddd31 100644
--- a/gst/modplug/Makefile.am
+++ b/gst/modplug/Makefile.am
@@ -5,21 +5,8 @@ plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
plugin_LTLIBRARIES = libgstmodplug.la
libgstmodplug_la_SOURCES = modplug_types.cc gstmodplug.cc
-libgstmodplug_la_CFLAGS = $(GST_CFLAGS)
-libgstmodplug_la_CXXFLAGS = $(GST_CFLAGS)
+libgstmodplug_la_CPPFLAGS = $(GST_CFLAGS)
libgstmodplug_la_LIBADD = $(top_builddir)/gst/modplug/libmodplug/libmodplug.la
-# we add stdc++ because it'll be used by C programs
-libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lstdc++
+libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstmodplug.h modplug_types.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 gstmodplug.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
-gstmodplug.c: gstmodplug.cc
- cp $(srcdir)/gstmodplug.cc gstmodplug.c
-
-modplug_types.c: modplug_types.cc
- cp $(srcdir)/modplug_types.cc modplug_types.c