2004-05-12 20:56:41 +04:00
|
|
|
# $NetBSD: Makefile,v 1.27 2004/05/12 16:56:43 cl Exp $
|
1998-06-13 03:22:30 +04:00
|
|
|
|
|
|
|
# For now, we install the machine and arch includes, and symlink 'machine'
|
2001-06-12 22:16:31 +04:00
|
|
|
# to the location of the machine includes (usually).
|
1998-06-13 03:22:30 +04:00
|
|
|
#
|
|
|
|
# Eventually, we should install everything.
|
|
|
|
|
2002-02-04 11:35:27 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
SUBDIR= ${MACHINE}
|
2002-02-04 03:24:14 +03:00
|
|
|
ARCHSUBDIR= ${MACHINE_CPU}
|
|
|
|
|
2001-01-10 21:23:47 +03:00
|
|
|
.if ${MACHINE} != ${ARCHSUBDIR}
|
1999-03-04 22:46:09 +03:00
|
|
|
.if exists(${ARCHSUBDIR})
|
|
|
|
SUBDIR+= ${ARCHSUBDIR}
|
|
|
|
.endif
|
1998-06-13 03:22:30 +04:00
|
|
|
.endif
|
1999-11-20 19:35:24 +03:00
|
|
|
.if ${MACHINE} == sparc
|
|
|
|
SUBDIR+= sparc64
|
|
|
|
.endif
|
2001-01-28 05:58:19 +03:00
|
|
|
.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
|
|
|
|
SUBDIR+= hpc
|
|
|
|
.endif
|
2002-05-29 01:11:04 +04:00
|
|
|
.if (${MACHINE} == sun2 || ${MACHINE} == sun3)
|
2001-06-14 17:01:27 +04:00
|
|
|
SUBDIR+= sun68k
|
|
|
|
.endif
|
2004-05-12 20:56:41 +04:00
|
|
|
.if defined(XEN_BUILD)
|
|
|
|
SUBDIR+= xen
|
|
|
|
.endif
|
1998-06-13 03:22:30 +04:00
|
|
|
|
2002-03-25 02:15:05 +03:00
|
|
|
#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
|
2002-03-05 03:07:04 +03:00
|
|
|
# bebox \
|
|
|
|
# cats cesfic cobalt \
|
|
|
|
# dreamcast \
|
2002-12-09 15:53:41 +03:00
|
|
|
# evbarm evbmips evbppc evbsh3 evbsh5 \
|
2002-03-05 03:07:04 +03:00
|
|
|
# hp300 hpc hpcarm hpcmips hpcsh \
|
|
|
|
# i386 \
|
|
|
|
# luna68k \
|
|
|
|
# m68k mac68k macppc mips mipsco mmeye mvme68k \
|
|
|
|
# netwinder news68k newsmips next68k \
|
|
|
|
# ofppc \
|
|
|
|
# pc532 playstation2 pmax powerpc prep \
|
2002-12-09 15:53:41 +03:00
|
|
|
# sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \
|
2002-03-05 03:07:04 +03:00
|
|
|
# vax \
|
2002-02-11 09:51:27 +03:00
|
|
|
# x68k x86_64
|
1998-06-13 03:22:30 +04:00
|
|
|
|
2003-08-03 13:23:14 +04:00
|
|
|
INCSYMLINKS= ${MACHINE} /usr/include/machine
|
1998-06-13 03:22:30 +04:00
|
|
|
|
2003-08-03 13:23:14 +04:00
|
|
|
INCSYMLINKS+= machine/float.h /usr/include/float.h \
|
2003-10-14 16:46:44 +04:00
|
|
|
machine/stdarg.h /usr/include/stdarg.h
|
1998-06-16 00:49:43 +04:00
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
.include <bsd.kinc.mk>
|