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.22
11.22Stnozaki# $NetBSD: Makefile,v 1.22 2009/01/02 00:20:18 tnozaki 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.21Smartin.PATH.c: ${.CURDIR}/../../../lib/libc/gen ${.CURDIR}/../../../lib/libc/locale
81.16Schristos
91.16SchristosCPPFLAGS+=	-DSMALL
101.22StnozakiCPPFLAGS.runetable.c+=	-I${HACKSRC}/../../../lib/libc/citrus \
111.22Stnozaki			-DALL_80_TO_FF_SW1
121.16Schristos
131.13StvLIB=		hack
141.15SlukemSRCS=		getcap.c getgrent.c getnet.c getnetgr.c getpwent.c \
151.21Smartin		localeconv.c multibyte.c perror.c runetable.c setlocale.c \
161.17Schristos		strerror.c strsignal.c syslog.c utmp.c yplib.c
171.7Sgwr
181.13StvWARNS=		1
191.13StvNOLINKLIB=	# defined
201.13StvNOLINT= 	# defined
211.13StvNOPIC=		# defined
221.13StvNOPROFILE=	# defined
231.9Sdan
241.13Stvrealall: libhack.o
251.7Sgwr
261.13Stvlibhack.o: libhack.a
271.13Stv	${LD} -r -o $@ --whole-archive libhack.a
281.9Sdan
291.13StvCLEANFILES+=	libhack.o
301.2Sgwr
311.2Sgwrtpwent: getpwent.c
321.13Stv	${CC} -g -o $@.o -DTEST_MAIN -c getpwent.c
331.13Stv	${CC} -o $@ $@.o
341.1Sgwr
351.1Sgwr.include <bsd.lib.mk>
36

Indexes created Sun Dec 21 11:09:39 GMT 2025