NetBSD/gnu/usr.bin/cvs/cvs/Makefile

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2004/05/20 15:08:30 christos Exp $
.include "${.CURDIR}/../Makefile.inc"
PROG= cvs
DIST= ${IDIST}/src
.PATH: ${DIST} ${IDIST}/doc ${IDIST}/man
MAN= cvs.1 cvs.5
SRCS= add.c admin.c annotate.c buffer.c checkin.c checkout.c classify.c \
client.c commit.c create_adm.c cvsrc.c diff.c edit.c \
entries.c error.c expand_path.c fileattr.c filesubr.c \
find_names.c hardlink.c hash.c history.c ignore.c import.c \
lock.c log.c login.c logmsg.c main.c mkmodules.c modules.c \
myndbm.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c \
recurse.c release.c remove.c repos.c root.c run.c \
scramble.c server.c stack.c status.c subr.c tag.c update.c vers_ts.c \
version.c watch.c wrapper.c zlib.c
DPADD+= ${LIBDIFF} ${LIBCVS} ${LIBCRYPT} ${LIBZ}
LDADD+= ${LIBDIFF} ${LIBCVS} -lcrypt -lz
.if defined(USE_KERBEROS) && (${USE_KERBEROS} != "no")
.if defined(USE_KERBEROS4) && (${USE_KERBEROS4} != "no")
CPPFLAGS+= -DHAVE_KERBEROS -I${DESTDIR}/usr/include/kerberosIV
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
.endif
CPPFLAGS+= -DHAVE_GSSAPI -I${DESTDIR}/usr/include/krb5
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto
CPPFLAGS+= -DENCRYPTION
DPADD+= ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lcom_err -lroken -lcrypt
.endif
.include <bsd.prog.mk>