924b11844c
our implementation was fine, but the restrict marker is problematic as gcc 8 is now more strict about checking for restrict issues. this is the only actual consumer of swab(3) in our tree, though, besides the test for it. oh well.
23 lines
419 B
Makefile
23 lines
419 B
Makefile
# $NetBSD: Makefile,v 1.20 2019/10/04 08:57:37 mrg Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
RUMPPRG=dd
|
|
SRCS= args.c conv.c dd.c dd_swab.c misc.c position.c
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
|
|
.ifdef SMALLPROG
|
|
CPPFLAGS+= -DNO_CONV -DNO_MSGFMT -DNO_IOFLAG -DSMALL
|
|
.else
|
|
CPPFLAGS+= -D_NETBSD_SOURCE
|
|
SRCS+= conv_tab.c
|
|
.ifdef CRUNCHEDPROG
|
|
CPPFLAGS+= -DSMALL
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|