07a0ec1fd1
split alphabetically. This makes it easier to add new archs without having to do extensive reformatting.
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2002/03/05 00:07:04 simonb Exp $
|
|
|
|
# For now, we install the machine and arch includes, and symlink 'machine'
|
|
# to the location of the machine includes (usually).
|
|
#
|
|
# Eventually, we should install everything.
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= ${MACHINE}
|
|
ARCHSUBDIR= ${MACHINE_CPU}
|
|
|
|
.if ${MACHINE} != ${ARCHSUBDIR}
|
|
.if exists(${ARCHSUBDIR})
|
|
SUBDIR+= ${ARCHSUBDIR}
|
|
.endif
|
|
.endif
|
|
.if ${MACHINE} == sparc
|
|
SUBDIR+= sparc64
|
|
.endif
|
|
.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
|
|
SUBDIR+= hpc
|
|
.endif
|
|
.if (${MACHINE} == sun2)
|
|
SUBDIR+= sun68k
|
|
.endif
|
|
|
|
#SUBDIR=acorn32 algor alpha amiga amigappc arm arm26 arc atari \
|
|
# bebox \
|
|
# cats cesfic cobalt \
|
|
# dreamcast \
|
|
# evbarm evbsh3 \
|
|
# hp300 hpc hpcarm hpcmips hpcsh \
|
|
# i386 \
|
|
# luna68k \
|
|
# m68k mac68k macppc mips mipsco mmeye mvme68k \
|
|
# netwinder news68k newsmips next68k \
|
|
# ofppc \
|
|
# pc532 playstation2 pmax powerpc prep \
|
|
# sandpoint sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
|
|
# vax \
|
|
# walnut \
|
|
# x68k x86_64
|
|
|
|
SYMLINKS= ${MACHINE} /usr/include/machine
|
|
|
|
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
|
|
|
|
.include <bsd.kinc.mk>
|