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
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
1994-05-27 12:39:25 +00:00
|
|
|
PROG= ftpd
|
2003-01-26 19:02:56 +00:00
|
|
|
MAN= ftpd.8 ftpchroot.5
|
2001-07-09 17:46:24 +00:00
|
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
1994-09-30 21:19:58 +00:00
|
|
|
|
2002-06-28 10:36:14 +00:00
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
|
2000-12-01 09:39:28 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}
|
1998-05-04 18:20:18 +00:00
|
|
|
YFLAGS=
|
2004-07-31 15:07:33 +00:00
|
|
|
WARNS?= 2
|
2002-02-04 02:33:51 +00:00
|
|
|
WFORMAT=0
|
1994-09-30 21:19:58 +00:00
|
|
|
|
2015-08-24 16:26:20 +00:00
|
|
|
LIBADD= crypt xo util
|
2001-07-09 17:46:24 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2017-03-04 11:28:03 +00:00
|
|
|
.PATH: ${SRCTOP}/bin/ls
|
2002-10-24 00:07:30 +00:00
|
|
|
SRCS+= ls.c cmp.c print.c util.c
|
2017-03-04 11:28:03 +00:00
|
|
|
CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD+= m
|
1997-04-26 12:12:10 +00:00
|
|
|
|
2016-06-03 06:24:03 +00:00
|
|
|
.if ${MK_BLACKLIST_SUPPORT} != "no"
|
|
|
|
CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include
|
|
|
|
SRCS+= blacklist.c
|
|
|
|
LIBADD+= blacklist
|
|
|
|
LDFLAGS+=-L${LIBBLACKLISTDIR}
|
|
|
|
.endif
|
|
|
|
|
2006-06-05 15:50:34 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_PAM_SUPPORT} != "no"
|
2001-03-27 19:40:51 +00:00
|
|
|
CFLAGS+=-DUSE_PAM
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD+= pam
|
1996-08-05 00:21:15 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:39:25 +00:00
|
|
|
.include <bsd.prog.mk>
|