make/Makefile

Print this page




 281   GEN_DIR=$(ZERO_BASE_DIR)/generated
 282 endif
 283 else
 284 ifeq ($(ARCH_DATA_MODEL), 32)
 285   MISC_DIR=$(C1_DIR)
 286   GEN_DIR=$(C1_BASE_DIR)/generated
 287 else
 288   MISC_DIR=$(C2_DIR)
 289   GEN_DIR=$(C2_BASE_DIR)/generated
 290 endif
 291 endif
 292 
 293 # Bin files (windows)
 294 ifeq ($(OSNAME),windows)
 295 
 296 # Get jvm.lib 
 297 $(EXPORT_LIB_DIR)/%.lib:  $(MISC_DIR)/%.lib
 298         $(install-file)
 299 
 300 # Other libraries (like SA)


 301 $(EXPORT_JRE_BIN_DIR)/%.dll: $(MISC_DIR)/%.dll
 302         $(install-file)
 303 $(EXPORT_JRE_BIN_DIR)/%.pdb: $(MISC_DIR)/%.pdb
 304         $(install-file)
 305 $(EXPORT_JRE_BIN_DIR)/%.map: $(MISC_DIR)/%.map
 306         $(install-file)
 307 
 308 # Client files always come from C1 area


 309 $(EXPORT_CLIENT_DIR)/%.dll:  $(C1_DIR)/%.dll
 310         $(install-file)
 311 $(EXPORT_CLIENT_DIR)/%.pdb:  $(C1_DIR)/%.pdb
 312         $(install-file)
 313 $(EXPORT_CLIENT_DIR)/%.map:  $(C1_DIR)/%.map
 314         $(install-file)
 315 
 316 # Server files always come from C2 area


 317 $(EXPORT_SERVER_DIR)/%.dll:  $(C2_DIR)/%.dll
 318         $(install-file)
 319 $(EXPORT_SERVER_DIR)/%.pdb:  $(C2_DIR)/%.pdb
 320         $(install-file)
 321 $(EXPORT_SERVER_DIR)/%.map:  $(C2_DIR)/%.map
 322         $(install-file)
 323 
 324 # Kernel files always come from kernel area


 325 $(EXPORT_KERNEL_DIR)/%.dll:  $(KERNEL_DIR)/%.dll
 326         $(install-file)
 327 $(EXPORT_KERNEL_DIR)/%.pdb:  $(KERNEL_DIR)/%.pdb
 328         $(install-file)
 329 $(EXPORT_KERNEL_DIR)/%.map:  $(KERNEL_DIR)/%.map
 330         $(install-file)
 331 endif
 332 
 333 # Shared Library
 334 ifneq ($(OSNAME),windows)
 335   ifeq ($(ZERO_BUILD), true)
 336     ifeq ($(SHARK_BUILD), true)
 337 $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
 338         $(install-file)
 339 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
 340         $(install-file)
 341     else
 342 $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
 343         $(install-file)
 344 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(ZERO_DIR)/%.$(LIBRARY_SUFFIX)


 354 $(EXPORT_CLIENT_DIR)/64/%.$(LIBRARY_SUFFIX):    $(C1_DIR)/%.$(LIBRARY_SUFFIX)
 355         $(install-file)
 356 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(C2_DIR)/%.$(LIBRARY_SUFFIX)
 357         $(install-file)
 358 $(EXPORT_SERVER_DIR)/64/%.$(LIBRARY_SUFFIX):    $(C2_DIR)/%.$(LIBRARY_SUFFIX)
 359         $(install-file)
 360 
 361 # Debug info for shared library
 362 $(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo: $(C1_DIR)/%.debuginfo
 363         $(install-file)
 364 $(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo: $(C2_DIR)/%.debuginfo
 365         $(install-file)
 366 $(EXPORT_CLIENT_DIR)/%.debuginfo:       $(C1_DIR)/%.debuginfo
 367         $(install-file)
 368 $(EXPORT_CLIENT_DIR)/64/%.debuginfo:    $(C1_DIR)/%.debuginfo
 369         $(install-file)
 370 $(EXPORT_SERVER_DIR)/%.debuginfo:       $(C2_DIR)/%.debuginfo
 371         $(install-file)
 372 $(EXPORT_SERVER_DIR)/64/%.debuginfo:    $(C2_DIR)/%.debuginfo
 373         $(install-file)














 374   endif
 375 endif
 376 
 377 # Jar file (sa-jdi.jar)
 378 $(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 379         $(install-file)
 380 
 381 $(EXPORT_JRE_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 382         $(install-file)
 383 
 384 # Include files (jvmti.h, jvmticmlr.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h, jfr.h)
 385 $(EXPORT_INCLUDE_DIR)/%: $(GEN_DIR)/jvmtifiles/%
 386         $(install-file)
 387 
 388 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/code/%
 389         $(install-file)
 390 
 391 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/prims/%
 392         $(install-file)
 393 




 281   GEN_DIR=$(ZERO_BASE_DIR)/generated
 282 endif
 283 else
 284 ifeq ($(ARCH_DATA_MODEL), 32)
 285   MISC_DIR=$(C1_DIR)
 286   GEN_DIR=$(C1_BASE_DIR)/generated
 287 else
 288   MISC_DIR=$(C2_DIR)
 289   GEN_DIR=$(C2_BASE_DIR)/generated
 290 endif
 291 endif
 292 
 293 # Bin files (windows)
 294 ifeq ($(OSNAME),windows)
 295 
 296 # Get jvm.lib 
 297 $(EXPORT_LIB_DIR)/%.lib:  $(MISC_DIR)/%.lib
 298         $(install-file)
 299 
 300 # Other libraries (like SA)
 301 $(EXPORT_JRE_BIN_DIR)/%.diz: $(MISC_DIR)/%.diz
 302         $(install-file)
 303 $(EXPORT_JRE_BIN_DIR)/%.dll: $(MISC_DIR)/%.dll
 304         $(install-file)
 305 $(EXPORT_JRE_BIN_DIR)/%.pdb: $(MISC_DIR)/%.pdb
 306         $(install-file)
 307 $(EXPORT_JRE_BIN_DIR)/%.map: $(MISC_DIR)/%.map
 308         $(install-file)
 309 
 310 # Client files always come from C1 area
 311 $(EXPORT_CLIENT_DIR)/%.diz:  $(C1_DIR)/%.diz
 312         $(install-file)
 313 $(EXPORT_CLIENT_DIR)/%.dll:  $(C1_DIR)/%.dll
 314         $(install-file)
 315 $(EXPORT_CLIENT_DIR)/%.pdb:  $(C1_DIR)/%.pdb
 316         $(install-file)
 317 $(EXPORT_CLIENT_DIR)/%.map:  $(C1_DIR)/%.map
 318         $(install-file)
 319 
 320 # Server files always come from C2 area
 321 $(EXPORT_SERVER_DIR)/%.diz:  $(C2_DIR)/%.diz
 322         $(install-file)
 323 $(EXPORT_SERVER_DIR)/%.dll:  $(C2_DIR)/%.dll
 324         $(install-file)
 325 $(EXPORT_SERVER_DIR)/%.pdb:  $(C2_DIR)/%.pdb
 326         $(install-file)
 327 $(EXPORT_SERVER_DIR)/%.map:  $(C2_DIR)/%.map
 328         $(install-file)
 329 
 330 # Kernel files always come from kernel area
 331 $(EXPORT_KERNEL_DIR)/%.diz:  $(KERNEL_DIR)/%.diz
 332         $(install-file)
 333 $(EXPORT_KERNEL_DIR)/%.dll:  $(KERNEL_DIR)/%.dll
 334         $(install-file)
 335 $(EXPORT_KERNEL_DIR)/%.pdb:  $(KERNEL_DIR)/%.pdb
 336         $(install-file)
 337 $(EXPORT_KERNEL_DIR)/%.map:  $(KERNEL_DIR)/%.map
 338         $(install-file)
 339 endif
 340 
 341 # Shared Library
 342 ifneq ($(OSNAME),windows)
 343   ifeq ($(ZERO_BUILD), true)
 344     ifeq ($(SHARK_BUILD), true)
 345 $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
 346         $(install-file)
 347 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
 348         $(install-file)
 349     else
 350 $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
 351         $(install-file)
 352 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(ZERO_DIR)/%.$(LIBRARY_SUFFIX)


 362 $(EXPORT_CLIENT_DIR)/64/%.$(LIBRARY_SUFFIX):    $(C1_DIR)/%.$(LIBRARY_SUFFIX)
 363         $(install-file)
 364 $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX):       $(C2_DIR)/%.$(LIBRARY_SUFFIX)
 365         $(install-file)
 366 $(EXPORT_SERVER_DIR)/64/%.$(LIBRARY_SUFFIX):    $(C2_DIR)/%.$(LIBRARY_SUFFIX)
 367         $(install-file)
 368 
 369 # Debug info for shared library
 370 $(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo: $(C1_DIR)/%.debuginfo
 371         $(install-file)
 372 $(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo: $(C2_DIR)/%.debuginfo
 373         $(install-file)
 374 $(EXPORT_CLIENT_DIR)/%.debuginfo:       $(C1_DIR)/%.debuginfo
 375         $(install-file)
 376 $(EXPORT_CLIENT_DIR)/64/%.debuginfo:    $(C1_DIR)/%.debuginfo
 377         $(install-file)
 378 $(EXPORT_SERVER_DIR)/%.debuginfo:       $(C2_DIR)/%.debuginfo
 379         $(install-file)
 380 $(EXPORT_SERVER_DIR)/64/%.debuginfo:    $(C2_DIR)/%.debuginfo
 381         $(install-file)
 382 
 383 # ZIP'ed debug info for shared library
 384 $(EXPORT_JRE_LIB_ARCH_DIR)/%.diz: $(C1_DIR)/%.diz
 385         $(install-file)
 386 $(EXPORT_JRE_LIB_ARCH_DIR)/%.diz: $(C2_DIR)/%.diz
 387         $(install-file)
 388 $(EXPORT_CLIENT_DIR)/%.diz:       $(C1_DIR)/%.diz
 389         $(install-file)
 390 $(EXPORT_CLIENT_DIR)/64/%.diz:    $(C1_DIR)/%.diz
 391         $(install-file)
 392 $(EXPORT_SERVER_DIR)/%.diz:       $(C2_DIR)/%.diz
 393         $(install-file)
 394 $(EXPORT_SERVER_DIR)/64/%.diz:    $(C2_DIR)/%.diz
 395         $(install-file)
 396   endif
 397 endif
 398 
 399 # Jar file (sa-jdi.jar)
 400 $(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 401         $(install-file)
 402 
 403 $(EXPORT_JRE_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 404         $(install-file)
 405 
 406 # Include files (jvmti.h, jvmticmlr.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h, jfr.h)
 407 $(EXPORT_INCLUDE_DIR)/%: $(GEN_DIR)/jvmtifiles/%
 408         $(install-file)
 409 
 410 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/code/%
 411         $(install-file)
 412 
 413 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/prims/%
 414         $(install-file)
 415