agp: Remove support for Broadwell hardware
[dragonfly.git] / libexec / ftpd / Makefile
blob92954df9201bc25ea3b40ea328efa9e46b024655
1 # @(#)Makefile 8.2 (Berkeley) 4/4/94
2 # $FreeBSD: src/libexec/ftpd/Makefile,v 1.57 2006/06/05 15:50:34 yar Exp $
3 # $DragonFly: src/libexec/ftpd/Makefile,v 1.3 2004/01/23 14:55:52 joerg Exp $
5 PROG= ftpd
6 MAN= ftpd.8 ftpchroot.5
7 SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
9 CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
10 CFLAGS+=-I${.CURDIR}
11 YFLAGS=
12 WARNS?= 2
13 WFORMAT=0
15 DPADD= ${LIBUTIL} ${LIBCRYPT}
16 LDADD= -lutil -lcrypt
18 DPADD+= ${LIBOPIE} ${LIBMD}
19 LDADD+= -lopie -lmd
21 LSDIR= ../../bin/ls
22 .PATH: ${.CURDIR}/${LSDIR}
23 SRCS+= ls.c cmp.c print.c util.c
24 CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
25 DPADD+= ${LIBM}
26 LDADD+= -lm
28 .PATH: ${.CURDIR}/../../usr.sbin/nscd
29 SRCS+= pidfile.c
30 CFLAGS+=-I${.CURDIR}/../../usr.sbin/nscd
32 .if !defined(NO_INET6)
33 CFLAGS+=-DINET6
34 .endif
36 .if !defined(NO_PAM)
37 CFLAGS+=-DUSE_PAM
38 DPADD+= ${LIBPAM}
39 LDADD+= ${MINUSLPAM}
40 .endif
42 .include <bsd.prog.mk>