There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
72 lines
2.1 KiB
Makefile
72 lines
2.1 KiB
Makefile
# $NetBSD: Makefile.inc,v 1.30 2009/12/06 07:12:17 uebayasi Exp $
|
|
|
|
SRCS+= alloca.S fabs.S
|
|
|
|
# Common ieee754 constants and functions
|
|
SRCS+= infinityf_ieee754.c infinity_ieee754.c
|
|
SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c
|
|
SRCS+= isinff_ieee754.c isinfd_ieee754.c
|
|
SRCS+= isnanf_ieee754.c isnand_ieee754.c
|
|
SRCS+= isfinitef_ieee754.c isfinited_ieee754.c
|
|
SRCS+= signbitf_ieee754.c signbitd_ieee754.c
|
|
|
|
SRCS+= nanf.c
|
|
|
|
# 68000-based machines use a double-extended `long double' type
|
|
# for which the generic ieee754 versions can be used
|
|
.if ${MACHINE_ARCH} == "m68000"
|
|
SRCS+= infinityl_dbl_ieee754.c
|
|
.else
|
|
SRCS+= infinityl.c
|
|
SRCS+= fpclassifyl.c isfinitel.c isinfl.c isnanl.c signbitl.c
|
|
.endif
|
|
|
|
SRCS+= ashlsi3.S ashrsi3.S \
|
|
lshlsi3.S lshrsi3.S \
|
|
negdf2.S negsf2.S
|
|
SRCS+= bswap16.S bswap32.S bswap64.S
|
|
SRCS+= _lwp.c
|
|
|
|
# 68000-based machines build with a libgcc that includes
|
|
# much of the (soft)float and integer support that would
|
|
# otherwise be compiled here.
|
|
.if (${MACHINE_ARCH} == "m68000" || ${MKSOFTFLOAT} == "yes")
|
|
SRCS+= modf_ieee754.c # generic ieee754 version
|
|
SRCS+= flt_rounds_softfloat.S
|
|
.if ${MKSOFTFLOAT} != "yes"
|
|
SRCS+= fpfake.c
|
|
.endif
|
|
.else
|
|
SRCS+= modf.S
|
|
SRCS+= flt_rounds.S fpgetmask.S fpgetround.S fpgetsticky.S fpsetmask.S \
|
|
fpsetround.S fpsetsticky.S
|
|
SRCS+= adddf3.S addsf3.S cmpdf2.S cmpsf2.S divdf3.S \
|
|
divsf3.S divsi3.S extendsfdf2.S fixdfsi.S fixunsdfsi.S \
|
|
floatsidf.S modsi3.S muldf3.S mulsf3.S mulsi3.S \
|
|
subdf3.S subsf3.S truncdfsf2.S udivsi3.S \
|
|
umodsi3.S umulsi3.S
|
|
.endif
|
|
|
|
SRCS+= setjmp.S longjmp.c
|
|
SRCS+= _setjmp.S
|
|
SRCS+= sigsetjmp.S
|
|
|
|
SRCS+= makecontext.c resumecontext.S swapcontext.S
|
|
|
|
.ifdef M68040
|
|
SRCS+= ldexp_ieee754.c # generic ieee754 version
|
|
.elifdef MKSOFTFLOAT
|
|
SRCS+= ldexp_ieee754.c # generic ieee754 version
|
|
.elifdef M68060
|
|
SRCS+= ldexp_ieee754.c # generic ieee754 version
|
|
.elif ${MACHINE_ARCH} == "m68000"
|
|
SRCS+= ldexp_ieee754.c # generic ieee754 version
|
|
.else
|
|
SRCS+= ldexp_881.c
|
|
.endif
|
|
|
|
LSRCS.m68k.gen= Lint_bswap16.c Lint_bswap32.c Lint_bswap64.c \
|
|
Lint_resumecontext.c Lint_swapcontext.c
|
|
LSRCS+= ${LSRCS.m68k.gen}
|
|
DPSRCS+= ${LSRCS.m68k.gen}
|
|
CLEANFILES+= ${LSRCS.m68k.gen}
|