1996-10-09 04:13:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 1996/10/09 00:13:36 jtc Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
#
|
|
|
|
# Stubs to kill off some things from libc:
|
|
|
|
# This save space on a boot system.
|
|
|
|
#
|
|
|
|
|
|
|
|
LIB= hack
|
1996-10-09 04:13:36 +04:00
|
|
|
SRCS= getgrent.c gethost.c getnetgr.c getpwent.c \
|
|
|
|
setlocale.c yplib.c
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
NOPIC=
|
|
|
|
NOPROFILE=
|
|
|
|
|
|
|
|
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>
|