make/solaris/makefiles/adlc.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7121648 Sdiff make/solaris/makefiles

make/solaris/makefiles/adlc.make

Print this page




  23 #
  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 include $(GAMMADIR)/make/altsrc.make
  31 
  32 # #########################################################################
  33 
  34 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
  35 GENERATED = ../generated
  36 OUTDIR  = $(GENERATED)/adfiles
  37 
  38 ARCH = $(Platform_arch)
  39 OS = $(Platform_os_family)
  40 
  41 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
  42 
  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 
  47 EXEC    = $(OUTDIR)/adlc
  48 
  49 # set VPATH so make knows where to look for source files
  50 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc
  51 VPATH += $(Src_Dirs_V:%=%:)
  52 
  53 # set INCLUDES for C preprocessor
  54 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  55 INCLUDES += $(Src_Dirs_I:%=-I%)
  56 
  57 # set flags for adlc compilation
  58 CPPFLAGS = $(SYSDEFS) $(INCLUDES)
  59 
  60 # Force assertions on.
  61 CPPFLAGS += -DASSERT
  62 
  63 ifndef USE_GCC
  64   # We need libCstd.so for adlc 
  65   CFLAGS += -library=Cstd -g




  23 #
  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 include $(GAMMADIR)/make/altsrc.make
  31 
  32 # #########################################################################
  33 
  34 # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make:
  35 GENERATED = ../generated
  36 OUTDIR  = $(GENERATED)/adfiles
  37 
  38 ARCH = $(Platform_arch)
  39 OS = $(Platform_os_family)
  40 
  41 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 
  42 
  43 ifeq ("${Platform_arch_model}", "${Platform_arch}")
  44   SOURCES.AD = \
  45   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
  46   $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
  47 else
  48   SOURCES.AD = \
  49   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
  50   $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch).ad) \
  51   $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
  52 endif
  53 
  54 EXEC    = $(OUTDIR)/adlc
  55 
  56 # set VPATH so make knows where to look for source files
  57 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc
  58 VPATH += $(Src_Dirs_V:%=%:)
  59 
  60 # set INCLUDES for C preprocessor
  61 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  62 INCLUDES += $(Src_Dirs_I:%=-I%)
  63 
  64 # set flags for adlc compilation
  65 CPPFLAGS = $(SYSDEFS) $(INCLUDES)
  66 
  67 # Force assertions on.
  68 CPPFLAGS += -DASSERT
  69 
  70 ifndef USE_GCC
  71   # We need libCstd.so for adlc 
  72   CFLAGS += -library=Cstd -g


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