1# @(#)Makefile 8.2 (Berkeley) 4/4/94 2# $FreeBSD$ 3 4PROG= ftpd 5MAN8= ftpd.8 6SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c 7 8CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \ 9 -I${.CURDIR}/../../contrib-crypto/telnet 10CFLAGS+=-DINET6 11YFLAGS= 12 13LDADD= -lskey -lmd -lcrypt -lutil 14DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} 15 16LSDIR= ../../bin/ls 17.PATH: ${.CURDIR}/${LSDIR} 18SRCS+= ls.c cmp.c print.c util.c 19CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} 20 21.if defined(NOPAM) 22CFLAGS+=-DNOPAM 23.else 24DPADD+= ${LIBPAM} 25LDADD+= ${MINUSLPAM} 26.endif 27 28.include <bsd.prog.mk> 29