NetBSD/libexec/ftpd/Makefile

58 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.55 2005/03/09 03:11:21 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
PROG= ftpd
SRCS= cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
CPPFLAGS+=-I${.CURDIR} -DSUPPORT_UTMP -DSUPPORT_UTMPX -DLOGIN_CAP
DPADD+= ${LIBCRYPT} ${LIBUTIL}
LDADD+= -lcrypt -lutil
MAN= ftpd.conf.5 ftpusers.5 ftpd.8
MLINKS= ftpusers.5 ftpchroot.5
# for `internal' ls
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
.PATH: ${NETBSDSRCDIR}/bin/ls
1993-10-07 05:16:39 +03:00
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
1993-03-21 12:45:37 +03:00
WARNS=2
.if (${USE_SKEY} != "no")
1997-10-12 17:08:41 +04:00
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
1997-10-12 17:09:11 +04:00
.endif
.if (${USE_PAM} != "no")
CPPFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
LDADD+= -lpam ${PAM_STATIC_LDADD}
.endif
1997-10-12 17:08:41 +04:00
ftpd.o ftpcmd.o: version.h
#.if (${USE_KERBEROS} != "no")
#
#.PATH: ${NETBSDSRCDIR}/usr.bin/login
#
#SRCS+= k5login.c
#CPPFLAGS+=-DKERBEROS5
#CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
#DPADD+= ${LIBKRB5} ${LIBASN1}
#LDADD+= -lkrb5 -lasn1
#
#SRCS+= klogin.c
#CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
#DPADD+= ${LIBKRB}
#LDADD+= -lkrb
#
#DPADD+= ${LIBCRYPTO} ${{LIBCRYPT} ${LIBROKEN} ${LIBCOM_ERR}
#LDADD+= -lcrypto -lcrypt -lroken -lcom_err
#
#.endif
1999-07-13 02:04:09 +04:00
.include <bsd.prog.mk>