1 1.24 mycroft # $NetBSD: Makefile,v 1.24 1997/10/12 14:06:21 mycroft 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.1 cgd CLEANFILES+=ftpcmd.c y.tab.h 16 1.6 cgd .PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login 17 1.5 cgd 18 1.24 mycroft .include <bsd.own.mk> 19 1.21 mycroft 20 1.21 mycroft .ifdef SKEY 21 1.21 mycroft CPPFLAGS+=-DSKEY 22 1.21 mycroft DPADD+= ${LIBSKEY} 23 1.21 mycroft LDADD+= -lskey 24 1.22 mycroft .endif 25 1.6 cgd 26 1.23 mycroft .ifdef KERBEROS5 27 1.23 mycroft SRCS+= k5login.c 28 1.23 mycroft CPPFLAGS+=-DKERBEROS5 29 1.23 mycroft DPADD+= ${LIBKRB5} ${LIBCRYPTO} 30 1.23 mycroft LDADD+= -lkrb5 -lcrypto -lcom_err 31 1.23 mycroft .elifdef KERBEROS 32 1.21 mycroft SRCS+= klogin.c 33 1.21 mycroft CPPFLAGS+=-DKERBEROS 34 1.23 mycroft DPADD+= ${LIBKRB} ${LIBDES} 35 1.23 mycroft LDADD+= -lkrb -ldes 36 1.6 cgd .endif 37 1.24 mycroft 38 1.24 mycroft .include <bsd.prog.mk> 39