< prev index next >

make/solaris/makefiles/adlc.make

Print this page




  59 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  60 INCLUDES += $(Src_Dirs_I:%=-I%)
  61 
  62 # set flags for adlc compilation
  63 CXXFLAGS = $(SYSDEFS) $(INCLUDES)
  64 
  65 # Force assertions on.
  66 CXXFLAGS += -DASSERT
  67 
  68 ifndef USE_GCC
  69   # We need libCstd.so for adlc 
  70   CFLAGS += -library=Cstd -g
  71   LFLAGS += -library=Cstd -g
  72 endif
  73 
  74 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
  75 # Compiler warnings are treated as errors
  76 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
  77   CFLAGS_WARN = +w -errwarn
  78 endif





  79 CFLAGS += $(CFLAGS_WARN)
  80 
  81 ifeq ("${Platform_compiler}", "sparcWorks")
  82 # Enable the following CFLAGS addition if you need to compare the
  83 # built ELF objects.
  84 #
  85 # The -g option makes static data global and the "-Qoption ccfe
  86 # -xglobalstatic" option tells the compiler to not globalize static
  87 # data using a unique globalization prefix. Instead force the use
  88 # of a static globalization prefix based on the source filepath so
  89 # the objects from two identical compilations are the same.
  90 #CFLAGS += -Qoption ccfe -xglobalstatic
  91 endif # Platform_compiler == sparcWorks
  92 
  93 OBJECTNAMES = \
  94         adlparse.o \
  95         archDesc.o \
  96         arena.o \
  97         dfa.o \
  98         dict2.o \




  59 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
  60 INCLUDES += $(Src_Dirs_I:%=-I%)
  61 
  62 # set flags for adlc compilation
  63 CXXFLAGS = $(SYSDEFS) $(INCLUDES)
  64 
  65 # Force assertions on.
  66 CXXFLAGS += -DASSERT
  67 
  68 ifndef USE_GCC
  69   # We need libCstd.so for adlc 
  70   CFLAGS += -library=Cstd -g
  71   LFLAGS += -library=Cstd -g
  72 endif
  73 
  74 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
  75 # Compiler warnings are treated as errors
  76 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
  77   CFLAGS_WARN = +w -errwarn
  78 endif
  79 # When using 5.13, calls to explicitly instantiated template functions
  80 # trigger this warning when +w is active
  81 ifeq ($(COMPILER_REV_NUMERIC), 513)
  82   CFLAGS_WARN += -erroff=notemsource
  83 endif
  84 CFLAGS += $(CFLAGS_WARN)
  85 
  86 ifeq ("${Platform_compiler}", "sparcWorks")
  87 # Enable the following CFLAGS addition if you need to compare the
  88 # built ELF objects.
  89 #
  90 # The -g option makes static data global and the "-Qoption ccfe
  91 # -xglobalstatic" option tells the compiler to not globalize static
  92 # data using a unique globalization prefix. Instead force the use
  93 # of a static globalization prefix based on the source filepath so
  94 # the objects from two identical compilations are the same.
  95 #CFLAGS += -Qoption ccfe -xglobalstatic
  96 endif # Platform_compiler == sparcWorks
  97 
  98 OBJECTNAMES = \
  99         adlparse.o \
 100         archDesc.o \
 101         arena.o \
 102         dfa.o \
 103         dict2.o \


< prev index next >