1 # $NetBSD: Makefile,v 1.59 2008/09/16 12:23:28 lukem Exp $
2 # @(#)Makefile 8.2 (Berkeley) 4/4/94
7 SRCS
= cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
8 CPPFLAGS
+=-I
${.CURDIR
} -DSUPPORT_UTMP
-DSUPPORT_UTMPX
-DLOGIN_CAP
9 DPADD
+= ${LIBCRYPT} ${LIBUTIL}
10 LDADD
+= -lcrypt
-lutil
11 MAN
= ftpd.conf
.5 ftpusers
.5 ftpd
.8
12 MLINKS
= ftpusers
.5 ftpchroot
.5
14 .if defined
(NO_INTERNAL_LS
)
15 CPPFLAGS
+=-DNO_INTERNAL_LS
18 SRCS
+= ls.c cmp.c
print.c util.c
19 .PATH
: ${NETBSDSRCDIR}/bin
/ls
22 .if
(${USE_INET6} != "no")
26 .if
(${USE_PAM} != "no")
28 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
29 LDADD
+= -lpam
${PAM_STATIC_LDADD}
31 .if
(${USE_SKEY} != "no")
36 .
endif # USE_PAM == no
38 ftpd.o ftpcmd.o
: version.h
40 #.if (${USE_KERBEROS} != "no")
42 #.PATH: ${NETBSDSRCDIR}/usr.bin/login
45 #CPPFLAGS+=-DKERBEROS5
46 #CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
47 #DPADD+= ${LIBKRB5} ${LIBASN1}
48 #LDADD+= -lkrb5 -lasn1
50 #DPADD+= ${LIBCRYPTO} ${{LIBCRYPT} ${LIBROKEN} ${LIBCOM_ERR}
51 #LDADD+= -lcrypto -lcrypt -lroken -lcom_err
55 .
include <bsd.prog.mk
>