blob: 9403355a1e879e6660f0a79c8e4c7c1181d3f587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|