make/Makefile

changeset 271
4b72c2556789
parent 172
6210fb7e7544
child 272
321854d9ab19
equal deleted inserted replaced
263:825f23a4f262 271:4b72c2556789
103 ifeq ($(VARIANT), OPT) 103 ifeq ($(VARIANT), OPT)
104 ANT_OPTIONS += -Djavac.debug=false 104 ANT_OPTIONS += -Djavac.debug=false
105 endif 105 endif
106 endif 106 endif
107 107
108 ifeq ($(DEBUG_CLASSFILES), true)
109 ANT_OPTIONS += -Djavac.debug=true
110 ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars
111 else
112 ANT_OPTIONS += -Djavac.debug=false
113 ANT_OPTIONS += -Djavac.debuglevel=
114 endif
115
108 # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) 116 # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN)
109 # and the somewhat misnamed CLASS_VERSION (-target NN) 117 # and the somewhat misnamed CLASS_VERSION (-target NN)
110 ifdef TARGET_CLASS_VERSION 118 ifdef TARGET_CLASS_VERSION
111 ANT_OPTIONS += -Djavac.target=$(TARGET_CLASS_VERSION) 119 ANT_OPTIONS += -Djavac.target=$(TARGET_CLASS_VERSION)
112 else 120 else

mercurial