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 10YFLAGS= 11 12LDADD= -lskey -lmd -lcrypt -lutil 13DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} 14 15LSDIR= ../../bin/ls 16.PATH: ${.CURDIR}/${LSDIR} 17SRCS+= ls.c cmp.c print.c stat_flags.c util.c 18CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR} 19 20.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) 21.PATH: ${.CURDIR}/../../lib/libpam/modules/pam_kerberosIV 22SRCS+= klogin.c 23LDADD+= -lkrb -ldes 24DPADD+= ${LIBKRB} ${LIBDES} 25CFLAGS+=-DKERBEROS 26DISTRIBUTION= krb 27.endif 28 29.include <bsd.prog.mk> 30