X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2FMakefile;h=df6b9a117d554b273b757a41e28ae10ae97dfc37;hb=4a9e3cdf9ce705c71d7a57d21cc0f1891c7bc64b;hp=baefcf2f4c1f4ee2c1e45b3b0645bcab9c96822d;hpb=ee09a3a9e55732540063474b1330a01d70ce92e6;p=mono.git diff --git a/mcs/Makefile b/mcs/Makefile index baefcf2f4c1..df6b9a117d5 100644 --- a/mcs/Makefile +++ b/mcs/Makefile @@ -2,14 +2,18 @@ thisdir := . SUBDIRS := build jay mcs class nunit24 ilasm tools tests errors docs -basic_SUBDIRS := build jay mcs class tools -net_2_0_SUBDIRS := build class nunit24 ilasm tools tests errors mcs -moonlight_raw_SUBDIRS := build class tools mcs -moonlight_SUBDIRS := tools -monodroid_SUBDIRS := build class mcs -monotouch_SUBDIRS := build class mcs +# Resgen is corlib specific tool + +basic_SUBDIRS := build jay mcs class +build_SUBDIRS := build class mcs class/aot-compiler tools +net_2_0_SUBDIRS := build class nunit24 ilasm tools tests errors docs +monodroid_SUBDIRS := build class +monotouch_SUBDIRS := build class +monotouch_runtime_SUBDIRS := build class +mobile_SUBDIRS := build class net_3_5_SUBDIRS := build class tools/xbuild -net_4_0_SUBDIRS := build class nunit24 ilasm tools tests errors mcs docs +net_4_0_SUBDIRS := build class +net_4_5_SUBDIRS := build mcs class nunit24 ilasm tools tests errors docs # List of test subdirs that should pass 100% centum_tests := \ @@ -77,11 +81,11 @@ all-local $(STD_TARGETS:=-local): @: dir-check: - @if [ "$(NO_DIR_CHECK)" = "" -a "$(PROFILE)" != "basic" ]; then echo "Running make from the mcs directory is not supported. Run make from the parent directory."; exit 1; fi + @if [ "$(NO_DIR_CHECK)" = "" -a "$(PROFILE)" != "basic" ]; then make -C ../runtime; fi # fun specialty targets -PROFILES = net_2_0 net_3_5 net_4_0 +PROFILES = net_2_0 net_3_5 net_4_0 net_4_5 .PHONY: all-profiles $(STD_TARGETS:=-profiles) all-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--% @@ -100,13 +104,15 @@ profiles-do--run-test: # Orchestrate the bootstrap here. _boot_ = all clean install -$(_boot_:%=profile-do--net_4_0--%): profile-do--net_4_0--%: profile-do--basic--% +$(_boot_:%=profile-do--net_4_5--%): profile-do--net_4_5--%: profile-do--build--% +$(_boot_:%=profile-do--net_4_0--%): profile-do--net_4_0--%: profile-do--build--% $(_boot_:%=profile-do--net_3_5--%): profile-do--net_3_5--%: profile-do--net_2_0--% -$(_boot_:%=profile-do--moonlight--%): profile-do--moonlight--%: profile-do--moonlight_raw--% -$(_boot_:%=profile-do--monodroid--%): profile-do--monodroid--%: profile-do--basic--% -$(_boot_:%=profile-do--monotouch--%): profile-do--monotouch--%: profile-do--basic--% -$(_boot_:%=profile-do--moonlight_raw--%): profile-do--moonlight_raw--%: profile-do--basic--% -$(_boot_:%=profile-do--net_2_0--%): profile-do--net_2_0--%: profile-do--basic--% +$(_boot_:%=profile-do--monodroid--%): profile-do--monodroid--%: profile-do--build--% +$(_boot_:%=profile-do--monotouch--%): profile-do--monotouch--%: profile-do--build--% +$(_boot_:%=profile-do--monotouch_runtime--%): profile-do--monotouch_runtime--%: profile-do--build--% +$(_boot_:%=profile-do--mobile--%): profile-do--mobile--%: profile-do--build--% +$(_boot_:%=profile-do--net_2_0--%): profile-do--net_2_0--%: profile-do--build--% +$(_boot_:%=profile-do--build--%): profile-do--build--%: profile-do--basic--% testcorlib: @cd class/corlib && $(MAKE) test run-test