1 # $NetBSD: Makefile.inc,v 1.13 2007/03/13 17:54:07 ragge Exp $
4 .PATH: ${.CURDIR}/../../vax ${.CURDIR}/../common
7 CPPFLAGS+=-I${.CURDIR}/../../../../
8 CPPFLAGS+=-I${.CURDIR}/../../
9 CPPFLAGS+=-I${.CURDIR}/../common
10 CPPFLAGS+=-I${.CURDIR}/../../include
11 CPPFLAGS+=-DRELOC=${RELOC}
14 CFLAGS+=-ffreestanding -fno-pic
22 .if ${MACHINE} == "vax"
24 beforedepend: machine-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}
29 CLEANFILES+= machine ${MACHINE_ARCH}