1# @(#)Makefile 8.2 (Berkeley) 4/4/94 2# $FreeBSD$ 3 4.include <bsd.own.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 16DPADD= ${LIBUTIL} ${LIBCRYPT} 17LDADD= -lutil -lcrypt 18 19# XXX Kluge! Conversation mechanism needs to be fixed. 20DPADD+= ${LIBOPIE} ${LIBMD} 21LDADD+= -lopie -lmd 22 23LSDIR= ../../bin/ls 24.PATH: ${.CURDIR}/${LSDIR} 25SRCS+= ls.c cmp.c print.c util.c 26CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} 27DPADD+= ${LIBM} 28LDADD+= -lm 29 30.if ${MK_INET6_SUPPORT} != "no" 31CFLAGS+=-DINET6 32.endif 33 34.if ${MK_PAM_SUPPORT} != "no" 35CFLAGS+=-DUSE_PAM 36DPADD+= ${LIBPAM} 37LDADD+= ${MINUSLPAM} 38.endif 39 40.include <bsd.prog.mk> 41