summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorArnold D. Robbins <gatech!skeeve!arnold>1988-01-26 01:16:41 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-26 01:16:41 +0000
commita1cc2bdc08f9aa1504f32e5b0b782c2b3cffd124 (patch)
treed9d46a7185678967f79150cfc67ac08d924ec179 /Makefile.SH
parentf9ad74367ccb11e91fbda2bb7702039bcde360ce (diff)
downloadperl-a1cc2bdc08f9aa1504f32e5b0b782c2b3cffd124.tar.gz
perl 1.0 patch 7: use of included malloc.c should be optional
The version of malloc.c that comes with perl was not really intended to be used everywhere--it was included mostly for debugging purposes. It's a nice little package, however, so I'm making it optional (via Configure) as to whether you want it or not.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 798d9a36b5..fc05ca2b6a 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -14,9 +14,12 @@ case "$0" in
esac
echo "Extracting Makefile (with variable substitutions)"
cat >Makefile <<!GROK!THIS!
-# $Header: Makefile.SH,v 1.0.1.2 88/01/26 08:46:04 root Exp $
+# $Header: Makefile.SH,v 1.0.1.3 88/01/26 14:14:52 root Exp $
#
# $Log: Makefile.SH,v $
+# Revision 1.0.1.3 88/01/26 14:14:52 root
+# Added mallocsrc stuff.
+#
# Revision 1.0.1.2 88/01/26 08:46:04 root
# patch 4: make depend didn't work right if . wasn't in PATH.
#
@@ -36,6 +39,8 @@ CFLAGS = $ccflags -O
LDFLAGS = $ldflags
SMALL = $small
LARGE = $large $split
+mallocsrc = $mallocsrc
+mallocobj = $mallocobj
libs = $libnm -lm
!GROK!THIS!
@@ -57,12 +62,12 @@ h2 = hash.h perl.h search.h spat.h stab.h str.h util.h
h = $(h1) $(h2)
-c1 = arg.c array.c cmd.c dump.c form.c hash.c malloc.c
+c1 = arg.c array.c cmd.c dump.c form.c hash.c $(mallocsrc)
c2 = search.c stab.c str.c util.c version.c
c = $(c1) $(c2)
-obj1 = arg.o array.o cmd.o dump.o form.o hash.o malloc.o
+obj1 = arg.o array.o cmd.o dump.o form.o hash.o $(mallocobj)
obj2 = search.o stab.o str.o util.o version.o
obj = $(obj1) $(obj2)