NetBSD/distrib/utils/x_ftp/Makefile
minoura 304befe761 Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
2000-09-05 15:49:28 +00:00

28 lines
559 B
Makefile

# $NetBSD: Makefile,v 1.10 2000/09/05 15:49:28 minoura Exp $
# Build a smaller ftp (i.e. for boot media)
PROG= ftp
MKMAN= no
# Need -lutil for: fparseln
DPADD= ${LIBUTIL}
LDADD= -lutil
SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
util.c
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k")
CPPFLAGS+= -DINET6
.endif
COPTS+= -Os
LDSTATIC?=-static
all: ${PROG}
.include <bsd.prog.mk>
.PATH: ${SRCDIR}