make/bsd/makefiles/adlc.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File JDK-8022475 Sdiff make/bsd/makefiles

make/bsd/makefiles/adlc.make

Print this page




  24 
  25 # This makefile (adlc.make) is included from the adlc.make in the
  26 # build directories.
  27 # It knows how to compile, link, and run the adlc.
  28 
  29 include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make
  30 
  31 # #########################################################################
  32 
  33 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
  34 GENERATED = ../generated
  35 OUTDIR  = $(GENERATED)/adfiles
  36 
  37 ARCH = $(Platform_arch)
  38 OS = $(Platform_os_family)
  39 
  40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
  41 
  42 ifeq ("${Platform_arch_model}", "${Platform_arch}")
  43   SOURCES.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)
  46 else
  47   SOURCES.AD = \
  48   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
  49   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch).ad) \
  50   $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
  51 endif
  52 
  53 EXEC    = $(OUTDIR)/adlc
  54 
  55 # set VPATH so make knows where to look for source files
  56 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc
  57 VPATH += $(Src_Dirs_V:%=%:)
  58 
  59 # set INCLUDES for C preprocessor
  60 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  61 INCLUDES += $(Src_Dirs_I:%=-I%)
  62 
  63 # set flags for adlc compilation
  64 CXXFLAGS = $(SYSDEFS) $(INCLUDES)
  65 
  66 # Force assertions on.
  67 CXXFLAGS += -DASSERT
  68 
  69 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
  70 # Compiler warnings are treated as errors




  24 
  25 # This makefile (adlc.make) is included from the adlc.make in the
  26 # build directories.
  27 # It knows how to compile, link, and run the adlc.
  28 
  29 include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make
  30 
  31 # #########################################################################
  32 
  33 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
  34 GENERATED = ../generated
  35 OUTDIR  = $(GENERATED)/adfiles
  36 
  37 ARCH = $(Platform_arch)
  38 OS = $(Platform_os_family)
  39 
  40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
  41 
  42 ifeq ("${Platform_arch_model}", "${Platform_arch}")
  43   SOURCES.AD = \
  44   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) 

  45 else
  46   SOURCES.AD = \
  47   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
  48   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch).ad) 

  49 endif
  50 
  51 EXEC    = $(OUTDIR)/adlc
  52 
  53 # set VPATH so make knows where to look for source files
  54 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc
  55 VPATH += $(Src_Dirs_V:%=%:)
  56 
  57 # set INCLUDES for C preprocessor
  58 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  59 INCLUDES += $(Src_Dirs_I:%=-I%)
  60 
  61 # set flags for adlc compilation
  62 CXXFLAGS = $(SYSDEFS) $(INCLUDES)
  63 
  64 # Force assertions on.
  65 CXXFLAGS += -DASSERT
  66 
  67 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
  68 # Compiler warnings are treated as errors


make/bsd/makefiles/adlc.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File