Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu Don't use GNU malloc() any more.
details: https://anonhg.NetBSD.org/src/rev/a00d2fd858de
branches: trunk
changeset: 475044:a00d2fd858de
user: mycroft <mycroft%NetBSD.org@localhost>
date: Fri Jul 30 04:07:23 1999 +0000
description:
Don't use GNU malloc() any more.
diffstat:
gnu/libexec/uucp/Makefile.inc | 8 --------
gnu/usr.bin/cpio/Makefile | 5 +----
gnu/usr.bin/diff/Makefile | 4 +---
gnu/usr.bin/diff3/Makefile | 5 +----
gnu/usr.bin/egcs/Makefile.inc | 5 +----
gnu/usr.bin/gas.new/Makefile | 6 +++---
gnu/usr.bin/gas/Makefile | 4 +---
gnu/usr.bin/groff/Makefile.cfg | 7 +------
gnu/usr.bin/gzip/Makefile | 6 +++---
gnu/usr.bin/ld.new/Makefile | 6 +++---
gnu/usr.bin/ld/ld/Makefile | 4 +---
gnu/usr.bin/rcs/Makefile.inc | 6 +++---
gnu/usr.bin/sdiff/Makefile | 5 +----
gnu/usr.bin/sort/Makefile | 4 +---
gnu/usr.bin/tar/Makefile | 4 +---
15 files changed, 22 insertions(+), 57 deletions(-)
diffs (262 lines):
diff -r cc3f6db2a901 -r a00d2fd858de gnu/libexec/uucp/Makefile.inc
--- a/gnu/libexec/uucp/Makefile.inc Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/libexec/uucp/Makefile.inc Fri Jul 30 04:07:23 1999 +0000
@@ -21,11 +21,3 @@
# The directory to look in for BNU (when using HAVE_BNU_CONFIG) or
# V2 (when using HAVE_V2_CONFIG) style configuration files.
oldconfigdir= /etc/uucp
-
-# this is sick, but much easier than putting in the individual programs'
-# makefiles.
-.if defined(PROG)
-# use gnu malloc
-LDADD+= -lgnumalloc
-DPADD+= /usr/lib/libgnumalloc.a
-.endif
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/cpio/Makefile
--- a/gnu/usr.bin/cpio/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/cpio/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/09/12 21:53:30 frueauf Exp $
+# $NetBSD: Makefile,v 1.7 1999/07/30 04:07:23 mycroft Exp $
PROG= cpio
CPPFLAGS+= -I${.CURDIR} -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1
-DHAVE_LCHOWN=1 -DDIRENT=1
@@ -8,7 +8,4 @@
rtapelib.c dirname.c idcache.c makepath.c xmalloc.c stripslash.c \
userspec.c xstrdup.c
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
-
.include <bsd.prog.mk>
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/diff/Makefile
--- a/gnu/usr.bin/diff/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/diff/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1999/02/12 12:45:03 tv Exp $
+# $NetBSD: Makefile,v 1.13 1999/07/30 04:07:24 mycroft Exp $
PROG= diff
SRCS= diff.c analyze.c cmpbuf.c io.c context.c ed.c normal.c util.c \
@@ -6,8 +6,6 @@
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${DIST}/diffutils \
-DPR_PROGRAM=\"/usr/bin/pr\"
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
TEXINFO= diff.texi
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/diff3/Makefile
--- a/gnu/usr.bin/diff3/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/diff3/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.10 1999/02/12 12:45:13 tv Exp $
+# $NetBSD: Makefile,v 1.11 1999/07/30 04:07:24 mycroft Exp $
PROG= diff3
SRCS= diff3.c getopt.c getopt1.c version.c
CPPFLAGS+= -I${.CURDIR}/../diff -I${DIST}/diffutils \
-DHAVE_CONFIG_H -DDIFF_PROGRAM=\"/usr/bin/diff\"
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
-
DIST= ${.CURDIR}/../../dist
.PATH: ${.CURDIR}/../diff ${DIST}/diffutils
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/egcs/Makefile.inc
--- a/gnu/usr.bin/egcs/Makefile.inc Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/egcs/Makefile.inc Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.19 1999/03/17 00:46:35 thorpej Exp $
+# $NetBSD: Makefile.inc,v 1.20 1999/07/30 04:07:23 mycroft Exp $
.if !defined(GCC_MAKEFILE_INC)
GCC_MAKEFILE_INC=1
@@ -40,9 +40,6 @@
HOST_CPPFLAGS= ${CPPFLAGS}
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
-
.PATH: ${.CURDIR}/../arch \
${DIST} \
${DIST}/config
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/gas.new/Makefile
--- a/gnu/usr.bin/gas.new/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/gas.new/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1999/03/05 07:23:51 mycroft Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/30 04:07:25 mycroft Exp $
#
.include <bsd.own.mk>
@@ -23,8 +23,8 @@
-I${DIST}/gas -I${DIST}/gas/config -I${BFDOBJ} \
-I${DIST}/bfd -I${DIST}/include -I${DIST} \
-D_GNU_SOURCE
-LDADD+= -L${BFDOBJ} -lbfd -lgnumalloc
-DPADD+= ${BFDOBJ}/libbfd_pic.a ${LIBGNUMALLOC}
+LDADD+= -L${BFDOBJ} -lbfd
+DPADD+= ${BFDOBJ}/libbfd_pic.a
DIST= ${.CURDIR}/../../dist
BFDOBJ!= cd ${.CURDIR}/../../lib/libbfd && ${MAKE} print-objdir
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/gas/Makefile
--- a/gnu/usr.bin/gas/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/gas/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 1997/10/25 10:10:35 lukem Exp $
+# $NetBSD: Makefile,v 1.26 1999/07/30 04:07:24 mycroft Exp $
# @(#)Makefile 6.1 (Berkeley) 3/3/91
TARGET_MACHINE_ARCH?= $(MACHINE_ARCH)
@@ -37,8 +37,6 @@
CPPFLAGS+= -I$(.CURDIR) ${ADDINCLUDE} -I$(.CURDIR)/config \
-DOLD_GAS -DSIGTY=void -Derror=as_fatal \
-DNETBSD_AOUT
-#LDADD+= -lgnumalloc
-#DPADD+= ${LIBGNUMALLOC}
CONF_HEADERS= targ-cpu.h obj-format.h host.h targ-env.h
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/groff/Makefile.cfg
--- a/gnu/usr.bin/groff/Makefile.cfg Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/groff/Makefile.cfg Fri Jul 30 04:07:23 1999 +0000
@@ -1,9 +1,4 @@
-# $NetBSD: Makefile.cfg,v 1.26 1999/02/13 02:54:26 lukem Exp $
-
-.if defined(PROG)
-LDADD+= -lgnumalloc
-DPADD+= /usr/lib/libgnumalloc.a
-.endif
+# $NetBSD: Makefile.cfg,v 1.27 1999/07/30 04:07:25 mycroft Exp $
MKLINT= no
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/gzip/Makefile
--- a/gnu/usr.bin/gzip/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/gzip/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 1999/07/25 07:06:05 simonb Exp $
+# $NetBSD: Makefile,v 1.28 1999/07/30 04:07:25 mycroft Exp $
.include <bsd.own.mk>
@@ -20,8 +20,8 @@
.endif # m68k || i386
LDSTATIC?= -static
-LDADD+= -lgnumalloc -lbz2
-DPADD+= ${LIBGNUMALLOC} ${LIBBZ2}
+LDADD+= -lbz2
+DPADD+= ${LIBBZ2}
MLINKS+= gzip.1 gunzip.1 gzip.1 gzcat.1 gzip.1 zcat.1
MLINKS+= zdiff.1 zcmp.1
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/ld.new/Makefile
--- a/gnu/usr.bin/ld.new/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/ld.new/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 1999/07/24 09:09:39 mrg Exp $
+# $NetBSD: Makefile,v 1.14 1999/07/30 04:07:26 mycroft Exp $
# for OBJECT_FMT
.include <bsd.own.mk>
@@ -30,8 +30,8 @@
-DSCRIPTDIR=\"${SCRIPTDIR}\" \
-DTARGET='"${MACHINE_GNU_ARCH}--netbsd"' \
-DEMULATION_LIST='${EMULS:S/^/\&ld_/:S/$/_emulation,/} 0'
-LDADD+= -L${BFDOBJ} -lbfd -lgnumalloc
-DPADD+= ${BFDOBJ}/libbfd_pic.a ${LIBGNUMALLOC}
+LDADD+= -L${BFDOBJ} -lbfd
+DPADD+= ${BFDOBJ}/libbfd_pic.a
YHEADER=1
DIST= ${.CURDIR}/../../dist
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/ld/ld/Makefile
--- a/gnu/usr.bin/ld/ld/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/ld/ld/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/12/17 14:34:51 pk Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/30 04:07:25 mycroft Exp $
.if (${MACHINE_ARCH} == "i386") || \
(${MACHINE_ARCH} == "m68k") || \
@@ -11,8 +11,6 @@
.if defined(DEBUG)
CPPFLAGS+=-DDEBUG
.endif
-LDADD+= -lgnumalloc
-DPADD+= /usr/lib/libgnumalloc.a
BINDIR=/usr/bin
.endif
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/rcs/Makefile.inc
--- a/gnu/usr.bin/rcs/Makefile.inc Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/rcs/Makefile.inc Fri Jul 30 04:07:23 1999 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.9 1997/10/25 10:12:48 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.10 1999/07/30 04:07:26 mycroft Exp $
LIBRCS!=cd $(.CURDIR)/../lib; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/librcs.a\n" | ${MAKE} -s -f-
CPPFLAGS+=-I${.CURDIR}/../lib
-LDADD= ${LIBRCS} -lgnumalloc
-DPADD= ${LIBRCS} ${LIBGNUMALLOC}
+LDADD= ${LIBRCS}
+DPADD= ${LIBRCS}
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/sdiff/Makefile
--- a/gnu/usr.bin/sdiff/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/sdiff/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.9 1999/02/12 12:45:13 tv Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/30 04:07:26 mycroft Exp $
PROG= sdiff
SRCS= sdiff.c getopt.c getopt1.c version.c
CPPFLAGS+= -I${.CURDIR}/../diff -I${DIST}/diffutils \
-DHAVE_CONFIG_H -DDIFF_PROGRAM=\"/usr/bin/diff\"
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
-
DIST= ${.CURDIR}/../../dist
.PATH: ${.CURDIR}/../diff ${DIST}/diffutils
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/sort/Makefile
--- a/gnu/usr.bin/sort/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/sort/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,7 +1,5 @@
-# $NetBSD: Makefile,v 1.5 1997/03/24 22:06:51 christos Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/30 04:07:23 mycroft Exp $
PROG= sort
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
.include <bsd.prog.mk>
diff -r cc3f6db2a901 -r a00d2fd858de gnu/usr.bin/tar/Makefile
--- a/gnu/usr.bin/tar/Makefile Fri Jul 30 02:42:32 1999 +0000
+++ b/gnu/usr.bin/tar/Makefile Fri Jul 30 04:07:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 1998/07/21 08:06:55 fair Exp $
+# $NetBSD: Makefile,v 1.20 1999/07/30 04:07:25 mycroft Exp $
.include <bsd.own.mk>
@@ -16,8 +16,6 @@
CPPFLAGS+= -DSTDC_HEADERS -DENABLE_SPARSE
LDSTATIC?= -static
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
MAN=tar.1
Home |
Main Index |
Thread Index |
Old Index