head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.16
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.14
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.5
	netbsd-10-0-RC6:1.5
	netbsd-10-0-RC5:1.5
	netbsd-10-0-RC4:1.5
	netbsd-10-0-RC3:1.5
	netbsd-10-0-RC2:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.12
	netbsd-10-base:1.5
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.10
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.8
	cjep_staticlib_x-base:1.5
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.6
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.4
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	pgoyette-compat-merge-20190127:1.4.14.1
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.3.8.1
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.5.0.2
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.4.0.14
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.3
	matt-nb8-mediatek:1.4.0.12
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.10
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.8
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.6
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.3.0.14
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.4.0.4
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.3
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.3
	localcount-20160914:1.4
	netbsd-7-nhusb:1.3.0.12
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.2
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.3
	netbsd-7-0:1.3.0.10
	netbsd-7-0-RELEASE:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.3.0.8
	netbsd-7-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.2.4.1
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.3.0.6
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.2
	riastradh-drm2-base:1.3
	netbsd-6-1:1.2.0.14
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.3.0.4
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.2.0.12
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.10
	tls-maxphys-base:1.3
	matt-nb6-plus:1.2.0.8
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.6
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.2
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.1
	bouyer-quota2:1.1.0.4
	bouyer-quota2-base:1.1
	matt-mips64-premerge-20101231:1.1
	matt-premerge-20091211:1.1
	jym-xensuspend-base:1.1
	jym-xensuspend:1.1.0.2
	jym-xensuspend-nbase:1.1;
locks; strict;
comment	@# @;


1.5
date	2018.06.25.18.03.56;	author kamil;	state Exp;
branches;
next	1.4;
commitid	3SjAU2WclehePGHA;

1.4
date	2016.01.30.16.47.00;	author christos;	state Exp;
branches
	1.4.14.1;
next	1.3;
commitid	oNI3TuR4yhBQAYSy;

1.3
date	2012.09.23.17.22.25;	author joerg;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	2011.05.26.12.56.27;	author joerg;	state Exp;
branches
	1.2.4.1
	1.2.6.1
	1.2.10.1;
next	1.1;

1.1
date	2009.04.08.16.27.51;	author christos;	state Exp;
branches
	1.1.2.1;
next	;

1.4.14.1
date	2018.07.28.04.37.15;	author pgoyette;	state Exp;
branches;
next	;
commitid	1UP1xAIUxv1ZgRLA;

1.3.8.1
date	2017.05.13.06.23.22;	author snj;	state Exp;
branches;
next	;
commitid	ff4Gjc8kVQqe3cRz;

1.2.4.1
date	2012.10.30.18.56.38;	author yamt;	state Exp;
branches;
next	;

1.2.6.1
date	2013.06.03.02.45.23;	author riz;	state Exp;
branches;
next	;
commitid	xXveLl928Qjc97Sw;

1.2.10.1
date	2012.11.20.02.58.12;	author tls;	state Exp;
branches;
next	;

1.1.2.1
date	2009.04.08.16.27.51;	author jym;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2009.05.13.18.52.48;	author jym;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Specify SANITIZER_RENAME_SYMBOL in cvs

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
@
text
@#	$NetBSD: Makefile.inc,v 1.4 2016/01/30 16:47:00 christos 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:=	${.PARSEDIR}/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

SANITIZER_RENAME_SYMBOL+=	regcomp regerror regexec regfree
@


1.4
log
@Use .PARSEDIR to set the TOP. It makes things more portable since they
can work outside the tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2012/09/23 17:22:25 joerg Exp $
d27 2
@


1.4.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2018/06/25 18:03:56 kamil Exp $
a26 2

SANITIZER_RENAME_SYMBOL+=	regcomp regerror regexec regfree
@


1.3
log
@Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 2011/05/26 12:56:27 joerg Exp $
d14 1
a14 1
IDIST=	${NETBSDSRCDIR}/external/gpl2/xcvs/dist
@


1.3.8.1
log
@Pull up following revision(s) (requested by christos in ticket #1407):
	external/gpl2/xcvs/Makefile.inc: up to 1.4
	external/gpl2/xcvs/bin/xcvs/Makefile: up to 1.5
	external/gpl2/xcvs/dist/build-aux/config.guess: up to 1.4
	external/gpl2/xcvs/dist/build-aux/config.sub: up to 1.4
	external/gpl2/xcvs/dist/doc/cvs.1: up to 1.4
	external/gpl2/xcvs/dist/doc/cvs.texinfo: up to 1.3
	external/gpl2/xcvs/dist/lib/__fpending.c: up to 1.2
	external/gpl2/xcvs/dist/lib/alloca.c: up to 1.2
	external/gpl2/xcvs/dist/lib/allocsa.c: up to 1.2
	external/gpl2/xcvs/dist/lib/asnprintf.c: up to 1.2
	external/gpl2/xcvs/dist/lib/asprintf.c: up to 1.2
	external/gpl2/xcvs/dist/lib/atexit.c: up to 1.2
	external/gpl2/xcvs/dist/lib/basename.c: up to 1.2
	external/gpl2/xcvs/dist/lib/canon-host.c: up to 1.2
	external/gpl2/xcvs/dist/lib/canonicalize.c: up to 1.2
	external/gpl2/xcvs/dist/lib/chdir-long.c: up to 1.2
	external/gpl2/xcvs/dist/lib/closeout.c: up to 1.2
	external/gpl2/xcvs/dist/lib/cycle-check.c: up to 1.2
	external/gpl2/xcvs/dist/lib/dirname.c: up to 1.2
	external/gpl2/xcvs/dist/lib/dup-safer.c: up to 1.2
	external/gpl2/xcvs/dist/lib/dup2.c: up to 1.2
	external/gpl2/xcvs/dist/lib/error.c: up to 1.2
	external/gpl2/xcvs/dist/lib/exitfail.c: up to 1.2
	external/gpl2/xcvs/dist/lib/fd-safer.c: up to 1.2
	external/gpl2/xcvs/dist/lib/filenamecat.c: up to 1.2
	external/gpl2/xcvs/dist/lib/fncase.c: up to 1.2
	external/gpl2/xcvs/dist/lib/fnmatch.c: up to 1.2
	external/gpl2/xcvs/dist/lib/fnmatch_loop.c: up to 1.2
	external/gpl2/xcvs/dist/lib/fseeko.c: up to 1.2
	external/gpl2/xcvs/dist/lib/ftello.c: up to 1.2
	external/gpl2/xcvs/dist/lib/ftruncate.c: up to 1.2
	external/gpl2/xcvs/dist/lib/gai_strerror.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getaddrinfo.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getcwd.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getdate.c: up to 1.3
	external/gpl2/xcvs/dist/lib/getdelim.c: up to 1.2
	external/gpl2/xcvs/dist/lib/gethostname.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getline.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getlogin_r.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getndelim2.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getnline.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getopt.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getopt1.c: up to 1.2
	external/gpl2/xcvs/dist/lib/getpass.c: up to 1.2
	external/gpl2/xcvs/dist/lib/gettime.c: up to 1.2
	external/gpl2/xcvs/dist/lib/gettimeofday.c: up to 1.2
	external/gpl2/xcvs/dist/lib/glob.c: up to 1.2
	external/gpl2/xcvs/dist/lib/lstat.c: up to 1.2
	external/gpl2/xcvs/dist/lib/malloc.c: up to 1.2
	external/gpl2/xcvs/dist/lib/mbchar.c: up to 1.2
	external/gpl2/xcvs/dist/lib/md5.c: up to 1.2
	external/gpl2/xcvs/dist/lib/memchr.c: up to 1.2
	external/gpl2/xcvs/dist/lib/memmove.c: up to 1.2
	external/gpl2/xcvs/dist/lib/mempcpy.c: up to 1.2
	external/gpl2/xcvs/dist/lib/memrchr.c: up to 1.2
	external/gpl2/xcvs/dist/lib/mkdir.c: up to 1.2
	external/gpl2/xcvs/dist/lib/mkstemp.c: up to 1.2
	external/gpl2/xcvs/dist/lib/mktime.c: up to 1.2
	external/gpl2/xcvs/dist/lib/nanosleep.c: up to 1.2
	external/gpl2/xcvs/dist/lib/openat.c: up to 1.2
	external/gpl2/xcvs/dist/lib/pagealign_alloc.c: up to 1.2
	external/gpl2/xcvs/dist/lib/pipe-safer.c: up to 1.2
	external/gpl2/xcvs/dist/lib/printf-args.c: up to 1.2
	external/gpl2/xcvs/dist/lib/printf-parse.c: up to 1.2
	external/gpl2/xcvs/dist/lib/progname.c: up to 1.2
	external/gpl2/xcvs/dist/lib/quotearg.c: up to 1.3
	external/gpl2/xcvs/dist/lib/readlink.c: up to 1.2
	external/gpl2/xcvs/dist/lib/realloc.c: up to 1.2
	external/gpl2/xcvs/dist/lib/regcomp.c: up to 1.2
	external/gpl2/xcvs/dist/lib/regex.c: up to 1.2
	external/gpl2/xcvs/dist/lib/regex_internal.c: up to 1.2
	external/gpl2/xcvs/dist/lib/regexec.c: up to 1.3
	external/gpl2/xcvs/dist/lib/rename.c: up to 1.2
	external/gpl2/xcvs/dist/lib/rpmatch.c: up to 1.2
	external/gpl2/xcvs/dist/lib/save-cwd.c: up to 1.2
	external/gpl2/xcvs/dist/lib/setenv.c: up to 1.2
	external/gpl2/xcvs/dist/lib/sighandle.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strcasecmp.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strdup.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strerror.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strftime.c: up to 1.2
	external/gpl2/xcvs/dist/lib/stripslash.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strncasecmp.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strnlen1.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strstr.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strtol.c: up to 1.2
	external/gpl2/xcvs/dist/lib/strtoul.c: up to 1.2
	external/gpl2/xcvs/dist/lib/sunos57-select.c: up to 1.2
	external/gpl2/xcvs/dist/lib/tempname.c: up to 1.2
	external/gpl2/xcvs/dist/lib/time_r.c: up to 1.2
	external/gpl2/xcvs/dist/lib/unsetenv.c: up to 1.2
	external/gpl2/xcvs/dist/lib/vasnprintf.c: up to 1.4
	external/gpl2/xcvs/dist/lib/vasprintf.c: up to 1.2
	external/gpl2/xcvs/dist/lib/waitpid.c: up to 1.2
	external/gpl2/xcvs/dist/lib/xalloc-die.c: up to 1.2
	external/gpl2/xcvs/dist/lib/xgetcwd.c: up to 1.2
	external/gpl2/xcvs/dist/lib/xgethostname.c: up to 1.2
	external/gpl2/xcvs/dist/lib/xmalloc.c: up to 1.2
	external/gpl2/xcvs/dist/lib/xreadlink.c: up to 1.2
	external/gpl2/xcvs/dist/lib/yesno.c: up to 1.2
	external/gpl2/xcvs/dist/src/acl.c: up to 1.6
	external/gpl2/xcvs/dist/src/add.c: up to 1.4
	external/gpl2/xcvs/dist/src/admin.c: up to 1.6
	external/gpl2/xcvs/dist/src/annotate.c: up to 1.4
	external/gpl2/xcvs/dist/src/buffer.c: up to 1.2
	external/gpl2/xcvs/dist/src/checkin.c: up to 1.2
	external/gpl2/xcvs/dist/src/checkout.c: up to 1.4
	external/gpl2/xcvs/dist/src/classify.c: up to 1.2
	external/gpl2/xcvs/dist/src/client.c: up to 1.5
	external/gpl2/xcvs/dist/src/commit.c: up to 1.5
	external/gpl2/xcvs/dist/src/create_adm.c: up to 1.2
	external/gpl2/xcvs/dist/src/cvsrc.c: up to 1.2
	external/gpl2/xcvs/dist/src/diff.c: up to 1.4
	external/gpl2/xcvs/dist/src/edit.c: up to 1.3
	external/gpl2/xcvs/dist/src/entries.c: up to 1.3
	external/gpl2/xcvs/dist/src/error.c: up to 1.3
	external/gpl2/xcvs/dist/src/exithandle.c: up to 1.4
	external/gpl2/xcvs/dist/src/expand_path.c: up to 1.2
	external/gpl2/xcvs/dist/src/fileattr.c: up to 1.2
	external/gpl2/xcvs/dist/src/filesubr.c: up to 1.5
	external/gpl2/xcvs/dist/src/find_names.c: up to 1.3
	external/gpl2/xcvs/dist/src/gssapi-client.c: up to 1.3
	external/gpl2/xcvs/dist/src/hardlink.c: up to 1.2
	external/gpl2/xcvs/dist/src/hash.c: up to 1.2
	external/gpl2/xcvs/dist/src/history.c: up to 1.4
	external/gpl2/xcvs/dist/src/ignore.c: up to 1.3
	external/gpl2/xcvs/dist/src/import.c: up to 1.7
	external/gpl2/xcvs/dist/src/kerberos4-client.c: up to 1.2
	external/gpl2/xcvs/dist/src/lock.c: up to 1.5
	external/gpl2/xcvs/dist/src/log-buffer.c: up to 1.2
	external/gpl2/xcvs/dist/src/log.c: up to 1.4
	external/gpl2/xcvs/dist/src/login.c: up to 1.3
	external/gpl2/xcvs/dist/src/logmsg.c: up to 1.5
	external/gpl2/xcvs/dist/src/ls.c: up to 1.4
	external/gpl2/xcvs/dist/src/main.c: up to 1.6
	external/gpl2/xcvs/dist/src/mkmodules.c: up to 1.7
	external/gpl2/xcvs/dist/src/modules.c: up to 1.4
	external/gpl2/xcvs/dist/src/ms-buffer.c: up to 1.2
	external/gpl2/xcvs/dist/src/myndbm.c: up to 1.2
	external/gpl2/xcvs/dist/src/no_diff.c: up to 1.2
	external/gpl2/xcvs/dist/src/parseinfo.c: up to 1.4
	external/gpl2/xcvs/dist/src/patch.c: up to 1.7
	external/gpl2/xcvs/dist/src/rcs.c: up to 1.6
	external/gpl2/xcvs/dist/src/rcscmds.c: up to 1.2
	external/gpl2/xcvs/dist/src/recurse.c: up to 1.3
	external/gpl2/xcvs/dist/src/release.c: up to 1.3
	external/gpl2/xcvs/dist/src/remove.c: up to 1.4
	external/gpl2/xcvs/dist/src/repos.c: up to 1.2
	external/gpl2/xcvs/dist/src/root.c: up to 1.2
	external/gpl2/xcvs/dist/src/rsh-client.c: up to 1.2
	external/gpl2/xcvs/dist/src/run.c: up to 1.3
	external/gpl2/xcvs/dist/src/scramble.c: up to 1.2
	external/gpl2/xcvs/dist/src/server.c: up to 1.8
	external/gpl2/xcvs/dist/src/socket-client.c: up to 1.2
	external/gpl2/xcvs/dist/src/stack.c: up to 1.2
	external/gpl2/xcvs/dist/src/status.c: up to 1.4
	external/gpl2/xcvs/dist/src/subr.c: up to 1.4
	external/gpl2/xcvs/dist/src/tag.c: up to 1.4
	external/gpl2/xcvs/dist/src/update.c: up to 1.11
	external/gpl2/xcvs/dist/src/vers_ts.c: up to 1.2
	external/gpl2/xcvs/dist/src/version.c: up to 1.3
	external/gpl2/xcvs/dist/src/watch.c: up to 1.3
	external/gpl2/xcvs/dist/src/wrapper.c: up to 1.2
	external/gpl2/xcvs/dist/src/zlib.c: up to 1.3
	external/gpl2/xcvs/include/config.h: up to 1.7
- Add RCSIDs
- Add "update -t"
- Fix issues with whitespace in cvs import
- Don't redefine MAP_ANONYMOUS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 2016/01/30 16:47:00 christos Exp $
d14 1
a14 1
IDIST:=	${.PARSEDIR}/dist
@


1.2
log
@Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 2009/04/08 16:27:51 christos Exp $
d10 2
a11 1
			-Wno-format-security -Wno-format
@


1.2.6.1
log
@Apply patch (requested by christos in ticket #889):

Teach rcs about the new cvs "commitid" keyword, so that we don't bitch each
time we play with an RCS file maintained by CVS.

Update cvs for:
        - setuid fixes
        - acl support
        - path name resolution fixes
        - "compat format string" fixes so it can use the config files
           of older cvs versions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2012/09/23 17:22:25 joerg Exp $
d10 1
a10 2
			-Wno-format-security -Wno-format \
			-Wno-tautological-constant-out-of-range-compare
@


1.2.10.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2012/09/23 17:22:25 joerg Exp $
d10 1
a10 2
			-Wno-format-security -Wno-format \
			-Wno-tautological-constant-out-of-range-compare
@


1.2.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 2011/05/26 12:56:27 joerg Exp $
d10 1
a10 2
			-Wno-format-security -Wno-format \
			-Wno-tautological-constant-out-of-range-compare
@


1.1
log
@Port over NetBSD fixes:
- remove configure hooks to other os's
- handle symlinks in cvsroot
- configurable CVS local directory name
- unlock patch
- setxid patch (handle setuid CVS and drop privileges correctly)
- when __SSP__ avoid alloca
- admin commands in history
- programmable admin group
- always enforce admin group
- protocol independent network handling (handle ipv6)
- correct issue with wrong revision in resurrected files
- centralize cvs password cleanup in memory
- don't segv if we re-enter exit handlers
- more sprintf -> snprintf
- extra empty line in editor buffer
- alias 't' with 'T' in logmsg.c for compatibility
- alias config "LocalKeyword" with "tag" and "UserAdminOptions" with
  "AdminOptions" for compatibility.
- disable Checking-prog and Update-prog for security
- take account of our current umask when computing the mode of files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 2007/05/28 12:06:17 tls Exp $
d9 3
@


1.1.2.1
log
@file Makefile.inc was added on branch jym-xensuspend on 2009-05-13 18:52:48 +0000
@
text
@d1 22
@


1.1.2.2
log
@Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@a0 22
#	$NetBSD: Makefile.inc,v 1.1 2009/04/08 16:27:51 christos Exp $

.include <bsd.own.mk>

USE_FORT?= yes	# network client/server

WARNS?=	0

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
@


