Makefile.inc revision 1.10
1#	$NetBSD: Makefile.inc,v 1.10 2006/04/07 19:38:59 mrg Exp $
2
3RELOC=0x2f0000
4.PATH:	${.CURDIR}/../../vax ${.CURDIR}/../common
5
6CPPFLAGS+=-I.
7CPPFLAGS+=-I${.CURDIR}/../../../../
8CPPFLAGS+=-I${.CURDIR}/../../
9CPPFLAGS+=-I${.CURDIR}/../common
10CPPFLAGS+=-I${.CURDIR}/../../include
11CPPFLAGS+=-DRELOC=${RELOC}
12
13WARNS?=	1
14CFLAGS+=-ffreestanding
15.if ${HAVE_GCC} == "2"
16CFLAGS+=-mno-asm-pic
17AFLAGS+=-mno-asm-pic
18.endif
19
20MKMAN=no
21
22.if ${MACHINE} == "vax"
23.PHONY: machine-links
24beforedepend: machine-links
25machine-links:
26	@rm -f machine && ln -s ${S}/arch/${MACHINE}/include machine
27	@rm -f ${MACHINE_ARCH} && ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
28.NOPATH: machine ${MACHINE_ARCH}
29CLEANFILES+= machine ${MACHINE_ARCH}
30.endif
31