head	1.5;
access;
symbols
	perseant-exfatfs-base-20250801:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.14
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.3
	bouyer-sunxi-drm:1.5.0.12
	bouyer-sunxi-drm-base:1.5
	cjep_sun2x:1.5.0.10
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	cjep_staticlib_x:1.5.0.8
	cjep_staticlib_x-base:1.5
	thorpej-futex-base: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.6
	bouyer-xenpvh-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.3
	ad-namecache-base3:1.5
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.4
	ad-namecache-base: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.4.2.1
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	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.3
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.4.0.4
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.3
	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.3
	pgoyette-compat:1.4.0.2
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.3
	tls-maxphys-base-20171202:1.4
	matt-nb8-mediatek:1.3.0.62
	matt-nb8-mediatek-base:1.3
	nick-nhusb-base-20170825:1.4
	perseant-stdc-iso10646:1.3.0.60
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.58
	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.56
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	jdolecek-ncq:1.3.0.54
	jdolecek-ncq-base:1.3
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.52
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	nick-nhusb-base-20170204:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.3.0.50
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.3
	nick-nhusb-base-20161204:1.3
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.3
	nick-nhusb-base-20161004:1.3
	localcount-20160914:1.3
	netbsd-7-nhusb:1.3.0.48
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.46
	pgoyette-localcount-base:1.3
	nick-nhusb-base-20160907:1.3
	nick-nhusb-base-20160529:1.3
	netbsd-7-0-1-RELEASE:1.3
	nick-nhusb-base-20160422:1.3
	nick-nhusb-base-20160319:1.3
	nick-nhusb-base-20151226:1.3
	netbsd-7-0:1.3.0.44
	netbsd-7-0-RELEASE:1.3
	nick-nhusb-base-20150921:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	nick-nhusb-base-20150606:1.3
	nick-nhusb-base-20150406:1.3
	nick-nhusb:1.3.0.42
	nick-nhusb-base:1.3
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.3.0.40
	netbsd-7-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.3.0.38
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	rmind-smpnet-nbase:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.36
	riastradh-drm2-base:1.3
	rmind-smpnet:1.3.0.28
	rmind-smpnet-base:1.3
	netbsd-6-1:1.3.0.34
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.3.0.32
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.30
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.3.0.26
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.24
	tls-maxphys-base:1.3
	matt-nb6-plus:1.3.0.22
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	jmcneill-usbmp-base10:1.3
	yamt-pagecache-base5:1.3
	jmcneill-usbmp-base9:1.3
	yamt-pagecache-base4:1.3
	jmcneill-usbmp-base8:1.3
	jmcneill-usbmp-base7:1.3
	jmcneill-usbmp-base6:1.3
	jmcneill-usbmp-base5:1.3
	jmcneill-usbmp-base4:1.3
	jmcneill-usbmp-base3:1.3
	jmcneill-usbmp-pre-base2:1.3
	jmcneill-usbmp-base2:1.3
	netbsd-6:1.3.0.20
	netbsd-6-base:1.3
	jmcneill-usbmp:1.3.0.18
	jmcneill-usbmp-base:1.3
	jmcneill-audiomp3:1.3.0.16
	jmcneill-audiomp3-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.14
	yamt-pagecache-base:1.3
	rmind-uvmplock-nbase:1.3
	cherry-xenmp:1.3.0.12
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.10
	bouyer-quota2-base:1.3
	jruoho-x86intr:1.3.0.8
	jruoho-x86intr-base:1.3
	matt-mips64-premerge-20101231:1.3
	uebayasi-xip-base4:1.3
	uebayasi-xip-base3:1.3
	yamt-nfs-mp-base11:1.3
	uebayasi-xip-base2:1.3
	yamt-nfs-mp-base10:1.3
	uebayasi-xip-base1:1.3
	rmind-uvmplock:1.3.0.6
	rmind-uvmplock-base:1.3
	yamt-nfs-mp-base9:1.3
	uebayasi-xip:1.3.0.4
	uebayasi-xip-base:1.3
	matt-premerge-20091211:1.3
	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.5
date	2018.12.19.13.57.52;	author maxv;	state dead;
branches;
next	1.4;
commitid	mM5V1h9xgHV4Mp4B;

1.4
date	2017.07.29.12.03.37;	author maxv;	state Exp;
branches
	1.4.2.1
	1.4.4.1;
next	1.3;
commitid	l9dBBRNrorfwt71A;

1.3
date	2009.02.14.13.56.41;	author abs;	state Exp;
branches
	1.3.2.1
	1.3.24.1
	1.3.42.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.4.2.1
date	2018.12.26.14.02.04;	author pgoyette;	state dead;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.4.4.1
date	2019.06.10.22.09.19;	author christos;	state dead;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

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.24.1
date	2017.12.03.11.38.51;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.3.42.1
date	2017.08.28.17.53.09;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

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.38;	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.5
log
@Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@@ recently,
but also as discussed several times in the past.
@
text
@#	$NetBSD: Makefile,v 1.4 2017/07/29 12:03:37 maxv Exp $

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

KMOD=	compat_svr4

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SVR4

.PATH:	${S}/compat/svr4

SRCS+=	svr4_errno.c svr4_exec.c svr4_fcntl.c svr4_filio.c
SRCS+=	svr4_ioctl.c svr4_ipc.c svr4_lwp.c svr4_misc.c svr4_net.c
SRCS+=	svr4_resource.c svr4_schedctl.c svr4_signal.c svr4_signo.c
SRCS+=	svr4_socket.c svr4_sockio.c svr4_stat.c svr4_stream.c
SRCS+=	svr4_syscalls.c  svr4_sysent.c svr4_termios.c svr4_ttold.c
SRCS+=	svr4_mod.c

.include <bsd.kmodule.mk>
@


1.4
log
@Remove i386. By the way, it looks like several architectures are missing
here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $
@


1.4.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2017/07/29 12:03:37 maxv Exp $
@


1.4.2.1
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2017/07/29 12:03:37 maxv Exp $
@


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 $
a18 8
.if ${MACHINE_ARCH} == "i386"
CPPFLAGS+=	-DEXEC_ELF32
SRCS+=	svr4_exec_elf32.c
.PATH:	${S}/arch/i386/i386
SRCS+=	svr4_machdep.c svr4_syscall.c svr4_sigcode.S
CPPFLAGS.svr4_sigcode.S+=	-D_LOCORE
.endif

@


1.3.24.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d19 8
@


1.3.42.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2017/07/29 12:03:37 maxv Exp $
d19 8
@


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


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

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

KMOD=	compat_svr4

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SVR4

.PATH:	${S}/compat/svr4

SRCS+=	svr4_errno.c svr4_exec.c svr4_fcntl.c svr4_filio.c
SRCS+=	svr4_ioctl.c svr4_ipc.c svr4_lwp.c svr4_misc.c svr4_net.c
SRCS+=	svr4_resource.c svr4_schedctl.c svr4_signal.c svr4_signo.c
SRCS+=	svr4_socket.c svr4_sockio.c svr4_stat.c svr4_stream.c
SRCS+=	svr4_syscalls.c  svr4_sysent.c svr4_termios.c svr4_ttold.c
SRCS+=	svr4_mod.c

.if ${MACHINE_ARCH} == "i386"
CPPFLAGS+=	-DEXEC_ELF32
SRCS+=	svr4_exec_elf32.c
.PATH:	${S}/arch/i386/i386
SRCS+=	svr4_machdep.c svr4_syscall.c svr4_sigcode.S
CPPFLAGS.svr4_sigcode.S+=	-D_LOCORE
.endif

.include <bsd.kmodule.mk>
@


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 $
d19 1
a19 1
.if ${MACHINE} == "i386"
@


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 $
d19 1
a19 1
.if ${MACHINE_ARCH} == "i386"
@


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


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

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

KMOD=	compat_svr4

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SVR4

.PATH:	${S}/compat/svr4

SRCS+=	svr4_errno.c svr4_exec.c svr4_fcntl.c svr4_filio.c
SRCS+=	svr4_ioctl.c svr4_ipc.c svr4_lwp.c svr4_misc.c svr4_net.c
SRCS+=	svr4_resource.c svr4_schedctl.c svr4_signal.c svr4_signo.c
SRCS+=	svr4_socket.c svr4_sockio.c svr4_stat.c svr4_stream.c
SRCS+=	svr4_syscalls.c  svr4_sysent.c svr4_termios.c svr4_ttold.c
SRCS+=	svr4_mod.c

.if ${MACHINE} == "i386"
CPPFLAGS+=	-DEXEC_ELF32
SRCS+=	svr4_exec_elf32.c
.PATH:	${S}/arch/i386/i386
SRCS+=	svr4_machdep.c svr4_syscall.c svr4_sigcode.S
CPPFLAGS.svr4_sigcode.S+=	-D_LOCORE
.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 $
d19 1
a19 1
.if ${MACHINE_ARCH} == "i386"
@


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


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

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

KMOD=	compat_svr4

CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SVR4

.PATH:	${S}/compat/svr4

SRCS+=	svr4_errno.c svr4_exec.c svr4_fcntl.c svr4_filio.c
SRCS+=	svr4_ioctl.c svr4_ipc.c svr4_lwp.c svr4_misc.c svr4_net.c
SRCS+=	svr4_resource.c svr4_schedctl.c svr4_signal.c svr4_signo.c
SRCS+=	svr4_socket.c svr4_sockio.c svr4_stat.c svr4_stream.c
SRCS+=	svr4_syscalls.c  svr4_sysent.c svr4_termios.c svr4_ttold.c
SRCS+=	svr4_mod.c

.if ${MACHINE} == "i386"
CPPFLAGS+=	-DEXEC_ELF32
SRCS+=	svr4_exec_elf32.c
.PATH:	${S}/arch/i386/i386
SRCS+=	svr4_machdep.c svr4_syscall.c svr4_sigcode.S
CPPFLAGS.svr4_sigcode.S+=	-D_LOCORE
.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_SVR4
@

