dc306354b0
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.
6 lines
179 B
Makefile
6 lines
179 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 1999/01/15 13:31:32 bouyer Exp $
|
|
#
|
|
# The rest of the lib routines are in machine/macros.h
|
|
#
|
|
SRCS+= __main.c __assert.c random.S strncmp.c bswap64.S
|