version 1.3, 2007/06/03 17:36:08 |
version 1.4, 2008/10/26 07:42:09 |
|
|
# ignore 'empty translation unit' warnings. |
# ignore 'empty translation unit' warnings. |
LINTFLAGS+= -X 272 |
LINTFLAGS+= -X 272 |
|
|
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}) |
.include "libcincludes.mk" |
ARCHSUBDIR= ${MACHINE_ARCH} |
|
.elif exists(${.CURDIR}/arch/${MACHINE_CPU}) |
|
ARCHSUBDIR= ${MACHINE_CPU} |
|
.else |
|
.BEGIN: |
|
@echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU} |
|
@false |
|
.endif |
|
|
|
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR} |
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR} |
AFLAGS+= -I${ARCHDIR} |
AFLAGS+= -I${ARCHDIR} |