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 skey-stuff.c 7 8CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall 9CFLAGS+=-DINET6 10CFLAGS+=-I${.CURDIR} 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+=-DUSE_PAM 23DPADD+= ${LIBPAM} 24LDADD+= ${MINUSLPAM} 25.endif 26 27.include <bsd.prog.mk> 28