1 1.2 gwr # $NetBSD: Makefile,v 1.2 1995/10/13 18:10:19 gwr Exp $ 2 1.1 gwr # 3 1.1 gwr # Stubs to kill off some things from libc: 4 1.1 gwr # This save space on a boot system. 5 1.1 gwr # 6 1.1 gwr 7 1.1 gwr LIB= hack 8 1.1 gwr SRCS= getgrent.c gethost.c getnetgr.c getpwent.c 9 1.1 gwr 10 1.1 gwr NOPIC= 11 1.1 gwr NOPROFILE= 12 1.1 gwr 13 1.1 gwr all: libhack.a 14 1.2 gwr 15 1.2 gwr tpwent: getpwent.c 16 1.2 gwr $(CC) -g -o $@.o -DTEST_MAIN -c getpwent.c 17 1.2 gwr $(CC) -o $@ $@.o 18 1.1 gwr 19 1.1 gwr .include <bsd.lib.mk> 20