Makefile.inc revision 1.19
1#	$NetBSD: Makefile.inc,v 1.19 2025/09/10 23:07:38 nat Exp $
2
3SRCS+=	__sigtramp2.S __m68k_read_tp.S __mmap.S
4
5ASM+=	_lwp_getprivate.S mremap.S
6
7CPPFLAGS+= -I.		# for assym.h
8
9.if ${MKSOFTFLOAT} != "no"
10.  if ${MKLIBCSOFTFLOAT} != "no"
11.  include <softfloat/Makefile.inc>
12CPPFLAGS+= -DSOFTFLOAT
13.    if ${SOFTFLOAT_BITS} == "32"
14CPPFLAGS+= -DSOFTFLOATBITS32
15.    endif
16.  else
17#CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS
18CPPFLAGS+= -DSOFTFLOAT -DSOFTFLOATM68K_FOR_GCC
19.include <softfloat/Makefile.fenv.inc>
20.  endif
21.elif ${MACHINE_ARCH} != "m68000"
22.PATH : ${ARCHDIR}/hardfloat
23.  include "${ARCHDIR}/hardfloat/Makefile.inc"
24.endif
25