Cross Reference: Makefile
xref: /src/sys/arch/rs6000/stand/common/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/rs6000/stand/common/
11.4Sjoerg#	$NetBSD: Makefile,v 1.4 2014/08/08 16:56:32 joerg Exp $
21.1Sgarbled
31.1SgarbledS= ${.CURDIR}/../../../..
41.1Sgarbled
51.3Smatt.include <bsd.klinks.mk>
61.3Smatt
71.1SgarbledNOMAN= # defined
81.1Sgarbled
91.1SgarbledCPPFLAGS+= -D_STANDALONE
101.1SgarbledCPPFLAGS+= -D__daddr_t=int32_t
111.1SgarbledCPPFLAGS+= -I. -I${S} -I${.OBJDIR}
121.1SgarbledCPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-pointer-sign
131.1Sgarbled
141.4SjoergCFLAGS= -Os -ffreestanding
151.1Sgarbled
161.1Sgarbled.include <bsd.prog.mk>
171.1Sgarbled
181.1Sgarbled### find out what to use for libkern
191.1SgarbledKERN_AS=	library
201.1Sgarbled.include "${S}/lib/libkern/Makefile.inc"
211.1SgarbledLIBKERN=	${KERNLIB}
221.1Sgarbled
231.1Sgarbled### find out what to use for libz
241.1SgarbledZ_AS=		library
251.1Sgarbled.include "${S}/lib/libz/Makefile.inc"
261.1SgarbledLIBZ=		${ZLIB}
271.1Sgarbled
281.1Sgarbled### find out what to use for libsa
291.1SgarbledSA_AS=		library
301.1SgarbledSAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
311.1Sgarbled.include "${S}/lib/libsa/Makefile.inc"
321.1SgarbledLIBSA=		${SALIB}
331.1Sgarbled
341.1SgarbledLIBS= ${LIBSA} ${LIBZ} ${LIBKERN}
351.1Sgarbled
361.3Smattrealall: ${LIBS}
37

Indexes created Thu Nov 27 06:09:39 GMT 2025