2001-12-12 03:05:09 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2001/12/12 00:05:12 tv Exp $
|
1997-11-17 04:35:57 +03:00
|
|
|
# Build a smaller ftp (i.e. for boot media)
|
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
|
1997-11-17 04:35:57 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
PROG= ftp
|
|
|
|
NOMAN= # defined
|
1997-11-17 04:35:57 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c \
|
|
|
|
ftp.c main.c ruserpass.c util.c
|
1997-11-17 04:35:57 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
|
2000-09-05 19:49:28 +04:00
|
|
|
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k")
|
2001-12-12 03:05:09 +03:00
|
|
|
CPPFLAGS+= -DINET6
|
2000-05-04 07:27:09 +04:00
|
|
|
.endif
|
1997-11-17 04:35:57 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
# Need -lutil for: fparseln
|
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
1997-11-17 04:35:57 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
.PATH: ${SRCDIR}
|