This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Metaconfig documentation update (part 2)
[metaconfig.git] / dist-3.0at70b / mcon / Makefile
1 ########################################################################
2 # Makefile generated from Makefile.SH on ma 24 elo    06.59.49 1998
3
4 SHELL = /bin/sh
5 JMAKE = jmake
6 TOP = ..
7 CURRENT = mcon
8 DIR = mcon/
9 INSTALL = /p/bin/ginstall
10 INSTALLDIR = /p/bin/ginstall -d
11
12 ########################################################################
13 # Parameters set by Configure -- edit config.sh if changes are needed
14
15 CTAGS = ctags
16 MAKE = make
17 MKDEP = /m/fs/work/work/permanent/perl/mc/dist-3.0@70b/mkdep $(DPFLAGS) --
18 MV = /usr/bin/mv
19 PRIVLIB = /u/vieraat/vieraat/jhi/Perl/lib/dist
20 RM = /usr/bin/rm -f
21 SCRIPTDIR = /u/vieraat/vieraat/jhi/Perl/bin
22 SED = /usr/bin/sed
23
24 ########################################################################
25 # Automatically generated parameters -- do not edit
26
27 SUBDIRS = man
28 BIN =  metaconfig metalint metaxref
29
30 ########################################################################
31 # Jmake rules for building libraries, programs, scripts, and data files
32 # $X-Id: Jmake.rules,v 3.0.1.3 1995/03/21 08:35:28 ram Exp ram $
33 ########################################################################
34 # Force 'make depend' to be performed first -- do not edit
35
36 .FORCE_DEPEND::
37
38 all:: .FORCE_DEPEND
39
40 ########################################################################
41 # Start of Jmakefile
42
43 # $X-Id: Jmakefile,v 3.0.1.4 1995/07/25 13:23:09 ram Exp ram $
44 #
45 #  Copyright (c) 1991-1993, Raphael Manfredi
46 #  
47 #  You may redistribute only under the terms of the Artistic Licence,
48 #  as specified in the README file that comes with the distribution.
49 #  You may reuse parts of this distribution only within the terms of
50 #  that same Artistic Licence; a copy of which may be found at the root
51 #  of the source tree for dist 3.0.
52 #
53 # $X-Log: Jmakefile,v $
54 # Revision 3.0.1.4  1995/07/25  13:23:09  ram
55 # patch56: installs the GNU configure-like front-end to Configure
56 #
57 # Revision 3.0.1.3  1994/01/24  13:42:29  ram
58 # patch16: added dependency generation stage
59 #
60 # Revision 3.0.1.2  1993/11/02  10:40:01  ram
61 # patch14: now invokes perload explicitely via perl executable
62 #
63 # Revision 3.0.1.1  1993/08/25  08:46:44  ram
64 # patch6: split unit installation to avoid shell command line overflow
65 #
66 # Revision 3.0  1993/08/18  12:04:40  ram
67 # Baseline for dist 3.0 netwide release.
68 #
69
70 all:: Glossary
71
72 local_realclean::
73         $(RM) Glossary
74
75 Glossary: makegloss
76         chmod +x makegloss
77         ./makegloss
78
79 all:: makegloss
80
81 local_realclean::
82         $(RM) makegloss
83
84 makegloss: makegloss.SH
85         /bin/sh makegloss.SH
86
87
88 install::
89         @for dir in $(PRIVLIB) $(PRIVLIB)/U; do \
90         case '${MFLAGS}' in *[i]*) set +e;; esac; \
91         (set -x; test -d $$dir || $(INSTALLDIR) $$dir); \
92         done
93
94 deinstall::
95         $(RM) -r $(PRIVLIB) $(PRIVLIB)/U
96
97 install:: Glossary
98         $(INSTALL) -c -m 444 Glossary $(PRIVLIB)
99
100 deinstall::
101         $(RM) $(PRIVLIB)/Glossary
102
103 install:: makegloss
104         $(INSTALL) -c -m 555  makegloss $(PRIVLIB)
105
106 deinstall::
107         $(RM) $(PRIVLIB)/makegloss
108
109 install:: configure
110         $(INSTALL) -c -m 555  configure $(PRIVLIB)
111
112 deinstall::
113         $(RM) $(PRIVLIB)/configure
114
115 install:: U/[a-d]*.U
116         @case '${MFLAGS}' in *[i]*) set +e;; esac; \
117         for i in U/[a-d]*.U; do \
118         (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/U); \
119         done
120
121 deinstall::
122         @case '${MFLAGS}' in *[i]*) set +e;; esac; \
123         for i in U/[a-d]*.U; do \
124         (set -x; $(RM) $(PRIVLIB)/U/$$i); \
125         done
126
127 install:: U/[A-Ze-z]*.U
128         @case '${MFLAGS}' in *[i]*) set +e;; esac; \
129         for i in U/[A-Ze-z]*.U; do \
130         (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/U); \
131         done
132
133 deinstall::
134         @case '${MFLAGS}' in *[i]*) set +e;; esac; \
135         for i in U/[A-Ze-z]*.U; do \
136         (set -x; $(RM) $(PRIVLIB)/U/$$i); \
137         done
138
139 all:: metaconfig mconfig
140
141 local_realclean::
142         $(RM) metaconfig mconfig
143
144 all:: mconfig
145
146 local_realclean::
147         $(RM) mconfig
148
149 mconfig: mconfig.SH
150         /bin/sh mconfig.SH
151
152 metaconfig: mconfig
153         perl $(TOP)/bin/perload -o mconfig > $@
154         chmod +rx $@
155
156 install:: metaconfig
157         $(INSTALL) -c -m 555  metaconfig $(SCRIPTDIR)
158
159 deinstall::
160         $(RM) $(SCRIPTDIR)/metaconfig
161
162 all:: metalint mlint
163
164 local_realclean::
165         $(RM) metalint mlint
166
167 all:: mlint
168
169 local_realclean::
170         $(RM) mlint
171
172 mlint: mlint.SH
173         /bin/sh mlint.SH
174
175 metalint: mlint
176         perl $(TOP)/bin/perload -o mlint > $@
177         chmod +rx $@
178
179 install:: metalint
180         $(INSTALL) -c -m 555  metalint $(SCRIPTDIR)
181
182 deinstall::
183         $(RM) $(SCRIPTDIR)/metalint
184
185 all:: metaxref mxref
186
187 local_realclean::
188         $(RM) metaxref mxref
189
190 all:: mxref
191
192 local_realclean::
193         $(RM) mxref
194
195 mxref: mxref.SH
196         /bin/sh mxref.SH
197
198 metaxref: mxref
199         perl $(TOP)/bin/perload -o mxref > $@
200         chmod +rx $@
201
202 install:: metaxref
203         $(INSTALL) -c -m 555  metaxref $(SCRIPTDIR)
204
205 deinstall::
206         $(RM) $(SCRIPTDIR)/metaxref
207
208 BINFILES = \
209         mconfig \
210         mlint \
211         mxref 
212
213 BINSH = \
214         mconfig.SH \
215         mlint.SH \
216         mxref.SH 
217
218 depend::
219         ($(SED) '/^# DO NOT DELETE/q' Makefile && \
220         grep '^\$$grep' $(BINSH) | \
221         $(SED) -e "s/^.*' \([^ ]*\) >>\([^ ]*\)/\2: \1/" \
222         ) > Makefile.new
223         cp Makefile Makefile.bak
224         cp Makefile.new Makefile
225         $(RM) Makefile.new
226
227 ########################################################################
228 # Common rules for all Makefiles -- do not edit
229
230 emptyrule::
231
232 clean: sub_clean local_clean
233 realclean: sub_realclean local_realclean
234 clobber: sub_clobber local_clobber
235
236 local_clean::
237         $(RM) core *~ *.o
238
239 local_realclean:: local_clean
240
241 local_clobber:: local_realclean
242         $(RM) Makefile config.sh
243
244 Makefile.SH: Jmakefile
245         -@if test -f $(TOP)/.package; then \
246         if test -f Makefile.SH; then \
247         echo "  $(RM) Makefile.SH~; $(MV) Makefile.SH Makefile.SH~"; \
248         $(RM) Makefile.SH~; $(MV) Makefile.SH Makefile.SH~; \
249         fi; \
250         echo "  $(JMAKE) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT)" ; \
251         $(JMAKE) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT) ; \
252         else touch $@; exit 0; fi
253
254 Makefile: Makefile.SH
255         /bin/sh Makefile.SH
256
257 tags::
258         $(CTAGS) -w *.[ch]
259         $(CTAGS) -xw *.[ch] > tags
260
261 local_clobber::
262         $(RM) tags
263
264 ########################################################################
265 # Rules for building in sub-directories -- do not edit
266
267 subdirs:
268         @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
269         for i in $(SUBDIRS) ;\
270         do \
271         (cd $$i ; echo $(VERB) "in $(DIR)$$i..."; \
272         $(MAKE) $(MFLAGS) $(FLAGS) $(TARGET)); \
273         done
274
275 install::
276         @$(MAKE) subdirs TARGET=install VERB="Installing" FLAGS=
277
278 deinstall::
279         @$(MAKE) subdirs TARGET=deinstall VERB="Deinstalling" FLAGS=
280
281 install.man::
282         @$(MAKE) subdirs TARGET=install.man VERB="Installing man pages" FLAGS=
283
284 deinstall.man::
285         @$(MAKE) subdirs TARGET=deinstall.man VERB="Deinstalling man pages" FLAGS=
286
287 sub_clean::
288         @$(MAKE) subdirs TARGET=clean VERB="Cleaning" FLAGS=
289         @echo "Back to $(CURRENT) for "clean...
290
291 sub_realclean::
292         @$(MAKE) subdirs TARGET=realclean VERB="Real cleaning" FLAGS=
293         @echo "Back to $(CURRENT) for "realclean...
294
295 sub_clobber::
296         @$(MAKE) subdirs TARGET=clobber VERB="Clobbering" FLAGS=
297         @echo "Back to $(CURRENT) for "clobber...
298
299 tag::
300         @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
301         for i in $(SUBDIRS) ;\
302         do \
303         (cd $$i ; echo "Tagging" "in $(DIR)$$i..."; \
304         $(MAKE) $(MFLAGS)  tag); \
305         done
306
307 Makefiles::
308         @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
309         for i in $(SUBDIRS);\
310         do \
311         echo "Making "Makefiles" in $(DIR)$$i..."; \
312         (cd $$i || exit 1; \
313         if test ! -f Makefile; then /bin/sh Makefile.SH; fi; \
314         $(MAKE) $(MFLAGS) Makefiles) \
315         done
316
317 Makefiles.SH:: Makefile.SH
318         @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
319         for i in $(SUBDIRS);\
320         do \
321         case "$(DIR)$$i/" in \
322         */*/*/*/) newtop=../../../..;; \
323         */*/*/) newtop=../../..;; \
324         */*/) newtop=../..;; \
325         */) newtop=..;; \
326         esac; \
327         case "$(TOP)" in \
328         /*) newtop="$(TOP)" ;; \
329         esac; \
330         echo "Making Makefiles.SH in $(DIR)$$i..."; \
331         (cd $$i || exit 1; $(MAKE) $(MFLAGS) -f ../Makefile \
332         Makefile TOP=$$newtop CURRENT=$(DIR)$$i;\
333         $(MAKE) $(MFLAGS) Makefiles.SH) \
334         done
335
336 all::
337         @$(MAKE) subdirs TARGET=all VERB="Making all" FLAGS=
338
339 ########################################################################
340 # Dependencies generated by make depend
341 # DO NOT DELETE THIS LINE -- make depend relies on it
342 mconfig: pl/locate.pl 
343 mconfig: pl/common.pl 
344 mconfig: pl/depend.pl 
345 mconfig: pl/init.pl 
346 mconfig: pl/extract.pl 
347 mconfig: pl/files.pl 
348 mconfig: pl/wanted.pl 
349 mconfig: pl/obsolete.pl 
350 mconfig: pl/makefile.pl 
351 mconfig: pl/order.pl 
352 mconfig: pl/configure.pl 
353 mconfig: pl/cosmetic.pl 
354 mconfig: pl/eval.pl 
355 mconfig: ../pl/package.pl 
356 mconfig: ../pl/manifake.pl 
357 mconfig: ../pl/tilde.pl 
358 mconfig: ../pl/profile.pl 
359 mlint: pl/locate.pl 
360 mlint: pl/lint.pl 
361 mlint: pl/init.pl 
362 mlint: pl/extract.pl 
363 mlint: pl/obsolete.pl 
364 mlint: pl/tsort.pl 
365 mlint: ../pl/tilde.pl 
366 mlint: ../pl/profile.pl
367 mxref: pl/locate.pl 
368 mxref: pl/common.pl 
369 mxref: pl/xref.pl 
370 mxref: pl/files.pl 
371 mxref: pl/init.pl 
372 mxref: pl/extract.pl 
373 mxref: pl/obsolete.pl 
374 mxref: pl/xwant.pl 
375 mxref: pl/gensym.pl 
376 mxref: ../pl/manifake.pl
377 mxref: ../pl/tilde.pl
378 mxref: ../pl/profile.pl