1# $NetBSD: Makefile,v 1.36 2012/12/21 18:07:36 christos Exp $ 2# from: @(#)Makefile 8.2 (Berkeley) 4/3/94 3 4.include <bsd.own.mk> 5 6USE_FORT?= yes # network client 7 8PROG= ftp 9SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \ 10 progressbar.c ruserpass.c util.c 11 12.if defined(__MINIX) 13.if !empty(DBG:M-Og) || !empty(CFLAGS:M-Og) || \ 14 !empty(DBG:M-g) || !empty(CFLAGS:M-g) 15#LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Og 16CWARNFLAGS.gcc+= -Wno-maybe-uninitialized -Wno-clobbered 17.endif 18.endif # defined(__MINIX) 19 20# Uncomment the following to provide defaults for gate-ftp operation 21# 22#CPPFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21 23 24.if defined(SMALLPROG) 25CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS -DNO_DEBUG -DNO_USAGE 26.else 27LDADD+= -ledit -lterminfo 28DPADD+= ${LIBEDIT} ${LIBTERMINFO} 29.if (${MKCRYPTO} != "no") 30CPPFLAGS+= -DWITH_SSL 31SRCS+=ssl.c 32LDADD+= -lssl -lcrypto 33DPADD+= ${LIBSSL} ${LIBCRYPTO} 34.endif 35.endif 36 37.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no") 38CPPFLAGS+= -DINET6 39.endif 40 41cmds.o fetch.o: version.h 42main.o: ftp_var.h 43 44.include <bsd.prog.mk> 45