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
|
1994-09-30 21:19:58 +00:00
|
|
|
MAN8= ftpd.8
|
1998-05-04 18:20:18 +00:00
|
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1997-10-05 09:40:24 +00:00
|
|
|
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \
|
|
|
|
-I${.CURDIR}/../../contrib-crypto/telnet
|
2000-01-27 09:28:38 +00:00
|
|
|
CFLAGS+=-DINET6 -g
|
1998-05-04 18:20:18 +00:00
|
|
|
YFLAGS=
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1996-01-01 08:35:11 +00:00
|
|
|
LDADD= -lskey -lmd -lcrypt -lutil
|
|
|
|
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
1994-09-30 21:19:58 +00:00
|
|
|
|
1997-04-26 12:12:10 +00:00
|
|
|
LSDIR= ../../bin/ls
|
|
|
|
.PATH: ${.CURDIR}/${LSDIR}
|
1999-12-30 13:15:15 +00:00
|
|
|
SRCS+= ls.c cmp.c print.c util.c
|
1997-04-26 12:12:10 +00:00
|
|
|
CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR}
|
|
|
|
|
1999-09-19 22:05:32 +00:00
|
|
|
.if defined(NOPAM)
|
|
|
|
CFLAGS+=-DNOPAM
|
|
|
|
.else
|
|
|
|
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>
|