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= 12 13LDADD= -lmd -lcrypt -lutil 14DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL} 15 16# XXX Kluge! Conversation mechanism needs to be fixed. 17LDADD+= -lopie 18DPADD+= ${LIBOPIE} 19 20LSDIR= ../../bin/ls 21.PATH: ${.CURDIR}/${LSDIR} 22SRCS+= ls.c cmp.c print.c util.c lomac.c 23CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} 24 25.if !defined(NOPAM) 26CFLAGS+=-DUSE_PAM 27DPADD+= ${LIBPAM} 28LDADD+= ${MINUSLPAM} 29.endif 30 31.include <bsd.prog.mk> 32