blob: bb991bd8dc8230bd3a79daec78a734dd03ed9f3c (
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
35
|
# $OpenBSD: Makefile,v 1.8 1997/02/06 23:49:10 rahnds Exp $
# $NetBSD: Makefile,v 1.13 1996/02/16 02:07:41 cgd Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
PROG= ftpd
.ifdef (${MACHINE} == "powerpc")
# bug in compiler causes ftpd.o to fail to compile with optimization.
CFLAGS= ${DEBUG}
.endif
CFLAGS+=-DHASSETPROCTITLE -Dunix
SRCS= ftpd.c ftpcmd.c logutmp.c logwtmp.c popen.c
MAN= ftpd.8
CLEANFILES+=ftpcmd.c y.tab.h
.PATH: ${.CURDIR}/../../usr.bin/ftp
#LDADD+= -lcrypt
#DPADD+= ${LIBCRYPT}
.include <bsd.own.mk>
.if defined(SKEY)
CFLAGS+=-DSKEY
LDADD+= -lskey
DPADD+= ${LIBSKEY}
.endif
.if defined(KERBEROS)
SRCS+= klogin.c
.PATH: ${.CURDIR}/../../usr.bin/login
CFLAGS+= -DKERBEROS
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBKRB}
.endif
.include <bsd.prog.mk>
|