diff options
author | Larry Wall <lwall@netlabs.com> | 1991-06-06 23:28:30 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1991-06-06 23:28:30 +0000 |
commit | d48672a2009b4897fb5bf74d6723c050cdd015e0 (patch) | |
tree | 8b55c5c62bca864358bc6bcb107144d864062543 /x2p/Makefile.SH | |
parent | 9ef589d8078fdf16316dec772c00e81b3c38fd22 (diff) | |
download | perl-d48672a2009b4897fb5bf74d6723c050cdd015e0.tar.gz |
perl 4.0 patch 9: patch #4, continued
See patch #4.
Diffstat (limited to 'x2p/Makefile.SH')
-rw-r--r-- | x2p/Makefile.SH | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index 82b14239ad..f4a1c665a4 100644 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -19,9 +19,12 @@ case "$mallocsrc" in esac echo "Extracting x2p/Makefile (with variable substitutions)" cat >Makefile <<!GROK!THIS! -# $Header: Makefile.SH,v 4.0 91/03/20 01:57:03 lwall Locked $ +# $RCSfile: Makefile.SH,v $$Revision: 4.0.1.1 $$Date: 91/06/07 12:12:14 $ # # $Log: Makefile.SH,v $ +# Revision 4.0.1.1 91/06/07 12:12:14 lwall +# patch4: cflags now emits entire cc command except for the filename +# # Revision 4.0 91/03/20 01:57:03 lwall # 4.0 baseline. # @@ -33,7 +36,6 @@ bin = $bin lib = $lib mansrc = $mansrc manext = $manext -CFLAGS = $ccflags $optimize LDFLAGS = $ldflags SMALL = $small LARGE = $large $split @@ -45,6 +47,8 @@ libs = $libs cat >>Makefile <<'!NO!SUBS!' +CCCMD = `sh cflags $@` + public = a2p s2p find2perl private = @@ -69,13 +73,13 @@ addedbyconf = Makefile.old bsd eunice filexp loc pdp11 usg v7 SHELL = /bin/sh .c.o: - $(CC) -c $(CFLAGS) $(LARGE) $*.c + $(CCCMD) $*.c all: $(public) $(private) $(util) touch all a2p: $(obj) a2p.o - $(CC) $(LARGE) $(LDFLAGS) $(obj) a2p.o $(libs) -o a2p + $(CC) $(LDFLAGS) $(obj) a2p.o $(libs) -o a2p a2p.c: a2p.y @ echo Expect 226 shift/reduce conflicts... @@ -83,7 +87,7 @@ a2p.c: a2p.y mv y.tab.c a2p.c a2p.o: a2p.c a2py.c a2p.h EXTERN.h util.h INTERN.h handy.h ../config.h str.h hash.h - $(CC) -c $(CFLAGS) $(LARGE) a2p.c + $(CCCMD) $(LARGE) a2p.c install: a2p s2p # won't work with csh @@ -95,16 +99,6 @@ install: a2p s2p for pub in $(public); do \ chmod +x `basename $$pub`; \ done -# chmod +x makedir -# - ./makedir `filexp $(lib)` -# - \ -#if test `pwd` != `filexp $(lib)`; then \ -#cp $(private) `filexp $(lib)`; \ -#fi -# cd `filexp $(lib)`; \ -#for priv in $(private); do \ -#chmod +x `basename $$priv`; \ -#done - if test `pwd` != $(mansrc); then \ for page in $(manpages); do \ cp $$page $(mansrc)/`basename $$page .man`.$(manext); \ @@ -115,7 +109,7 @@ clean: rm -f a2p *.o realclean: clean - rm -f *.orig */*.orig core $(addedbyconf) a2p.c s2p all + rm -f *.orig */*.orig core $(addedbyconf) a2p.c s2p find2perl all cflags # The following lint has practically everything turned on. Unfortunately, # you have to wade through a lot of mumbo jumbo that can't be suppressed. |