1# @(#)Makefile 8.2 (Berkeley) 4/4/94 2# $FreeBSD$ 3 4PROG= ftpd 5MAN= ftpd.8 ftpchroot.5 6SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c 7 8CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING 9CFLAGS+=-DINET6 10CFLAGS+=-I${.CURDIR} 11YFLAGS= 12WARNS?= 2 13WFORMAT=0 14 15DPADD= ${LIBUTIL} ${LIBCRYPT} 16LDADD= -lutil -lcrypt 17 18# XXX Kluge! Conversation mechanism needs to be fixed. 19DPADD+= ${LIBOPIE} ${LIBMD} 20LDADD+= -lopie -lmd 21 22LSDIR= ../../bin/ls 23.PATH: ${.CURDIR}/${LSDIR} 24SRCS+= ls.c cmp.c print.c util.c 25CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} 26DPADD+= ${LIBM} 27LDADD+= -lm 28 29.if !defined(NO_PAM) 30CFLAGS+=-DUSE_PAM 31DPADD+= ${LIBPAM} 32LDADD+= ${MINUSLPAM} 33.endif 34 35.include <bsd.prog.mk> 36