freebsd-dev/libexec/ftpd/Makefile

44 lines
799 B
Makefile
Raw Normal View History

1994-05-27 12:39:25 +00:00
# @(#)Makefile 8.2 (Berkeley) 4/4/94
1999-08-28 00:22:10 +00:00
# $FreeBSD$
1994-05-27 12:39:25 +00:00
.include <src.opts.mk>
CONFS= ftpusers
1994-05-27 12:39:25 +00:00
PROG= ftpd
MAN= ftpd.8 ftpchroot.5
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
1994-09-30 21:19:58 +00:00
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
CFLAGS+=-I${.CURDIR}
YFLAGS=
WARNS?= 2
WFORMAT=0
1994-09-30 21:19:58 +00:00
LIBADD= crypt xo util
# XXX Kluge! Conversation mechanism needs to be fixed.
2014-11-25 21:18:18 +00:00
LIBADD+= opie md
1994-09-30 21:19:58 +00:00
.PATH: ${SRCTOP}/bin/ls
SRCS+= ls.c cmp.c print.c util.c
CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
2014-11-25 21:18:18 +00:00
LIBADD+= m
.if ${MK_BLACKLIST_SUPPORT} != "no"
CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include
SRCS+= blacklist.c
LIBADD+= blacklist
LDFLAGS+=-L${LIBBLACKLISTDIR}
.endif
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+=-DUSE_PAM
2014-11-25 21:18:18 +00:00
LIBADD+= pam
.endif
1994-05-27 12:39:25 +00:00
.include <bsd.prog.mk>