Ignore:
Timestamp:
Jun 23, 2010, 10:48:53 PM (15 years ago)
Author:
dmik
Message:

hotspot/make: Adding O/2 support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/make/defs.make

    r2 r40  
    2020# CA 95054 USA or visit www.sun.com if you need additional information or
    2121# have any questions.
    22 # 
     22#
    2323#
    2424
     
    117117endif
    118118
     119# On eComStation, OS is "ecs", ignore it to let uname be used
     120ifeq ($(OS),ecs)
     121  OS :=
     122endif
     123
    119124# Windows should have OS predefined
    120125ifeq ($(OS),)
     
    123128endif
    124129
    125 # If not SunOS and not Linux, assume Windows
     130# If not SunOS and not Linux and not OS/2, assume Windows
    126131ifneq ($(OS), Linux)
    127132  ifneq ($(OS), SunOS)
    128     OSNAME=windows
     133          ifneq ($(OS), OS/2)
     134                OSNAME=windows
     135          else
     136                OSNAME=os2
     137          endif
    129138  else
    130139    OSNAME=solaris
     
    170179endif
    171180
    172 # The platform dependent defs.make defines platform specific variable such 
     181# The platform dependent defs.make defines platform specific variable such
    173182# as ARCH, EXPORT_LIST etc. We must place the include here after BOOTDIR is defined.
    174183include $(GAMMADIR)/make/$(OSNAME)/makefiles/defs.make
     
    178187# some definitions are common for both linux and solaris,
    179188# so we put them here.
    180 ifneq ($(OSNAME),windows)
     189ifneq ($(filter-out windows os2,$(OSNAME)),)
    181190  ABS_OUTPUTDIR     := $(shell mkdir -p $(OUTPUTDIR); $(CD) $(OUTPUTDIR); $(PWD))
    182191  ABS_BOOTDIR       := $(shell $(CD) $(BOOTDIR); $(PWD))
     
    192201
    193202  # Use uname output for SRCARCH, but deal with platform differences. If ARCH
    194   # is not explicitly listed below, it is treated as x86. 
     203  # is not explicitly listed below, it is treated as x86.
    195204  SRCARCH     = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 zero,$(ARCH)))
    196205  ARCH/       = x86
Note: See TracChangeset for help on using the changeset viewer.