hotspot/make/solaris/makefiles/adlc.make
changeset 8114 340b5b8b544b
parent 7397 5b173b4ca846
child 8921 14bfe81f2a9d
equal deleted inserted replaced
8112:77eb272084d9 8114:340b5b8b544b
    25 # This makefile (adlc.make) is included from the adlc.make in the
    25 # This makefile (adlc.make) is included from the adlc.make in the
    26 # build directories.
    26 # build directories.
    27 # It knows how to compile, link, and run the adlc.
    27 # It knows how to compile, link, and run the adlc.
    28 
    28 
    29 include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make
    29 include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make
       
    30 include $(GAMMADIR)/make/altsrc.make
    30 
    31 
    31 # #########################################################################
    32 # #########################################################################
    32 
    33 
    33 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
    34 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
    34 GENERATED = ../generated
    35 GENERATED = ../generated
    37 ARCH = $(Platform_arch)
    38 ARCH = $(Platform_arch)
    38 OS = $(Platform_os_family)
    39 OS = $(Platform_os_family)
    39 
    40 
    40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
    41 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
    41 
    42 
    42 SOURCES.AD = $(GAMMADIR)/src/cpu/$(ARCH)/vm/$(Platform_arch_model).ad \
    43 SOURCES.AD = \
    43 	     $(GAMMADIR)/src/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad 
    44   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
       
    45   $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
    44 
    46 
    45 EXEC	= $(OUTDIR)/adlc
    47 EXEC	= $(OUTDIR)/adlc
    46 
    48 
    47 # set VPATH so make knows where to look for source files
    49 # set VPATH so make knows where to look for source files
    48 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc
    50 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc