NetBSD/lib/libc/arch/m68k/Makefile.inc
bouyer dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00

10 lines
373 B
Makefile

# $NetBSD: Makefile.inc,v 1.7 1999/01/15 13:31:18 bouyer Exp $
KMINCLUDES= arch/m68k/DEFS.h arch/m68k/SYS.h
KMSRCS= bcmp.S bcopy.S bzero.S ffs.S index.S rindex.S \
memcpy.S memmove.S memset.S \
strcat.S strchr.S strcmp.S strcpy.S strlen.S strrchr.S strncmp.S strncpy.S \
htonl.S htons.S ntohl.S ntohs.S \
ashldi3.S ashrdi3.S lshrdi3.S \
bswap16.S bswap32.S bswap64.S