head	1.7;
access;
symbols
	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.28
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.26
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.3
	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.24
	thorpej-ifq-base:1.6
	thorpej-altq-separation:1.6.0.22
	thorpej-altq-separation-base:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.20
	netbsd-10-base:1.6
	bouyer-sunxi-drm:1.6.0.18
	bouyer-sunxi-drm-base:1.6
	netbsd-9-3-RELEASE:1.4
	thorpej-i2c-spi-conf2:1.6.0.16
	thorpej-i2c-spi-conf2-base:1.6
	thorpej-futex2:1.6.0.14
	thorpej-futex2-base:1.6
	thorpej-cfargs2:1.6.0.12
	thorpej-cfargs2-base:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.10
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.6.0.8
	cjep_staticlib_x-base:1.6
	thorpej-i2c-spi-conf:1.6.0.6
	thorpej-i2c-spi-conf-base:1.6
	thorpej-cfargs:1.6.0.4
	thorpej-cfargs-base:1.6
	thorpej-futex:1.6.0.2
	thorpej-futex-base:1.6
	netbsd-9-1-RELEASE:1.4
	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
	is-mlppp:1.5.0.4
	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.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.4
	netbsd-9:1.4.0.4
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	isaki-audio2:1.4.0.2
	isaki-audio2-base:1.4
	pgoyette-compat-merge-20190127:1.3
	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
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.60
	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
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.3.0.58
	pgoyette-compat-base:1.3
	netbsd-7-1-1-RELEASE:1.3
	tls-maxphys-base-20171202:1.3
	matt-nb8-mediatek:1.3.0.56
	matt-nb8-mediatek-base:1.3
	nick-nhusb-base-20170825:1.3
	perseant-stdc-iso10646:1.3.0.54
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.52
	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.50
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	jdolecek-ncq:1.3.0.48
	jdolecek-ncq-base:1.3
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.46
	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.44
	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.42
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.40
	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.38
	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.36
	nick-nhusb-base:1.3
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.3.0.34
	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.32
	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.30
	riastradh-drm2-base:1.3
	rmind-smpnet:1.3.0.22
	rmind-smpnet-base:1.3
	netbsd-6-1:1.3.0.28
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.3.0.26
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.24
	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.20
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.18
	tls-maxphys-base:1.3
	matt-nb6-plus:1.3.0.16
	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.14
	netbsd-6-base:1.3
	jmcneill-usbmp:1.3.0.12
	jmcneill-usbmp-base:1.3
	jmcneill-audiomp3:1.3.0.10
	jmcneill-audiomp3-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.8
	yamt-pagecache-base:1.3
	rmind-uvmplock-nbase:1.3
	cherry-xenmp:1.3.0.6
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.4
	bouyer-quota2-base:1.3
	jruoho-x86intr:1.3.0.2
	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.2
	uebayasi-xip-base2:1.2
	yamt-nfs-mp-base10:1.2
	uebayasi-xip-base1:1.2
	rmind-uvmplock:1.2.0.4
	rmind-uvmplock-base:1.3
	yamt-nfs-mp-base9:1.2
	uebayasi-xip:1.2.0.2
	uebayasi-xip-base:1.2
	matt-premerge-20091211:1.2
	yamt-nfs-mp-base8:1.1
	yamt-nfs-mp-base7:1.1
	jymxensuspend-base:1.1
	yamt-nfs-mp-base6:1.1
	yamt-nfs-mp-base5:1.1
	yamt-nfs-mp-base4:1.1
	jym-xensuspend-nbase:1.2
	yamt-nfs-mp:1.1.0.10
	yamt-nfs-mp-base3:1.1
	nick-hppapmap-base4:1.1
	nick-hppapmap-base3:1.1
	nick-hppapmap-base2:1.1
	jym-xensuspend:1.1.0.8
	jym-xensuspend-base:1.1
	nick-hppapmap-base:1.1
	nick-hppapmap:1.1.0.6
	mjf-devfs2-base:1.1
	mjf-devfs2:1.1.0.4
	haad-dm-base:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	ad-audiomp2:1.1.0.2
	ad-audiomp2-base:1.1;
locks; strict;
comment	@# @;


1.7
date	2025.10.20.14.31.40;	author nat;	state Exp;
branches;
next	1.6;
commitid	ca2vu1EwZoT0HjfG;

1.6
date	2020.10.19.19.33.02;	author christos;	state Exp;
branches;
next	1.5;
commitid	sYCiqoUJjmwR5ysC;

1.5
date	2019.11.20.19.37.54;	author pgoyette;	state Exp;
branches;
next	1.4;
commitid	klD35BQ0ZsdrRCLB;

1.4
date	2019.02.17.13.21.55;	author rin;	state Exp;
branches;
next	1.3;
commitid	2Zy7PsLoJlEgE7cB;

1.3
date	2010.10.13.14.15.23;	author tsutsui;	state Exp;
branches
	1.3.60.1;
next	1.2;

1.2
date	2009.09.17.23.07.12;	author jnemeth;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2008.11.19.18.36.08;	author ad;	state Exp;
branches
	1.1.4.1
	1.1.6.1
	1.1.10.1;
next	;

1.3.60.1
date	2019.06.10.22.09.24;	author christos;	state Exp;
branches;
next	1.3.60.2;
commitid	jtc8rnCzWiEEHGqB;

1.3.60.2
date	2020.04.08.14.08.56;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.2.2.1
date	2010.10.22.07.22.37;	author uebayasi;	state Exp;
branches;
next	;

1.2.4.1
date	2011.03.05.20.55.41;	author rmind;	state Exp;
branches;
next	;

1.1.4.1
date	2008.11.19.18.36.08;	author mjf;	state dead;
branches;
next	1.1.4.2;

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

1.1.6.1
date	2008.11.19.18.36.08;	author skrll;	state dead;
branches;
next	1.1.6.2;

1.1.6.2
date	2009.01.19.13.20.08;	author skrll;	state Exp;
branches;
next	;

1.1.10.1
date	2008.11.19.18.36.08;	author yamt;	state dead;
branches;
next	1.1.10.2;

1.1.10.2
date	2009.05.04.08.14.09;	author yamt;	state Exp;
branches;
next	1.1.10.3;

1.1.10.3
date	2010.03.11.15.04.25;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.7
log
@New port: mac68ksf - Macintosh 68k softfloat.

This commit is all the Makefile glue for the new port which is the mac68k
port with MKSOFTFLOAT set to "yes".

As posted here:
https://mail-index.netbsd.org/port-mac68k/2025/10/14/msg001037.html
@
text
@#	$NetBSD: Makefile,v 1.6 2020/10/19 19:33:02 christos Exp $

.include "../Makefile.inc"

KMOD=	exec_elf32

CPPFLAGS+=	-DEXEC_ELF32
.if ${MACHINE_ARCH} != "arm" && \
    ${MACHINE_ARCH} != "armeb" && \
    ${MACHINE_ARCH} != "m68000" && \
    ${MACHINE_ARCH} != "m68k" && \
    ${MACHINE_ARCH} != "m68ksf" && \
    ${MACHINE_ARCH} != "powerpc" && \
    ${MACHINE_ARCH} != "powerpc64" && \
    ${MACHINE_ARCH} != "sh3eb" && \
    ${MACHINE_ARCH} != "sh3el" && \
    ${MACHINE_ARCH} != "sparc" && \
    ${MACHINE_ARCH} != "sparc64"
CPPFLAGS+=	-DPAX_ASLR
.endif

.PATH:	${S}/kern
SRCS=	exec_elf32.c

WARNS=	3

.include <bsd.kmodule.mk>
@


1.6
log
@Arrange so that no options COREDUMP and no options PTRACE work together.
Thanks to Paul Goyette for testing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2019/11/20 19:37:54 pgoyette Exp $
d12 1
@


1.5
log
@Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2019/02/17 13:21:55 rin Exp $
d22 1
a22 1
SRCS=	exec_elf32.c core_elf32.c
@


1.4
log
@Set WARNS=3 to appease sign-compare warnings for mips, mips64, and sparc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/10/13 14:15:23 tsutsui Exp $
d7 1
a7 1
CPPFLAGS+=	-DEXEC_ELF32 -DCOREDUMP
@


1.3
log
@Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it
at least on dreamcast.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/09/17 23:07:12 jnemeth Exp $
d24 2
@


1.3.60.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2019/02/17 13:21:55 rin Exp $
a23 2
WARNS=	3

@


1.3.60.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
a7 1
CPPFLAGS+=	-DEXEC_ELF32
@


1.2
log
@Not all platforms can do PaX stuff.  The list was derived in private
conversation with several developers.  The change was tested on
sparc64.

NetBSD ultra.example.ca 5.99.17 NetBSD 5.99.17 (MODULAR) #0: Tue Sep 15 19:08:02 PDT 2009  jnemeth@@ultra.example.ca:/usr/local/current/objdir/sys/arch/sparc64/compile/MODULAR sparc64

NAME		CLASS	SOURCE	REFS	SIZE	REQUIRES
...
exec_elf64      misc	filesys	0	6981	coredump
...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/11/19 18:36:08 ad Exp $
d14 2
@


1.2.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a13 2
    ${MACHINE_ARCH} != "sh3eb" && \
    ${MACHINE_ARCH} != "sh3el" && \
@


1.2.2.1
log
@Sync with HEAD (-D20101022).
@
text
@d1 1
a1 1
#	$NetBSD$
a13 2
    ${MACHINE_ARCH} != "sh3eb" && \
    ${MACHINE_ARCH} != "sh3el" && \
@


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/11/13 10:03:22 ad Exp $
d7 11
a17 1
CPPFLAGS+=	-DEXEC_ELF32 -DPAX_ASLR -DCOREDUMP
@


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


1.1.10.2
log
@sync with head.
@
text
@a0 12
#	$NetBSD$

.include "../Makefile.inc"

KMOD=	exec_elf32

CPPFLAGS+=	-DEXEC_ELF32 -DPAX_ASLR -DCOREDUMP

.PATH:	${S}/kern
SRCS=	exec_elf32.c core_elf32.c

.include <bsd.kmodule.mk>
@


1.1.10.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.10.2 2009/05/04 08:14:09 yamt Exp $
d7 1
a7 11
CPPFLAGS+=	-DEXEC_ELF32 -DCOREDUMP
.if ${MACHINE_ARCH} != "arm" && \
    ${MACHINE_ARCH} != "armeb" && \
    ${MACHINE_ARCH} != "m68000" && \
    ${MACHINE_ARCH} != "m68k" && \
    ${MACHINE_ARCH} != "powerpc" && \
    ${MACHINE_ARCH} != "powerpc64" && \
    ${MACHINE_ARCH} != "sparc" && \
    ${MACHINE_ARCH} != "sparc64"
CPPFLAGS+=	-DPAX_ASLR
.endif
@


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


1.1.6.2
log
@Sync with HEAD.
@
text
@a0 12
#	$NetBSD: Makefile,v 1.1 2008/11/19 18:36:08 ad Exp $

.include "../Makefile.inc"

KMOD=	exec_elf32

CPPFLAGS+=	-DEXEC_ELF32 -DPAX_ASLR -DCOREDUMP

.PATH:	${S}/kern
SRCS=	exec_elf32.c core_elf32.c

.include <bsd.kmodule.mk>
@


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


1.1.4.2
log
@Sync with HEAD.
@
text
@a0 12
#	$NetBSD$

.include "../Makefile.inc"

KMOD=	exec_elf32

CPPFLAGS+=	-DEXEC_ELF32 -DPAX_ASLR -DCOREDUMP

.PATH:	${S}/kern
SRCS=	exec_elf32.c core_elf32.c

.include <bsd.kmodule.mk>
@


