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