1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/libexec/ftpd/Makefile

32 lines
815 B
Makefile
Raw Normal View History

1994-05-27 12:39:25 +00:00
# @(#)Makefile 8.2 (Berkeley) 4/4/94
# $Id: Makefile,v 1.24 1998/05/04 18:20:18 bde Exp $
1994-05-27 12:39:25 +00:00
PROG= ftpd
1994-09-30 21:19:58 +00:00
MAN8= ftpd.8
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
1994-09-30 21:19:58 +00:00
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \
-I${.CURDIR}/../../contrib-crypto/telnet
YFLAGS=
1994-09-30 21:19:58 +00:00
LDADD= -lskey -lmd -lcrypt -lutil
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
1994-09-30 21:19:58 +00:00
.ifdef FTPD_INTERNAL_LS
LSDIR= ../../bin/ls
.PATH: ${.CURDIR}/${LSDIR}
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR}
.endif
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
.PATH: ${.CURDIR}/../../lib/libpam/modules/pam_kerberosIV
SRCS+= klogin.c
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
CFLAGS+=-DKERBEROS
DISTRIBUTION= krb
.endif
1994-05-27 12:39:25 +00:00
.include <bsd.prog.mk>