0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 13:18:54 +01:00
rust/mk/stage0.mk

30 lines
784 B
Makefile
Raw Normal View History

# FIXME: Copying rt and rustllvm to stage0 is transitional until the snapshot
# that begins including them
stage0/lib/$(CFG_RUNTIME): rt/$(CFG_RUNTIME)
@$(call E, cp: $@)
$(Q)cp $< $@
stage0/lib/$(CFG_RUSTLLVM): rustllvm/$(CFG_RUSTLLVM)
@$(call E, cp: $@)
$(Q)cp $< $@
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) \
stage0/lib/$(CFG_RUNTIME) stage0/lib/$(CFG_RUSTLLVM)
@$(call E, fetch: $@)
$(Q)$(S)src/etc/get-snapshot.py
$(Q)touch $@
2011-05-01 22:18:52 +02:00
# These two will be made in the process of making rustc above.
stage0/glue.o: stage0/rustc$(X)
$(Q)touch $@
stage0/lib/$(CFG_STDLIB): stage0/rustc$(X)
$(Q)touch $@
2011-05-05 03:28:30 +02:00
# TODO: Include as part of the snapshot.
stage0/intrinsics.bc: $(INTRINSICS_BC)
@$(call E, cp: $@)
$(Q)cp $< $@