head	1.4;
access;
symbols
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.102
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.100
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	thorpej-ifq:1.4.0.98
	thorpej-ifq-base:1.4
	thorpej-altq-separation:1.4.0.96
	thorpej-altq-separation-base:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.94
	netbsd-10-base:1.4
	bouyer-sunxi-drm:1.4.0.92
	bouyer-sunxi-drm-base:1.4
	netbsd-9-3-RELEASE:1.4
	thorpej-i2c-spi-conf2:1.4.0.90
	thorpej-i2c-spi-conf2-base:1.4
	thorpej-futex2:1.4.0.88
	thorpej-futex2-base:1.4
	thorpej-cfargs2:1.4.0.86
	thorpej-cfargs2-base:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.84
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.82
	cjep_staticlib_x-base:1.4
	thorpej-i2c-spi-conf:1.4.0.80
	thorpej-i2c-spi-conf-base:1.4
	thorpej-cfargs:1.4.0.78
	thorpej-cfargs-base:1.4
	thorpej-futex:1.4.0.76
	thorpej-futex-base:1.4
	netbsd-9-1-RELEASE:1.4
	bouyer-xenpvh-base2:1.4
	phil-wifi-20200421:1.4
	bouyer-xenpvh-base1:1.4
	phil-wifi-20200411:1.4
	bouyer-xenpvh:1.4.0.74
	bouyer-xenpvh-base:1.4
	is-mlppp:1.4.0.72
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.4
	ad-namecache-base3:1.4
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	ad-namecache-base2:1.4
	ad-namecache-base1:1.4
	ad-namecache:1.4.0.70
	ad-namecache-base:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.68
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	isaki-audio2:1.4.0.66
	isaki-audio2-base:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.64
	phil-wifi-base:1.4
	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.4
	pgoyette-compat:1.4.0.62
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	tls-maxphys-base-20171202:1.4
	matt-nb8-mediatek:1.4.0.60
	matt-nb8-mediatek-base:1.4
	nick-nhusb-base-20170825:1.4
	perseant-stdc-iso10646:1.4.0.58
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.56
	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.54
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	jdolecek-ncq:1.4.0.52
	jdolecek-ncq-base:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.50
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	nick-nhusb-base-20170204:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.48
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	nick-nhusb-base-20161204:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	nick-nhusb-base-20161004:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.46
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.44
	pgoyette-localcount-base:1.4
	nick-nhusb-base-20160907:1.4
	nick-nhusb-base-20160529:1.4
	netbsd-7-0-1-RELEASE:1.4
	nick-nhusb-base-20160422:1.4
	nick-nhusb-base-20160319:1.4
	nick-nhusb-base-20151226:1.4
	netbsd-7-0:1.4.0.42
	netbsd-7-0-RELEASE:1.4
	nick-nhusb-base-20150921:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	nick-nhusb-base-20150606:1.4
	nick-nhusb-base-20150406:1.4
	nick-nhusb:1.4.0.40
	nick-nhusb-base:1.4
	netbsd-6-0-6-RELEASE:1.4
	netbsd-6-1-5-RELEASE:1.4
	netbsd-7:1.4.0.38
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	netbsd-6-1-4-RELEASE:1.4
	netbsd-6-0-5-RELEASE:1.4
	tls-earlyentropy:1.4.0.36
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.4
	netbsd-6-0-4-RELEASE:1.4
	netbsd-6-1-2-RELEASE:1.4
	netbsd-6-0-3-RELEASE:1.4
	rmind-smpnet-nbase:1.4
	netbsd-6-1-1-RELEASE:1.4
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.34
	riastradh-drm2-base:1.4
	rmind-smpnet:1.4.0.26
	rmind-smpnet-base:1.4
	netbsd-6-1:1.4.0.32
	netbsd-6-0-2-RELEASE:1.4
	netbsd-6-1-RELEASE:1.4
	khorben-n900:1.4.0.30
	netbsd-6-1-RC4:1.4
	netbsd-6-1-RC3:1.4
	agc-symver:1.4.0.28
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.4
	netbsd-6-1-RC1:1.4
	yamt-pagecache-base8:1.4
	netbsd-6-0-1-RELEASE:1.4
	yamt-pagecache-base7:1.4
	matt-nb6-plus-nbase:1.4
	yamt-pagecache-base6:1.4
	netbsd-6-0:1.4.0.24
	netbsd-6-0-RELEASE:1.4
	netbsd-6-0-RC2:1.4
	tls-maxphys:1.4.0.22
	tls-maxphys-base:1.4
	matt-nb6-plus:1.4.0.20
	matt-nb6-plus-base:1.4
	netbsd-6-0-RC1:1.4
	jmcneill-usbmp-base10:1.4
	yamt-pagecache-base5:1.4
	jmcneill-usbmp-base9:1.4
	yamt-pagecache-base4:1.4
	jmcneill-usbmp-base8:1.4
	jmcneill-usbmp-base7:1.4
	jmcneill-usbmp-base6:1.4
	jmcneill-usbmp-base5:1.4
	jmcneill-usbmp-base4:1.4
	jmcneill-usbmp-base3:1.4
	jmcneill-usbmp-pre-base2:1.4
	jmcneill-usbmp-base2:1.4
	netbsd-6:1.4.0.18
	netbsd-6-base:1.4
	jmcneill-usbmp:1.4.0.16
	jmcneill-usbmp-base:1.4
	jmcneill-audiomp3:1.4.0.14
	jmcneill-audiomp3-base:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.12
	yamt-pagecache-base:1.4
	rmind-uvmplock-nbase:1.4
	cherry-xenmp:1.4.0.10
	cherry-xenmp-base:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.8
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.4.0.6
	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.4
	rmind-uvmplock-base:1.4
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.4.0.2
	uebayasi-xip-base:1.4
	matt-premerge-20091211:1.4
	yamt-nfs-mp-base8:1.3
	yamt-nfs-mp-base7:1.3
	jymxensuspend-base:1.3
	yamt-nfs-mp-base6:1.3
	yamt-nfs-mp-base5:1.3
	yamt-nfs-mp-base4:1.3
	jym-xensuspend-nbase:1.3
	yamt-nfs-mp:1.3.0.2
	yamt-nfs-mp-base3:1.3
	nick-hppapmap-base4:1.3
	nick-hppapmap-base3:1.3
	nick-hppapmap-base2:1.3
	jym-xensuspend:1.2.0.6
	jym-xensuspend-base:1.3
	nick-hppapmap-base:1.3
	nick-hppapmap:1.2.0.4
	mjf-devfs2-base:1.2
	mjf-devfs2:1.2.0.2
	haad-dm-base:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	ad-audiomp2:1.1.0.2
	ad-audiomp2-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2009.12.13.05.01.34;	author nakayama;	state Exp;
branches;
next	1.3;

1.3
date	2009.02.14.13.56.41;	author abs;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2008.12.08.12.56.00;	author njoly;	state Exp;
branches
	1.2.2.1
	1.2.4.1
	1.2.6.1;
next	1.1;

1.1
date	2008.11.19.18.36.08;	author ad;	state Exp;
branches;
next	;

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

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

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

1.2.2.1
date	2008.12.08.12.56.00;	author mjf;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2009.01.17.13.29.29;	author mjf;	state Exp;
branches;
next	;

1.2.4.1
date	2008.12.08.12.56.00;	author skrll;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2009.01.19.13.20.08;	author skrll;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2009.03.03.18.33.37;	author skrll;	state Exp;
branches;
next	;

1.2.6.1
date	2009.05.13.17.22.18;	author jym;	state Exp;
branches;
next	;


desc
@@


1.4
log
@System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
@
text
@#	$NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $

.include "../Makefile.inc"
.include "../Makefile.assym"

KMOD=	compat_sunos32

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
CPPFLAGS+=	-DCOMPAT_SUNOS32 -DEXEC_AOUT

.PATH:	${S}/compat/sunos32
SRCS+=	sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
SRCS+=	sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c

.if ${MACHINE} == "sparc64"
.PATH:	${S}/arch/sparc64/sparc64
SRCS+=	sunos32_machdep.c
.endif

.if ${MACHINE} == "sparc"
.PATH:	${S}/arch/sparc/sparc
SRCS+=	sunos32_machdep.c
.endif

.include <bsd.kmodule.mk>
@


1.3
log
@Convert more MACHINE tests to MACHINE_ARCH
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $
d15 1
a15 1
.if ${MACHINE_ARCH} == "sparc64"
d20 1
a20 1
.if ${MACHINE_ARCH} == "sparc"
@


1.3.2.1
log
@file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:14:08 +0000
@
text
@d1 25
@


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

.include "../Makefile.inc"
.include "../Makefile.assym"

KMOD=	compat_sunos32

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
CPPFLAGS+=	-DCOMPAT_SUNOS32 -DEXEC_AOUT

.PATH:	${S}/compat/sunos32
SRCS+=	sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
SRCS+=	sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c

.if ${MACHINE_ARCH} == "sparc64"
.PATH:	${S}/arch/sparc64/sparc64
SRCS+=	sunos32_machdep.c
.endif

.if ${MACHINE_ARCH} == "sparc"
.PATH:	${S}/arch/sparc/sparc
SRCS+=	sunos32_machdep.c
.endif

.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/05/04 08:14:08 yamt Exp $
d15 1
a15 1
.if ${MACHINE} == "sparc64"
d20 1
a20 1
.if ${MACHINE} == "sparc"
@


1.2
log
@s/SYSVIPC/SYSVMSG/, for message queues support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/11/19 18:36:08 ad Exp $
d15 1
a15 1
.if ${MACHINE} == "sparc64"
d20 1
a20 1
.if ${MACHINE} == "sparc"
@


1.2.6.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $
d15 1
a15 1
.if ${MACHINE_ARCH} == "sparc64"
d20 1
a20 1
.if ${MACHINE_ARCH} == "sparc"
@


1.2.4.1
log
@file Makefile was added on branch nick-hppapmap on 2009-01-19 13:20:08 +0000
@
text
@d1 25
@


1.2.4.2
log
@Sync with HEAD.
@
text
@a0 25
#	$NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $

.include "../Makefile.inc"
.include "../Makefile.assym"

KMOD=	compat_sunos32

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
CPPFLAGS+=	-DCOMPAT_SUNOS32 -DEXEC_AOUT

.PATH:	${S}/compat/sunos32
SRCS+=	sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
SRCS+=	sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c

.if ${MACHINE} == "sparc64"
.PATH:	${S}/arch/sparc64/sparc64
SRCS+=	sunos32_machdep.c
.endif

.if ${MACHINE} == "sparc"
.PATH:	${S}/arch/sparc/sparc
SRCS+=	sunos32_machdep.c
.endif

.include <bsd.kmodule.mk>
@


1.2.4.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.2 2009/01/19 13:20:08 skrll Exp $
d15 1
a15 1
.if ${MACHINE_ARCH} == "sparc64"
d20 1
a20 1
.if ${MACHINE_ARCH} == "sparc"
@


1.2.2.1
log
@file Makefile was added on branch mjf-devfs2 on 2009-01-17 13:29:29 +0000
@
text
@d1 25
@


1.2.2.2
log
@Sync with HEAD.
@
text
@a0 25
#	$NetBSD$

.include "../Makefile.inc"
.include "../Makefile.assym"

KMOD=	compat_sunos32

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
CPPFLAGS+=	-DCOMPAT_SUNOS32 -DEXEC_AOUT

.PATH:	${S}/compat/sunos32
SRCS+=	sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
SRCS+=	sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c

.if ${MACHINE} == "sparc64"
.PATH:	${S}/arch/sparc64/sparc64
SRCS+=	sunos32_machdep.c
.endif

.if ${MACHINE} == "sparc"
.PATH:	${S}/arch/sparc/sparc
SRCS+=	sunos32_machdep.c
.endif

.include <bsd.kmodule.mk>
@


1.1
log
@Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/06/28 16:11:35 rumble Exp $
d8 1
a8 1
CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVIPC -DCOMPAT_SUNOS
@

