Changeset 121


Ignore:
Timestamp:
Jan 1, 2002, 8:27:19 PM (24 years ago)
Author:
dmik
Message:

jdk/make: Add the ability to pick up the OS/2-specific sources from the source tree (not used ATM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/Library.gmk

    r90 r121  
    327327#
    328328ifdef PACKAGE
     329
     330ifeq ($(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
     333PLATFORM_SRC_OS2 = $(PLATFORM_SRC:%/windows=%/os2)
     334ifeq ($(PLATFORM_SRC), $(PLATFORM_SRC_OS2))
     335  $(error Both PLATFORM_SRC and PLATFORM_SRC_OS2 are '$(PLATFOROM_SRC)'!)
     336endif
     337vpath %.c $(PLATFORM_SRC_OS2)/native/$(PKGDIR)
     338OTHER_INCLUDES += -I$(PLATFORM_SRC_OS2)/native/common
     339OTHER_INCLUDES += -I$(PLATFORM_SRC_OS2)/native/$(PKGDIR)
     340endif
     341
    329342vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)
    330343vpath %.c $(SHARE_SRC)/native/$(PKGDIR)
     
    332345OTHER_INCLUDES += -I$(SHARE_SRC)/native/$(PKGDIR) \
    333346                  -I$(PLATFORM_SRC)/native/$(PKGDIR)
     347
    334348endif
    335349
Note: See TracChangeset for help on using the changeset viewer.