this might be better
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 4 Jan 2002 11:13:20 +0000 (11:13 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 4 Jan 2002 11:13:20 +0000 (11:13 +0000)
Original commit message from CVS:
this might be better

ext/arts/Makefile.am

index 25642cd..a18ea8f 100644 (file)
@@ -1,29 +1,31 @@
 ## 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
 if USE_ARTS
-plugindir = $(libdir)/gst
-
-plugin_LTLIBRARIES = libgstarts.la
-
-gst_artsio_impl.lo: gst_artsio.cc
-
 SUFFIXES = .idl
 .idl.cc:
        mcopidl -t $< $(ARTS_CXXFLAGS)
 
 # 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
-EXTRA_DIST = gst_artsio.idl
-dist-hook:
-       rm -f $(distdir)/gst_artsio.cc
 
 libgstarts_la_CFLAGS = $(GST_CFLAGS)
 libgstarts_la_CXXFLAGS = $(ARTS_CXXFLAGS) $(GST_CFLAGS)
 libgstarts_la_LIBADD = $(ARTS_LIBS)
-endif
+
+EXTRA_DIST = gst_artsio.idl
+dist-hook:
+       rm -f $(distdir)/gst_artsio.cc
+