NetBSD/libexec/ftpd/Makefile

40 lines
818 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 1997/11/11 05:48:03 mrg Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
1993-03-21 12:45:37 +03:00
# 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
SRCS= conf.c ftpd.c ftpcmd.c logwtmp.c popen.c
1997-10-12 17:08:41 +04:00
CPPFLAGS+=-DHASSETPROCTITLE -Dunix
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
1994-12-22 12:57:51 +03:00
MAN= ftpd.8
MLINKS+=ftpd.8 ftpd.conf.5
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
.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>