diff options
author | markm <markm@FreeBSD.org> | 2002-03-03 13:17:00 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-03-03 13:17:00 +0000 |
commit | a9c0aaa0e8a6efa66f2c4364b24f1bf7520d9a53 (patch) | |
tree | 9ca989e7577c4407884daecc9836097ae6fccce0 /usr.bin/xlint/Makefile.inc | |
parent | 97ea65b2cb83e7b5b2c4afcacc3a185482457c2a (diff) | |
download | FreeBSD-src-a9c0aaa0e8a6efa66f2c4364b24f1bf7520d9a53.zip FreeBSD-src-a9c0aaa0e8a6efa66f2c4364b24f1bf7520d9a53.tar.gz |
Import of NetBSD's (x)lint, snapshotted at 2002-3-3.
Diffstat (limited to 'usr.bin/xlint/Makefile.inc')
-rw-r--r-- | usr.bin/xlint/Makefile.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.bin/xlint/Makefile.inc b/usr.bin/xlint/Makefile.inc new file mode 100644 index 0000000..0a31de2 --- /dev/null +++ b/usr.bin/xlint/Makefile.inc @@ -0,0 +1,21 @@ +# $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $ + +.include <bsd.own.mk> + +.PATH: ${.CURDIR}/../common + +# On the m68000, MACHINE_CPU is "m68k", but we have different +# target parameters (namely, long double is a different size +# on the m68000), so we special case the directory name here. +.if ${MACHINE_ARCH} == "m68000" +ARCHSUBDIR= m68000 +.else +ARCHSUBDIR= ${MACHINE_CPU} +.endif + +CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR} +CPPFLAGS+= -I${.CURDIR}/../common + +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif |