freebsd-skq/libexec/ftpd/Makefile
yar 411365f15d Extend the format of /etc/ftpchroot so an alternative chroot
directory can be specified for a user or a group.

Add the manpage ftpchroot(5) since the file's format has grown
complex enough.

PR:			bin/45327
Portions submitted by:	Hideki SAKAMOTO <sakamoto@hlla.is.tsukuba.ac.jp>
MFC after:		1 week
2003-01-26 19:02:56 +00:00

35 lines
654 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 4/4/94
# $FreeBSD$
PROG= ftpd
MAN= ftpd.8 ftpchroot.5
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
CFLAGS+=-DINET6
CFLAGS+=-I${.CURDIR}
YFLAGS=
WFORMAT=0
DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
LDADD= -lmd -lcrypt -lutil
# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+= ${LIBOPIE}
LDADD+= -lopie
LSDIR= ../../bin/ls
.PATH: ${.CURDIR}/${LSDIR}
SRCS+= ls.c cmp.c print.c util.c
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+= ${LIBM}
LDADD+= -lm
.if !defined(NOPAM)
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
.include <bsd.prog.mk>