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.15
11.15Slukem# $NetBSD: Makefile,v 1.15 2002/03/25 07:43:49 lukem 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.13StvLIB=		hack
81.15SlukemSRCS=		getcap.c getgrent.c getnet.c getnetgr.c getpwent.c \
91.13Stv		localeconv.c perror.c setlocale.c \
101.13Stv		strerror.c strsignal.c utmp.c yplib.c
111.7Sgwr
121.13StvWARNS=		1
131.13StvNOLINKLIB=	# defined
141.13StvNOLINT= 	# defined
151.13StvNOPIC=		# defined
161.13StvNOPROFILE=	# defined
171.9Sdan
181.13Stvrealall: libhack.o
191.7Sgwr
201.13Stvlibhack.o: libhack.a
211.13Stv	${LD} -r -o $@ --whole-archive libhack.a
221.9Sdan
231.13StvCLEANFILES+=	libhack.o
241.2Sgwr
251.2Sgwrtpwent: getpwent.c
261.13Stv	${CC} -g -o $@.o -DTEST_MAIN -c getpwent.c
271.13Stv	${CC} -o $@ $@.o
281.1Sgwr
291.1Sgwr.include <bsd.lib.mk>
30

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