37 |
37 |
38 # Don't override the built-in $(MAKE). |
38 # Don't override the built-in $(MAKE). |
39 # Instead, use "gmake" (or "gnumake") from the command line. --Rose |
39 # Instead, use "gmake" (or "gnumake") from the command line. --Rose |
40 #MAKE = gmake |
40 #MAKE = gmake |
41 |
41 |
|
42 include $(GAMMADIR)/make/altsrc.make |
|
43 |
42 GENERATED = ../generated |
44 GENERATED = ../generated |
43 VM = $(GAMMADIR)/src/share/vm |
45 VM = $(GAMMADIR)/src/share/vm |
44 Plat_File = $(Platform_file) |
46 Plat_File = $(Platform_file) |
45 CDG = cd $(GENERATED); |
47 CDG = cd $(GENERATED); |
46 |
48 |
47 Cached_plat = $(GENERATED)/platform.current |
49 Cached_plat = $(GENERATED)/platform.current |
48 |
50 |
49 AD_Dir = $(GENERATED)/adfiles |
51 AD_Dir = $(GENERATED)/adfiles |
50 ADLC = $(AD_Dir)/adlc |
52 ADLC = $(AD_Dir)/adlc |
51 AD_Spec = $(GAMMADIR)/src/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad |
53 AD_Spec = $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad) |
52 AD_Src = $(GAMMADIR)/src/share/vm/adlc |
54 AD_Src = $(call altsrc-replace,$(HS_COMMON_SRC)/share/vm/adlc) |
53 AD_Names = ad_$(Platform_arch_model).hpp ad_$(Platform_arch_model).cpp |
55 AD_Names = ad_$(Platform_arch_model).hpp ad_$(Platform_arch_model).cpp |
54 AD_Files = $(AD_Names:%=$(AD_Dir)/%) |
56 AD_Files = $(AD_Names:%=$(AD_Dir)/%) |
55 |
57 |
56 # AD_Files_If_Required/COMPILER1 = ad_stuff |
58 # AD_Files_If_Required/COMPILER1 = ad_stuff |
57 AD_Files_If_Required/COMPILER2 = ad_stuff |
59 AD_Files_If_Required/COMPILER2 = ad_stuff |