Changeset 29 for trunk


Ignore:
Timestamp:
Jun 19, 2010, 12:21:06 AM (15 years ago)
Author:
dmik
Message:

jdk/make/os2: Enable dependency file generation for C/C++ sources when INCREMENTAL_BUILD=true.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalEnv.tpl.cmd

    r19 r29  
    4343
    4444/**
     45 * Generate include file dependencies for C/C++ sources.
     46 */
     47call EnvSet 'INCREMENTAL_BUILD', 'true'
     48
     49/**
    4550 * Here you may put any additional environment variable definitions needed for
    4651 * your local environment or for the OpenJDK make files using the form shown
  • trunk/openjdk/jdk/make/common/Defs-os2.gmk

    r27 r29  
    4242  LIB_LOCATION = $(BINDIR)
    4343endif # LIB_LOCATION
     44
     45# Part of INCREMENTAL_BUILD mechanism.
     46#   Compiler emits things like:  file.obj: file.c file.h...
     47#   We want something like: obj_path/file.obj: file.c file.h...
     48CC_DEPEND        = -MM -MT $(@:$(suffix $@)=.$(OBJECT_SUFFIX))
     49CC_DEPEND_FILTER =
    4450
    4551ifndef PLATFORM_SRC
  • trunk/openjdk/jdk/make/common/shared/Defs-os2.gmk

    r27 r29  
    4949# Indication that we are doing an incremental build.
    5050#    This may trigger the creation of make depend files.
    51 #    (This may not be working on windows yet, always force to false.)
    52 override INCREMENTAL_BUILD = false
     51ifndef INCREMENTAL_BUILD
     52  INCREMENTAL_BUILD = false
     53endif
    5354
    5455# FullPath just makes sure it never ends with a / and no duplicates
Note: See TracChangeset for help on using the changeset viewer.