1997-03-31 02:53:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 1997/03/30 22:53:36 cjs Exp $
|
1995-04-11 06:44:45 +04:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-03-31 02:53:36 +04:00
|
|
|
# uncomment this to disallow group directory owners access to uploaded files
|
|
|
|
#CFLAGS+= -DGUEST_CMASK=0777
|
|
|
|
# uncomment this to enable umask, rm and other commands for anonymous users
|
|
|
|
#CFLAGS+= -DINSECURE_GUEST
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= ftpd
|
1996-02-16 05:07:41 +03:00
|
|
|
CFLAGS+=-DHASSETPROCTITLE -DSKEY -Dunix
|
1994-06-29 05:49:37 +04:00
|
|
|
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= ftpd.8
|
1993-03-21 12:45:37 +03:00
|
|
|
CLEANFILES+=ftpcmd.c y.tab.h
|
1994-03-30 06:49:15 +04:00
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
|
1993-10-07 05:16:39 +03:00
|
|
|
|
1994-05-24 10:52:17 +04:00
|
|
|
LDADD+= -lcrypt -lskey
|
|
|
|
DPADD+= ${LIBCRYPT} ${LIBSKEY}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1994-03-30 06:49:15 +04:00
|
|
|
.if defined(KERBEROS)
|
1994-07-25 22:48:40 +04:00
|
|
|
SRCS+= klogin.c
|
1994-03-30 06:49:15 +04:00
|
|
|
CFLAGS+= -DKERBEROS
|
1994-06-29 05:49:37 +04:00
|
|
|
LDADD+= -lkrb -ldes
|
1994-03-30 06:49:15 +04:00
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|