rust/mk/stage0.mk

39 lines
932 B
Makefile
Raw Normal View History

stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
@$(call E, fetch: $@)
$(Q)$(S)src/etc/get-snapshot.py
$(Q)touch $@
2011-05-01 15:18:52 -05:00
# Host libs will be made in the process of making rustc above.
# FIXME: temporary hack: the first two are currently carried in
# lib/ directory only, so we copy them out.
stage0/$(CFG_RUNTIME): stage0/lib/$(CFG_RUNTIME)
$(Q)cp $< $@
2011-05-04 20:28:30 -05:00
stage0/$(CFG_STDLIB): stage0/lib/$(CFG_STDLIB)
$(Q)cp $< $@
2011-07-11 17:33:17 -05:00
stage0/$(CFG_RUSTLLVM): stage0/rustc$(X)
$(Q)touch $@
# Target libs will be made in the process of making rustc above.
stage0/lib/glue.o: stage0/rustc$(X)
$(Q)touch $@
# FIXME: temporary hack: currently not distributing main.o like we should;
# copying from rt
stage0/lib/main.o: rt/main.o
$(Q)cp $< $@
stage0/lib/$(CFG_RUNTIME): stage0/rustc$(X)
$(Q)touch $@
stage0/lib/$(CFG_STDLIB): stage0/rustc$(X)
$(Q)touch $@
stage0/lib/libstd.rlib: stage0/rustc$(X)
$(Q)touch $@