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.
9 lines
312 B
Makefile
9 lines
312 B
Makefile
# $NetBSD: Makefile.inc,v 1.2 1999/01/15 13:31:19 bouyer Exp $
|
|
|
|
# objects built from assembler sources (need lint stubs)
|
|
# hton* and nto* functions provided by ../gen/byte_swap_*.S
|
|
SRCS+=
|
|
|
|
LSRCS+= Lint_htonl.c Lint_htons.c Lint_ntohl.c Lint_ntohs.c
|
|
DPSRCS+= Lint_htonl.c Lint_htons.c Lint_ntohl.c Lint_ntohs.c
|