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.96
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.94
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.5
	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.92
	thorpej-ifq-base:1.5
	thorpej-altq-separation:1.5.0.90
	thorpej-altq-separation-base:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.88
	netbsd-10-base:1.5
	bouyer-sunxi-drm:1.5.0.86
	bouyer-sunxi-drm-base:1.5
	netbsd-9-3-RELEASE:1.5
	thorpej-i2c-spi-conf2:1.5.0.84
	thorpej-i2c-spi-conf2-base:1.5
	thorpej-futex2:1.5.0.82
	thorpej-futex2-base:1.5
	thorpej-cfargs2:1.5.0.80
	thorpej-cfargs2-base:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.78
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.76
	cjep_staticlib_x-base:1.5
	thorpej-i2c-spi-conf:1.5.0.74
	thorpej-i2c-spi-conf-base:1.5
	thorpej-cfargs:1.5.0.72
	thorpej-cfargs-base:1.5
	thorpej-futex:1.5.0.70
	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.68
	bouyer-xenpvh-base:1.5
	is-mlppp:1.5.0.66
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.5
	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.64
	ad-namecache-base:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.62
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	isaki-audio2:1.5.0.60
	isaki-audio2-base:1.5
	pgoyette-compat-merge-20190127:1.5
	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.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.58
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.5.0.56
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.5
	tls-maxphys-base-20171202:1.5
	matt-nb8-mediatek:1.5.0.54
	matt-nb8-mediatek-base:1.5
	nick-nhusb-base-20170825:1.5
	perseant-stdc-iso10646:1.5.0.52
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.50
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.48
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	jdolecek-ncq:1.5.0.46
	jdolecek-ncq-base:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.5.0.44
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	nick-nhusb-base-20170204:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.42
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.5
	nick-nhusb-base-20161204:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.5
	nick-nhusb-base-20161004:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.5.0.40
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.38
	pgoyette-localcount-base:1.5
	nick-nhusb-base-20160907:1.5
	nick-nhusb-base-20160529:1.5
	netbsd-7-0-1-RELEASE:1.5
	nick-nhusb-base-20160422:1.5
	nick-nhusb-base-20160319:1.5
	nick-nhusb-base-20151226:1.5
	netbsd-7-0:1.5.0.36
	netbsd-7-0-RELEASE:1.5
	nick-nhusb-base-20150921:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	nick-nhusb-base-20150606:1.5
	nick-nhusb-base-20150406:1.5
	nick-nhusb:1.5.0.34
	nick-nhusb-base:1.5
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.32
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.5.0.30
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	rmind-smpnet-nbase:1.5
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.28
	riastradh-drm2-base:1.5
	rmind-smpnet:1.5.0.20
	rmind-smpnet-base:1.5
	netbsd-6-1:1.5.0.26
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	khorben-n900:1.5.0.24
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.22
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.18
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.16
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.14
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	jmcneill-usbmp-base10:1.5
	yamt-pagecache-base5:1.5
	jmcneill-usbmp-base9:1.5
	yamt-pagecache-base4:1.5
	jmcneill-usbmp-base8:1.5
	jmcneill-usbmp-base7:1.5
	jmcneill-usbmp-base6:1.5
	jmcneill-usbmp-base5:1.5
	jmcneill-usbmp-base4:1.5
	jmcneill-usbmp-base3:1.5
	jmcneill-usbmp-pre-base2:1.5
	jmcneill-usbmp-base2:1.5
	netbsd-6:1.5.0.12
	netbsd-6-base:1.5
	jmcneill-usbmp:1.5.0.10
	jmcneill-usbmp-base:1.5
	jmcneill-audiomp3:1.5.0.8
	jmcneill-audiomp3-base:1.5
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.6
	yamt-pagecache-base:1.5
	rmind-uvmplock-nbase:1.5
	cherry-xenmp:1.5.0.4
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	jruoho-x86intr:1.4.0.4
	jruoho-x86intr-base:1.4
	matt-mips64-premerge-20101231:1.4
	uebayasi-xip-base4:1.4
	uebayasi-xip-base3:1.4
	yamt-nfs-mp-base11:1.4
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	uebayasi-xip-base1:1.4
	rmind-uvmplock:1.4.0.2
	rmind-uvmplock-base:1.5
	yamt-nfs-mp-base9:1.3
	uebayasi-xip:1.3.0.4
	uebayasi-xip-base:1.3
	matt-premerge-20091211:1.3
	jym-xensuspend-nbase:1.3
	yamt-nfs-mp-base8:1.3
	yamt-nfs-mp:1.3.0.2
	yamt-nfs-mp-base7:1.3;
locks; strict;
comment	@# @;


1.5
date	2011.01.18.22.21.22;	author haad;	state Exp;
branches;
next	1.4;

1.4
date	2010.03.12.21.37.37;	author darran;	state Exp;
branches
	1.4.2.1
	1.4.4.1;
next	1.3;

1.3
date	2009.08.10.22.55.08;	author haad;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;

1.2
date	2009.08.10.22.38.59;	author haad;	state Exp;
branches;
next	1.1;

1.1
date	2009.08.10.07.16.06;	author haad;	state Exp;
branches;
next	;

1.4.2.1
date	2011.03.05.20.55.48;	author rmind;	state Exp;
branches;
next	;

1.4.4.1
date	2011.06.06.09.09.50;	author jruoho;	state Exp;
branches;
next	;

1.3.2.1
date	2009.08.10.22.55.08;	author yamt;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2009.08.19.18.48.23;	author yamt;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2010.08.11.22.54.52;	author yamt;	state Exp;
branches;
next	;

1.3.4.1
date	2010.04.30.14.44.18;	author uebayasi;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Add support for compiling ZFS and Solaris modules as RUMP libraries. Add
some locking and rumpcopy primitives and refactor module building Makefiles
to work with both RUMP and kernel modules. This is first part of adding
support for regular test of zfs on NetBSD to hunt some bugs and make it
stable.

Ok by pooka@@.
@
text
@#	$NetBSD: Makefile,v 1.4 2010/03/12 21:37:37 darran Exp $

.include "../Makefile.inc"

KMOD=	solaris

.include "Makefile.solmod"
.include <bsd.kmodule.mk>
@


1.4
log
@DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/08/10 22:55:08 haad Exp $
a4 2
CFLAGS+= -g -fno-inline

d7 1
a7 86
ZFSDIR=	${S}/../external/cddl/osnet

.PATH:	${ZFSDIR}/dist/common/avl

SRCS=	avl.c

.PATH:	${ZFSDIR}/dist/common/nvpair

SRCS+=	nvpair.c
SRCS+=	nvpair_alloc_fixed.c

.PATH:	${ZFSDIR}/dist/common/unicode

SRCS+=	u8_textprep.c

.PATH:	${ZFSDIR}/dist/uts/common/os

SRCS+=	fm.c
SRCS+=	list.c
SRCS+=	nvpair_alloc_system.c

.PATH:	${ZFSDIR}/dist/uts/common/rpc

SRCS+=	xdr.c
SRCS+=	xdr_array.c
SRCS+=	xdr_mem.c

.PATH:	${ZFSDIR}/dist/uts/common/zmod

SRCS+=	adler32.c
SRCS+=	crc32.c
SRCS+=	deflate.c
SRCS+=	inffast.c
SRCS+=	inflate.c
SRCS+=	inftrees.c
SRCS+=	trees.c
SRCS+=	zmod.c
SRCS+=	zmod_subr.c
SRCS+=	zutil.c

.PATH:  ${ZFSDIR}/dist/common/acl

SRCS+= acl_common.c

.PATH:	${ZFSDIR}/sys/kern

SRCS+=	kobj.c
SRCS+=	kstat.c
SRCS+=	misc.c
SRCS+=	policy.c
SRCS+=	string.c
SRCS+=	zone.c
SRCS+=	callb.c
SRCS+=	ddi.c
SRCS+=	mod.c
SRCS+=	printf.c
SRCS+=	taskq.c
SRCS+=	vfs.c
SRCS+=	opensolaris.c

WARNS=		0
NOGCCERROR=	yes

CWARNFLAGS+=	-Wall
CWARNFLAGS+=	-Wno-unknown-pragmas
CWARNFLAGS+=	-Wno-missing-braces
CWARNFLAGS+=	-Wno-parentheses
CWARNFLAGS+=	-Wno-uninitialized
CWARNFLAGS+=	-Wno-unused
CWARNFLAGS+=	-Wno-switch
CWARNFLAGS+=	-Wno-strict-prototypes
CWARNFLAGS+=	-Wno-missing-prototypes
CWARNFLAGS+=	-Wno-format

CPPFLAGS+=	-I${ZFSDIR}/sys
CPPFLAGS+=	-I${ZFSDIR}/dist/common/acl
CPPFLAGS+=	-I${ZFSDIR}/dist/uts/common/zmod
CPPFLAGS+=	-I${ZFSDIR}/dist/uts/common
CPPFLAGS+=      -I${ZFSDIR}/sys/sys

CPPFLAGS+=	-Dcaddr_t=__caddr_t "-D__va_list=va_list"
CPPFLAGS+=	-std=c99
# CPPFLAGS+=	-D_NFS_NFS_H_
# CPPFLAGS+=	-D_PROPLIB_ZFS_CONFLICT

CFLAGS+=	-g -O0 -DDIAGNOSTIC
@


1.4.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2011/01/18 22:21:22 haad Exp $
d5 2
d9 86
a94 1
.include "Makefile.solmod"
@


1.4.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d5 2
d9 86
a94 1
.include "Makefile.solmod"
@


1.3
log
@Enable taskq which was disabled during testing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/08/10 22:38:59 haad Exp $
d67 1
@


1.3.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a66 1
SRCS+=	opensolaris.c
@


1.3.2.1
log
@file Makefile was added on branch yamt-nfs-mp on 2009-08-19 18:48:23 +0000
@
text
@d1 94
@


1.3.2.2
log
@sync with head.
@
text
@a0 94
#	$NetBSD$

.include "../Makefile.inc"

CFLAGS+= -g -fno-inline

KMOD=	solaris

ZFSDIR=	${S}/../external/cddl/osnet

.PATH:	${ZFSDIR}/dist/common/avl

SRCS=	avl.c

.PATH:	${ZFSDIR}/dist/common/nvpair

SRCS+=	nvpair.c
SRCS+=	nvpair_alloc_fixed.c

.PATH:	${ZFSDIR}/dist/common/unicode

SRCS+=	u8_textprep.c

.PATH:	${ZFSDIR}/dist/uts/common/os

SRCS+=	fm.c
SRCS+=	list.c
SRCS+=	nvpair_alloc_system.c

.PATH:	${ZFSDIR}/dist/uts/common/rpc

SRCS+=	xdr.c
SRCS+=	xdr_array.c
SRCS+=	xdr_mem.c

.PATH:	${ZFSDIR}/dist/uts/common/zmod

SRCS+=	adler32.c
SRCS+=	crc32.c
SRCS+=	deflate.c
SRCS+=	inffast.c
SRCS+=	inflate.c
SRCS+=	inftrees.c
SRCS+=	trees.c
SRCS+=	zmod.c
SRCS+=	zmod_subr.c
SRCS+=	zutil.c

.PATH:  ${ZFSDIR}/dist/common/acl

SRCS+= acl_common.c

.PATH:	${ZFSDIR}/sys/kern

SRCS+=	kobj.c
SRCS+=	kstat.c
SRCS+=	misc.c
SRCS+=	policy.c
SRCS+=	string.c
SRCS+=	zone.c
SRCS+=	callb.c
SRCS+=	ddi.c
SRCS+=	mod.c
SRCS+=	printf.c
SRCS+=	taskq.c
SRCS+=	vfs.c

WARNS=		0
NOGCCERROR=	yes

CWARNFLAGS+=	-Wall
CWARNFLAGS+=	-Wno-unknown-pragmas
CWARNFLAGS+=	-Wno-missing-braces
CWARNFLAGS+=	-Wno-parentheses
CWARNFLAGS+=	-Wno-uninitialized
CWARNFLAGS+=	-Wno-unused
CWARNFLAGS+=	-Wno-switch
CWARNFLAGS+=	-Wno-strict-prototypes
CWARNFLAGS+=	-Wno-missing-prototypes
CWARNFLAGS+=	-Wno-format

CPPFLAGS+=	-I${ZFSDIR}/sys
CPPFLAGS+=	-I${ZFSDIR}/dist/common/acl
CPPFLAGS+=	-I${ZFSDIR}/dist/uts/common/zmod
CPPFLAGS+=	-I${ZFSDIR}/dist/uts/common
CPPFLAGS+=      -I${ZFSDIR}/sys/sys

CPPFLAGS+=	-Dcaddr_t=__caddr_t "-D__va_list=va_list"
CPPFLAGS+=	-std=c99
# CPPFLAGS+=	-D_NFS_NFS_H_
# CPPFLAGS+=	-D_PROPLIB_ZFS_CONFLICT

CFLAGS+=	-g -O0 -DDIAGNOSTIC
.include <bsd.kmodule.mk>
@


1.3.2.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.2.2 2009/08/19 18:48:23 yamt Exp $
a66 1
SRCS+=	opensolaris.c
@


1.2
log
@Remove strange looking -I entries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2009/08/10 07:16:06 haad Exp $
d65 1
a65 1
#SRCS+=	taskq.c
@


1.1
log
@Add solaris and zfs kernel modules build directories. These modules will
not be built during release build until we import other kernel patches needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2009/03/26 22:14:24 ad Exp $
d65 1
a65 1
SRCS+=	taskq.c
a81 2
CPPFLAGS+=	-I${.CURDIR}/../..
CPPFLAGS+=	-I${.CURDIR}/../../../../include
@

