]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.bin/xlint/Makefile.inc
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.bin / xlint / Makefile.inc
1 #       $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $
2 # $FreeBSD$
3
4 WARNS?=         0
5
6 .PATH:          ${.CURDIR}/../common
7
8 # These assignments duplicate much of the functionality of
9 # MACHINE_CPUARCH, but there's no easy way to export make functions...
10 .if defined(TARGET_ARCH)
11 TARGET_CPUARCH= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/}
12 .else
13 TARGET_CPUARCH= ${MACHINE_CPUARCH}
14 TARGET_ARCH=    ${MACHINE_ARCH}
15 .endif
16 .if exists(${.CURDIR}/../arch/${TARGET_ARCH})
17 CFLAGS+=        -I${.CURDIR}/../arch/${TARGET_ARCH}
18 .else
19 CFLAGS+=        -I${.CURDIR}/../arch/${TARGET_CPUARCH}
20 .endif
21 CFLAGS+=        -I${.CURDIR}/../common
22
23 OBJECT_FMT=     ELF