osloup / rpms / openjade

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