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.38
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.36
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.3
	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
	thorpej-ifq:1.5.0.34
	thorpej-ifq-base:1.5
	thorpej-altq-separation:1.5.0.32
	thorpej-altq-separation-base:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.30
	netbsd-10-base:1.5
	bouyer-sunxi-drm:1.5.0.28
	bouyer-sunxi-drm-base:1.5
	netbsd-9-3-RELEASE:1.5
	thorpej-i2c-spi-conf2:1.5.0.26
	thorpej-i2c-spi-conf2-base:1.5
	thorpej-futex2:1.5.0.24
	thorpej-futex2-base:1.5
	thorpej-cfargs2:1.5.0.22
	thorpej-cfargs2-base:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.20
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.18
	cjep_staticlib_x-base:1.5
	thorpej-i2c-spi-conf:1.5.0.16
	thorpej-i2c-spi-conf-base:1.5
	thorpej-cfargs:1.5.0.14
	thorpej-cfargs-base:1.5
	thorpej-futex:1.5.0.12
	thorpej-futex-base:1.5
	netbsd-9-1-RELEASE:1.5
	bouyer-xenpvh-base2:1.5
	phil-wifi-20200421:1.5
	bouyer-xenpvh-base1:1.5
	phil-wifi-20200411:1.5
	bouyer-xenpvh:1.5.0.10
	bouyer-xenpvh-base:1.5
	is-mlppp:1.5.0.8
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.3
	ad-namecache-base3:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.6
	ad-namecache-base: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.3
	netbsd-8-1-RC1:1.3
	isaki-audio2:1.5.0.2
	isaki-audio2-base:1.5
	pgoyette-compat-merge-20190127:1.3.16.1
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.18
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.16
	pgoyette-compat-base:1.3
	tls-maxphys:1.3.0.14
	tls-maxphys-base-20171202:1.3
	matt-nb8-mediatek:1.3.0.12
	matt-nb8-mediatek-base:1.3
	nick-nhusb-base-20170825:1.3
	perseant-stdc-iso10646:1.3.0.10
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.8
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.6
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	jdolecek-ncq:1.3.0.4
	jdolecek-ncq-base:1.3
	pgoyette-localcount-20170320:1.3
	nick-nhusb-base-20170204:1.3
	bouyer-socketcan:1.3.0.2
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	nick-nhusb-base-20161204:1.3
	pgoyette-localcount-20161104:1.3
	nick-nhusb-base-20161004:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.2
	pgoyette-localcount-base:1.2
	nick-nhusb-base-20160907:1.2
	nick-nhusb-base-20160529:1.2
	nick-nhusb-base-20160422:1.2
	nick-nhusb-base-20160319:1.2
	nick-nhusb-base-20151226:1.2
	nick-nhusb-base-20150921:1.1
	nick-nhusb:1.1.0.2
	nick-nhusb-base-20150606:1.1;
locks; strict;
comment	@# @;


1.5
date	2019.02.17.04.05.58;	author rin;	state Exp;
branches;
next	1.4;
commitid	viEUadQYccaOx4cB;

1.4
date	2019.01.27.02.08.47;	author pgoyette;	state Exp;
branches;
next	1.3;
commitid	ipPva1Pj3xTcBm9B;

1.3
date	2016.11.03.04.26.58;	author riastradh;	state Exp;
branches
	1.3.14.1
	1.3.16.1
	1.3.18.1;
next	1.2;
commitid	5ssImNMNETJ5yDsz;

1.2
date	2015.12.03.02.51.01;	author pgoyette;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	kCtR8J59sy1rPrLy;

1.1
date	2015.05.13.02.06.25;	author pgoyette;	state Exp;
branches
	1.1.2.1;
next	;
commitid	G8nWAd1qbrsX8ely;

1.3.14.1
date	2016.11.03.04.26.58;	author jdolecek;	state dead;
branches;
next	1.3.14.2;
commitid	XcIYRZTAh1LmerhA;

1.3.14.2
date	2017.12.03.11.39.00;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.3.16.1
date	2018.03.09.01.27.50;	author pgoyette;	state Exp;
branches;
next	;
commitid	EsOcKUhC4XxAMItA;

1.3.18.1
date	2019.06.10.22.09.40;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.2.2.1
date	2016.11.04.14.49.20;	author pgoyette;	state Exp;
branches;
next	;
commitid	2m1JRwYmpwPkOOsz;

1.1.2.1
date	2015.05.13.02.06.25;	author skrll;	state dead;
branches;
next	1.1.2.2;
commitid	O6LVO5i6UulOvnoy;

1.1.2.2
date	2015.06.06.14.40.25;	author skrll;	state Exp;
branches;
next	1.1.2.3;
commitid	O6LVO5i6UulOvnoy;

1.1.2.3
date	2015.12.27.12.10.06;	author skrll;	state Exp;
branches;
next	1.1.2.4;
commitid	BTSqUD4SdJ5k7AOy;

1.1.2.4
date	2016.12.05.10.55.27;	author skrll;	state Exp;
branches;
next	;
commitid	4H3tiQVJXN6oEMwz;


desc
@@


1.5
log
@Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
@
text
@# $NetBSD: Makefile,v 1.4 2019/01/27 02:08:47 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/kern

KMOD=	sysv_ipc

CPPFLAGS+=	-DSYSVSEM -DSYSVSHM -DSYSVMSG

SRCS+=	sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c

WARNS=	3

.include <bsd.kmodule.mk>
@


1.4
log
@Merge the [pgoyette-compat] branch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/11/03 04:26:58 riastradh Exp $
d13 2
@


1.3
log
@Reorganize SRCS lists for libcompat, compat.kmod, sysv_ipc.kmod.

- Share lists between the libcompat and module makefiles.
- Include some omitted entries in compat.kmod:
  . if_43.c
  . kern_sa_60.c
  . kern_time_30.c
  . rndpseudo_50.c
  . rtsock_14.c
  . rtsock_50.c
  . rtsock_70.c
  . uipc_syscalls_40.c
  . uipc_syscalls_50.c
- Exclude a (harmless) spurious entry in sysv_ipc.kmod on LP64 systems:
  . kern_ipc_10.c

Should fix broken ifconfig on modular current kernels.

ok pgoyette
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/12/03 02:51:01 pgoyette Exp $
a12 9
.PATH:	${S}/compat/common

CPPFLAGS+=	-DCOMPAT_10
CPPFLAGS+=	-DCOMPAT_13
CPPFLAGS+=	-DCOMPAT_14
CPPFLAGS+=	-DCOMPAT_50

.include "../../compat/common/Makefile.sysv"

@


1.3.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/02/17 04:05:58 rin Exp $
d13 8
a20 1
WARNS=	3
@


1.3.16.1
log
@Split the sysv_ipc module into two pieces:  one for contemporary
SYSV* functionality, and one for compatability with previous NetBSD
versions.  No need to pull in all of compat just to have a sysv_ipc
module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/11/03 04:26:58 riastradh Exp $
d13 9
@


1.3.14.1
log
@file Makefile was added on branch tls-maxphys on 2017-12-03 11:39:00 +0000
@
text
@d1 22
@


1.3.14.2
log
@update from HEAD
@
text
@a0 22
# $NetBSD$

.include "../Makefile.inc"

.PATH:	${S}/kern

KMOD=	sysv_ipc

CPPFLAGS+=	-DSYSVSEM -DSYSVSHM -DSYSVMSG

SRCS+=	sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c

.PATH:	${S}/compat/common

CPPFLAGS+=	-DCOMPAT_10
CPPFLAGS+=	-DCOMPAT_13
CPPFLAGS+=	-DCOMPAT_14
CPPFLAGS+=	-DCOMPAT_50

.include "../../compat/common/Makefile.sysv"

.include <bsd.kmodule.mk>
@


1.2
log
@Merge the compat_sysv module into the sysv_ipc module - it should
never have been a separate module in the first place (my bad).

Adjust dependencies as appropriate.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/05/13 02:06:25 pgoyette Exp $
d20 1
a20 6
SRCS+=	sysv_msg_14.c sysv_sem_14.c sysv_shm_14.c
SRCS+=	sysv_msg_50.c sysv_sem_50.c sysv_shm_50.c sysv_ipc_50.c

.if ${MACHINE_ARCH} != "alpha"
SRCS+=  kern_ipc_10.c
.endif
@


1.2.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/11/03 04:26:58 riastradh Exp $
d20 6
a25 1
.include "../../compat/common/Makefile.sysv"
@


1.1
log
@Create a new sysv_ipc module to contain the SYSVSHM, SYSVSEM, and
SYSVMSG options.  Move associated variables out of param.c and into
the module's source file.
@
text
@d1 1
a1 1
# $NetBSD$
d11 15
a25 1
SRCS=	sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c
@


1.1.2.1
log
@file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:24 +0000
@
text
@d1 13
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 13
# $NetBSD: Makefile,v 1.1 2015/05/13 02:06:25 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/kern

KMOD=	sysv_ipc

CPPFLAGS+=	-DSYSVSEM -DSYSVSHM -DSYSVMSG

SRCS=	sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c

.include <bsd.kmodule.mk>
@


1.1.2.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.2.2 2015/06/06 14:40:25 skrll Exp $
d11 1
a11 15
SRCS+=	sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c

.PATH:	${S}/compat/common

CPPFLAGS+=	-DCOMPAT_10
CPPFLAGS+=	-DCOMPAT_13
CPPFLAGS+=	-DCOMPAT_14
CPPFLAGS+=	-DCOMPAT_50

SRCS+=	sysv_msg_14.c sysv_sem_14.c sysv_shm_14.c
SRCS+=	sysv_msg_50.c sysv_sem_50.c sysv_shm_50.c sysv_ipc_50.c

.if ${MACHINE_ARCH} != "alpha"
SRCS+=  kern_ipc_10.c
.endif
@


1.1.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.2.3 2015/12/27 12:10:06 skrll Exp $
d20 6
a25 1
.include "../../compat/common/Makefile.sysv"
@


