summaryrefslogtreecommitdiff
path: root/wm/afterstep1/patches/patch-ag
blob: 15c0cb44da77f81732802727f6675ee7de7430da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-ag,v 1.1.1.1 2005/01/14 13:36:36 jmmv Exp $

--- autoconf/Makefile.common.in.orig	Wed Oct  3 00:58:40 2001
+++ autoconf/Makefile.common.in
@@ -7,7 +7,7 @@
 all:            $(PROG)
 
 install.bin:	$(PROG)
-		$(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+		$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)/$(PROG)
 
 install.lib:	@LIBPROG@ @LIBINSTALL@
 
@@ -92,10 +92,10 @@
 		fi
 
 $(PROG):        $(OBJS) $(LIBS_DEPEND)
-		$(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
+		$(LIBTOOL) --mode=link $(CC) $(OBJS:.o=.lo) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
 
 .c.o:
-		$(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
+		$(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
 
 #
 # include dependency files if they exist
@@ -106,23 +106,17 @@
 #include .depend
 #endif
 
-../../lib/libafterstep.a:
+../../lib/libafterstep.la:
 		cd ../../lib/; ${MAKE}
 
-../../asimagelib/libasimage.a:
+../../asimagelib/libasimage.la:
 		cd ../../asimagelib/; ${MAKE}
 
-../Config/libasConfig.a:
+../Config/libasConfig.la:
 		cd ../Config/; ${MAKE}
 
-../../lib/libafterstep.so:
-		cd ../../lib/; ${MAKE}
-
-../../asimagelib/libasimage.so:
-		cd ../../asimagelib/; ${MAKE}
-
-../Config/libasConfig.so:
-		cd ../Config/; ${MAKE}
+../Script/Widgets/Widgets.la:
+		cd ../Script/Widgets/; ${MAKE}
 
 #
 # End of Make.common