security/nss/coreconf/jdk.mk

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 #
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 ifdef NS_USE_JDK
michael@0 7 #######################################################################
michael@0 8 # [1] Define preliminary JDK "Core Components" toolset options #
michael@0 9 #######################################################################
michael@0 10
michael@0 11 # set default JDK java threading model
michael@0 12 ifeq ($(JDK_THREADING_MODEL),)
michael@0 13 JDK_THREADING_MODEL = native_threads
michael@0 14 # no such thing as -native flag
michael@0 15 JDK_THREADING_MODEL_OPT =
michael@0 16 endif
michael@0 17
michael@0 18 #######################################################################
michael@0 19 # [2] Define platform-independent JDK "Core Components" options #
michael@0 20 #######################################################################
michael@0 21
michael@0 22 # set default location of the java classes repository
michael@0 23 ifeq ($(JAVA_DESTPATH),)
michael@0 24 ifdef BUILD_OPT
michael@0 25 JAVA_DESTPATH = $(SOURCE_CLASSES_DIR)
michael@0 26 else
michael@0 27 JAVA_DESTPATH = $(SOURCE_CLASSES_DBG_DIR)
michael@0 28 endif
michael@0 29 endif
michael@0 30
michael@0 31 # set default location of the package under the java classes repository
michael@0 32 # note that this overrides the default package value in ruleset.mk
michael@0 33 ifeq ($(PACKAGE),)
michael@0 34 PACKAGE = .
michael@0 35 endif
michael@0 36
michael@0 37 # set default location of the java source code repository
michael@0 38 ifeq ($(JAVA_SOURCEPATH),)
michael@0 39 JAVA_SOURCEPATH = .
michael@0 40 endif
michael@0 41
michael@0 42 # add JNI directory to default include search path
michael@0 43 ifneq ($(JNI_GEN),)
michael@0 44 ifdef NSBUILDROOT
michael@0 45 INCLUDES += -I$(JNI_GEN_DIR) -I$(SOURCE_XP_DIR)
michael@0 46 else
michael@0 47 INCLUDES += -I$(JNI_GEN_DIR)
michael@0 48 endif
michael@0 49 endif
michael@0 50
michael@0 51 #######################################################################
michael@0 52 # [3] Define platform-dependent JDK "Core Components" options #
michael@0 53 #######################################################################
michael@0 54
michael@0 55 # set [Microsoft Windows] platforms
michael@0 56 ifeq ($(OS_ARCH), WINNT)
michael@0 57 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 58
michael@0 59 ifeq ($(JRE_HOME),)
michael@0 60 JRE_HOME = $(JAVA_HOME)
michael@0 61 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 62 else
michael@0 63 ifeq ($(JRE_CLASSES),)
michael@0 64 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 65 endif
michael@0 66 endif
michael@0 67
michael@0 68 PATH_SEPARATOR = ;
michael@0 69
michael@0 70 # (2) specify "header" information
michael@0 71 JAVA_ARCH = win32
michael@0 72
michael@0 73 INCLUDES += -I$(JAVA_HOME)/include
michael@0 74 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 75
michael@0 76 # currently, disable JIT option on this platform
michael@0 77 JDK_JIT_OPT = -nojit
michael@0 78 endif
michael@0 79
michael@0 80 # set [Sun Solaris] platforms
michael@0 81 ifeq ($(OS_ARCH), SunOS)
michael@0 82 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 83
michael@0 84 ifeq ($(JRE_HOME),)
michael@0 85 JRE_HOME = $(JAVA_HOME)
michael@0 86 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 87 else
michael@0 88 ifeq ($(JRE_CLASSES),)
michael@0 89 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 90 endif
michael@0 91 endif
michael@0 92
michael@0 93 PATH_SEPARATOR = :
michael@0 94
michael@0 95 # (2) specify "header" information
michael@0 96 JAVA_ARCH = solaris
michael@0 97
michael@0 98 INCLUDES += -I$(JAVA_HOME)/include
michael@0 99 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 100
michael@0 101 # currently, disable JIT option on this platform
michael@0 102 JDK_JIT_OPT =
michael@0 103 endif
michael@0 104
michael@0 105 # set [Hewlett Packard HP-UX] platforms
michael@0 106 ifeq ($(OS_ARCH), HP-UX)
michael@0 107 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 108
michael@0 109 ifeq ($(JRE_HOME),)
michael@0 110 JRE_HOME = $(JAVA_HOME)
michael@0 111 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 112 else
michael@0 113 ifeq ($(JRE_CLASSES),)
michael@0 114 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 115 endif
michael@0 116 endif
michael@0 117
michael@0 118 PATH_SEPARATOR = :
michael@0 119
michael@0 120 # (2) specify "header" information
michael@0 121 JAVA_ARCH = hp-ux
michael@0 122
michael@0 123 INCLUDES += -I$(JAVA_HOME)/include
michael@0 124 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 125
michael@0 126 # no JIT option available on this platform
michael@0 127 JDK_JIT_OPT =
michael@0 128 endif
michael@0 129
michael@0 130 # set [Redhat Linux] platforms
michael@0 131 ifeq ($(OS_ARCH), Linux)
michael@0 132 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 133
michael@0 134 ifeq ($(JRE_HOME),)
michael@0 135 JRE_HOME = $(JAVA_HOME)
michael@0 136 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 137 else
michael@0 138 ifeq ($(JRE_CLASSES),)
michael@0 139 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 140 endif
michael@0 141 endif
michael@0 142
michael@0 143 PATH_SEPARATOR = :
michael@0 144
michael@0 145 # (2) specify "header" information
michael@0 146 JAVA_ARCH = linux
michael@0 147
michael@0 148 INCLUDES += -I$(JAVA_HOME)/include
michael@0 149 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 150
michael@0 151 # no JIT option available on this platform
michael@0 152 JDK_JIT_OPT =
michael@0 153 endif
michael@0 154
michael@0 155 # set [Mac OS X] platforms
michael@0 156 ifeq ($(OS_ARCH), Darwin)
michael@0 157 JAVA_CLASSES = $(JAVA_HOME)/../Classes/classes.jar
michael@0 158
michael@0 159 ifeq ($(JRE_HOME),)
michael@0 160 JRE_HOME = $(JAVA_HOME)
michael@0 161 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 162 else
michael@0 163 ifeq ($(JRE_CLASSES),)
michael@0 164 JRE_CLASSES = $(JRE_HOME)/../Classes/classes.jar
michael@0 165 endif
michael@0 166 endif
michael@0 167
michael@0 168 PATH_SEPARATOR = :
michael@0 169
michael@0 170 # (2) specify "header" information
michael@0 171 JAVA_ARCH = darwin
michael@0 172
michael@0 173 INCLUDES += -I$(JAVA_HOME)/include
michael@0 174 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 175
michael@0 176 # no JIT option available on this platform
michael@0 177 JDK_JIT_OPT =
michael@0 178 endif
michael@0 179
michael@0 180 # set [IBM AIX] platforms
michael@0 181 ifeq ($(OS_ARCH), AIX)
michael@0 182 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 183
michael@0 184 ifeq ($(JRE_HOME),)
michael@0 185 JRE_HOME = $(JAVA_HOME)
michael@0 186 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 187 else
michael@0 188 ifeq ($(JRE_CLASSES),)
michael@0 189 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 190 endif
michael@0 191 endif
michael@0 192
michael@0 193 PATH_SEPARATOR = :
michael@0 194
michael@0 195 # (2) specify "header" information
michael@0 196 JAVA_ARCH = aix
michael@0 197
michael@0 198 INCLUDES += -I$(JAVA_HOME)/include
michael@0 199 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 200
michael@0 201 # no JIT option available on this platform
michael@0 202 JDK_JIT_OPT =
michael@0 203 endif
michael@0 204
michael@0 205 # set [Digital UNIX] platforms
michael@0 206 ifeq ($(OS_ARCH), OSF1)
michael@0 207 JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
michael@0 208
michael@0 209 ifeq ($(JRE_HOME),)
michael@0 210 JRE_HOME = $(JAVA_HOME)
michael@0 211 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 212 else
michael@0 213 ifeq ($(JRE_CLASSES),)
michael@0 214 JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
michael@0 215 endif
michael@0 216 endif
michael@0 217
michael@0 218 PATH_SEPARATOR = :
michael@0 219
michael@0 220 # (2) specify "header" information
michael@0 221 JAVA_ARCH = alpha
michael@0 222
michael@0 223 INCLUDES += -I$(JAVA_HOME)/include
michael@0 224 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 225
michael@0 226 # no JIT option available on this platform
michael@0 227 JDK_JIT_OPT =
michael@0 228 endif
michael@0 229
michael@0 230 # set [Silicon Graphics IRIX] platforms
michael@0 231 ifeq ($(OS_ARCH), IRIX)
michael@0 232 JAVA_CLASSES = $(JAVA_HOME)/lib/dev.jar:$(JAVA_HOME)/lib/rt.jar
michael@0 233
michael@0 234 ifeq ($(JRE_HOME),)
michael@0 235 JRE_HOME = $(JAVA_HOME)
michael@0 236 JRE_CLASSES = $(JAVA_CLASSES)
michael@0 237 else
michael@0 238 ifeq ($(JRE_CLASSES),)
michael@0 239 JRE_CLASSES = $(JRE_HOME)/lib/dev.jar:$(JRE_HOME)/lib/rt.jar
michael@0 240 endif
michael@0 241 endif
michael@0 242
michael@0 243 PATH_SEPARATOR = :
michael@0 244
michael@0 245 # (2) specify "header" information
michael@0 246 JAVA_ARCH = irix
michael@0 247
michael@0 248 INCLUDES += -I$(JAVA_HOME)/include
michael@0 249 INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
michael@0 250
michael@0 251 # no JIT option available on this platform
michael@0 252 JDK_JIT_OPT =
michael@0 253 endif
michael@0 254
michael@0 255 #######################################################################
michael@0 256 # [4] Define remaining JDK "Core Components" default toolset options #
michael@0 257 #######################################################################
michael@0 258
michael@0 259 # set JDK optimization model
michael@0 260 ifeq ($(BUILD_OPT),1)
michael@0 261 JDK_OPTIMIZER_OPT = -O
michael@0 262 else
michael@0 263 JDK_OPTIMIZER_OPT = -g
michael@0 264 endif
michael@0 265
michael@0 266 # set minimal JDK debugging model
michael@0 267 ifeq ($(JDK_DEBUG),1)
michael@0 268 JDK_DEBUG_OPT = -debug
michael@0 269 else
michael@0 270 JDK_DEBUG_OPT =
michael@0 271 endif
michael@0 272
michael@0 273 # set default path to repository for JDK classes
michael@0 274 ifeq ($(JDK_CLASS_REPOSITORY_OPT),)
michael@0 275 JDK_CLASS_REPOSITORY_OPT = -d $(JAVA_DESTPATH)
michael@0 276 endif
michael@0 277
michael@0 278 # define a default JDK classpath
michael@0 279 ifeq ($(JDK_CLASSPATH),)
michael@0 280 JDK_CLASSPATH = '$(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEPATH)$(PATH_SEPARATOR)$(JAVA_CLASSES)'
michael@0 281 endif
michael@0 282
michael@0 283 # by default, override CLASSPATH environment variable using the JDK classpath option with $(JDK_CLASSPATH)
michael@0 284 ifeq ($(JDK_CLASSPATH_OPT),)
michael@0 285 JDK_CLASSPATH_OPT = -classpath $(JDK_CLASSPATH)
michael@0 286 endif
michael@0 287
michael@0 288 ifeq ($(USE_64), 1)
michael@0 289 JDK_USE_64 = -d64
michael@0 290 endif
michael@0 291
michael@0 292 endif
michael@0 293
michael@0 294
michael@0 295 #######################################################################
michael@0 296 # [5] Define JDK "Core Components" toolset; #
michael@0 297 # (always allow a user to override these values) #
michael@0 298 #######################################################################
michael@0 299
michael@0 300 #
michael@0 301 # (1) appletviewer
michael@0 302 #
michael@0 303
michael@0 304 ifeq ($(APPLETVIEWER),)
michael@0 305 APPLETVIEWER_PROG = $(JAVA_HOME)/bin/appletviewer$(PROG_SUFFIX)
michael@0 306 APPLETVIEWER_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 307 APPLETVIEWER_FLAGS += $(JDK_DEBUG_OPT)
michael@0 308 APPLETVIEWER_FLAGS += $(JDK_JIT_OPT)
michael@0 309 APPLETVIEWER = $(APPLETVIEWER_PROG) $(APPLETVIEWER_FLAGS)
michael@0 310 endif
michael@0 311
michael@0 312 #
michael@0 313 # (2) jar
michael@0 314 #
michael@0 315
michael@0 316 ifeq ($(JAR),)
michael@0 317 JAR_PROG = $(JAVA_HOME)/bin/jar$(PROG_SUFFIX)
michael@0 318 JAR_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 319 JAR = $(JAR_PROG) $(JAR_FLAGS)
michael@0 320 endif
michael@0 321
michael@0 322 #
michael@0 323 # (3) java
michael@0 324 #
michael@0 325
michael@0 326 ifeq ($(JAVA),)
michael@0 327 JAVA_PROG = $(JAVA_HOME)/bin/java$(PROG_SUFFIX)
michael@0 328 JAVA_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 329 JAVA_FLAGS += $(JDK_DEBUG_OPT)
michael@0 330 JAVA_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 331 JAVA_FLAGS += $(JDK_JIT_OPT)
michael@0 332 JAVA_FLAGS += $(JDK_USE_64)
michael@0 333 JAVA = $(JAVA_PROG) $(JAVA_FLAGS)
michael@0 334 endif
michael@0 335
michael@0 336 #
michael@0 337 # (4) javac
michael@0 338 #
michael@0 339
michael@0 340 ifeq ($(JAVAC),)
michael@0 341 JAVAC_PROG = $(JAVA_HOME)/bin/javac$(PROG_SUFFIX)
michael@0 342 JAVAC_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 343 JAVAC_FLAGS += $(JDK_OPTIMIZER_OPT)
michael@0 344 JAVAC_FLAGS += $(JDK_DEBUG_OPT)
michael@0 345 JAVAC_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 346 JAVAC_FLAGS += $(JDK_CLASS_REPOSITORY_OPT)
michael@0 347 JAVAC_FLAGS += $(JDK_USE_64)
michael@0 348 JAVAC = $(JAVAC_PROG) $(JAVAC_FLAGS)
michael@0 349 endif
michael@0 350
michael@0 351 #
michael@0 352 # (5) javadoc
michael@0 353 #
michael@0 354
michael@0 355 ifeq ($(JAVADOC),)
michael@0 356 JAVADOC_PROG = $(JAVA_HOME)/bin/javadoc$(PROG_SUFFIX)
michael@0 357 JAVADOC_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 358 JAVADOC_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 359 JAVADOC = $(JAVADOC_PROG) $(JAVADOC_FLAGS)
michael@0 360 endif
michael@0 361
michael@0 362 #
michael@0 363 # (6) javah
michael@0 364 #
michael@0 365
michael@0 366 ifeq ($(JAVAH),)
michael@0 367 JAVAH_PROG = $(JAVA_HOME)/bin/javah$(PROG_SUFFIX)
michael@0 368 JAVAH_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 369 JAVAH_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 370 JAVAH = $(JAVAH_PROG) $(JAVAH_FLAGS)
michael@0 371 endif
michael@0 372
michael@0 373 #
michael@0 374 # (7) javakey
michael@0 375 #
michael@0 376
michael@0 377 ifeq ($(JAVAKEY),)
michael@0 378 JAVAKEY_PROG = $(JAVA_HOME)/bin/javakey$(PROG_SUFFIX)
michael@0 379 JAVAKEY_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 380 JAVAKEY = $(JAVAKEY_PROG) $(JAVAKEY_FLAGS)
michael@0 381 endif
michael@0 382
michael@0 383 #
michael@0 384 # (8) javap
michael@0 385 #
michael@0 386
michael@0 387 ifeq ($(JAVAP),)
michael@0 388 JAVAP_PROG = $(JAVA_HOME)/bin/javap$(PROG_SUFFIX)
michael@0 389 JAVAP_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 390 JAVAP_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 391 JAVAP = $(JAVAP_PROG) $(JAVAP_FLAGS)
michael@0 392 endif
michael@0 393
michael@0 394 #
michael@0 395 # (9) javat
michael@0 396 #
michael@0 397
michael@0 398 ifeq ($(JAVAT),)
michael@0 399 JAVAT_PROG = $(JAVA_HOME)/bin/javat$(PROG_SUFFIX)
michael@0 400 JAVAT_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 401 JAVAT = $(JAVAT_PROG) $(JAVAT_FLAGS)
michael@0 402 endif
michael@0 403
michael@0 404 #
michael@0 405 # (10) javaverify
michael@0 406 #
michael@0 407
michael@0 408 ifeq ($(JAVAVERIFY),)
michael@0 409 JAVAVERIFY_PROG = $(JAVA_HOME)/bin/javaverify$(PROG_SUFFIX)
michael@0 410 JAVAVERIFY_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 411 JAVAVERIFY = $(JAVAVERIFY_PROG) $(JAVAVERIFY_FLAGS)
michael@0 412 endif
michael@0 413
michael@0 414 #
michael@0 415 # (11) javaw
michael@0 416 #
michael@0 417
michael@0 418 ifeq ($(JAVAW),)
michael@0 419 jJAVAW_PROG = $(JAVA_HOME)/bin/javaw$(PROG_SUFFIX)
michael@0 420 jJAVAW_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 421 jJAVAW_FLAGS += $(JDK_DEBUG_OPT)
michael@0 422 jJAVAW_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 423 jJAVAW_FLAGS += $(JDK_JIT_OPT)
michael@0 424 jJAVAW = $(JAVAW_PROG) $(JAVAW_FLAGS)
michael@0 425 endif
michael@0 426
michael@0 427 #
michael@0 428 # (12) jdb
michael@0 429 #
michael@0 430
michael@0 431 ifeq ($(JDB),)
michael@0 432 JDB_PROG = $(JAVA_HOME)/bin/jdb$(PROG_SUFFIX)
michael@0 433 JDB_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 434 JDB_FLAGS += $(JDK_DEBUG_OPT)
michael@0 435 JDB_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 436 JDB_FLAGS += $(JDK_JIT_OPT)
michael@0 437 JDB = $(JDB_PROG) $(JDB_FLAGS)
michael@0 438 endif
michael@0 439
michael@0 440 #
michael@0 441 # (13) jre
michael@0 442 #
michael@0 443
michael@0 444 ifeq ($(JRE),)
michael@0 445 JRE_PROG = $(JAVA_HOME)/bin/jre$(PROG_SUFFIX)
michael@0 446 JRE_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 447 JRE_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 448 JRE_FLAGS += $(JDK_JIT_OPT)
michael@0 449 JRE = $(JRE_PROG) $(JRE_FLAGS)
michael@0 450 endif
michael@0 451
michael@0 452 #
michael@0 453 # (14) jrew
michael@0 454 #
michael@0 455
michael@0 456 ifeq ($(JREW),)
michael@0 457 JREW_PROG = $(JAVA_HOME)/bin/jrew$(PROG_SUFFIX)
michael@0 458 JREW_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 459 JREW_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 460 JREW_FLAGS += $(JDK_JIT_OPT)
michael@0 461 JREW = $(JREW_PROG) $(JREW_FLAGS)
michael@0 462 endif
michael@0 463
michael@0 464 #
michael@0 465 # (15) native2ascii
michael@0 466 #
michael@0 467
michael@0 468 ifeq ($(NATIVE2ASCII),)
michael@0 469 NATIVE2ASCII_PROG = $(JAVA_HOME)/bin/native2ascii$(PROG_SUFFIX)
michael@0 470 NATIVE2ASCII_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 471 NATIVE2ASCII = $(NATIVE2ASCII_PROG) $(NATIVE2ASCII_FLAGS)
michael@0 472 endif
michael@0 473
michael@0 474 #
michael@0 475 # (16) rmic
michael@0 476 #
michael@0 477
michael@0 478 ifeq ($(RMIC),)
michael@0 479 RMIC_PROG = $(JAVA_HOME)/bin/rmic$(PROG_SUFFIX)
michael@0 480 RMIC_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 481 RMIC_FLAGS += $(JDK_OPTIMIZER_OPT)
michael@0 482 RMIC_FLAGS += $(JDK_CLASSPATH_OPT)
michael@0 483 RMIC = $(RMIC_PROG) $(RMIC_FLAGS)
michael@0 484 endif
michael@0 485
michael@0 486 #
michael@0 487 # (17) rmiregistry
michael@0 488 #
michael@0 489
michael@0 490 ifeq ($(RMIREGISTRY),)
michael@0 491 RMIREGISTRY_PROG = $(JAVA_HOME)/bin/rmiregistry$(PROG_SUFFIX)
michael@0 492 RMIREGISTRY_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 493 RMIREGISTRY = $(RMIREGISTRY_PROG) $(RMIREGISTRY_FLAGS)
michael@0 494 endif
michael@0 495
michael@0 496 #
michael@0 497 # (18) serialver
michael@0 498 #
michael@0 499
michael@0 500 ifeq ($(SERIALVER),)
michael@0 501 SERIALVER_PROG = $(JAVA_HOME)/bin/serialver$(PROG_SUFFIX)
michael@0 502 SERIALVER_FLAGS = $(JDK_THREADING_MODEL_OPT)
michael@0 503 SERIALVER = $(SERIALVER_PROG) $(SERIALVER_FLAGS)
michael@0 504 endif

mercurial