8beb25
--- openjade-1.3.1/Makefile.prog.in.sopwith	2002-01-22 06:57:53.000000000 -0500
8beb25
+++ openjade-1.3.1/Makefile.prog.in	2003-02-11 16:59:44.000000000 -0500
8beb25
@@ -1,3 +1,4 @@
8beb25
+
8beb25
 #
8beb25
 #  Makefile.prog.in - Makerules for bilding programs
8beb25
 #
8beb25
@@ -11,15 +12,17 @@
8beb25
 LINKFLAGS = @LINKFLAGS@
8beb25
 
8beb25
 ALL_LIBS = $(XLIBS) $(LIBS)
8beb25
+LT_LIBS = $(shell echo $(XLIBS) | sed 's/\.a/.la/g')
8beb25
+LT_ALL_LIBS = $(shell echo $(ALL_LIBS) | sed 's/\.a/.la/g')
8beb25
 Makefile.lt:
8beb25
-	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
8beb25
+	echo > Makefile.lt
8beb25
 
8beb25
 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
8beb25
 
8beb25
 all: $(PROG)
8beb25
 
8beb25
 $(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
8beb25
-	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
8beb25
+	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_ALL_LIBS)
8beb25
 
8beb25
 install: $(PROG)
8beb25
 	-test -d $(DESTDIR)$(bindir) || \