mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-08 06:39:21 -04:00
27 lines
686 B
Makefile
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
|