2001-05-16 07:30:39 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.21 2001/05/16 03:30:39 fredette Exp $
|
1993-10-13 08:40:23 +03:00
|
|
|
|
1998-02-22 11:43:27 +03:00
|
|
|
SRCS+= __main.c __assert.c \
|
|
|
|
imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \
|
|
|
|
bswap16.S bswap32.S bswap64.S \
|
2001-05-16 07:30:39 +04:00
|
|
|
bcmp.S bzero.S \
|
1998-08-04 07:30:30 +04:00
|
|
|
memchr.c memcmp.S memcpy.S memmove.S memset.S \
|
2000-11-01 22:37:18 +03:00
|
|
|
strcat.S strchr.S strcmp.S strcasecmp.c \
|
|
|
|
strcpy.S strlen.S strncmp.S strncasecmp.c strncpy.S strrchr.S \
|
1998-02-22 11:43:27 +03:00
|
|
|
scanc.S skpc.S \
|
2001-05-16 07:30:39 +04:00
|
|
|
htonl.S htons.S ntohl.S ntohs.S
|
|
|
|
.if defined(MACHINE_ARCH) && (${MACHINE_ARCH} == "m68000")
|
|
|
|
LIBGCC_OBJS= _mulsi3.o _divsi3.o _udivsi3.o _modsi3.o _umodsi3.o
|
|
|
|
${LIBGCC_OBJS}:
|
|
|
|
@${AR} xv `${CC} --print-libgcc-file-name` $@
|
|
|
|
OBJS+= ${LIBGCC_OBJS}
|
|
|
|
SRCS+= ffs.c random.c
|
|
|
|
.else
|
|
|
|
SRCS+= ffs.S random.S
|
|
|
|
.endif
|