freebsd-dev/libexec/ftpd/Makefile
2004-12-21 12:49:24 +00:00

36 lines
665 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=
WARNS?= 2
WFORMAT=0
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
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(NO_PAM)
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
.include <bsd.prog.mk>