1999-03-13 22:08:43 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/03/13 19:08:43 sommerfe Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
#
|
|
|
|
# Stubs to kill off some things from libc:
|
|
|
|
# This save space on a boot system.
|
1997-12-12 06:36:38 +03:00
|
|
|
# (See Makefile.inc also.)
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
LIB= hack
|
1999-03-13 22:08:43 +03:00
|
|
|
SRCS= getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c setlocale.c yplib.c
|
|
|
|
WARNS= 1
|
1999-02-13 05:54:17 +03:00
|
|
|
MKPIC= no
|
1999-03-13 22:08:43 +03:00
|
|
|
MKLINT= no
|
1999-02-13 05:54:17 +03:00
|
|
|
MKPROFILE=no
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
all: libhack.a
|
|
|
|
|
1995-10-13 21:10:06 +03:00
|
|
|
tpwent: getpwent.c
|
|
|
|
$(CC) -g -o $@.o -DTEST_MAIN -c getpwent.c
|
|
|
|
$(CC) -o $@ $@.o
|
|
|
|
|
1995-10-09 02:08:46 +03:00
|
|
|
.include <bsd.lib.mk>
|