compiler_rt: build .a.syms files as part of dependall The previous target 'all' is a top-level target intended to be specified by the user. During the regular build, 'dependall' is used instead of 'all'. The target 'realall' is common to those two.diff -r1.5 -r1.6 src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile
(rillig)
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile 2021/05/04 17:23:53 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:53 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.asan-x86_64 | 12 | LIB= libclang_rt.asan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/interception | 14 | .PATH: ${TOPDIR}/lib/interception | |
@@ -47,20 +47,20 @@ MKPICINSTALL= no | @@ -47,20 +47,20 @@ MKPICINSTALL= no | |||
47 | MKPROFILE= no | 47 | MKPROFILE= no | |
48 | MKSTATICLIB= yes | 48 | MKSTATICLIB= yes | |
49 | 49 | |||
50 | CPPFLAGS+= -I${TOPDIR}/lib | 50 | CPPFLAGS+= -I${TOPDIR}/lib | |
51 | 51 | |||
52 | COPTS+= -fPIC | 52 | COPTS+= -fPIC | |
53 | 53 | |||
54 | .include "../m64.mk" | 54 | .include "../m64.mk" | |
55 | .include "../syms.mk" | 55 | .include "../syms.mk" | |
56 | 56 | |||
57 | SYMS= libclang_rt.asan-x86_64.a.syms | 57 | SYMS= libclang_rt.asan-x86_64.a.syms | |
58 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra | 58 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra | |
59 | 59 | |||
60 | all: ${SYMS} | 60 | realall: ${SYMS} | |
61 | 61 | |||
62 | CLEANFILES+= ${SYMS} | 62 | CLEANFILES+= ${SYMS} | |
63 | FILES= ${SYMS} | 63 | FILES= ${SYMS} | |
64 | FILESDIR= ${LIBDIR} | 64 | FILESDIR= ${LIBDIR} | |
65 | 65 | |||
66 | .include <bsd.lib.mk> | 66 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile 2021/05/04 17:23:53 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:53 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.asan_cxx-x86_64 | 12 | LIB= libclang_rt.asan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/asan | 14 | .PATH: ${TOPDIR}/lib/asan | |
@@ -30,20 +30,20 @@ MKLINT= no | @@ -30,20 +30,20 @@ MKLINT= no | |||
30 | MKPICINSTALL= no | 30 | MKPICINSTALL= no | |
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | CPPFLAGS+= -I${TOPDIR}/lib | 34 | CPPFLAGS+= -I${TOPDIR}/lib | |
35 | COPTS+= -fPIC | 35 | COPTS+= -fPIC | |
36 | 36 | |||
37 | .include "../m64.mk" | 37 | .include "../m64.mk" | |
38 | .include "../syms.mk" | 38 | .include "../syms.mk" | |
39 | 39 | |||
40 | SYMS= libclang_rt.asan_cxx-x86_64.a.syms | 40 | SYMS= libclang_rt.asan_cxx-x86_64.a.syms | |
41 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra # Overlooked in upstream compiler-rt (8.0) ? | 41 | SYMS_EXTRA= ${TOPDIR}/lib/asan/asan.syms.extra # Overlooked in upstream compiler-rt (8.0) ? | |
42 | 42 | |||
43 | all: ${SYMS} | 43 | realall: ${SYMS} | |
44 | 44 | |||
45 | CLEANFILES+= ${SYMS} | 45 | CLEANFILES+= ${SYMS} | |
46 | FILES= ${SYMS} | 46 | FILES= ${SYMS} | |
47 | FILESDIR= ${LIBDIR} | 47 | FILESDIR= ${LIBDIR} | |
48 | 48 | |||
49 | .include <bsd.lib.mk> | 49 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.msan-x86_64 | 12 | LIB= libclang_rt.msan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -42,20 +42,20 @@ MKPICINSTALL= no | @@ -42,20 +42,20 @@ MKPICINSTALL= no | |||
42 | MKPROFILE= no | 42 | MKPROFILE= no | |
43 | MKSTATICLIB= yes | 43 | MKSTATICLIB= yes | |
44 | 44 | |||
45 | CPPFLAGS+= -I${TOPDIR}/lib | 45 | CPPFLAGS+= -I${TOPDIR}/lib | |
46 | 46 | |||
47 | COPTS+= -fPIC | 47 | COPTS+= -fPIC | |
48 | 48 | |||
49 | .include "../m64.mk" | 49 | .include "../m64.mk" | |
50 | .include "../syms.mk" | 50 | .include "../syms.mk" | |
51 | 51 | |||
52 | SYMS= libclang_rt.msan-x86_64.a.syms | 52 | SYMS= libclang_rt.msan-x86_64.a.syms | |
53 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | 53 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | |
54 | 54 | |||
55 | all: ${SYMS} | 55 | realall: ${SYMS} | |
56 | 56 | |||
57 | CLEANFILES+= ${SYMS} | 57 | CLEANFILES+= ${SYMS} | |
58 | FILES= ${SYMS} | 58 | FILES= ${SYMS} | |
59 | FILESDIR= ${LIBDIR} | 59 | FILESDIR= ${LIBDIR} | |
60 | 60 | |||
61 | .include <bsd.lib.mk> | 61 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.msan_cxx-x86_64 | 12 | LIB= libclang_rt.msan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -31,20 +31,20 @@ MKPICINSTALL= no | @@ -31,20 +31,20 @@ MKPICINSTALL= no | |||
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | CPPFLAGS+= -I${TOPDIR}/lib | 34 | CPPFLAGS+= -I${TOPDIR}/lib | |
35 | 35 | |||
36 | COPTS+= -fPIC | 36 | COPTS+= -fPIC | |
37 | 37 | |||
38 | .include "../m64.mk" | 38 | .include "../m64.mk" | |
39 | .include "../syms.mk" | 39 | .include "../syms.mk" | |
40 | 40 | |||
41 | SYMS= libclang_rt.msan_cxx-x86_64.a.syms | 41 | SYMS= libclang_rt.msan_cxx-x86_64.a.syms | |
42 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | 42 | SYMS_EXTRA= ${TOPDIR}/lib/msan/msan.syms.extra | |
43 | 43 | |||
44 | all: ${SYMS} | 44 | realall: ${SYMS} | |
45 | 45 | |||
46 | CLEANFILES+= ${SYMS} | 46 | CLEANFILES+= ${SYMS} | |
47 | FILES= ${SYMS} | 47 | FILES= ${SYMS} | |
48 | FILESDIR= ${LIBDIR} | 48 | FILESDIR= ${LIBDIR} | |
49 | 49 | |||
50 | .include <bsd.lib.mk> | 50 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.tsan-x86_64 | 12 | LIB= libclang_rt.tsan-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -42,20 +42,20 @@ MKLINT= no | @@ -42,20 +42,20 @@ MKLINT= no | |||
42 | MKPICINSTALL= no | 42 | MKPICINSTALL= no | |
43 | MKPROFILE= no | 43 | MKPROFILE= no | |
44 | MKSTATICLIB= yes | 44 | MKSTATICLIB= yes | |
45 | 45 | |||
46 | COPTS+= -fPIC | 46 | COPTS+= -fPIC | |
47 | CPPFLAGS+= -I${TOPDIR}/lib | 47 | CPPFLAGS+= -I${TOPDIR}/lib | |
48 | 48 | |||
49 | .include "../m64.mk" | 49 | .include "../m64.mk" | |
50 | .include "../syms.mk" | 50 | .include "../syms.mk" | |
51 | 51 | |||
52 | SYMS= libclang_rt.tsan-x86_64.a.syms | 52 | SYMS= libclang_rt.tsan-x86_64.a.syms | |
53 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | 53 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | |
54 | 54 | |||
55 | all: ${SYMS} | 55 | realall: ${SYMS} | |
56 | 56 | |||
57 | CLEANFILES+= ${SYMS} | 57 | CLEANFILES+= ${SYMS} | |
58 | FILES= ${SYMS} | 58 | FILES= ${SYMS} | |
59 | FILESDIR= ${LIBDIR} | 59 | FILESDIR= ${LIBDIR} | |
60 | 60 | |||
61 | .include <bsd.lib.mk> | 61 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile 2021/04/30 22:48:37 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:37 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.tsan_cxx-x86_64 | 12 | LIB= libclang_rt.tsan_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/tsan/rtl | 14 | .PATH: ${TOPDIR}/lib/tsan/rtl | |
@@ -30,20 +30,20 @@ MKLINT= no | @@ -30,20 +30,20 @@ MKLINT= no | |||
30 | MKPICINSTALL= no | 30 | MKPICINSTALL= no | |
31 | MKPROFILE= no | 31 | MKPROFILE= no | |
32 | MKSTATICLIB= yes | 32 | MKSTATICLIB= yes | |
33 | 33 | |||
34 | COPTS+= -fPIC | 34 | COPTS+= -fPIC | |
35 | CPPFLAGS+= -I${TOPDIR}/lib | 35 | CPPFLAGS+= -I${TOPDIR}/lib | |
36 | 36 | |||
37 | .include "../m64.mk" | 37 | .include "../m64.mk" | |
38 | .include "../syms.mk" | 38 | .include "../syms.mk" | |
39 | 39 | |||
40 | SYMS= libclang_rt.tsan_cxx-x86_64.a.syms | 40 | SYMS= libclang_rt.tsan_cxx-x86_64.a.syms | |
41 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | 41 | SYMS_EXTRA= ${TOPDIR}/lib/tsan/rtl/tsan.syms.extra | |
42 | 42 | |||
43 | all: ${SYMS} | 43 | realall: ${SYMS} | |
44 | 44 | |||
45 | CLEANFILES+= ${SYMS} | 45 | CLEANFILES+= ${SYMS} | |
46 | FILES= ${SYMS} | 46 | FILES= ${SYMS} | |
47 | FILESDIR= ${LIBDIR} | 47 | FILESDIR= ${LIBDIR} | |
48 | 48 | |||
49 | .include <bsd.lib.mk> | 49 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile 2021/04/30 22:48:38 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:38 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_minimal-x86_64 | 12 | LIB= libclang_rt.ubsan_minimal-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan_minimal | 14 | .PATH: ${TOPDIR}/lib/ubsan_minimal | |
@@ -26,20 +26,20 @@ MKLINT= no | @@ -26,20 +26,20 @@ MKLINT= no | |||
26 | MKPICINSTALL= no | 26 | MKPICINSTALL= no | |
27 | MKPROFILE= no | 27 | MKPROFILE= no | |
28 | MKSTATICLIB= yes | 28 | MKSTATICLIB= yes | |
29 | 29 | |||
30 | COPTS+= -fPIC | 30 | COPTS+= -fPIC | |
31 | CPPFLAGS+= -I${TOPDIR}/lib | 31 | CPPFLAGS+= -I${TOPDIR}/lib | |
32 | 32 | |||
33 | .include "../m64.mk" | 33 | .include "../m64.mk" | |
34 | .include "../syms.mk" | 34 | .include "../syms.mk" | |
35 | 35 | |||
36 | SYMS= libclang_rt.ubsan_minimal-x86_64.a.syms | 36 | SYMS= libclang_rt.ubsan_minimal-x86_64.a.syms | |
37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan_minimal/ubsan.syms.extra | 37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan_minimal/ubsan.syms.extra | |
38 | 38 | |||
39 | all: ${SYMS} | 39 | realall: ${SYMS} | |
40 | 40 | |||
41 | CLEANFILES+= ${SYMS} | 41 | CLEANFILES+= ${SYMS} | |
42 | FILES= ${SYMS} | 42 | FILES= ${SYMS} | |
43 | FILESDIR= ${LIBDIR} | 43 | FILESDIR= ${LIBDIR} | |
44 | 44 | |||
45 | .include <bsd.lib.mk> | 45 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile 2021/04/30 22:48:38 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:38 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_standalone-x86_64 | 12 | LIB= libclang_rt.ubsan_standalone-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/interception | 14 | .PATH: ${TOPDIR}/lib/interception | |
@@ -40,20 +40,20 @@ MKLINT= no | @@ -40,20 +40,20 @@ MKLINT= no | |||
40 | MKPICINSTALL= no | 40 | MKPICINSTALL= no | |
41 | MKPROFILE= no | 41 | MKPROFILE= no | |
42 | MKSTATICLIB= yes | 42 | MKSTATICLIB= yes | |
43 | 43 | |||
44 | COPTS+= -fPIC | 44 | COPTS+= -fPIC | |
45 | CPPFLAGS+= -I${TOPDIR}/lib | 45 | CPPFLAGS+= -I${TOPDIR}/lib | |
46 | 46 | |||
47 | .include "../m64.mk" | 47 | .include "../m64.mk" | |
48 | .include "../syms.mk" | 48 | .include "../syms.mk" | |
49 | 49 | |||
50 | SYMS= libclang_rt.ubsan_standalone-x86_64.a.syms | 50 | SYMS= libclang_rt.ubsan_standalone-x86_64.a.syms | |
51 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | 51 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | |
52 | 52 | |||
53 | all: ${SYMS} | 53 | realall: ${SYMS} | |
54 | 54 | |||
55 | CLEANFILES+= ${SYMS} | 55 | CLEANFILES+= ${SYMS} | |
56 | FILES= ${SYMS} | 56 | FILES= ${SYMS} | |
57 | FILESDIR= ${LIBDIR} | 57 | FILESDIR= ${LIBDIR} | |
58 | 58 | |||
59 | .include <bsd.lib.mk> | 59 | .include <bsd.lib.mk> |
--- src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile 2021/04/30 22:48:38 1.5
+++ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile 2021/05/04 17:23:54 1.6
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/04/30 22:48:38 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/05/04 17:23:54 rillig Exp $ | |
2 | 2 | |||
3 | NOSANITIZER= # defined | 3 | NOSANITIZER= # defined | |
4 | 4 | |||
5 | .include "../common.mk" | 5 | .include "../common.mk" | |
6 | .include "../sources.mk" | 6 | .include "../sources.mk" | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | 9 | |||
10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | 10 | TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist | |
11 | 11 | |||
12 | LIB= libclang_rt.ubsan_standalone_cxx-x86_64 | 12 | LIB= libclang_rt.ubsan_standalone_cxx-x86_64 | |
13 | 13 | |||
14 | .PATH: ${TOPDIR}/lib/ubsan | 14 | .PATH: ${TOPDIR}/lib/ubsan | |
@@ -26,20 +26,20 @@ MKLINT= no | @@ -26,20 +26,20 @@ MKLINT= no | |||
26 | MKPICINSTALL= no | 26 | MKPICINSTALL= no | |
27 | MKPROFILE= no | 27 | MKPROFILE= no | |
28 | MKSTATICLIB= yes | 28 | MKSTATICLIB= yes | |
29 | 29 | |||
30 | COPTS+= -fPIC | 30 | COPTS+= -fPIC | |
31 | CPPFLAGS+= -I${TOPDIR}/lib | 31 | CPPFLAGS+= -I${TOPDIR}/lib | |
32 | 32 | |||
33 | .include "../m64.mk" | 33 | .include "../m64.mk" | |
34 | .include "../syms.mk" | 34 | .include "../syms.mk" | |
35 | 35 | |||
36 | SYMS= libclang_rt.ubsan_standalone_cxx-x86_64.a.syms | 36 | SYMS= libclang_rt.ubsan_standalone_cxx-x86_64.a.syms | |
37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | 37 | SYMS_EXTRA= ${TOPDIR}/lib/ubsan/ubsan.syms.extra | |
38 | 38 | |||
39 | all: ${SYMS} | 39 | realall: ${SYMS} | |
40 | 40 | |||
41 | CLEANFILES+= ${SYMS} | 41 | CLEANFILES+= ${SYMS} | |
42 | FILES= ${SYMS} | 42 | FILES= ${SYMS} | |
43 | FILESDIR= ${LIBDIR} | 43 | FILESDIR= ${LIBDIR} | |
44 | 44 | |||
45 | .include <bsd.lib.mk> | 45 | .include <bsd.lib.mk> |