Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/libhack New files...



details:   https://anonhg.NetBSD.org/src/rev/4db56adc74a6
branches:  trunk
changeset: 473068:4db56adc74a6
user:      gwr <gwr%NetBSD.org@localhost>
date:      Wed May 19 03:58:13 1999 +0000

description:
New files...

diffstat:

 distrib/utils/libhack/Makefile     |  13 ++++++++++---
 distrib/utils/libhack/Makefile.inc |  21 ++++-----------------
 2 files changed, 14 insertions(+), 20 deletions(-)

diffs (66 lines):

diff -r 42ef61eacef4 -r 4db56adc74a6 distrib/utils/libhack/Makefile
--- a/distrib/utils/libhack/Makefile    Wed May 19 03:55:33 1999 +0000
+++ b/distrib/utils/libhack/Makefile    Wed May 19 03:58:13 1999 +0000
@@ -1,17 +1,24 @@
-# $NetBSD: Makefile,v 1.6 1999/03/13 19:08:43 sommerfe Exp $
+# $NetBSD: Makefile,v 1.7 1999/05/19 03:58:13 gwr 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
diff -r 42ef61eacef4 -r 4db56adc74a6 distrib/utils/libhack/Makefile.inc
--- a/distrib/utils/libhack/Makefile.inc        Wed May 19 03:55:33 1999 +0000
+++ b/distrib/utils/libhack/Makefile.inc        Wed May 19 03:58:13 1999 +0000
@@ -1,27 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.6 1999/05/06 18:48:23 wrstuden Exp $
+# $NetBSD: Makefile.inc,v 1.7 1999/05/19 03:58:13 gwr Exp $
 # Include this fragment to build libhack.o
 # It is .o and not .a to make sure these are the
 # objects you get (and not the ones in libc.a)
 
 HACKOBJS= getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
-       setlocale.o yplib.o
+       localeconv.o opendir.o perror.o setlocale.o \
+       strerror.o strsignal.o utmp.o yplib.o
 
 libhack.o : $(HACKOBJS)
        $(LD) -r -o $@ $(HACKOBJS)
 
-getcap.o : ${HACKSRC}/getcap.c
-
-getgrent.o : ${HACKSRC}/getgrent.c
-
-gethost.o : ${HACKSRC}/gethost.c
-
-getnet.o : ${HACKSRC}/getnet.c
+.PATH: ${HACKSRC}
 
-getnetgr.o : ${HACKSRC}/getnetgr.c
-
-getpwent.o : ${HACKSRC}/getpwent.c
-
-setlocale.o : ${HACKSRC}/setlocale.c
-
-yplib.o : ${HACKSRC}/yplib.c
-



Home | Main Index | Thread Index | Old Index