Changeset 45


Ignore:
Timestamp:
Jun 28, 2010, 11:24:46 PM (15 years ago)
Author:
dmik
Message:

hotspot/make: Adding OS/2 support.

Location:
trunk/openjdk/hotspot/make/os2/makefiles
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/openjdk/hotspot/make/os2/makefiles/adlc.make

    r43 r45  
    3333endif
    3434
    35 CXX_INCLUDE_DIRS=\
    36   -I "../generated"                          \
    37   -I "$(WorkSpace)/src/share/vm/compiler"    \
    38   -I "$(WorkSpace)/src/share/vm/code"        \
    39   -I "$(WorkSpace)/src/share/vm/interpreter" \
    40   -I "$(WorkSpace)/src/share/vm/classfile"   \
    41   -I "$(WorkSpace)/src/share/vm/asm"         \
    42   -I "$(WorkSpace)/src/share/vm/memory"      \
    43   -I "$(WorkSpace)/src/share/vm/oops"        \
    44   -I "$(WorkSpace)/src/share/vm/prims"       \
    45   -I "$(WorkSpace)/src/share/vm/runtime"     \
    46   -I "$(WorkSpace)/src/share/vm/utilities"   \
    47   -I "$(WorkSpace)/src/share/vm/libadt"      \
    48   -I "$(WorkSpace)/src/share/vm/opto"        \
    49   -I "$(WorkSpace)/src/os/windows/vm"          \
    50   -I "$(WorkSpace)/src/cpu/$(Platform_arch)/vm"
     35CPP_INCLUDE_DIRS=\
     36  -I'../generated'                          \
     37  -I'$(WorkSpace)/src/share/vm/compiler'    \
     38  -I'$(WorkSpace)/src/share/vm/code'        \
     39  -I'$(WorkSpace)/src/share/vm/interpreter' \
     40  -I'$(WorkSpace)/src/share/vm/classfile'   \
     41  -I'$(WorkSpace)/src/share/vm/asm'         \
     42  -I'$(WorkSpace)/src/share/vm/memory'      \
     43  -I'$(WorkSpace)/src/share/vm/oops'        \
     44  -I'$(WorkSpace)/src/share/vm/prims'       \
     45  -I'$(WorkSpace)/src/share/vm/runtime'     \
     46  -I'$(WorkSpace)/src/share/vm/utilities'   \
     47  -I'$(WorkSpace)/src/share/vm/libadt'      \
     48  -I'$(WorkSpace)/src/share/vm/opto'        \
     49  -I'$(WorkSpace)/src/os/windows/vm'          \
     50  -I'$(WorkSpace)/src/cpu/$(Platform_arch)/vm'
    5151
    5252# NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_INCL
     
    7171
    7272%.obj: %.cpp
    73         $(CXX) $(CXX_FLAGS) $(CXX_INCLUDE_DIRS) -c $< -o $@
     73        $(CXX) $(CPP_INCLUDE_DIRS) $(CXX_FLAGS) -c $< -o $@
    7474
    7575adlc.exe: main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.obj \
  • TabularUnified trunk/openjdk/hotspot/make/os2/makefiles/compile.make

    r43 r45  
    2626CXX = g++
    2727
    28 CXX_FLAGS = -Zomf -march=i486 -mtune=generic
     28CXX_FLAGS = $(CPP_FLAGS) -Zomf -march=i486 -mtune=generic
    2929
    3030# Based on BUILDARCH we add some flags and select the default compiler name
    3131ifeq ($(BUILDARCH),i486)
    32 CXX_FLAGS += -DIA32
     32CPP_FLAGS += -DIA32
    3333endif
    3434
     
    5959 #comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
    6060 #uuid.lib Wsock32.lib winmm.lib
     61
     62IMPLIB = emximp
     63
     64# Odin SDK
     65
     66CPP_FLAGS += -D__WIN32OS2__ -D__i386__ -DSTRICT
     67CPP_FLAGS += -I$(ALT_ODINSDK_PATH)/include/Win -I$(ALT_ODINSDK_PATH)/include
     68
     69LINK_FLAGS  += -L$(ALT_ODINSDK_PATH)/lib -L$(ALT_ODINSDK_PATH)/lib/Release \
     70                           -lkernel32.lib -luser32.lib
  • TabularUnified trunk/openjdk/hotspot/make/os2/makefiles/shared.make

    r40 r45  
    6161endif
    6262
     63MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
     64
    6365FORCE:
Note: See TracChangeset for help on using the changeset viewer.