head	1.3;
access;
symbols
	netbsd-11-0-RC5:1.3
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.18
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.16
	perseant-exfatfs-base:1.3
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.14
	netbsd-10-base:1.3
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.12
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.3.0.10
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.8
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.6
	netbsd-9-base:1.3
	phil-wifi:1.3.0.4
	phil-wifi-20190609:1.3
	pgoyette-compat-merge-20190127:1.3.2.2
	pgoyette-compat:1.3.0.2
	pgoyette-compat-20190127:1.3;
locks; strict;
comment	@# @;


1.3
date	2019.01.22.23.55.54;	author mrg;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;
commitid	cl9AY2OHXT6NYP8B;

1.2
date	2019.01.19.20.02.06;	author mrg;	state Exp;
branches;
next	1.1;
commitid	O5VSRXSKoh7cNq8B;

1.1
date	2019.01.19.17.11.02;	author mrg;	state Exp;
branches;
next	;
commitid	Rkbokdbv0WLAQp8B;

1.3.2.1
date	2019.01.22.23.55.54;	author pgoyette;	state dead;
branches;
next	1.3.2.2;
commitid	JKpcmvSjdT25dl9B;

1.3.2.2
date	2019.01.26.21.59.41;	author pgoyette;	state Exp;
branches;
next	;
commitid	JKpcmvSjdT25dl9B;

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

1.3.4.2
date	2019.06.10.21.55.01;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.3
log
@- fix Makefile.gthr CONFIG_LINKS handling.  demand only that
  gthr-default.h source be found.  fix installing the symlink.
- -Wno-error=incompatible-pointer-types needed for libgomp/lock.c
- build new libsupc++ files with -std=gnu++1z
- install new libstdc++ bits files. (XXX use bits_sup_headers
  from libstdc++/include/Makefile.am with mknative-gccm)
- start to get libstdc++ to build: various flag updates.
@
text
@#	$NetBSD: Makefile.gthr,v 1.2 2019/01/19 20:02:06 mrg Exp $

# makefile fragment to setup files selected by configure

.if ${MKGCC} != "no"

LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
LIBGCC_DIST=${DIST}/libgcc

. include "${DIST}/../lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}/gthr-defs.mk"

.if !empty(G_enable_execute_stack)
CONFIG_LINKS+= \
	${G_enable_execute_stack}	enable-execute-stack.c
.endif

.if !empty(G_unwind_header)
CONFIG_LINKS+= \
	${G_unwind_header}		unwind.h
.endif

.if !empty(G_md_unwind_header)
CONFIG_LINKS+= \
	${G_md_unwind_header}		md-unwind-support.h
.endif

.if !empty(G_sfp_machine_header)
CONFIG_LINKS+= \
	${G_sfp_machine_header}		sfp-machine.h
.endif

# Demand this one exists.
CONFIG_LINKS+= \
	${G_thread_header}		gthr-default.h

BUILDSYMLINKS+=	${CONFIG_LINKS}
. for _src _dst in ${CONFIG_LINKS}
DPSRCS+=	${_dst}
. endfor

.PATH: ${LIBGCC_DIST} ${LIBGCC_DIST}/config

.endif
@


1.3.4.1
log
@file Makefile.gthr was added on branch phil-wifi on 2019-06-10 21:55:01 +0000
@
text
@d1 43
@


1.3.4.2
log
@Sync with HEAD
@
text
@a0 43
#	$NetBSD: Makefile.gthr,v 1.3 2019/01/22 23:55:54 mrg Exp $

# makefile fragment to setup files selected by configure

.if ${MKGCC} != "no"

LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
LIBGCC_DIST=${DIST}/libgcc

. include "${DIST}/../lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}/gthr-defs.mk"

.if !empty(G_enable_execute_stack)
CONFIG_LINKS+= \
	${G_enable_execute_stack}	enable-execute-stack.c
.endif

.if !empty(G_unwind_header)
CONFIG_LINKS+= \
	${G_unwind_header}		unwind.h
.endif

.if !empty(G_md_unwind_header)
CONFIG_LINKS+= \
	${G_md_unwind_header}		md-unwind-support.h
.endif

.if !empty(G_sfp_machine_header)
CONFIG_LINKS+= \
	${G_sfp_machine_header}		sfp-machine.h
.endif

# Demand this one exists.
CONFIG_LINKS+= \
	${G_thread_header}		gthr-default.h

BUILDSYMLINKS+=	${CONFIG_LINKS}
. for _src _dst in ${CONFIG_LINKS}
DPSRCS+=	${_dst}
. endfor

.PATH: ${LIBGCC_DIST} ${LIBGCC_DIST}/config

.endif
@


1.3.2.1
log
@file Makefile.gthr was added on branch pgoyette-compat on 2019-01-26 21:59:41 +0000
@
text
@d1 43
@


1.3.2.2
log
@Sync with HEAD
@
text
@a0 43
#	$NetBSD: Makefile.gthr,v 1.3 2019/01/22 23:55:54 mrg Exp $

# makefile fragment to setup files selected by configure

.if ${MKGCC} != "no"

LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
LIBGCC_DIST=${DIST}/libgcc

. include "${DIST}/../lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}/gthr-defs.mk"

.if !empty(G_enable_execute_stack)
CONFIG_LINKS+= \
	${G_enable_execute_stack}	enable-execute-stack.c
.endif

.if !empty(G_unwind_header)
CONFIG_LINKS+= \
	${G_unwind_header}		unwind.h
.endif

.if !empty(G_md_unwind_header)
CONFIG_LINKS+= \
	${G_md_unwind_header}		md-unwind-support.h
.endif

.if !empty(G_sfp_machine_header)
CONFIG_LINKS+= \
	${G_sfp_machine_header}		sfp-machine.h
.endif

# Demand this one exists.
CONFIG_LINKS+= \
	${G_thread_header}		gthr-default.h

BUILDSYMLINKS+=	${CONFIG_LINKS}
. for _src _dst in ${CONFIG_LINKS}
DPSRCS+=	${_dst}
. endfor

.PATH: ${LIBGCC_DIST} ${LIBGCC_DIST}/config

.endif
@


1.2
log
@make includes works now.

pull out more data needed for headers and fix gthr-defaults.h.

libgcc_s has multiple symbols.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gthr,v 1.1 2019/01/19 17:11:02 mrg Exp $
d8 1
d10 1
a10 1
. -include "${DIST}/../lib/libgcc/arch/${LIBGCC_MACHINE_ARCH}/gthr-defs.mk"
d12 22
a33 5
CONFIG_LINKS= \
	${G_enable_execute_stack}	enable-execute-stack.c \
	${G_unwind_header}		unwind.h \
	${G_md_unwind_header}		md-unwind-support.h \
	${G_sfp_machine_header}		sfp-machine.h \
d35 1
d41 2
@


1.1
log
@begin to handle new unwind.h and gthr-default.h stuff.
put gthr stuff in a common makefile.

remove ancient unused Makefile.srcs.
@
text
@d1 1
a1 1
#	$NetBSD$
d6 5
d21 1
@

