Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/utils/libhack pullup 1.6->1.7 (gwr)



details:   https://anonhg.NetBSD.org/src/rev/e68531eb569c
branches:  netbsd-1-4
changeset: 468758:e68531eb569c
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 21 03:25:36 1999 +0000

description:
pullup 1.6->1.7 (gwr)

diffstat:

 distrib/utils/libhack/Makefile |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r cef25b6495b2 -r e68531eb569c distrib/utils/libhack/Makefile
--- a/distrib/utils/libhack/Makefile    Mon Jun 21 03:24:46 1999 +0000
+++ b/distrib/utils/libhack/Makefile    Mon Jun 21 03:25:36 1999 +0000
@@ -1,17 +1,24 @@
-# $NetBSD: Makefile,v 1.6 1999/03/13 19:08:43 sommerfe Exp $
+# $NetBSD: Makefile,v 1.6.2.1 1999/06/21 03:25:36 perry Exp $
 #
 # Stubs to kill off some things from libc:
 # This save space on a boot system.
 # (See Makefile.inc also.)
 
 LIB=   hack
-SRCS=  getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c setlocale.c yplib.c
+SRCS=  getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c \
+       localeconv.c opendir.c perror.c setlocale.c \
+       strerror.c strsignal.c utmp.c yplib.c
+
 WARNS= 1
 MKPIC= no
 MKLINT= no
 MKPROFILE=no
 
-all: libhack.a
+all: libhack.a libhack.o
+
+CLEANFILES+=  libhack.o
+libhack.o : $(OBJS)
+       $(LD) -r -o $@ $(OBJS)
 
 tpwent: getpwent.c
        $(CC) -g -o $@.o -DTEST_MAIN -c getpwent.c



Home | Main Index | Thread Index | Old Index