2001-10-05 05:17:27 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2001/10/05 01:17:30 jmc Exp $
|
1997-11-17 04:35:57 +03:00
|
|
|
# Build a smaller ftp (i.e. for boot media)
|
|
|
|
|
|
|
|
PROG= ftp
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1997-11-17 04:35:57 +03:00
|
|
|
|
1998-08-02 07:17:21 +04:00
|
|
|
# Need -lutil for: fparseln
|
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
|
|
|
|
1999-06-21 05:19:36 +04:00
|
|
|
SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
|
1997-11-17 04:35:57 +03:00
|
|
|
|
|
|
|
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
|
|
|
|
util.c
|
|
|
|
|
1999-06-25 05:07:56 +04:00
|
|
|
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
|
2000-09-05 19:49:28 +04:00
|
|
|
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k")
|
2000-05-04 07:27:09 +04:00
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
.endif
|
2001-08-20 16:19:43 +04:00
|
|
|
.if ${MACHINE_ARCH} != "sparc64"
|
2001-10-05 05:17:27 +04:00
|
|
|
DBG= -Os
|
2001-08-20 16:19:43 +04:00
|
|
|
.endif
|
2000-05-18 05:10:22 +04:00
|
|
|
LDSTATIC?=-static
|
1997-11-17 04:35:57 +03:00
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|