1# @(#)Makefile 8.2 (Berkeley) 4/4/94 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG= ftpd 7MAN= ftpd.8 ftpchroot.5 8SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c 9 10CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING 11CFLAGS+=-I${.CURDIR} 12YFLAGS= 13WARNS?= 2 14WFORMAT=0 15 16LIBADD= crypt xo util 17 18# XXX Kluge! Conversation mechanism needs to be fixed. 19LIBADD+= opie md 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