Makefile.buildboot revision 1.10
1# $NetBSD: Makefile.buildboot,v 1.10 2000/02/21 14:41:22 pk Exp $ 2 3S= ${.CURDIR}/../../../.. 4 5.PATH: ${.CURDIR}/../common ${.CURDIR}/../../sparc 6 7COMMONSOURCE= srt0.S promdev.c dvma.c promlib.c 8 9SRCS= ${COMMONSOURCE} ${PROGSOURCE} 10MKMAN= no 11BINMODE= 444 12 13RELOCS= 240000 340000 440000 700000 14# Note: a `RELOC' value of 0x340000 seems to work on most machines 15RELOC_DEFAULT?= 340000 16 17CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C -DSUN_BOOTPARAMS -DHEAP_VARIABLE 18 19CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. 20CFLAGS= -O2 21CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes 22 23### find out what to use for libkern 24KERN_AS= library 25.include "${S}/lib/libkern/Makefile.inc" 26LIBKERN= ${KERNLIB} 27 28.ifdef INCLUDE_LIBZ 29### find out what to use for libz 30Z_AS= library 31.include "${S}/lib/libz/Makefile.inc" 32LIBZ= ${ZLIB} 33.endif 34 35### find out what to use for libsa 36SA_AS= library 37SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes" 38.include "${S}/lib/libsa/Makefile.inc" 39LIBSA= ${SALIB} 40 41.if !make(obj) 42.BEGIN: 43 @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine) 44.NOPATH: machine 45CLEANFILES+= machine 46.endif 47