freebsd-skq/libexec/ftpd/Makefile

41 lines
737 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 <bsd.own.mk>
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
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
1994-09-30 21:19:58 +00:00
LSDIR= ../../bin/ls
.PATH: ${.CURDIR}/${LSDIR}
SRCS+= ls.c cmp.c print.c util.c
2000-03-13 11:20:09 +00:00
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+= ${LIBM}
LDADD+= -lm
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
1994-05-27 12:39:25 +00:00
.include <bsd.prog.mk>