db19e89e04
- always install <stdbool.h> - don't generate a fake one for vax / gettext.
27 lines
660 B
Makefile
27 lines
660 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 2006/06/02 22:16:18 mrg Exp $
|
|
|
|
RELOC=0x2f0000
|
|
.PATH: ${.CURDIR}/../../vax ${.CURDIR}/../common
|
|
|
|
CPPFLAGS+=-I.
|
|
CPPFLAGS+=-I${.CURDIR}/../../../../
|
|
CPPFLAGS+=-I${.CURDIR}/../../
|
|
CPPFLAGS+=-I${.CURDIR}/../common
|
|
CPPFLAGS+=-I${.CURDIR}/../../include
|
|
CPPFLAGS+=-DRELOC=${RELOC}
|
|
|
|
WARNS?= 1
|
|
CFLAGS+=-ffreestanding
|
|
|
|
MKMAN=no
|
|
|
|
.if ${MACHINE} == "vax"
|
|
.PHONY: machine-links
|
|
beforedepend: machine-links
|
|
machine-links:
|
|
@rm -f machine && ln -s ${S}/arch/${MACHINE}/include machine
|
|
@rm -f ${MACHINE_ARCH} && ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
|
|
.NOPATH: machine ${MACHINE_ARCH}
|
|
CLEANFILES+= machine ${MACHINE_ARCH}
|
|
.endif
|