2000-05-18 05:10:22 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2000/05/18 01:10:27 matt 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-05-04 07:27:09 +04:00
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
|
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
.endif
|
2000-05-18 04:43:05 +04:00
|
|
|
COPTS+= -Os
|
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}
|