Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/newsmips/floppies/ramdisk Use libhack.o. (save ~20kb...



details:   https://anonhg.NetBSD.org/src/rev/de6a1f9bb519
branches:  trunk
changeset: 503133:de6a1f9bb519
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Feb 01 05:57:29 2001 +0000

description:
Use libhack.o. (save ~20kbytes)

diffstat:

 distrib/newsmips/floppies/ramdisk/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r fa7da15c90c1 -r de6a1f9bb519 distrib/newsmips/floppies/ramdisk/Makefile
--- a/distrib/newsmips/floppies/ramdisk/Makefile        Thu Feb 01 05:52:49 2001 +0000
+++ b/distrib/newsmips/floppies/ramdisk/Makefile        Thu Feb 01 05:57:29 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2000/11/01 07:58:00 garbled Exp $
+#      $NetBSD: Makefile,v 1.5 2001/02/01 05:57:29 tsutsui Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -46,11 +46,13 @@
 ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
        ${CRUNCHGEN} -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
 
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c #libhack.o
+${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c libhack.o
        ${MAKE} -f ${CBIN}.mk all
 
-#HACKSRC=${TOP}/../../utils/libhack
-#.include "${HACKSRC}/Makefile.inc"
+HACKSRC=${TOP}/../../utils/libhack
+.include "${HACKSRC}/Makefile.inc"
+# turn off small gethostby* temporarily
+HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.o
 
 clean cleandir distclean:
        rm -f ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache



Home | Main Index | Thread Index | Old Index