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.21
11.21Smartin# $NetBSD: Makefile,v 1.21 2007/11/06 19:27:07 martin 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.21SmartinCPPFLAGS.runetable.c+=	-I ${HACKSRC}/../../../lib/libc -DALL_80_TO_FF_SW1
111.16Schristos
121.13StvLIB=		hack
131.15SlukemSRCS=		getcap.c getgrent.c getnet.c getnetgr.c getpwent.c \
141.21Smartin		localeconv.c multibyte.c perror.c runetable.c setlocale.c \
151.17Schristos		strerror.c strsignal.c syslog.c utmp.c yplib.c
161.7Sgwr
171.13StvWARNS=		1
181.13StvNOLINKLIB=	# defined
191.13StvNOLINT= 	# defined
201.13StvNOPIC=		# defined
211.13StvNOPROFILE=	# defined
221.9Sdan
231.13Stvrealall: libhack.o
241.7Sgwr
251.13Stvlibhack.o: libhack.a
261.13Stv	${LD} -r -o $@ --whole-archive libhack.a
271.9Sdan
281.13StvCLEANFILES+=	libhack.o
291.2Sgwr
301.2Sgwrtpwent: getpwent.c
311.13Stv	${CC} -g -o $@.o -DTEST_MAIN -c getpwent.c
321.13Stv	${CC} -o $@ $@.o
331.1Sgwr
341.1Sgwr.include <bsd.lib.mk>
35

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