NetBSD/libexec/ftpd/Makefile

39 lines
794 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.29 1998/12/28 04:54:00 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
1993-03-21 12:45:37 +03:00
PROG= ftpd
SRCS= conf.c ftpd.c ftpcmd.y logwtmp.c popen.c util.c
CPPFLAGS+=-DHASSETPROCTITLE
1997-10-12 17:08:41 +04:00
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
1994-12-22 12:57:51 +03:00
MAN= ftpd.8
MLINKS+=ftpd.8 ftpd.conf.5
.PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
1993-10-07 05:16:39 +03:00
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
1997-10-12 17:08:41 +04:00
.ifdef SKEY
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
1997-10-12 17:09:11 +04:00
.endif
1997-10-12 17:08:41 +04:00
.ifdef KERBEROS5
SRCS+= k5login.c
CPPFLAGS+=-DKERBEROS5
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
LDADD+= -lkrb5 -lcrypto -lcom_err
.elifdef KERBEROS
1997-10-12 17:08:41 +04:00
SRCS+= klogin.c
CPPFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
.endif
.include <bsd.prog.mk>
# XXX Work-around a compiler bug for now... can't use -O
.if (${MACHINE_ARCH} == "powerpc")
COPTS+=-O0
.endif