In 2018, the commit r328100 (0fdf7fa846
)
removed libxo(3) support from ls(1), so ftpd has no reasons to link
with libxo since then.
ls(1) does not depend on libxo in both of stable/12 and stable/13.
MFC after: 2 weeks
46 lines
811 B
Makefile
46 lines
811 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= ftpd
|
|
|
|
CONFS= ftpusers
|
|
PROG= ftpd
|
|
MAN= ftpd.8 ftpchroot.5
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
|
|
CFLAGS+=-I${.CURDIR}
|
|
YFLAGS=
|
|
WARNS?= 2
|
|
WFORMAT=0
|
|
|
|
LIBADD= crypt util
|
|
|
|
# XXX Kluge! Conversation mechanism needs to be fixed.
|
|
LIBADD+= opie md
|
|
|
|
.PATH: ${SRCTOP}/bin/ls
|
|
SRCS+= ls.c cmp.c print.c util.c
|
|
CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
|
|
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
|
|
LIBADD+= pam
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|