Skip to content

Commit 4709038

Browse files
committed
Bring make distcheck up to date
1 parent ed5a962 commit 4709038

File tree

4 files changed

+52
-7
lines changed

4 files changed

+52
-7
lines changed

Makefile.in

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,17 @@
4747
######################################################################
4848

4949
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)
5361

5462
ifneq ($(MAKE_RESTARTS),)
5563
CFG_INFO := $(info cfg: make restarts: $(MAKE_RESTARTS))

mk/dist.mk

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,42 @@ PKG_3RDPARTY := rt/valgrind.h rt/memcheck.h \
1919
rt/bigint/bigint.h rt/bigint/bigint_int.cpp \
2020
rt/bigint/bigint_ext.cpp rt/bigint/low_primes.h
2121

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+
2232
PKG_FILES = \
2333
$(wildcard $(S)src/etc/*.*) \
2434
$(S)LICENSE.txt $(S)README \
2535
$(S)configure $(S)Makefile.in \
36+
$(S)src/snapshots.txt \
2637
$(addprefix $(S)src/, \
2738
README comp/README \
2839
$(RUNTIME_CS) $(RUNTIME_HDR) \
40+
$(RUNTIME_S) \
41+
rt/rustrt.def.in \
42+
rt/intrinsics/intrinsics.ll.in \
43+
rt/main.ll.in \
2944
$(RUSTLLVM_LIB_CS) $(RUSTLLVM_OBJS_CS) \
3045
$(RUSTLLVM_HDR) \
46+
rustllvm/rustllvm.def.in \
3147
$(PKG_3RDPARTY)) \
32-
$(GENERATED) \
48+
$(PKG_UV) \
3349
$(COMPILER_INPUTS) \
3450
$(STDLIB_INPUTS) \
3551
$(ALL_TEST_INPUTS) \
36-
$(GENERATED)
52+
$(FUZZER_CRATE) \
53+
$(FUZZER_INPUTS) \
54+
$(COMPILETEST_CRATE) \
55+
$(COMPILETEST_INPUTS) \
56+
$(PKG_PP_EXAMPLES) \
57+
$(MKFILES)
3758

3859
dist: $(PKG_TAR) $(PKG_EXE)
3960

mk/rt.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,20 @@ RUNTIME_S := rt/arch/i386/_context.S \
4242

4343
RUNTIME_HDR := rt/globals.h \
4444
rt/rust.h \
45+
rt/rust_abi.h \
46+
rt/rust_cc.h \
47+
rt/rust_debug.h \
48+
rt/rust_gc.h \
4549
rt/rust_internal.h \
4650
rt/rust_util.h \
4751
rt/rust_chan.h \
4852
rt/rust_env.h \
53+
rt/rust_obstack.h \
54+
rt/rust_unwind.h \
55+
rt/rust_upcall.h \
4956
rt/rust_port.h \
5057
rt/rust_scheduler.h \
58+
rt/rust_shape.h \
5159
rt/rust_task.h \
5260
rt/rust_task_list.h \
5361
rt/rust_log.h \

mk/tests.mk

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,16 @@ tidy:
8484
$(Q)echo \
8585
$(filter-out $(GENERATED) $(addprefix $(S)src/, $(GENERATED)) \
8686
$(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)) \
8997
| xargs -n 10 python $(S)src/etc/tidy.py
9098

9199

0 commit comments

Comments
 (0)