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 15:18:52 -05: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-04 20:28:30 -05:00
# TODO: Include as part of the snapshot.
stage0/intrinsics.bc: $(INTRINSICS_BC)
@$(call E, cp: $@)
$(Q)cp $< $@