1 $NetBSD: patch-ab,v 1.1.1.1 2000/12/04 23:47:37 jtb Exp $
3 --- src/Makefile.orig 2000-05-08 00:26:03.000000000 +0400
4 +++ src/Makefile 2009-12-13 00:31:06.000000000 +0300
7 # LSer - just a test SERVER programm
8 LSer: iser.lo lser.lo libvslisp$(HIVER).la
9 - ../libtool --mode=link $(CC) $(LOPT) LSer lser.lo iser.lo libvslisp$(HIVER).la \
10 + @$(LIBTOOL) --mode=link $(CC) $(LOPT) LSer lser.lo iser.lo libvslisp$(HIVER).la \
14 - ../libtool --mode=compile $(CC) $(OPT) inet/lser.c
15 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) inet/lser.c
18 - ../libtool --mode=compile $(CC) $(OPT) inet/iser.c
19 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) inet/iser.c
23 - ../libtool --mode=link $(CC) $(LOPT) bin2c bin2c.lo
24 + @$(LIBTOOL) --mode=link $(CC) $(LOPT) bin2c bin2c.lo
27 - ../libtool --mode=compile $(CC) $(OPT) bin2c.c
28 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) bin2c.c
31 $(CC) mkfuns.c -o mkfuns
34 - ../libtool --mode=compile $(CC) $(OPT) cfish.c
35 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) cfish.c
37 newhash.lo: newhash.c l_defs.h
38 - ../libtool --mode=compile $(CC) $(OPT) newhash.c
39 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) newhash.c
42 - ../libtool --mode=compile $(CC) $(OPT) cnofish.c
43 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) cnofish.c
45 VSLisp0: ilisp.lo $(LLOBJ) cfish.lo
47 - ../libtool --mode=link $(CC) $(LOPT) VSLisp0 ilisp.lo $(LLOBJ) \
48 + @$(LIBTOOL) --mode=link $(CC) $(LOPT) VSLisp0 ilisp.lo $(LLOBJ) \
54 - ../libtool --mode=compile $(CC) -DL3DYN=1 $(OPT) ilisp_d.c
55 + @$(LIBTOOL) --mode=compile $(CC) -DL3DYN=1 $(OPT) ilisp_d.c
58 VSLisp: ilisp_d.lo cnofish.lo libvslisp$(HIVER).la
59 - ../libtool --mode=link $(CC) $(LOPT) VSLisp ilisp_d.lo cnofish.lo \
60 + @$(LIBTOOL) --mode=link $(CC) $(LOPT) VSLisp ilisp_d.lo cnofish.lo \
61 libvslisp$(HIVER).la $(LDLIBS)
63 colorslib.lo: lsrc/colorslib.l $(LSP0DEP) $(B2CDEP)
64 $(LSP0) -i lsrc/colorslib.l
65 $(B2C) colorslib.lc colorslib.c colorslib
67 - ../libtool --mode=compile $(CC) $(OPT) colorslib.c
68 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) colorslib.c
71 libvslisp$(HIVER).la: $(LLOBJ) funcld.lo colorslib.lo
72 - ../libtool --mode=link $(CC) $(LOPT) libvslisp$(HIVER).la colorslib.lo \
73 + @$(LIBTOOL) --mode=link $(CC) $(LOPT) libvslisp$(HIVER).la colorslib.lo \
75 funcld.lo $(LLOBJ) -rpath $(LIBDIR) $(LDLIBS) \
76 -version-info $(LDRELEASE)
78 lcore.lo: lcore.c l_defs.h
79 - ../libtool --mode=compile $(CC) $(OSOPT) $(OPT) lcore.c
80 + @$(LIBTOOL) --mode=compile $(CC) $(OSOPT) $(OPT) lcore.c
82 funcf.lo: functions/funcf.c l_defs.h
83 - ../libtool --mode=compile $(CC) $(OPT) functions/funcf.c
84 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) functions/funcf.c
86 funcld.lo: functions/funcld.c l_defs.h
87 - ../libtool --mode=compile $(CC) $(OPT) functions/funcld.c
88 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) functions/funcld.c
90 funcn.lo: funcn.c l_defs.h
91 - ../libtool --mode=compile $(CC) $(OPT) funcn.c
92 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcn.c
94 colors.lo: colors.c l_defs.h
95 - ../libtool --mode=compile $(CC) $(OPT) colors.c
96 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) colors.c
99 - ../libtool --mode=compile $(CC) $(OPT) lc.c
100 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) lc.c
102 funcm.lo: funcm.c l_defs.h
103 - ../libtool --mode=compile $(CC) $(OPT) funcm.c
104 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcm.c
106 ilisp.lo: ilisp.c l_defs.h
107 - ../libtool --mode=compile $(CC) $(OPT) ilisp.c
108 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) ilisp.c
110 funct.lo: funct.c l_defs.h
111 - ../libtool --mode=compile $(CC) $(OPT) funct.c
112 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) funct.c
114 funcs.lo: funcs.c l_defs.h
115 - ../libtool --mode=compile $(CC) $(OPT) funcs.c
116 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) funcs.c
118 funct.c: functions/funct.c mkfuns
119 ./mkfuns funstmp < functions/funct.c > funct.c
120 @@ -127,19 +127,19 @@
123 lmem.lo: lmem.c l_defs.h
124 - ../libtool --mode=compile $(CC) $(OPT) lmem.c
125 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) lmem.c
127 forms1.lo: forms1.c l_defs.h
128 - ../libtool --mode=compile $(CC) $(OPT) forms1.c
129 + @$(LIBTOOL) --mode=compile $(CC) $(OPT) forms1.c
131 test.lo: test.cpp lisp.hpp l_defs.h
132 - ../libtool $(CCPP) $(OPT) test.cpp
133 + @$(LIBTOOL) $(CCPP) $(OPT) test.cpp
135 lisp.lo: lisp.cpp lisp.hpp l_defs.h
136 - ../libtool $(CCPP) $(OPT) lisp.cpp
137 + @$(LIBTOOL) $(CCPP) $(OPT) lisp.cpp
139 test: test.lo lisp.lo libvslisp$(HIVER).la
140 - ../libtool $(CCPP) $(LOPT) test test.lo lisp.lo libvslisp$(HIVER).la \
141 + @$(LIBTOOL) $(CCPP) $(LOPT) test test.lo lisp.lo libvslisp$(HIVER).la \
145 @@ -165,17 +165,17 @@
148 install: VSLisp libvslisp$(HIVER).la
149 - mkdir -p $(PREFIX)/bin/
150 - mkdir -p $(PREFIX)/lib/
151 - mkdir -p $(PREFIX)/include/
152 - ../libtool --mode=install $(INSTALL) -s VSLisp $(PREFIX)/bin/
153 - ../libtool --mode=install $(INSTALL) -s -m 644 libvslisp$(HIVER).la \
154 - $(PREFIX)/lib/libvslisp$(HIVER).la
155 - cp l_defs.h $(PREFIX)/include/
156 + mkdir -p $(DESTDIR)$(PREFIX)/bin/
157 + mkdir -p $(DESTDIR)$(PREFIX)/lib/
158 + mkdir -p $(DESTDIR)$(PREFIX)/include/
159 + @$(LIBTOOL) --mode=install $(INSTALL) -s VSLisp $(DESTDIR)$(PREFIX)/bin/
160 + @$(LIBTOOL) --mode=install $(INSTALL) -s -m 644 libvslisp$(HIVER).la \
161 + $(DESTDIR)$(PREFIX)/lib/libvslisp$(HIVER).la
162 + cp l_defs.h $(DESTDIR)$(PREFIX)/include/
165 rm -f $(PREFIX)/bin/VSLisp
166 - ../libtool --mode=uninstall rm -f $(PREFIX)/lib/libvslisp$(HIVER).la
167 + @$(LIBTOOL) --mode=uninstall rm -f $(PREFIX)/lib/libvslisp$(HIVER).la