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 21LSDIR= ../../bin/ls 22.PATH: ${.CURDIR}/${LSDIR} 23SRCS+= ls.c cmp.c print.c util.c 24CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} 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