2019-10-04 11:57:37 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 2019/10/04 08:57:37 mrg Exp $
|
1995-03-21 12:01:59 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-05-04 11:08:38 +04:00
|
|
|
|
2012-08-08 18:09:14 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2011-02-04 22:42:12 +03:00
|
|
|
RUMPPRG=dd
|
2019-10-04 11:57:37 +03:00
|
|
|
SRCS= args.c conv.c dd.c dd_swab.c misc.c position.c
|
2002-02-02 16:03:21 +03:00
|
|
|
|
2007-10-05 11:22:23 +04:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
|
2002-02-02 16:03:21 +03:00
|
|
|
.ifdef SMALLPROG
|
2015-03-18 16:23:49 +03:00
|
|
|
CPPFLAGS+= -DNO_CONV -DNO_MSGFMT -DNO_IOFLAG -DSMALL
|
2002-02-02 16:03:21 +03:00
|
|
|
.else
|
2019-09-16 02:58:31 +03:00
|
|
|
CPPFLAGS+= -D_NETBSD_SOURCE
|
2002-02-02 16:03:21 +03:00
|
|
|
SRCS+= conv_tab.c
|
2012-08-08 18:09:14 +04:00
|
|
|
.ifdef CRUNCHEDPROG
|
2010-11-23 00:59:09 +03:00
|
|
|
CPPFLAGS+= -DSMALL
|
|
|
|
.endif
|
2002-02-02 16:03:21 +03:00
|
|
|
.endif
|
1993-05-04 11:08:38 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|