From: Perl 5 Porters Date: Wed, 10 Jul 1996 23:35:36 +0000 (+0000) Subject: perl 5.003_01: x2p/Makefile.SH X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5acd297e56582a42cfccc93779697b9b1e6548d3;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_01: x2p/Makefile.SH Add MAB support for NeXT Set up variable pointing to shell for OS/2 compatibility --- diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index 16e282d..e12a2de 100755 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -17,18 +17,24 @@ case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac +: ${bin_sh=/bin/sh} + echo "Extracting x2p/Makefile (with variable substitutions)" rm -f Makefile cat >Makefile <>Makefile <<'!NO!SUBS!' @@ -77,17 +86,14 @@ obj = hash$(OBJ_EXT) $(mallocobj) str$(OBJ_EXT) util$(OBJ_EXT) walk$(OBJ_EXT) lintflags = -phbvxac -# grrr -SHELL = /bin/sh - .c$(OBJ_EXT): - $(CCCMD) $*.c + $(CCCMD) $(MAB) $*.c all: $(public) $(private) $(util) touch all a2p: $(obj) a2p$(OBJ_EXT) - $(CC) $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs) -o a2p + $(CC) $(MAB) $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs) -o a2p # I now supply a2p.c with the kits, so the following section is # used only if you force byacc to run by saying @@ -104,7 +110,7 @@ a2p.c: a2p.y -@touch a2p.c a2p$(OBJ_EXT): a2p.c a2py.c a2p.h EXTERN.h util.h INTERN.h handy.h ../config.h str.h hash.h - $(CCCMD) $(LARGE) a2p.c + $(CCCMD) $(LARGE) $(MAB) a2p.c clean: rm -f a2p *$(OBJ_EXT)