head	1.6;
access;
symbols
	netbsd-11-0-RC5:1.6
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.30
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.28
	perseant-exfatfs-base:1.6
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	thorpej-ifq:1.6.0.26
	thorpej-ifq-base:1.6
	thorpej-altq-separation:1.6.0.24
	thorpej-altq-separation-base:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.22
	netbsd-10-base:1.6
	bouyer-sunxi-drm:1.6.0.20
	bouyer-sunxi-drm-base:1.6
	netbsd-9-3-RELEASE:1.4
	thorpej-i2c-spi-conf2:1.6.0.18
	thorpej-i2c-spi-conf2-base:1.6
	thorpej-futex2:1.6.0.16
	thorpej-futex2-base:1.6
	thorpej-cfargs2:1.6.0.14
	thorpej-cfargs2-base:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.12
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.6.0.10
	cjep_staticlib_x-base:1.6
	thorpej-i2c-spi-conf:1.6.0.8
	thorpej-i2c-spi-conf-base:1.6
	thorpej-cfargs:1.6.0.6
	thorpej-cfargs-base:1.6
	thorpej-futex:1.6.0.4
	thorpej-futex-base:1.6
	netbsd-9-1-RELEASE:1.4
	bouyer-xenpvh-base2:1.6
	phil-wifi-20200421:1.6
	bouyer-xenpvh-base1:1.6
	phil-wifi-20200411:1.6
	bouyer-xenpvh:1.6.0.2
	bouyer-xenpvh-base:1.6
	is-mlppp:1.5.0.4
	is-mlppp-base:1.5
	phil-wifi-20200406:1.6
	ad-namecache-base3:1.5
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.2
	ad-namecache-base:1.5
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.5
	netbsd-9:1.4.0.2
	netbsd-9-base:1.4
	phil-wifi:1.3.0.4
	phil-wifi-20190609:1.3
	isaki-audio2:1.3.0.2
	isaki-audio2-base:1.3
	pgoyette-compat-merge-20190127:1.1.2.5
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2020.03.12.15.02.29;	author pgoyette;	state Exp;
branches;
next	1.5;
commitid	kskRxhzJGNjsH70C;

1.5
date	2019.09.26.02.01.03;	author christos;	state Exp;
branches;
next	1.4;
commitid	Ky9auioXelAnMsEB;

1.4
date	2019.06.18.15.26.27;	author pgoyette;	state Exp;
branches;
next	1.3;
commitid	MtajUvsi9Rs0sGrB;

1.3
date	2019.02.17.04.05.45;	author rin;	state Exp;
branches
	1.3.4.1;
next	1.2;
commitid	viEUadQYccaOx4cB;

1.2
date	2019.01.27.02.08.46;	author pgoyette;	state Exp;
branches;
next	1.1;
commitid	ipPva1Pj3xTcBm9B;

1.1
date	2018.09.10.22.50.52;	author pgoyette;	state dead;
branches
	1.1.2.1;
next	;
commitid	BD0ii4AABW3sWBRA;

1.3.4.1
date	2019.02.17.04.05.45;	author christos;	state dead;
branches;
next	1.3.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.3.4.2
date	2019.06.10.22.09.17;	author christos;	state Exp;
branches;
next	1.3.4.3;
commitid	jtc8rnCzWiEEHGqB;

1.3.4.3
date	2020.04.13.08.05.08;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.1.2.1
date	2018.09.10.22.50.52;	author pgoyette;	state Exp;
branches;
next	1.1.2.2;
commitid	BD0ii4AABW3sWBRA;

1.1.2.2
date	2018.09.11.04.20.51;	author pgoyette;	state Exp;
branches;
next	1.1.2.3;
commitid	BL6P4PCIlWtFLDRA;

1.1.2.3
date	2018.09.11.23.26.21;	author pgoyette;	state Exp;
branches;
next	1.1.2.4;
commitid	d6n74wYTuGOn6KRA;

1.1.2.4
date	2018.09.11.23.58.47;	author pgoyette;	state Exp;
branches;
next	1.1.2.5;
commitid	1NHLYXjiMddGhKRA;

1.1.2.5
date	2018.11.26.12.36.16;	author pgoyette;	state Exp;
branches;
next	;
commitid	C9YFRAl14EMX3s1B;


desc
@@


1.6
log
@Split out the quota code from the rest of compat_netbsd32 module.  This
allows loading of compat_netbsd32 on kernels that don't have ``options
QUOTA'' enabled.
@
text
@#	$NetBSD: Makefile,v 1.5 2019/09/26 02:01:03 christos Exp $

.include "../Makefile.inc"

.PATH:	${S}/compat/netbsd32

KMOD=	compat_netbsd32_50

CPPFLAGS+=	-DNTP
CPPFLAGS+=	-DCOMPAT_NETBSD32
CPPFLAGS+=	-DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist

SRCS+=	netbsd32_compat_50.c netbsd32_rndpseudo_50.c

.include <bsd.kmodule.mk>
@


1.5
log
@Kill WARNS = 3 from all the modules that now compile cleanly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2019/06/18 15:26:27 pgoyette Exp $
d9 1
a9 1
CPPFLAGS+=	-DNTP -DQUOTA
@


1.4
log
@Include quota compat code by default
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2019/02/17 04:05:45 rin Exp $
a15 2
WARNS=	3

@


1.3
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
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
d9 1
a9 1
CPPFLAGS+=	-DNTP
@


1.3.4.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:09:17 +0000
@
text
@d1 18
@


1.3.4.2
log
@Sync with HEAD
@
text
@a0 18
#	$NetBSD: Makefile,v 1.3 2019/02/17 04:05:45 rin Exp $

.include "../Makefile.inc"

.PATH:	${S}/compat/netbsd32

KMOD=	compat_netbsd32_50

CPPFLAGS+=	-DNTP
CPPFLAGS+=	-DCOMPAT_NETBSD32
CPPFLAGS+=	-DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist

SRCS+=	netbsd32_compat_50.c netbsd32_rndpseudo_50.c

WARNS=	3

.include <bsd.kmodule.mk>
@


1.3.4.3
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d16 2
@


1.2
log
@Merge the [pgoyette-compat] branch
@
text
@d1 1
a1 1
#	$NetBSD$
d16 2
@


1.1
log
@file Makefile was initially added on branch pgoyette-compat.
@
text
@d1 16
@


1.1.2.1
log
@More work on splitting the compat_netbsd32 module
@
text
@a0 13
#	$NetBSD: Makefile,v 1.1.2.1 2018/09/10 10:49:10 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/compat/netbsd32

KMOD=	compat_netbsd32_50

CPPFLAGS+=	-DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80

SRCS+=	netbsd32_compat_50.c

.include <bsd.kmodule.mk>
@


1.1.2.2
log
@Add -DCOMPAT_NETBSD32 for all the version-specific modules
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.1 2018/09/10 22:50:52 pgoyette Exp $
a8 1
CPPFLAGS+=	-DCOMPAT_NETBSD32
@


1.1.2.3
log
@Move netbsd32_rndpseudo_50.c out of the main netbsd32 module and into
the module that handles netbsd32_50 compatability.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2018/09/11 04:20:51 pgoyette Exp $
d12 1
a12 1
SRCS+=	netbsd32_compat_50.c netbsd32_rndpseudo_50.c
@


1.1.2.4
log
@Move the NTP compat_30 and compat_50 routines into the version-specific
modules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.3 2018/09/11 23:26:21 pgoyette Exp $
a8 1
CPPFLAGS+=	-DNTP
@


1.1.2.5
log
@Add the libnv directory for all of the compat_netbsd32* modules
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.4 2018/09/11 23:58:47 pgoyette Exp $
a11 1
CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
@


