1# @(#)Makefile 8.2 (Berkeley) 4/4/94 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PACKAGE= ftpd 7 8CONFS= ftpusers 9PROG= ftpd 10MAN= ftpd.8 ftpchroot.5 11SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c 12 13CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING 14CFLAGS+=-I${.CURDIR} 15YFLAGS= 16WARNS?= 2 17WFORMAT=0 18 19LIBADD= crypt xo util 20 21# XXX Kluge! Conversation mechanism needs to be fixed. 22LIBADD+= opie md 23 24.PATH: ${SRCTOP}/bin/ls 25SRCS+= ls.c cmp.c print.c util.c 26CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls 27LIBADD+= m 28 29.if ${MK_BLACKLIST_SUPPORT} != "no" 30CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include 31SRCS+= blacklist.c 32LIBADD+= blacklist 33LDFLAGS+=-L${LIBBLACKLISTDIR} 34.endif 35 36.if ${MK_INET6_SUPPORT} != "no" 37CFLAGS+=-DINET6 38.endif 39 40.if ${MK_PAM_SUPPORT} != "no" 41CFLAGS+=-DUSE_PAM 42LIBADD+= pam 43.endif 44 45.include <bsd.prog.mk> 46