File tree Expand file tree Collapse file tree 4 files changed +52
-7
lines changed Expand file tree Collapse file tree 4 files changed +52
-7
lines changed Original file line number Diff line number Diff line change 47
47
# #####################################################################
48
48
49
49
include config.mk
50
- MKFILES := Makefile config.mk $(wildcard $(CFG_SRC_DIR ) /mk/* .mk)
51
- MKFILES += $(CFG_SRC_DIR ) /src/rt/libuv/Makefile
52
- MKFILES += $(wildcard $(CFG_SRC_DIR ) /src/rt/libuv/* .mk)
50
+ OUR_MKFILES := Makefile config.mk $(wildcard $(CFG_SRC_DIR ) /mk/* .mk)
51
+ 3RDPARTY_MKFILES := $(CFG_SRC_DIR ) /src/rt/libuv/Makefile \
52
+ $(wildcard $(CFG_SRC_DIR ) /src/rt/libuv/* .mk)
53
+ GEN_MKFILES := $(wildcard $(CFG_SRC_DIR ) /mk/libuv/mac/* ) \
54
+ $(wildcard $(CFG_SRC_DIR ) /mk/libuv/unix/* ) \
55
+ $(wildcard $(CFG_SRC_DIR ) /mk/libuv/win/* ) \
56
+ $(wildcard $(CFG_SRC_DIR ) /mk/libuv/mac/src/rt/libuv/* ) \
57
+ $(wildcard $(CFG_SRC_DIR ) /mk/libuv/mac/src/rt/libuv/* ) \
58
+ $(wildcard $(CFG_SRC_DIR ) /mk/libuv/mac/src/rt/libuv/* )
59
+
60
+ MKFILES := $(OUR_MKFILES ) $(3RDPARTY_MKFILES ) $(GEN_MKFILES )
53
61
54
62
ifneq ($(MAKE_RESTARTS ) ,)
55
63
CFG_INFO := $(info cfg: make restarts: $(MAKE_RESTARTS ) )
Original file line number Diff line number Diff line change @@ -19,21 +19,42 @@ PKG_3RDPARTY := rt/valgrind.h rt/memcheck.h \
19
19
rt/bigint/bigint.h rt/bigint/bigint_int.cpp \
20
20
rt/bigint/bigint_ext.cpp rt/bigint/low_primes.h
21
21
22
+ PKG_UV := \
23
+ $(wildcard $(S ) src/rt/libuv/* ) \
24
+ $(wildcard $(S ) src/rt/libuv/include/* ) \
25
+ $(wildcard $(S ) src/rt/libuv/include/* /* ) \
26
+ $(wildcard $(S ) src/rt/libuv/src/* ) \
27
+ $(wildcard $(S ) src/rt/libuv/src/* /* ) \
28
+ $(wildcard $(S ) src/rt/libuv/src/* /* /* )
29
+
30
+ PKG_PP_EXAMPLES = $(wildcard $(S ) src/test/pretty/* .pp)
31
+
22
32
PKG_FILES = \
23
33
$(wildcard $(S ) src/etc/* .* ) \
24
34
$(S ) LICENSE.txt $(S ) README \
25
35
$(S ) configure $(S ) Makefile.in \
36
+ $(S ) src/snapshots.txt \
26
37
$(addprefix $(S ) src/, \
27
38
README comp/README \
28
39
$(RUNTIME_CS ) $(RUNTIME_HDR ) \
40
+ $(RUNTIME_S ) \
41
+ rt/rustrt.def.in \
42
+ rt/intrinsics/intrinsics.ll.in \
43
+ rt/main.ll.in \
29
44
$(RUSTLLVM_LIB_CS ) $(RUSTLLVM_OBJS_CS ) \
30
45
$(RUSTLLVM_HDR ) \
46
+ rustllvm/rustllvm.def.in \
31
47
$(PKG_3RDPARTY ) ) \
32
- $(GENERATED ) \
48
+ $(PKG_UV ) \
33
49
$(COMPILER_INPUTS ) \
34
50
$(STDLIB_INPUTS ) \
35
51
$(ALL_TEST_INPUTS ) \
36
- $(GENERATED )
52
+ $(FUZZER_CRATE ) \
53
+ $(FUZZER_INPUTS ) \
54
+ $(COMPILETEST_CRATE ) \
55
+ $(COMPILETEST_INPUTS ) \
56
+ $(PKG_PP_EXAMPLES ) \
57
+ $(MKFILES )
37
58
38
59
dist : $(PKG_TAR ) $(PKG_EXE )
39
60
Original file line number Diff line number Diff line change @@ -42,12 +42,20 @@ RUNTIME_S := rt/arch/i386/_context.S \
42
42
43
43
RUNTIME_HDR := rt/globals.h \
44
44
rt/rust.h \
45
+ rt/rust_abi.h \
46
+ rt/rust_cc.h \
47
+ rt/rust_debug.h \
48
+ rt/rust_gc.h \
45
49
rt/rust_internal.h \
46
50
rt/rust_util.h \
47
51
rt/rust_chan.h \
48
52
rt/rust_env.h \
53
+ rt/rust_obstack.h \
54
+ rt/rust_unwind.h \
55
+ rt/rust_upcall.h \
49
56
rt/rust_port.h \
50
57
rt/rust_scheduler.h \
58
+ rt/rust_shape.h \
51
59
rt/rust_task.h \
52
60
rt/rust_task_list.h \
53
61
rt/rust_log.h \
Original file line number Diff line number Diff line change 84
84
$(Q ) echo \
85
85
$(filter-out $(GENERATED ) $(addprefix $(S ) src/, $(GENERATED ) ) \
86
86
$(addprefix $(S ) src/, $(RUSTLLVM_LIB_CS ) $(RUSTLLVM_OBJS_CS ) \
87
- $(RUSTLLVM_HDR ) $(PKG_3RDPARTY ) ) \
88
- $(S ) src/etc/%, $(PKG_FILES ) ) \
87
+ $(RUSTLLVM_HDR ) $(PKG_3RDPARTY ) \
88
+ $(RUNTIME_CS) $(RUNTIME_HDR) $(RUNTIME_S)) \
89
+ $(S)src/etc/%, \
90
+ $(COMPILER_CRATE) \
91
+ $(COMPILER_INPUTS) \
92
+ $(STDLIB_CRATE) \
93
+ $(STDLIB_INPUTS) \
94
+ $(COMPILETEST_CRATE) \
95
+ $(COMPILETEST_INPUTS) \
96
+ $(ALL_TEST_INPUTS)) \
89
97
| xargs -n 10 python $(S)src/etc/tidy.py
90
98
91
99
You can’t perform that action at this time.
0 commit comments