summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
blob: 7b3a89de53ec0a8f9fa875ab8369bf802dd1f396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#	@(#)Makefile	8.2 (Berkeley) 4/4/94
# $FreeBSD$

PROG=	ftpd
MAN=	ftpd.8
SRCS=	ftpd.c ftpcmd.y logwtmp.c popen.c

CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
CFLAGS+=-DINET6
CFLAGS+=-I${.CURDIR}
YFLAGS=
WFORMAT=0

DPADD=	${LIBMD} ${LIBCRYPT} ${LIBUTIL}
LDADD=	-lmd -lcrypt -lutil

# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+=	${LIBOPIE}
LDADD+=	-lopie

LSDIR=	../../bin/ls
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c util.c lomac.c
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+=	${LIBM}
LDADD+=	-lm

.if !defined(NOPAM)
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud