Use a Makefile in etc/pam.d instead of the one in etc/.
[dragonfly.git] / libexec / ftpd / Makefile
bloba66e9f35e7022ab3f6bde30c9ad5b5305d190c0d
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 $
5 PROG= ftpd
6 MAN= ftpd.8 ftpchroot.5
7 SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
9 CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
10 CFLAGS+=-DINET6
11 YFLAGS=
13 LDADD= -lskey -lmd -lcrypt -lutil
14 DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
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}
21 DPADD+= ${LIBM}
22 LDADD+= -lm
24 .if defined(NOPAM)
25 CFLAGS+=-DNOPAM
26 .else
27 DPADD+= ${LIBPAM}
28 LDADD+= ${MINUSLPAM}
29 .endif
31 .include <bsd.prog.mk>