Makefile revision 1.6
11.20Sthorpej# $NetBSD: Makefile,v 1.6 2004/01/05 15:17:54 nonaka Exp $ 21.1Srumble 31.1SrumbleS= ${.CURDIR}/../../../.. 41.1Srumble 51.1SrumbleNOMAN= # defined 61.1Srumble 71.1SrumbleCPPFLAGS+= -D_STANDALONE 81.1SrumbleCPPFLAGS+= -D__daddr_t=int32_t 91.1SrumbleCPPFLAGS+= -I. -I${S} -I${.OBJDIR} 101.1SrumbleCPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes 111.1Srumble 121.1SrumbleCFLAGS= -Os -mmultiple -ffreestanding 131.1Srumble 141.1SrumbleCLEANFILES+= machine powerpc 151.1Srumble 161.1Srumble.PHONY: machine-links 171.1Srumblebeforedepend: machine-links 181.1Srumble 191.1Srumblemachine-links: 201.1Srumble -rm -f machine 211.1Srumble ln -s ${S}/arch/${MACHINE}/include machine 221.1Srumble -rm -f ${MACHINE_ARCH} 231.1Srumble ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH} 241.1Srumble 251.1Srumble.include <bsd.prog.mk> 261.1Srumble 271.1Srumble### find out what to use for libkern 281.20SthorpejKERN_AS= library 291.1Srumble.include "${S}/lib/libkern/Makefile.inc" 301.1SrumbleLIBKERN= ${KERNLIB} 311.1Srumble 321.1Srumble### find out what to use for libz 331.1SrumbleZ_AS= library 341.1Srumble.include "${S}/lib/libz/Makefile.inc" 351.1SrumbleLIBZ= ${ZLIB} 361.1Srumble 371.1Srumble### find out what to use for libsa 381.1SrumbleSA_AS= library 391.1SrumbleSAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes 401.1Srumble.include "${S}/lib/libsa/Makefile.inc" 411.1SrumbleLIBSA= ${SALIB} 421.1Srumble 431.1SrumbleLIBS= ${LIBSA} ${LIBZ} ${LIBKERN} 441.1Srumble 451.1Srumblerealall: machine-links ${LIBS} 461.9Sdyoung 471.1Srumblecleandir distclean: cleanlibdir 481.1Srumble 491.1Srumblecleanlibdir: 501.1Srumble -rm -rf lib 511.1Srumble