xref: /freebsd/usr.bin/ftp/Makefile (revision bdcbfde31e8e9b343f113a1956384bdf30d1ed62)
1b6208130SPaul Traina#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
29b50d902SRodney W. Grimes
3c6063d0dSWarner Losh.include <src.opts.mk>
42cc3124eSYaroslav Tykhiy
5b6208130SPaul Traina# Uncomment the following to provide defaults for gate-ftp operation
6b6208130SPaul Traina#
7b6208130SPaul Traina#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
8b6208130SPaul Traina
9*b5be5c35SEmmanuel VadotPACKAGE=	ftp
10*b5be5c35SEmmanuel Vadot
11a35f04fbSWarner LoshTNFTP=	${SRCTOP}/contrib/tnftp
12cc361f65SGavin Atkinson.PATH: ${TNFTP}/src
13bfacd15aSMike Heffner
149b50d902SRodney W. GrimesPROG=	ftp
15cc361f65SGavin AtkinsonSRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
16cc361f65SGavin Atkinson	progressbar.c ruserpass.c util.c
175fc864b2SMike Smith
182cc3124eSYaroslav Tykhiy.if ${MK_INET6_SUPPORT} != "no"
192cc3124eSYaroslav TykhiyCFLAGS+= -DINET6
202cc3124eSYaroslav Tykhiy.endif
212cc3124eSYaroslav Tykhiy
22cc361f65SGavin AtkinsonCFLAGS+= -I${.CURDIR} -I${TNFTP}
233e11bd9eSBaptiste DaroussinLIBADD=	edit
245fc864b2SMike Smith
25b7946da9SEd SchoutenWARNS?=	2
26b7946da9SEd Schouten
27b6208130SPaul TrainaLINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
28b6208130SPaul Traina	${BINDIR}/ftp ${BINDIR}/gate-ftp
29b6208130SPaul TrainaMLINKS=	ftp.1 pftp.1 \
30b6208130SPaul Traina	ftp.1 gate-ftp.1
3133bb8564SPaul Traina
329b50d902SRodney W. Grimes.include <bsd.prog.mk>
33