NetBSD/libexec/ftpd/Makefile

32 lines
809 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 1997/04/19 05:13:26 thorpej Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
1993-03-21 12:45:37 +03: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
# XXX Work-around a compiler bug for now... can't use -O
.if (${MACHINE_ARCH} == "powerpc")
CFLAGS=
.endif
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
.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
.if defined(KERBEROS)
SRCS+= klogin.c
CFLAGS+= -DKERBEROS
1994-06-29 05:49:37 +04:00
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>