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