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= util crypt 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_INET6_SUPPORT} != "no" 28CFLAGS+=-DINET6 29.endif 30 31.if ${MK_PAM_SUPPORT} != "no" 32CFLAGS+=-DUSE_PAM 33LIBADD+= pam 34.endif 35 36.include <bsd.prog.mk> 37