25 lines
570 B
Makefile
25 lines
570 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
# $Id: Makefile,v 1.19 1997/02/22 14:21:26 peter Exp $
|
|
|
|
PROG= ftpd
|
|
MAN8= ftpd.8
|
|
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -Wall
|
|
|
|
LDADD= -lskey -lmd -lcrypt -lutil
|
|
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
CLEANFILES+=ftpcmd.c y.tab.h
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
|
|
.PATH: ${.CURDIR}/../../usr.bin/login
|
|
SRCS+= klogin.c
|
|
LDADD+= -lkrb -ldes
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
CFLAGS+=-DKERBEROS
|
|
DISTRIBUTION= krb
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|