1 1.16 lukem # $NetBSD: Makefile,v 1.16 1997/04/27 03:21:38 lukem 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.14 cjs # uncomment this to disallow group directory owners access to uploaded files 10 1.14 cjs #CFLAGS+= -DGUEST_CMASK=0777 11 1.14 cjs # uncomment this to enable umask, rm and other commands for anonymous users 12 1.14 cjs #CFLAGS+= -DINSECURE_GUEST 13 1.1 cgd 14 1.1 cgd PROG= ftpd 15 1.13 cgd CFLAGS+=-DHASSETPROCTITLE -DSKEY -Dunix 16 1.9 deraadt SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c 17 1.11 cgd MAN= ftpd.8 18 1.1 cgd CLEANFILES+=ftpcmd.c y.tab.h 19 1.6 cgd .PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login 20 1.5 cgd 21 1.8 deraadt LDADD+= -lcrypt -lskey 22 1.8 deraadt DPADD+= ${LIBCRYPT} ${LIBSKEY} 23 1.6 cgd 24 1.6 cgd .if defined(KERBEROS) 25 1.10 brezak SRCS+= klogin.c 26 1.6 cgd CFLAGS+= -DKERBEROS 27 1.9 deraadt LDADD+= -lkrb -ldes 28 1.6 cgd DPADD+= ${LIBKRB} ${LIBDES} 29 1.6 cgd .endif 30 1.1 cgd 31 1.1 cgd .include <bsd.prog.mk> 32