# $OpenBSD: Makefile,v 1.12 1998/03/26 23:47:43 deraadt Exp $ # $NetBSD: Makefile,v 1.13 1996/02/16 02:07:41 cgd Exp $ # @(#)Makefile 8.2 (Berkeley) 4/4/94 PROG= ftpd .ifdef (${MACHINE} == "powerpc") # bug in compiler causes ftpd.o to fail to compile with optimization. CFLAGS= ${DEBUG} .endif CFLAGS+=-DHASSETPROCTITLE -Dunix SRCS= ftpd.c ftpcmd.c logutmp.c logwtmp.c popen.c MAN= ftpd.8 CLEANFILES+=ftpcmd.c y.tab.h .PATH: ${.CURDIR}/../../usr.bin/ftp .include .if (${SKEY} == "yes") CFLAGS+=-DSKEY LDADD+= -lskey DPADD+= ${LIBSKEY} .endif .if (${KERBEROS} == "yes") SRCS+= klogin.c .PATH: ${.CURDIR}/../../usr.bin/login CFLAGS+= -DKERBEROS LDADD+= -lkrb -ldes -lkafs DPADD+= ${LIBKRB} ${LIBKRB} ${LIBKAFS} .endif .if (${TCP_WRAPPERS} == "yes") CFLAGS+=-DTCPWRAPPERS LDADD+= -lwrap DPADD+= ${LIBWRAP} .endif .include