summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack/Makefile
diff options
context:
space:
mode:
authorgwr <gwr@NetBSD.org>1999-05-19 03:58:13 +0000
committergwr <gwr@NetBSD.org>1999-05-19 03:58:13 +0000
commitbb4c388e4ee2df9a6a6ef11d082af73ebe0036cf (patch)
treeeb8e28233bed0a2db523ecfcfc5f44575c5c2ed5 /distrib/utils/libhack/Makefile
parenta68da00556918da5f0f80f2b8156e82d944ca307 (diff)
New files...
Diffstat (limited to 'distrib/utils/libhack/Makefile')
-rw-r--r--distrib/utils/libhack/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/distrib/utils/libhack/Makefile b/distrib/utils/libhack/Makefile
index c21481a6563..021e9c48685 100644
--- a/distrib/utils/libhack/Makefile
+++ b/distrib/utils/libhack/Makefile
@@ -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