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 md util 20 21.PATH: ${SRCTOP}/bin/ls 22SRCS+= ls.c cmp.c print.c util.c 23CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls 24LIBADD+= m 25 26.if ${MK_BLACKLIST_SUPPORT} != "no" 27CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include 28SRCS+= blacklist.c 29LIBADD+= blacklist 30LDFLAGS+=-L${LIBBLACKLISTDIR} 31.endif 32 33.if ${MK_INET6_SUPPORT} != "no" 34CFLAGS+=-DINET6 35.endif 36 37.if ${MK_PAM_SUPPORT} != "no" 38CFLAGS+=-DUSE_PAM 39LIBADD+= pam 40.endif 41 42.include <bsd.prog.mk> 43