]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/conf/makefiles/RCS/zotnetM,v
Silence more gcc format-string warnings.
[nmh] / docs / historical / mh-6.8.5 / conf / makefiles / RCS / zotnetM,v
1 head 2.7;
2 access;
3 symbols;
4 locks; strict;
5
6
7 2.7
8 date 92.10.29.16.25.20; author jromine; state Exp;
9 branches;
10 next 2.6;
11
12 2.6
13 date 92.10.20.23.00.26; author jromine; state Exp;
14 branches;
15 next 2.5;
16
17 2.5
18 date 90.04.05.15.18.23; author sources; state Exp;
19 branches;
20 next 2.4;
21
22 2.4
23 date 90.03.12.11.29.12; author sources; state Exp;
24 branches;
25 next 2.3;
26
27 2.3
28 date 90.02.21.16.59.48; author sources; state Exp;
29 branches;
30 next 2.2;
31
32 2.2
33 date 90.02.06.12.52.45; author sources; state Exp;
34 branches;
35 next 2.1;
36
37 2.1
38 date 90.01.25.16.24.06; author sources; state Exp;
39 branches;
40 next 2.0;
41
42 2.0
43 date 89.11.17.15.56.49; author sources; state Exp;
44 branches;
45 next 1.1;
46
47 1.1
48 date 89.11.17.15.44.21; author sources; state Exp;
49 branches;
50 next ;
51
52
53 desc
54 @@
55
56
57 2.7
58 log
59 @fixup make distribution & tws.h
60 @
61 text
62 @##############################################################################
63 # Instructions to Make, for compilation of ZOT UIP/utility processes
64 #
65 # @@(MHWARNING)
66 # @@(#)$Id: zotnetM,v 2.6 1992/10/20 23:00:26 jromine Exp jromine $
67 ##############################################################################
68
69 # The following entries were inserted during MH configuration
70 OPTIONS = @@(MHOPTIONS)
71
72 CC = @@(MHCOMPILER)
73 @@BEGIN: OPTIM
74 CFLAGS = $(OPTIONS) -I.
75 @@END: OPTIM
76 @@BEGIN: DEBUG
77 CFLAGS = $(OPTIONS) -I.
78 @@END: DEBUG
79 LFLAGS = -bhu $(OPTIONS) -I.
80
81 LIB = libzot.a
82 LLIB = llib-lzotnet
83
84 OFILES = mts/mts.o mts/lock.o mts/client.o mf/mf.o \
85 @@BEGIN: MHMTS
86 mf/mmuu.o mf/uumm.o \
87 @@END: MHMTS
88 bboards/getbbent.o \
89 tws/dtime.o tws/dtimep.o tws/lexstring.o
90
91 MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS)
92 SHELL = /bin/sh
93
94 DIRS = mts bboards tws mf
95
96
97 @@BEGIN: OPTIM
98 ##############################################################################
99 # Generation Rules
100 ##############################################################################
101
102 .c.o:; $(CC) $(CFLAGS) -c $*.c
103 @@BEGIN: NEWLOAD
104 -ld -x -r $@@
105 mv a.out $@@
106 @@END: NEWLOAD
107 @@BEGIN: OLDLOAD
108 cc -s -o $@@
109 @@END: OLDLOAD
110
111
112 @@END: OPTIM
113
114 .c:; echo $@@
115
116 ##############################################################################
117 # Generate ZOTnet subroutine library
118 ##############################################################################
119
120 all: allaux $(LIB)
121
122 $(LIB): $(OFILES)
123 -mv $@@ z$@@
124 @@BEGIN: RANLIB
125 ar r $@@ $(OFILES); ranlib $@@
126 @@END: RANLIB
127 @@BEGIN: LORDER
128 ar r $@@ `lorder $(OFILES) | tsort`
129 @@END: LORDER
130 -@@ls -l $@@
131 -@@echo "ZOTnet library built normally"
132
133 allaux:; for d in $(DIRS); do (cd $$d; $(MAKE) all); done
134
135 depend:; for d in $(DIRS); do (cd $$d; $(MAKE) depend); done
136
137 lint:; for d in $(DIRS); do (cd $$d; $(MAKE) lint); done
138
139
140 ##############################################################################
141 # Installation
142 ##############################################################################
143
144 install: inst-all clean
145
146 inst-all:; for d in $(DIRS); do (cd $$d; $(MAKE) inst-all); done
147
148 tar:; @@for d in $(DIRS); \
149 do (cd $$d; $(MAKE) TFLAGS="$(TFLAGS)" tar); done
150
151 uninstall:; for d in $(DIRS); do (cd $$d; $(MAKE) uninstall); done
152
153
154 ##############################################################################
155 # Miscellaneous tasks
156 ##############################################################################
157
158 unconfig:; -rm -f $(LIB) z$(LIB) _* :* *.o core
159 for d in $(DIRS); do (cd $$d; $(MAKE) unconfig); done
160 -rm -f Makefile
161
162 distribution:; -rm -f $(LIB) z$(LIB) _* :*
163 for d in $(DIRS); do (cd $$d; $(MAKE) distribution); done
164
165 clean:; -rm -f $(LIB) z$(LIB) _* :* *.o core
166 for d in $(DIRS); do (cd $$d; $(MAKE) clean); done
167
168 unclean:; -rm -f z$(LIB) _* :* core
169 for d in $(DIRS); do (cd $$d; $(MAKE) unclean); done
170 @
171
172
173 2.6
174 log
175 @move "rm -f tws/tws.h" from sbr to zotnet Makefile (error)
176 @
177 text
178 @d5 1
179 a5 1
180 # @@(#)$Id: zotnetM,v 2.5 1990/04/05 15:18:23 sources Exp jromine $
181 a101 2
182 -rm -f tws/tws.h
183 ln tws.h tws/tws.h
184 @
185
186
187 2.5
188 log
189 @add ID
190 @
191 text
192 @d5 1
193 a5 1
194 # @@(#)$Id:$
195 d102 2
196 @
197
198
199 2.4
200 log
201 @remove -O (put in mhconfig)
202 @
203 text
204 @d5 1
205 @
206
207
208 2.3
209 log
210 @make unconfig changes
211 @
212 text
213 @d12 1
214 a12 1
215 CFLAGS = -O $(OPTIONS) -I.
216 @
217
218
219 2.2
220 log
221 @ANSI Compilance
222 @
223 text
224 @d96 5
225 a100 1
226 unconfig distribution:; -rm -f $(LIB) z$(LIB) _* :*
227 @
228
229
230 2.1
231 log
232 @default rule for .c
233 @
234 text
235 @d10 1
236 a10 1
237 CC = cc
238 @
239
240
241 2.0
242 log
243 @changes for SUN40 shared libraries and NNTP under bbc
244 @
245 text
246 @d51 3
247 @
248
249
250 1.1
251 log
252 @Initial revision
253 @
254 text
255 @d93 1
256 a93 1
257 distribution:; -rm -f $(LIB) z$(LIB) _* :*
258 d96 1
259 a96 1
260 clean:; -rm -f $(LIB) z$(LIB) _* :* core
261 @