summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/m68k/Makefile.inc
blob: 219ccf6c23cfef00ec8955a8e8ad8af9320cafba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: Makefile.inc,v 1.38 2020/05/31 11:43:37 rin Exp $

SRCS+=	bswap16.S bswap32.S bswap64.S
SRCS+=	memcmp.S memcpy.S memmove.S memset.S
SRCS+=	strcat.S strchr.S strcmp.S
SRCS+=	strcpy.S strlen.S strncmp.S strncpy.S strrchr.S
SRCS+=	scanc.S skpc.S
SRCS+=	htonl.S htons.S ntohl.S ntohs.S
SRCS+=	ffs.S

.if defined(MACHINE_ARCH) && (${MACHINE_ARCH} == "m68000")
SRCS+=	mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S
.endif
.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "m68k"
SRCS+=	muldi3.S random.S
.else
muldi3.o muldi3.po muldi3.pico muldi3.d: muldi3.c
random.o random.po random.pico random.d: random.c
.endif