1 # $NetBSD: Makefile,v 1.63 2011/08/14 11:46:28 christos 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
9 WARNS
= # BJG too many warnings with clang right now
10 CPPFLAGS
+=-I
${.CURDIR
}
12 CPPFLAGS
+=-I
${.CURDIR
} -DSUPPORT_UTMP
-DSUPPORT_UTMPX
-DLOGIN_CAP
14 DPADD
+= ${LIBCRYPT} ${LIBUTIL}
15 LDADD
+= -lcrypt
-lutil
16 MAN
= ftpd.conf
.5 ftpusers
.5 ftpd
.8
17 MLINKS
= ftpusers
.5 ftpchroot
.5
19 .if defined
(NO_INTERNAL_LS
)
20 CPPFLAGS
+=-DNO_INTERNAL_LS
23 SRCS
+= ls.c cmp.c
print.c util.c
24 .PATH
: ${NETBSDSRCDIR}/bin
/ls
27 .if
(${USE_INET6} != "no")
31 .if
(${USE_PAM} != "no")
33 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
34 LDADD
+= -lpam
${PAM_STATIC_LDADD}
36 .if
(${USE_SKEY} != "no")
41 .
endif # USE_PAM == no
43 ftpd.o ftpcmd.o
: version.h
45 #.if (${USE_KERBEROS} != "no")
47 #.PATH: ${NETBSDSRCDIR}/usr.bin/login
50 #CPPFLAGS+=-DKERBEROS5
51 #DPADD+= ${LIBKRB5} ${LIBASN1}
52 #LDADD+= -lkrb5 -lasn1
54 #DPADD+= ${LIBCRYPTO} ${{LIBCRYPT} ${LIBROKEN} ${LIBCOM_ERR}
55 #LDADD+= -lcrypto -lcrypt -lroken -lcom_err
59 .
include <bsd.prog.mk
>