VirtualBox

Changeset 93128 in vbox for trunk


Ignore:
Timestamp:
Jan 6, 2022 2:46:30 AM (3 years ago)
Author:
vboxsync
Message:

Add/os2: Outline of a simpler installer for the OS/2 GAs. Uses Watcom w/o a CRT as that's means it's possible to cross compile from windows, linux or darwin hosts.

Location:
trunk/src/VBox/Additions/os2
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/Makefile.kmk

    r93115 r93128  
    4444
    4545
     46#
     47# A barebone installer.
     48#
     49if 0
     50PROGRAMS += VBoxOs2AdditionsInstall
     51endif
     52VBoxOs2AdditionsInstall_TEMPLATE         = DUMMY
     53VBoxOs2AdditionsInstall_TOOL             = OPENWATCOM
     54VBoxOs2AdditionsInstall_ASTOOL           = OPENWATCOM
     55VBoxOs2AdditionsInstall_BLD_TRG          = os2
     56VBoxOs2AdditionsInstall_BLD_TRG_ARCH     = x86
     57VBoxOs2AdditionsInstall_EXESUFF          = .exe
     58VBoxOs2AdditionsInstall_INST             = $(INST_ADDITIONS)
     59VBoxOs2AdditionsInstall_DEFS             = IN_RING3 IN_RT_R3 IN_RT_STATIC RT_NO_STRICT
     60VBoxOs2AdditionsInstall_CFLAGS           = -w3
     61VBoxOs2AdditionsInstall_CFLAGS.release   = -os
     62VBoxOs2AdditionsInstall_CXXFLAGS         = -w3
     63VBoxOs2AdditionsInstall_CXXFLAGS.release = -os
     64VBoxOs2AdditionsInstall_INCS             = \
     65        $(PATH_TOOL_OPENWATCOM)/h/os2
     66VBoxOs2AdditionsInstall_SOURCES          = \
     67        VBoxOs2AdditionsInstall.cpp \
     68        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathStripFilename.cpp \
     69        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathEnsureTrailingSeparator.cpp
     70if 1
     71 VBOX_PATH_RUNTIME_SRC ?= $(PATH_ROOT)/src/VBox/Runtime
     72 VBoxOs2AdditionsInstall_LDTOOL          = OPENWATCOM-WL
     73 VBoxOs2AdditionsInstall_CFLAGS         += -zl -s -zc -xd -xds
     74 VBoxOs2AdditionsInstall_CXXFLAGS       += -zl -s -zc -xd -xds
     75 VBoxOs2AdditionsInstall_LDFLAGS         = \
     76        SYSTEM os2v2 \
     77        OPTION START=_VBoxOs2AdditionsInstallMain \
     78        OPTION STACK=16384 \
     79        OPTION ELiminate \
     80        OPTION DOSSeg
     81 VBoxOs2AdditionsInstall_DEFS           += IPRT_NO_CRT RT_WITH_NOCRT_ALIASES
     82 VBoxOs2AdditionsInstall_INCS           <= \
     83        $(PATH_ROOT)/include/iprt/nocrt \
     84        $(VBOX_PATH_RUNTIME_SRC)/include
     85 VBoxOs2AdditionsInstall_SOURCES        += \
     86        VBoxOs2AdditionsInstallA.asm \
     87        $(VBOX_PATH_RUNTIME_SRC)/common/string/strlen.cpp \
     88        $(VBOX_PATH_RUNTIME_SRC)/common/string/strncmp.cpp \
     89        $(VBOX_PATH_RUNTIME_SRC)/common/string/memcpy.cpp
     90 VBoxOs2AdditionsInstall_LIBS             = \
     91        $(PATH_TOOL_OPENWATCOM)/lib386/os2/os2386.lib
     92else
     93 VBoxOs2AdditionsInstall_CFLAGS         +=
     94 VBoxOs2AdditionsInstall_CXXFLAGS       +=
     95 VBoxOs2AdditionsInstall_LDFLAGS         = -bcl=os2v2 -k16384 -'OPTION START=_VBoxOs2AdditionsInstallMain'
     96endif
     97
    4698
    4799include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette