turns printfs back on
[freebsd-src/fkvm-freebsd.git] / libexec / ftpd / Makefile
blobe415407fb9e672760281ab7492b0f5c68e889f53
1 # @(#)Makefile 8.2 (Berkeley) 4/4/94
2 # $FreeBSD$
4 .include <bsd.own.mk>
6 PROG= ftpd
7 MAN= ftpd.8 ftpchroot.5
8 SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
10 CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
11 CFLAGS+=-I${.CURDIR}
12 YFLAGS=
13 WARNS?= 2
14 WFORMAT=0
16 DPADD= ${LIBUTIL} ${LIBCRYPT}
17 LDADD= -lutil -lcrypt
19 # XXX Kluge! Conversation mechanism needs to be fixed.
20 DPADD+= ${LIBOPIE} ${LIBMD}
21 LDADD+= -lopie -lmd
23 LSDIR= ../../bin/ls
24 .PATH: ${.CURDIR}/${LSDIR}
25 SRCS+= ls.c cmp.c print.c util.c
26 CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
27 DPADD+= ${LIBM}
28 LDADD+= -lm
30 .if ${MK_INET6_SUPPORT} != "no"
31 CFLAGS+=-DINET6
32 .endif
34 .if ${MK_PAM_SUPPORT} != "no"
35 CFLAGS+=-DUSE_PAM
36 DPADD+= ${LIBPAM}
37 LDADD+= ${MINUSLPAM}
38 .endif
40 .include <bsd.prog.mk>