Makefile revision 1.11
1#	$OpenBSD: Makefile,v 1.11 1997/06/01 06:40:34 downsj Exp $
2#	$NetBSD: Makefile,v 1.13 1996/02/16 02:07:41 cgd Exp $
3#	@(#)Makefile	8.2 (Berkeley) 4/4/94
4
5PROG=	ftpd
6.ifdef (${MACHINE} == "powerpc")
7# bug in compiler causes ftpd.o to fail to compile with optimization.
8CFLAGS= ${DEBUG}
9.endif
10CFLAGS+=-DHASSETPROCTITLE -Dunix
11SRCS=	ftpd.c ftpcmd.c logutmp.c logwtmp.c popen.c
12MAN=	ftpd.8
13CLEANFILES+=ftpcmd.c y.tab.h
14.PATH:	${.CURDIR}/../../usr.bin/ftp
15
16.include <bsd.own.mk>
17
18.if (${SKEY} == "yes")
19CFLAGS+=-DSKEY
20LDADD+= -lskey
21DPADD+= ${LIBSKEY}
22.endif
23
24.if (${KERBEROS} == "yes")
25SRCS+= klogin.c
26.PATH:	${.CURDIR}/../../usr.bin/login
27CFLAGS+= -DKERBEROS
28LDADD+= -lkrb -ldes
29DPADD+= ${LIBKRB} ${LIBKRB}
30.endif
31
32.if (${TCP_WRAPPERS} == "yes")
33CFLAGS+=-DTCPWRAPPERS
34LDADD+=	-lwrap
35DPADD+=	${LIBWRAP}
36.endif
37
38.include <bsd.prog.mk>
39