diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /sys/arch/sparc/stand/Makefile.inc |
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/sparc/stand/Makefile.inc')
-rw-r--r-- | sys/arch/sparc/stand/Makefile.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/arch/sparc/stand/Makefile.inc b/sys/arch/sparc/stand/Makefile.inc new file mode 100644 index 00000000000..a083047b0d1 --- /dev/null +++ b/sys/arch/sparc/stand/Makefile.inc @@ -0,0 +1,30 @@ +# $NetBSD: Makefile.inc,v 1.4 1995/10/09 23:25:55 pk Exp $ + +.if !defined(__stand_makefile_inc) +__stand_makefile_inc=1 + +S= ${.CURDIR}/../../../${R} + +.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) +.BEGIN: + @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine) +.endif + +RELOC_SUN4= 0x240000 +RELOC_SUN4C= 0x340000 +RELOC_SUN4M= 0x440000 + +# Note: a `RELOC' value of 0x340000 seems to work on most machines +RELOC?= ${RELOC_SUN4C} + +INCLUDES+= -I. -I${.CURDIR}/.. -I${S}/arch -I${S} -I${S}/lib/libsa +DEFS+= -DSTANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS +CFLAGS+= -O2 ${INCLUDES} ${DEFS} + +srt0.o: srt0.S + ${CC} ${CFLAGS} -DLOCORE -c ${.IMPSRC} + +cleandir: + rm -rf lib machine + +.endif |