1 ########################################################################
2 # Makefile generated from Makefile.SH on ma 24 elo 06.59.49 1998
9 INSTALL = /p/bin/ginstall
10 INSTALLDIR = /p/bin/ginstall -d
12 ########################################################################
13 # Parameters set by Configure -- edit config.sh if changes are needed
17 MKDEP = /m/fs/work/work/permanent/perl/mc/dist-3.0@70b/mkdep $(DPFLAGS) --
19 PRIVLIB = /u/vieraat/vieraat/jhi/Perl/lib/dist
21 SCRIPTDIR = /u/vieraat/vieraat/jhi/Perl/bin
24 ########################################################################
25 # Automatically generated parameters -- do not edit
28 BIN = metaconfig metalint metaxref
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
40 ########################################################################
43 # $X-Id: Jmakefile,v 3.0.1.4 1995/07/25 13:23:09 ram Exp ram $
45 # Copyright (c) 1991-1993, Raphael Manfredi
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.
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
57 # Revision 3.0.1.3 1994/01/24 13:42:29 ram
58 # patch16: added dependency generation stage
60 # Revision 3.0.1.2 1993/11/02 10:40:01 ram
61 # patch14: now invokes perload explicitely via perl executable
63 # Revision 3.0.1.1 1993/08/25 08:46:44 ram
64 # patch6: split unit installation to avoid shell command line overflow
66 # Revision 3.0 1993/08/18 12:04:40 ram
67 # Baseline for dist 3.0 netwide release.
84 makegloss: makegloss.SH
89 @for dir in $(PRIVLIB) $(PRIVLIB)/U; do \
90 case '${MFLAGS}' in *[i]*) set +e;; esac; \
91 (set -x; test -d $$dir || $(INSTALLDIR) $$dir); \
95 $(RM) -r $(PRIVLIB) $(PRIVLIB)/U
98 $(INSTALL) -c -m 444 Glossary $(PRIVLIB)
101 $(RM) $(PRIVLIB)/Glossary
104 $(INSTALL) -c -m 555 makegloss $(PRIVLIB)
107 $(RM) $(PRIVLIB)/makegloss
110 $(INSTALL) -c -m 555 configure $(PRIVLIB)
113 $(RM) $(PRIVLIB)/configure
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); \
122 @case '${MFLAGS}' in *[i]*) set +e;; esac; \
123 for i in U/[a-d]*.U; do \
124 (set -x; $(RM) $(PRIVLIB)/U/$$i); \
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); \
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); \
139 all:: metaconfig mconfig
142 $(RM) metaconfig mconfig
153 perl $(TOP)/bin/perload -o mconfig > $@
157 $(INSTALL) -c -m 555 metaconfig $(SCRIPTDIR)
160 $(RM) $(SCRIPTDIR)/metaconfig
176 perl $(TOP)/bin/perload -o mlint > $@
180 $(INSTALL) -c -m 555 metalint $(SCRIPTDIR)
183 $(RM) $(SCRIPTDIR)/metalint
199 perl $(TOP)/bin/perload -o mxref > $@
203 $(INSTALL) -c -m 555 metaxref $(SCRIPTDIR)
206 $(RM) $(SCRIPTDIR)/metaxref
219 ($(SED) '/^# DO NOT DELETE/q' Makefile && \
220 grep '^\$$grep' $(BINSH) | \
221 $(SED) -e "s/^.*' \([^ ]*\) >>\([^ ]*\)/\2: \1/" \
223 cp Makefile Makefile.bak
224 cp Makefile.new Makefile
227 ########################################################################
228 # Common rules for all Makefiles -- do not edit
232 clean: sub_clean local_clean
233 realclean: sub_realclean local_realclean
234 clobber: sub_clobber local_clobber
239 local_realclean:: local_clean
241 local_clobber:: local_realclean
242 $(RM) Makefile config.sh
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~; \
250 echo " $(JMAKE) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT)" ; \
251 $(JMAKE) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT) ; \
252 else touch $@; exit 0; fi
254 Makefile: Makefile.SH
259 $(CTAGS) -xw *.[ch] > tags
264 ########################################################################
265 # Rules for building in sub-directories -- do not edit
268 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
269 for i in $(SUBDIRS) ;\
271 (cd $$i ; echo $(VERB) "in $(DIR)$$i..."; \
272 $(MAKE) $(MFLAGS) $(FLAGS) $(TARGET)); \
276 @$(MAKE) subdirs TARGET=install VERB="Installing" FLAGS=
279 @$(MAKE) subdirs TARGET=deinstall VERB="Deinstalling" FLAGS=
282 @$(MAKE) subdirs TARGET=install.man VERB="Installing man pages" FLAGS=
285 @$(MAKE) subdirs TARGET=deinstall.man VERB="Deinstalling man pages" FLAGS=
288 @$(MAKE) subdirs TARGET=clean VERB="Cleaning" FLAGS=
289 @echo "Back to $(CURRENT) for "clean...
292 @$(MAKE) subdirs TARGET=realclean VERB="Real cleaning" FLAGS=
293 @echo "Back to $(CURRENT) for "realclean...
296 @$(MAKE) subdirs TARGET=clobber VERB="Clobbering" FLAGS=
297 @echo "Back to $(CURRENT) for "clobber...
300 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
301 for i in $(SUBDIRS) ;\
303 (cd $$i ; echo "Tagging" "in $(DIR)$$i..."; \
304 $(MAKE) $(MFLAGS) tag); \
308 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
309 for i in $(SUBDIRS);\
311 echo "Making "Makefiles" in $(DIR)$$i..."; \
313 if test ! -f Makefile; then /bin/sh Makefile.SH; fi; \
314 $(MAKE) $(MFLAGS) Makefiles) \
317 Makefiles.SH:: Makefile.SH
318 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
319 for i in $(SUBDIRS);\
321 case "$(DIR)$$i/" in \
322 */*/*/*/) newtop=../../../..;; \
323 */*/*/) newtop=../../..;; \
324 */*/) newtop=../..;; \
328 /*) newtop="$(TOP)" ;; \
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) \
337 @$(MAKE) subdirs TARGET=all VERB="Making all" FLAGS=
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
346 mconfig: pl/extract.pl
348 mconfig: pl/wanted.pl
349 mconfig: pl/obsolete.pl
350 mconfig: pl/makefile.pl
352 mconfig: pl/configure.pl
353 mconfig: pl/cosmetic.pl
355 mconfig: ../pl/package.pl
356 mconfig: ../pl/manifake.pl
357 mconfig: ../pl/tilde.pl
358 mconfig: ../pl/profile.pl
363 mlint: pl/obsolete.pl
365 mlint: ../pl/tilde.pl
366 mlint: ../pl/profile.pl
373 mxref: pl/obsolete.pl
376 mxref: ../pl/manifake.pl
377 mxref: ../pl/tilde.pl
378 mxref: ../pl/profile.pl