Makefile revision 1.9
11.9Sdan# $NetBSD: Makefile,v 1.9 1999/09/26 04:49:37 dan Exp $ 21.1Sgwr# 31.1Sgwr# Stubs to kill off some things from libc: 41.1Sgwr# This save space on a boot system. 51.4Sgwr# (See Makefile.inc also.) 61.1Sgwr 71.1SgwrLIB= hack 81.7SgwrSRCS= getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c \ 91.8Smrg localeconv.c perror.c setlocale.c \ 101.7Sgwr strerror.c strsignal.c utmp.c yplib.c 111.8Smrg.ifndef NOLIBHACKOPENDIR 121.8SmrgSRCS+= opendir.c 131.8Smrg.endif 141.7Sgwr 151.9Sdan 161.9SdanHACKOBJS= getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \ 171.9Sdan localeconv.o perror.o setlocale.o \ 181.9Sdan strerror.o strsignal.o utmp.o yplib.o 191.9Sdan.ifndef NOLIBHACKOPENDIR 201.9SdanHACKOBJS+= opendir.o 211.9Sdan.endif 221.9Sdan 231.6SsommerfeWARNS= 1 241.5SlukemMKPIC= no 251.6SsommerfeMKLINT= no 261.5SlukemMKPROFILE=no 271.1Sgwr 281.7Sgwrall: libhack.a libhack.o 291.7Sgwr 301.9Sdanlibhack.o : $(HACKOBJS) 311.9Sdan $(LD) -r -o $@ $(HACKOBJS) 321.9Sdan 331.7SgwrCLEANFILES+= libhack.o 341.2Sgwr 351.2Sgwrtpwent: getpwent.c 361.2Sgwr $(CC) -g -o $@.o -DTEST_MAIN -c getpwent.c 371.2Sgwr $(CC) -o $@ $@.o 381.1Sgwr 391.1Sgwr.include <bsd.lib.mk> 40