netbsd/external/gpl2/xcvs/Makefile.inc
2013-04-06 16:48:33 +02:00

27 lines
686 B
Makefile

# $NetBSD: Makefile.inc,v 1.3 2012/09/23 17:22:25 joerg Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network client/server
WARNS?= 0
CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-parentheses \
-Wno-format-security -Wno-format \
-Wno-tautological-constant-out-of-range-compare
BINDIR?= /usr/bin
IDIST= ${NETBSDSRCDIR}/external/gpl2/xcvs/dist
.if !defined(SUBDIR)
CPPFLAGS+= -DSETXID_SUPPORT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../include -I${IDIST}/lib \
-I${IDIST}/diff -I${IDIST}/src
DOBJDIR!=cd $(.CURDIR)/../../lib/libdiff && ${PRINTOBJDIR}
COBJDIR!=cd $(.CURDIR)/../../lib/libcvs && ${PRINTOBJDIR}
LIBDIFF= ${DOBJDIR}/libdiff.a
LIBCVS= ${COBJDIR}/libcvs.a
.endif