Makefile revision 1.17
11.17Schristos# $NetBSD: Makefile,v 1.17 2004/06/06 07:03:53 christos 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.16Schristos.PATH.c: ${.CURDIR}/../../../lib/libc/gen 81.16Schristos 91.16SchristosCPPFLAGS+= -DSMALL 101.16Schristos 111.13StvLIB= hack 121.15SlukemSRCS= getcap.c getgrent.c getnet.c getnetgr.c getpwent.c \ 131.13Stv localeconv.c perror.c setlocale.c \ 141.17Schristos strerror.c strsignal.c syslog.c utmp.c yplib.c 151.7Sgwr 161.13StvWARNS= 1 171.13StvNOLINKLIB= # defined 181.13StvNOLINT= # defined 191.13StvNOPIC= # defined 201.13StvNOPROFILE= # defined 211.9Sdan 221.13Stvrealall: libhack.o 231.7Sgwr 241.13Stvlibhack.o: libhack.a 251.13Stv ${LD} -r -o $@ --whole-archive libhack.a 261.9Sdan 271.13StvCLEANFILES+= libhack.o 281.2Sgwr 291.2Sgwrtpwent: getpwent.c 301.13Stv ${CC} -g -o $@.o -DTEST_MAIN -c getpwent.c 311.13Stv ${CC} -o $@ $@.o 321.1Sgwr 331.1Sgwr.include <bsd.lib.mk> 34