Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/Makefile.inc,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/Makefile.inc,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/lib/libc/Makefile.inc 2007/06/03 17:36:08 1.3 +++ src/lib/libc/Makefile.inc 2008/10/26 07:42:09 1.4 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.3 2007/06/03 17:36:08 christos Exp $ +# $NetBSD: Makefile.inc,v 1.4 2008/10/26 07:42:09 mrg Exp $ # @(#)Makefile 8.2 (Berkeley) 2/3/94 # # All library objects contain sccsid strings by default; they may be @@ -47,15 +47,7 @@ LINTFLAGS+= -w # ignore 'empty translation unit' warnings. LINTFLAGS+= -X 272 -.if exists(${.CURDIR}/arch/${MACHINE_ARCH}) -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 +.include "libcincludes.mk" ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR} AFLAGS+= -I${ARCHDIR}