Changeset 196 for trunk


Ignore:
Timestamp:
Dec 8, 2010, 1:33:59 AM (15 years ago)
Author:
dmik
Message:

jdk/make: Make the PLATFORM_SRC_OS2 public.

Location:
trunk/openjdk/jdk/make/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/Defs-os2.gmk

    r192 r196  
    5353  PLATFORM_SRC  = $(BUILDDIR)/../src/windows
    5454endif # PLATFORM_SRC
     55
     56ifndef PLATFORM_SRC_OS2
     57  # OS/2 is based on Odin32 so PLATFORM_SRC is 'windows'. But in some cases we
     58  # provide the native bits and need to refer to a separate 'os2' soorce tree
     59  PLATFORM_SRC_OS2 = $(PLATFORM_SRC:%/windows=%/os2)
     60endif
     61
     62ifeq ($(PLATFORM_SRC), $(PLATFORM_SRC_OS2))
     63  $(error Both PLATFORM_SRC and PLATFORM_SRC_OS2 are '$(PLATFOROM_SRC)'!)
     64endif
    5565
    5666# Platform specific closed sources
  • trunk/openjdk/jdk/make/common/Library.gmk

    r121 r196  
    329329
    330330ifeq ($(PLATFORM), os2)
    331 # OS/2 is based on Odin32 so PLATFORM_SRC is 'windows'. But in some cases we
    332 # provide the native implementations so the 'os2' vpath should come first
    333 PLATFORM_SRC_OS2 = $(PLATFORM_SRC:%/windows=%/os2)
    334 ifeq ($(PLATFORM_SRC), $(PLATFORM_SRC_OS2))
    335   $(error Both PLATFORM_SRC and PLATFORM_SRC_OS2 are '$(PLATFOROM_SRC)'!)
    336 endif
     331# OS/2 specific vpath should come first
    337332vpath %.c $(PLATFORM_SRC_OS2)/native/$(PKGDIR)
    338333OTHER_INCLUDES += -I$(PLATFORM_SRC_OS2)/native/common
Note: See TracChangeset for help on using the changeset viewer.