Merge from vendor branch GROFF:
[dragonfly.git] / libexec / ftpd / Makefile
CommitLineData
984263bc
MD
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 $
b7a995b1 3# $DragonFly: src/libexec/ftpd/Makefile,v 1.3 2004/01/23 14:55:52 joerg Exp $
984263bc
MD
4
5PROG= ftpd
6MAN= ftpd.8 ftpchroot.5
7SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
8
9CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
10CFLAGS+=-DINET6
11YFLAGS=
12
13LDADD= -lskey -lmd -lcrypt -lutil
14DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
15
16LSDIR= ../../bin/ls
17.PATH: ${.CURDIR}/${LSDIR}
18SRCS+= ls.c cmp.c print.c util.c
b7a995b1 19CFLAGS+=-Dmain=ls_main -I${.CURDIR} -I${.CURDIR}/${LSDIR}
984263bc
MD
20
21DPADD+= ${LIBM}
22LDADD+= -lm
23
24.if defined(NOPAM)
25CFLAGS+=-DNOPAM
26.else
27DPADD+= ${LIBPAM}
28LDADD+= ${MINUSLPAM}
29.endif
30
31.include <bsd.prog.mk>