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