1994-05-27 12:39:25 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
1997-04-23 04:56:39 +00:00
|
|
|
# $Id: Makefile,v 1.19 1997/02/22 14:21:26 peter Exp $
|
1994-05-27 12:39:25 +00:00
|
|
|
|
|
|
|
PROG= ftpd
|
1994-09-30 21:19:58 +00:00
|
|
|
MAN8= ftpd.8
|
1996-06-02 17:10:13 +00:00
|
|
|
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1997-04-23 04:56:39 +00:00
|
|
|
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -Wall
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1996-01-01 08:35:11 +00:00
|
|
|
LDADD= -lskey -lmd -lcrypt -lutil
|
|
|
|
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1996-06-02 17:10:13 +00:00
|
|
|
CLEANFILES+=ftpcmd.c y.tab.h
|
1994-05-27 12:39:25 +00:00
|
|
|
|
1996-08-09 09:02:31 +00:00
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
|
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/login
|
1996-08-05 00:21:15 +00:00
|
|
|
SRCS+= klogin.c
|
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
CFLAGS+=-DKERBEROS
|
1996-08-09 09:02:31 +00:00
|
|
|
DISTRIBUTION= krb
|
1996-08-05 00:21:15 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:39:25 +00:00
|
|
|
.include <bsd.prog.mk>
|