Home | History | Annotate | Line # | Download | only in ftp
      1  1.43       mrg #	$NetBSD: Makefile,v 1.43 2025/09/24 01:27:43 mrg Exp $
      2   1.7       tls #	from: @(#)Makefile	8.2 (Berkeley) 4/3/94
      3   1.1       cgd 
      4  1.28     lukem .include <bsd.own.mk>
      5  1.28     lukem 
      6  1.32       tls USE_FORT?= yes	# network client
      7  1.32       tls 
      8   1.1       cgd PROG=	ftp
      9  1.26     jhawk SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
     10  1.26     jhawk 	progressbar.c ruserpass.c util.c
     11  1.39     lukem SRCS+=	ssl.c
     12  1.13     lukem 
     13  1.13     lukem # Uncomment the following to provide defaults for gate-ftp operation
     14  1.13     lukem #
     15  1.14  christos #CPPFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
     16  1.20    itojun 
     17  1.24     lukem .if defined(SMALLPROG)
     18  1.31  christos CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS -DNO_DEBUG -DNO_USAGE
     19  1.24     lukem .else
     20  1.33       roy LDADD+=	-ledit -lterminfo
     21  1.33       roy DPADD+=	${LIBEDIT} ${LIBTERMINFO}
     22  1.36  christos CPPFLAGS+= -DWITH_SSL
     23  1.41  christos LDADD+= -lssl -lcrypto -lpthread
     24  1.41  christos DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
     25  1.36  christos .endif
     26  1.24     lukem 
     27  1.28     lukem .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
     28  1.20    itojun CPPFLAGS+= -DINET6
     29  1.24     lukem .endif
     30  1.22     lukem 
     31  1.23     lukem cmds.o fetch.o: version.h
     32  1.22     lukem main.o:	ftp_var.h
     33   1.1       cgd 
     34  1.40     lukem CWARNFLAGS.gcc+=	${CC_WNO_FORMAT_OVERFLOW}
     35  1.38       mrg 
     36  1.43       mrg .if ${MACHINE_CPU} == "m68k"
     37  1.42       mrg COPTS.ftp.c+=	-Wno-error=clobbered
     38  1.42       mrg .endif
     39  1.42       mrg 
     40   1.1       cgd .include <bsd.prog.mk>
     41