1994-05-27 12:39:25 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:39:25 +00:00
|
|
|
|
|
|
|
PROG= ftpd
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= ftpd.8
|
2001-07-09 17:46:24 +00:00
|
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
1994-09-30 21:19:58 +00:00
|
|
|
|
2001-07-09 17:46:24 +00:00
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
|
2000-02-03 10:01:11 +00:00
|
|
|
CFLAGS+=-DINET6
|
2000-12-01 09:39:28 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}
|
1998-05-04 18:20:18 +00:00
|
|
|
YFLAGS=
|
1994-09-30 21:19:58 +00:00
|
|
|
|
2001-07-09 17:46:24 +00:00
|
|
|
DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
2001-12-29 12:06:59 +00:00
|
|
|
LDADD= -lmd -lcrypt -lutil
|
2001-07-09 17:46:24 +00:00
|
|
|
|
|
|
|
# XXX Kluge! Conversation mechanism needs to be fixed.
|
|
|
|
DPADD+= ${LIBOPIE}
|
2001-12-29 12:06:59 +00:00
|
|
|
LDADD+= -lopie
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1997-04-26 12:12:10 +00:00
|
|
|
LSDIR= ../../bin/ls
|
2000-06-17 14:19:33 +00:00
|
|
|
.PATH: ${.CURDIR}/${LSDIR}
|
2001-11-27 06:15:12 +00:00
|
|
|
SRCS+= ls.c cmp.c print.c util.c lomac.c
|
2000-03-13 11:20:09 +00:00
|
|
|
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
|
2001-12-29 12:06:59 +00:00
|
|
|
DPADD+= ${LIBM}
|
2001-12-29 10:22:13 +00:00
|
|
|
LDADD+= -lm
|
1997-04-26 12:12:10 +00:00
|
|
|
|
2001-03-27 19:40:51 +00:00
|
|
|
.if !defined(NOPAM)
|
|
|
|
CFLAGS+=-DUSE_PAM
|
1999-09-19 22:05:32 +00:00
|
|
|
DPADD+= ${LIBPAM}
|
|
|
|
LDADD+= ${MINUSLPAM}
|
1996-08-05 00:21:15 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:39:25 +00:00
|
|
|
.include <bsd.prog.mk>
|