2002-06-01 13:37:30 +04:00
|
|
|
# $NetBSD: Makefile,v 1.22 2002/06/01 09:37:30 simonb 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
|
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-06-01 13:37:30 +04:00
|
|
|
# evbarm evbmips evbsh3 \
|
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-06-01 13:37:30 +04:00
|
|
|
# sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
|
2002-03-05 03:07:04 +03:00
|
|
|
# vax \
|
|
|
|
# walnut \
|
2002-02-11 09:51:27 +03:00
|
|
|
# x68k x86_64
|
1998-06-13 03:22:30 +04:00
|
|
|
|
|
|
|
SYMLINKS= ${MACHINE} /usr/include/machine
|
|
|
|
|
1998-06-16 00:49:43 +04:00
|
|
|
SYMLINKS+= machine/float.h /usr/include/float.h \
|
|
|
|
machine/frame.h /usr/include/frame.h \
|
|
|
|
machine/stdarg.h /usr/include/stdarg.h \
|
|
|
|
machine/varargs.h /usr/include/varargs.h
|
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
.include <bsd.kinc.mk>
|