summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1996-10-09 00:13:36 +0000
committerjtc <jtc@NetBSD.org>1996-10-09 00:13:36 +0000
commit34d9f1513db024d69a7cef4e1e274fcdc7166933 (patch)
tree3ef28e1f4c592a8ae57d13b17b02bd1b1d720e6c /distrib/utils/libhack
parent02ee12e4baf4e57bc9897decb26f5c77564c9635 (diff)
merge in 1.2 branch
Diffstat (limited to 'distrib/utils/libhack')
-rw-r--r--distrib/utils/libhack/Makefile5
-rw-r--r--distrib/utils/libhack/Makefile.inc8
2 files changed, 9 insertions, 4 deletions
diff --git a/distrib/utils/libhack/Makefile b/distrib/utils/libhack/Makefile
index 907ee043651..143fbc62102 100644
--- a/distrib/utils/libhack/Makefile
+++ b/distrib/utils/libhack/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.2 1995/10/13 18:10:19 gwr Exp $
+# $NetBSD: Makefile,v 1.3 1996/10/09 00:13:36 jtc Exp $
#
# Stubs to kill off some things from libc:
# This save space on a boot system.
#
LIB= hack
-SRCS= getgrent.c gethost.c getnetgr.c getpwent.c
+SRCS= getgrent.c gethost.c getnetgr.c getpwent.c \
+ setlocale.c yplib.c
NOPIC=
NOPROFILE=
diff --git a/distrib/utils/libhack/Makefile.inc b/distrib/utils/libhack/Makefile.inc
index 586153eda55..1b1c0270fbd 100644
--- a/distrib/utils/libhack/Makefile.inc
+++ b/distrib/utils/libhack/Makefile.inc
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.2 1995/10/13 18:10:20 gwr Exp $
+# $NetBSD: Makefile.inc,v 1.3 1996/10/09 00:13:36 jtc 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= gethost.o getpwent.o getgrent.o getnetgr.o
+HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o \
+ setlocale.o yplib.o
libhack.o : $(HACKOBJS)
$(LD) -r -o $@ $(HACKOBJS)
@@ -20,6 +21,9 @@ getgrent.o : ${HACKSRC}/getgrent.c
getnetgr.o : ${HACKSRC}/getnetgr.c
$(CC) -c ${HACKSRC}/getnetgr.c
+setlocale.o : ${HACKSRC}/setlocale.c
+ $(CC) -c ${HACKSRC}/setlocale.c
+
yplib.o : ${HACKSRC}/yplib.c
$(CC) -c ${HACKSRC}/yplib.c