2000-05-18 05:10:22 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:27 matt Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
# Build a smaller dd (i.e. for boot media)
|
|
|
|
|
|
|
|
PROG= dd
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1995-10-09 02:08:46 +03:00
|
|
|
|
1999-06-21 05:19:36 +04:00
|
|
|
SRCDIR= ${.CURDIR}/../../../bin/dd
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
SRCS= args.c conv.c dd.c misc.c position.c
|
|
|
|
# SRCS+= conv_tab.c (not used)
|
|
|
|
|
1997-10-22 06:11:56 +04:00
|
|
|
CPPFLAGS+= -DNO_CONV -I${SRCDIR}
|
2000-05-18 04:43:05 +04:00
|
|
|
COPTS+= -Os
|
2000-05-18 05:10:22 +04:00
|
|
|
LDSTATIC?=-static
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|