Cross Reference: Makefile
xref: /src/distrib/utils/libhack/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/utils/libhack/
Makefile revision 1.16
11.16Schristos# $NetBSD: Makefile,v 1.16 2004/04/25 06:45:02 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.13Stv		strerror.c strsignal.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

Indexes created Sun Dec 21 07:09:50 GMT 2025