From 598433069d73f1fc9ab3f8826f3bc2b98a12dbe9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 4 Jan 2002 11:17:37 +0000 Subject: more fixing Original commit message from CVS: more fixing --- ext/arts/Makefile.am | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'ext/arts') diff --git a/ext/arts/Makefile.am b/ext/arts/Makefile.am index a18ea8f0..fedad88c 100644 --- a/ext/arts/Makefile.am +++ b/ext/arts/Makefile.am @@ -1,5 +1,12 @@ -## we wrap this Makefile.am in a USE_ so that we won't run mcopidl -## during make distcheck when it isn't on the system +plugindir = $(libdir)/gst + +plugin_LTLIBRARIES = libgstarts.la + +gst_artsio_impl.lo: gst_artsio.cc + +## we wrap parts of this Makefile.am in a USE_ so that we won't run +## mcopidl during make distcheck when it isn't on the system + if USE_ARTS SUFFIXES = .idl .idl.cc: @@ -7,25 +14,23 @@ SUFFIXES = .idl # mcopidl Extension Expansion Technology clean up CLEANFILES = gst_artsio.h gst_artsio.cc gst_artsio.mcopclass gst_artsio.mcoptype -endif -plugindir = $(libdir)/gst - -plugin_LTLIBRARIES = libgstarts.la - -gst_artsio_impl.lo: gst_artsio.cc - -libgstarts_la_SOURCES = gst_arts.c gst_artsio.cc gst_artsio_impl.cc -noinst_HEADERS = gst_arts.h gst_artsio_impl.h # FIXME automake 1.4 hack, 1.5 should let us put the .idl in # _SOURCES at which point the follow can be removed +libgstarts_la_SOURCES = gst_arts.c gst_artsio.cc gst_artsio_impl.cc libgstarts_la_CFLAGS = $(GST_CFLAGS) libgstarts_la_CXXFLAGS = $(ARTS_CXXFLAGS) $(GST_CFLAGS) libgstarts_la_LIBADD = $(ARTS_LIBS) EXTRA_DIST = gst_artsio.idl +else +EXTRA_DIST = gst_arts.c gst_artsio.cc gst_artsio_impl.cc +endif + +noinst_HEADERS = gst_arts.h gst_artsio_impl.h + dist-hook: rm -f $(distdir)/gst_artsio.cc -- cgit v1.2.1