]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/lukemftpd/src/Makefile
This commit was generated by cvs2svn to compensate for changes in r147460,
[FreeBSD/FreeBSD.git] / contrib / lukemftpd / src / Makefile
1 #       $NetBSD: Makefile,v 1.51 2003-07-23 08:01:27 itojun Exp $
2 #       @(#)Makefile    8.2 (Berkeley) 4/4/94
3
4 .include <bsd.own.mk>
5
6 PROG=   ftpd
7 SRCS=   cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
8 CPPFLAGS+=-I${.CURDIR} -DSUPPORT_UTMP -DSUPPORT_UTMPX
9 DPADD+= ${LIBCRYPT} ${LIBUTIL}
10 LDADD+= -lcrypt -lutil
11 MAN=    ftpd.conf.5 ftpusers.5 ftpd.8
12 MLINKS= ftpusers.5 ftpchroot.5
13
14 # for `internal' ls
15 SRCS+=  ls.c cmp.c print.c stat_flags.c util.c
16 .PATH:  ${NETBSDSRCDIR}/bin/ls
17
18 CPPFLAGS+=-DINET6
19 .include <bsd.own.mk>
20
21 WARNS=2
22
23 .if (${USE_SKEY} != "no")
24 CPPFLAGS+=-DSKEY
25 DPADD+= ${LIBSKEY}
26 LDADD+= -lskey
27 .endif
28
29 ftpd.o ftpcmd.o: version.h
30
31 #.if (${USE_KERBEROS} != "no")
32 #
33 #.PATH: ${NETBSDSRCDIR}/usr.bin/login
34 #
35 #SRCS+= k5login.c
36 #CPPFLAGS+=-DKERBEROS5
37 #CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
38 #DPADD+=        ${LIBKRB5} ${LIBASN1}
39 #LDADD+= -lkrb5 -lasn1
40 #
41 #SRCS+= klogin.c
42 #CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
43 #DPADD+=        ${LIBKRB}
44 #LDADD+= -lkrb
45 #
46 #DPADD+=        ${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
47 #LDADD+=        -lcrypto -lroken -lcom_err
48 #
49 #.endif
50
51 .include <bsd.prog.mk>