1 1.25 mrg # $NetBSD: Makefile,v 1.25 1997/11/11 05:48:03 mrg Exp $ 2 1.12 cgd # @(#)Makefile 8.2 (Berkeley) 4/4/94 3 1.14 cjs 4 1.16 lukem # XXX Work-around a compiler bug for now... can't use -O 5 1.16 lukem .if (${MACHINE_ARCH} == "powerpc") 6 1.16 lukem CFLAGS= 7 1.16 lukem .endif 8 1.16 lukem 9 1.1 cgd PROG= ftpd 10 1.17 lukem SRCS= conf.c ftpd.c ftpcmd.c logwtmp.c popen.c 11 1.21 mycroft CPPFLAGS+=-DHASSETPROCTITLE -Dunix 12 1.21 mycroft DPADD+= ${LIBCRYPT} 13 1.21 mycroft LDADD+= -lcrypt 14 1.11 cgd MAN= ftpd.8 15 1.25 mrg MLINKS+=ftpd.8 ftpd.conf.5 16 1.1 cgd CLEANFILES+=ftpcmd.c y.tab.h 17 1.6 cgd .PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login 18 1.5 cgd 19 1.24 mycroft .include <bsd.own.mk> 20 1.21 mycroft 21 1.21 mycroft .ifdef SKEY 22 1.21 mycroft CPPFLAGS+=-DSKEY 23 1.21 mycroft DPADD+= ${LIBSKEY} 24 1.21 mycroft LDADD+= -lskey 25 1.22 mycroft .endif 26 1.6 cgd 27 1.23 mycroft .ifdef KERBEROS5 28 1.23 mycroft SRCS+= k5login.c 29 1.23 mycroft CPPFLAGS+=-DKERBEROS5 30 1.23 mycroft DPADD+= ${LIBKRB5} ${LIBCRYPTO} 31 1.23 mycroft LDADD+= -lkrb5 -lcrypto -lcom_err 32 1.23 mycroft .elifdef KERBEROS 33 1.21 mycroft SRCS+= klogin.c 34 1.21 mycroft CPPFLAGS+=-DKERBEROS 35 1.23 mycroft DPADD+= ${LIBKRB} ${LIBDES} 36 1.23 mycroft LDADD+= -lkrb -ldes 37 1.6 cgd .endif 38 1.24 mycroft 39 1.24 mycroft .include <bsd.prog.mk> 40