Reduce white space diffs between FreeBSD.
[dragonfly.git] / libexec / ftpd / Makefile
1 #       @(#)Makefile    8.2 (Berkeley) 4/4/94
2 # $FreeBSD: src/libexec/ftpd/Makefile,v 1.33.2.6 2003/02/11 14:28:28 yar Exp $
3 # $DragonFly: src/libexec/ftpd/Makefile,v 1.3 2004/01/23 14:55:52 joerg Exp $
4
5 PROG=   ftpd
6 MAN=    ftpd.8 ftpchroot.5
7 SRCS=   ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
8
9 CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
10 CFLAGS+=-DINET6
11 YFLAGS=
12
13 LDADD=  -lskey -lmd -lcrypt -lutil
14 DPADD=  ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
15
16 LSDIR=  ../../bin/ls
17 .PATH:  ${.CURDIR}/${LSDIR}
18 SRCS+=  ls.c cmp.c print.c util.c
19 CFLAGS+=-Dmain=ls_main -I${.CURDIR} -I${.CURDIR}/${LSDIR}
20
21 DPADD+= ${LIBM}
22 LDADD+= -lm
23
24 .if defined(NOPAM)
25 CFLAGS+=-DNOPAM
26 .else
27 DPADD+= ${LIBPAM}
28 LDADD+= ${MINUSLPAM}
29 .endif
30
31 .include <bsd.prog.mk>