2000-11-30 05:59:11 +03:00
|
|
|
# $NetBSD: Makefile,v 1.44 2000/11/30 02:59:11 lukem Exp $
|
1995-04-11 06:44:45 +04:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= ftpd
|
2000-06-14 17:44:21 +04:00
|
|
|
SRCS= cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
|
2000-11-30 05:59:11 +03:00
|
|
|
CPPFLAGS+=-I${.CURDIR}
|
1999-12-07 08:30:53 +03:00
|
|
|
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
LDADD+= -lcrypt -lutil
|
1999-12-16 04:16:04 +03:00
|
|
|
MAN= ftpd.conf.5 ftpusers.5 ftpd.8
|
1999-12-16 10:05:18 +03:00
|
|
|
MLINKS= ftpusers.5 ftpchroot.5
|
1999-05-17 19:14:53 +04:00
|
|
|
|
|
|
|
# for `internal' ls
|
|
|
|
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
|
|
|
|
.PATH: ${.CURDIR}/../../bin/ls
|
1993-10-07 05:16:39 +03:00
|
|
|
|
1999-07-02 09:52:14 +04:00
|
|
|
CPPFLAGS+=-DINET6
|
1997-10-12 18:06:21 +04: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
|
|
|
|
2000-03-05 09:12:19 +03:00
|
|
|
ftpd.o ftpcmd.o: version.h
|
1999-12-18 08:51:34 +03:00
|
|
|
|
2000-06-20 10:00:24 +04:00
|
|
|
# XXX Kerberos support is broken right now.
|
|
|
|
#.PATH: ${.CURDIR}/../../usr.bin/login
|
|
|
|
|
|
|
|
#.ifdef KERBEROS5
|
|
|
|
#SRCS+= k5login.c
|
|
|
|
#CPPFLAGS+=-DKERBEROS5
|
|
|
|
#DPADD+= ${LIBKRB5} ${LIBK5CRYPTO} ${LIBCOM_ERR}
|
|
|
|
#LDADD+= -lkrb5 -lk5crypto -lcom_err
|
|
|
|
#.else
|
|
|
|
#SRCS+= klogin.c
|
|
|
|
#CPPFLAGS+=-DKERBEROS
|
|
|
|
#DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
|
|
|
|
#LDADD+= -lkrb -kdes -lcom_err
|
|
|
|
#.endif
|
1999-07-13 02:04:09 +04:00
|
|
|
|
1997-10-12 18:06:21 +04:00
|
|
|
.include <bsd.prog.mk>
|