head	1.12;
access;
symbols
	netbsd-11-0-RC4:1.12
	netbsd-11-0-RC3:1.12
	netbsd-11-0-RC2:1.12
	netbsd-11-0-RC1:1.12
	perseant-exfatfs-base-20250801:1.12
	netbsd-11:1.12.0.10
	netbsd-11-base:1.12
	netbsd-10-1-RELEASE:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.8
	perseant-exfatfs-base:1.12
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.10
	netbsd-10-0-RELEASE:1.12
	netbsd-10-0-RC6:1.12
	netbsd-10-0-RC5:1.12
	netbsd-10-0-RC4:1.12
	netbsd-10-0-RC3:1.12
	netbsd-10-0-RC2:1.12
	netbsd-10-0-RC1:1.12
	netbsd-10:1.12.0.6
	netbsd-10-base:1.12
	netbsd-9-3-RELEASE:1.10
	cjep_sun2x-base1:1.12
	cjep_sun2x:1.12.0.4
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	netbsd-9-2-RELEASE:1.10
	cjep_staticlib_x:1.12.0.2
	cjep_staticlib_x-base:1.12
	netbsd-9-1-RELEASE:1.10
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.2
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.9
	netbsd-9-0-RELEASE:1.10
	netbsd-9-0-RC2:1.10
	netbsd-9-0-RC1:1.10
	phil-wifi-20191119:1.11
	netbsd-9:1.10.0.2
	netbsd-9-base:1.10
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.62
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.9.0.60
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.9
	matt-nb8-mediatek:1.9.0.58
	matt-nb8-mediatek-base:1.9
	perseant-stdc-iso10646:1.9.0.56
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.54
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.52
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.9.0.50
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.9.0.48
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.9.0.46
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.44
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.9
	netbsd-7-0:1.9.0.42
	netbsd-7-0-RELEASE:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	netbsd-5-2-3-RELEASE:1.9
	netbsd-5-1-5-RELEASE:1.9
	netbsd-6-0-6-RELEASE:1.9
	netbsd-6-1-5-RELEASE:1.9
	netbsd-7:1.9.0.40
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.9
	netbsd-6-1-4-RELEASE:1.9
	netbsd-6-0-5-RELEASE:1.9
	tls-earlyentropy:1.9.0.38
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.9
	netbsd-6-0-4-RELEASE:1.9
	netbsd-5-2-2-RELEASE:1.9
	netbsd-5-1-4-RELEASE:1.9
	netbsd-6-1-2-RELEASE:1.9
	netbsd-6-0-3-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.9
	netbsd-5-1-3-RELEASE:1.9
	netbsd-6-1-1-RELEASE:1.9
	riastradh-drm2-base2:1.9
	riastradh-drm2-base1:1.9
	riastradh-drm2:1.9.0.32
	riastradh-drm2-base:1.9
	netbsd-6-1:1.9.0.36
	netbsd-6-0-2-RELEASE:1.9
	netbsd-6-1-RELEASE:1.9
	netbsd-6-1-RC4:1.9
	netbsd-6-1-RC3:1.9
	agc-symver:1.9.0.34
	agc-symver-base:1.9
	netbsd-6-1-RC2:1.9
	netbsd-6-1-RC1:1.9
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.9.0.30
	netbsd-6-0-1-RELEASE:1.9
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.9
	netbsd-5-2-RC1:1.9
	matt-nb6-plus-nbase:1.9
	yamt-pagecache-base6:1.9
	netbsd-6-0:1.9.0.28
	netbsd-6-0-RELEASE:1.9
	netbsd-6-0-RC2:1.9
	tls-maxphys:1.9.0.26
	tls-maxphys-base:1.9
	matt-nb6-plus:1.9.0.24
	matt-nb6-plus-base:1.9
	netbsd-6-0-RC1:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.9.0.22
	netbsd-6-base:1.9
	netbsd-5-1-2-RELEASE:1.9
	netbsd-5-1-1-RELEASE:1.9
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.4
	yamt-pagecache-base:1.9
	cherry-xenmp:1.9.0.20
	cherry-xenmp-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.18
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.9
	matt-nb5-mips64-premerge-20101231:1.9
	matt-nb5-pq3:1.9.0.16
	matt-nb5-pq3-base:1.9
	netbsd-5-1:1.9.0.14
	netbsd-5-1-RELEASE:1.9
	netbsd-5-1-RC4:1.9
	matt-nb5-mips64-k15:1.9
	netbsd-5-1-RC3:1.9
	netbsd-5-1-RC2:1.9
	netbsd-5-1-RC1:1.9
	netbsd-5-0-2-RELEASE:1.9
	matt-nb5-mips64-premerge-20091211:1.9
	matt-premerge-20091211:1.9
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.9
	matt-nb4-mips64-k7-u2a-k9b:1.9
	matt-nb5-mips64-u1-k1-k5:1.9
	matt-nb5-mips64:1.9.0.12
	netbsd-5-0-1-RELEASE:1.9
	jym-xensuspend-nbase:1.9
	netbsd-5-0:1.9.0.10
	netbsd-5-0-RELEASE:1.9
	netbsd-5-0-RC4:1.9
	netbsd-5-0-RC3:1.9
	netbsd-5-0-RC2:1.9
	jym-xensuspend:1.9.0.8
	jym-xensuspend-base:1.9
	netbsd-5-0-RC1:1.9
	netbsd-5:1.9.0.6
	netbsd-5-base:1.9
	matt-mips64-base2:1.9
	matt-mips64:1.8.0.20
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.9
	wrstuden-revivesa-base-2:1.9
	wrstuden-fixsa-newbase:1.8
	wrstuden-revivesa-base-1:1.9
	yamt-pf42-base4:1.9
	yamt-pf42-base3:1.9
	hpcarm-cleanup-nbase:1.9
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.9
	wrstuden-revivesa:1.9.0.2
	wrstuden-revivesa-base:1.9
	yamt-pf42:1.8.0.18
	yamt-pf42-base:1.8
	keiichi-mipv6:1.8.0.16
	keiichi-mipv6-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.8
	netbsd-4-0:1.8.0.14
	netbsd-4-0-RELEASE:1.8
	cube-autoconf:1.8.0.12
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.8
	netbsd-4-0-RC4:1.8
	netbsd-4-0-RC3:1.8
	netbsd-4-0-RC2:1.8
	netbsd-4-0-RC1:1.8
	matt-armv6:1.8.0.10
	matt-armv6-base:1.8
	matt-mips64-base:1.8
	hpcarm-cleanup:1.8.0.8
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.7
	netbsd-3-0-3-RELEASE:1.7
	wrstuden-fixsa:1.8.0.6
	wrstuden-fixsa-base:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.2
	netbsd-3-1:1.7.0.12
	netbsd-3-1-RELEASE:1.7
	netbsd-3-0-2-RELEASE:1.7
	netbsd-3-1-RC4:1.7
	netbsd-3-1-RC3:1.7
	netbsd-3-1-RC2:1.7
	netbsd-3-1-RC1:1.7
	netbsd-4:1.8.0.4
	netbsd-4-base:1.8
	netbsd-3-0-1-RELEASE:1.7
	netbsd-3-0:1.7.0.10
	netbsd-3-0-RELEASE:1.7
	netbsd-3-0-RC6:1.7
	netbsd-3-0-RC5:1.7
	netbsd-3-0-RC4:1.7
	netbsd-3-0-RC3:1.7
	netbsd-3-0-RC2:1.7
	netbsd-3-0-RC1:1.7
	netbsd-2-0-3-RELEASE:1.7
	netbsd-2-1:1.7.0.8
	netbsd-2-1-RELEASE:1.7
	netbsd-2-1-RC6:1.7
	netbsd-2-1-RC5:1.7
	netbsd-2-1-RC4:1.7
	netbsd-2-1-RC3:1.7
	netbsd-2-1-RC2:1.7
	netbsd-2-1-RC1:1.7
	netbsd-2-0-2-RELEASE:1.7
	netbsd-3:1.7.0.6
	netbsd-3-base:1.7
	netbsd-2-0-1-RELEASE:1.7
	netbsd-2:1.7.0.4
	netbsd-2-base:1.7
	netbsd-2-0-RELEASE:1.7
	netbsd-2-0-RC5:1.7
	netbsd-2-0-RC4:1.7
	netbsd-2-0-RC3:1.7
	netbsd-2-0-RC2:1.7
	netbsd-2-0-RC1:1.7
	netbsd-2-0:1.7.0.2
	netbsd-2-0-base:1.7
	netbsd-1-6-PATCH002-RELEASE:1.6
	netbsd-1-6-PATCH002:1.6
	netbsd-1-6-PATCH002-RC4:1.6
	netbsd-1-6-PATCH002-RC3:1.6
	netbsd-1-6-PATCH002-RC2:1.6
	netbsd-1-6-PATCH002-RC1:1.6
	netbsd-1-6-PATCH001:1.6
	netbsd-1-6-PATCH001-RELEASE:1.6
	netbsd-1-6-PATCH001-RC3:1.6
	netbsd-1-6-PATCH001-RC2:1.6
	netbsd-1-6-PATCH001-RC1:1.6
	fvdl_fs64_base:1.7
	netbsd-1-6-RELEASE:1.6
	netbsd-1-6-RC3:1.6
	netbsd-1-6-RC2:1.6
	netbsd-1-6-RC1:1.6
	netbsd-1-6:1.6.0.2
	netbsd-1-6-base:1.6
	netbsd-1-5-PATCH003:1.5
	netbsd-1-5-PATCH002:1.5
	netbsd-1-5-PATCH001:1.5
	netbsd-1-5-RELEASE:1.5
	netbsd-1-5-BETA2:1.5
	netbsd-1-5-BETA:1.5
	netbsd-1-4-PATCH003:1.5
	netbsd-1-5-ALPHA2:1.5
	netbsd-1-5:1.5.0.10
	netbsd-1-5-base:1.5
	minoura-xpg4dl:1.5.0.8
	minoura-xpg4dl-base:1.5
	netbsd-1-4-PATCH002:1.5
	wrstuden-devbsize-19991221:1.5
	wrstuden-devbsize:1.5.0.6
	wrstuden-devbsize-base:1.5
	comdex-fall-1999:1.5.0.4
	comdex-fall-1999-base:1.5
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5
	netbsd-1-3-PATCH003:1.3
	netbsd-1-3-PATCH003-CANDIDATE2:1.3
	netbsd-1-3-PATCH003-CANDIDATE1:1.3
	netbsd-1-3-PATCH003-CANDIDATE0:1.3
	netbsd-1-3-PATCH002:1.3
	netbsd-1-3-PATCH001:1.3
	netbsd-1-3-RELEASE:1.3
	netbsd-1-3-BETA:1.3
	netbsd-1-3:1.3.0.2
	netbsd-1-3-base:1.3;
locks; strict;
comment	@# @;


1.12
date	2021.04.13.02.11.39;	author mrg;	state Exp;
branches;
next	1.11;
commitid	j9dJL0nCbKhQF4PC;

1.11
date	2019.09.29.23.44.59;	author mrg;	state Exp;
branches;
next	1.10;
commitid	xrLFk44PaFrGTXEB;

1.10
date	2019.02.04.09.51.48;	author mrg;	state Exp;
branches;
next	1.9;
commitid	AvstrAGlhigcUqaB;

1.9
date	2008.05.03.14.48.30;	author lukem;	state Exp;
branches
	1.9.62.1;
next	1.8;

1.8
date	2006.02.25.12.04.23;	author simonb;	state Exp;
branches
	1.8.18.1;
next	1.7;

1.7
date	2002.09.18.06.16.39;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	2001.12.12.00.07.47;	author tv;	state Exp;
branches;
next	1.5;

1.5
date	99.03.13.23.17.46;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	99.02.13.02.54.20;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	97.10.11.20.24.06;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	97.10.11.19.56.42;	author veego;	state Exp;
branches;
next	1.1;

1.1
date	97.10.10.08.59.40;	author lukem;	state Exp;
branches;
next	;

1.9.62.1
date	2019.06.10.22.05.10;	author christos;	state Exp;
branches;
next	1.9.62.2;
commitid	jtc8rnCzWiEEHGqB;

1.9.62.2
date	2020.04.13.08.03.06;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.8.18.1
date	2008.05.18.12.29.48;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.12
log
@no longer need -Wno-error=implicit-fallthrough.
don't provide common symbols that are in libterminfo now days.
@
text
@#	$NetBSD: Makefile,v 1.11 2019/09/29 23:44:59 mrg Exp $

LIBISPRIVATE=	yes

LIB=		common
SRCS=		allow.c board.c check.c fancy.c init.c odds.c \
		one.c save.c subs.c table.c

.include <bsd.lib.mk>
@


1.11
log
@convert HAVE_GCC == 7 to HAVE_GCC >= 7.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/02/04 09:51:48 mrg Exp $
a8 7
.include <bsd.own.mk>

# Has fallthru comment that is missed
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.check.c+=	-Wno-error=implicit-fallthrough
.endif

@


1.10
log
@apply -Wno-error=implicit-fallthrough on files that have fallthru
comments but are missed by the current checker.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2008/05/03 14:48:30 lukem Exp $
d12 1
a12 1
.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
@


1.9
log
@Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2006/02/25 12:04:23 simonb Exp $
d9 7
@


1.9.62.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/02/04 09:51:48 mrg Exp $
a8 7
.include <bsd.own.mk>

# Has fallthru comment that is missed
.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
COPTS.check.c+=	-Wno-error=implicit-fallthrough
.endif

@


1.9.62.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
@


1.8
log
@Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2002/09/18 06:16:39 lukem Exp $
d3 1
a3 1
MKPRIVATELIB=	yes
@


1.8.18.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2006/02/25 12:04:23 simonb Exp $
d3 1
a3 1
LIBISPRIVATE=	yes
@


1.7
log
@some makefile de-linting
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2001/12/12 00:07:47 tv Exp $
d3 1
a3 4
NOLINKLIB=	# defined
NOLINT=		# defined
NOPIC=		# defined
NOPROFILE=	# defined
@


1.6
log
@MKfoo=no -> NOfoo=
@
text
@d1 1
a1 5
#	$NetBSD: Makefile,v 1.5 1999/03/13 23:17:46 lukem Exp $

LIB=		common
SRCS=		allow.c board.c check.c fancy.c init.c odds.c \
		one.c save.c subs.c table.c
d7 4
@


1.5
log
@set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@@kcn.ne.jp>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/02/13 02:54:20 lukem Exp $
d3 3
a5 3
LIB=	common
SRCS=	allow.c board.c check.c fancy.c init.c odds.c one.c save.c subs.c \
	table.c
d7 4
a10 6
MKLINT=	no
MKPIC=	no
MKPROFILE=no

# only needed during build
libinstall::
@


1.4
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1997/10/11 20:24:06 mycroft Exp $
d7 2
a9 1
MKPIC=	no
@


1.3
log
@common_source -> common, and GC some garbage variables.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1997/10/11 19:56:42 veego Exp $
d7 2
a8 2
NOPROFILE=	noprofile
NOPIC=		nopic
@


1.2
log
@Don't install this library, we only need this during the build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1997/10/10 08:59:40 lukem Exp $
d3 1
a3 1
LIB=	common_source
a13 2
LDADD=
DPADD=
@


1.1
log
@KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1997/10/02 14:16:17 lukem Exp $
d9 3
@
