VirtualBox

Ignore:
Timestamp:
Mar 1, 2012 8:51:53 PM (13 years ago)
Author:
vboxsync
Message:

Adjustments for building OS/2 GAs.

File:
1 edited

Legend:

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

    r39749 r40315  
    5959  include $(PATH_SUB_CURRENT)/linux/Makefile.kmk
    6060 endif
    61  #ifeq ($(KBUILD_TARGET),os2)
    62  # include $(PATH_SUB_CURRENT)/os2/Makefile.kmk
    63  #endif
     61 ifeq ($(KBUILD_TARGET),os2)
     62  include $(PATH_SUB_CURRENT)/os2/Makefile.kmk
     63 endif
    6464 ifeq ($(KBUILD_TARGET),solaris)
    6565  include $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
     
    170170#
    171171
     172# Darwin / Mac OS X                       
     173ifdef VBOX_WITH_ADDITIONS_ISO.darwin.x86
     174 VBOX_PATH_ADDITIONS.darwin.x86 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/bin/additions
     175 # or dmg?
     176 GUESTADDITIONS_FILESPEC.darwin.x86 = \
     177        VBoxDarwinAdditions-x86.run=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditions-x86.run
     178endif
     179
     180ifdef VBOX_WITH_ADDITIONS_ISO.darwin.amd64
     181 VBOX_PATH_ADDITIONS.darwin.amd64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/bin/additions
     182 GUESTADDITIONS_FILESPEC.darwin.amd64 = \
     183        VBoxDarwinAdditions-amd64.run=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditions-amd64.run
     184endif
     185
     186# FreeBSD
    172187ifdef VBOX_WITH_ADDITIONS_ISO.freebsd.amd64
    173188 VBOX_PATH_ADDITIONS.freebsd.amd64 = $(PATH_OUT_BASE)/freebsd.amd64/$(KBUILD_TYPE)/bin/additions
     
    181196endif
    182197
    183 
     198# GNU/Linux
     199ifdef VBOX_WITH_ADDITIONS_ISO.linux.amd64
     200 VBOX_PATH_ADDITIONS.linux.amd64 = $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions
     201 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
     202  VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions.run
     203 else
     204  VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions-amd64.run
     205 endif
     206 GUESTADDITIONS_FILESPEC.linux.amd64 = \
     207        $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run
     208endif
     209ifdef VBOX_WITH_ADDITIONS_ISO.linux.x86
     210 VBOX_PATH_ADDITIONS.linux.x86 = $(PATH_OUT_BASE)/linux.x86/$(KBUILD_TYPE)/bin/additions
     211## @todo 64-bit additions: rename this package, update docs (?) and tests (?). create wrapper? create gnome/kde autorun app (xplatform) ?
     212 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
     213  VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions.run
     214 else
     215  VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions-x86.run
     216 endif
     217 GUESTADDITIONS_FILESPEC.linux.x86 = \
     218        $(VBOX_LNX_ADD_X86_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run \
     219        runasroot.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/runasroot.sh \
     220        autorun.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/autorun.sh
     221endif
     222
     223# IBM OS/2
    184224ifdef VBOX_WITH_ADDITIONS_ISO.os2.x86
    185225 VBOX_PATH_ADDITIONS.os2.x86 = $(PATH_OUT_BASE)/os2.x86/$(KBUILD_TYPE)/bin/additions
    186226 GUESTADDITIONS_FILESPEC.os2.x86 = \
    187         32Bit/OS2/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxGuest.sys \
    188         32Bit/OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxService.exe \
    189         32Bit/OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/gengradd.dll \
    190         32Bit/OS2/libc063.dll=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/libc063.dll \
    191         32Bit/OS2/readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/readme.txt \
    192         32Bit/OS2/vboxmouse.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/vboxmouse.sys
     227        OS2/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxGuest.sys \
     228        OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxService.exe \
     229        OS2/VBoxControl.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxControl.exe \
     230        OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/gengradd.dll \
     231        OS2/libc064.dll=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/libc064.dll \
     232        OS2/readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/readme.txt \
     233        OS2/vboxmouse.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/vboxmouse.sys
    193234else ifdef VBOX_WITH_OS2_ADDITIONS_BIN
    194235 GUESTADDITIONS_FILESPEC.os2.x86 = \
     
    201242endif
    202243
    203 
    204 ifdef VBOX_WITH_ADDITIONS_ISO.linux.amd64
    205  VBOX_PATH_ADDITIONS.linux.amd64 = $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions
    206  ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
    207   VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions.run
    208  else
    209   VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions-amd64.run
    210  endif
    211  GUESTADDITIONS_FILESPEC.linux.amd64 = \
    212         $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run
    213 endif
    214 ifdef VBOX_WITH_ADDITIONS_ISO.linux.x86
    215  VBOX_PATH_ADDITIONS.linux.x86 = $(PATH_OUT_BASE)/linux.x86/$(KBUILD_TYPE)/bin/additions
    216 ## @todo 64-bit additions: rename this package, update docs (?) and tests (?). create wrapper? create gnome/kde autorun app (xplatform) ?
    217  ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
    218   VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions.run
    219  else
    220   VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions-x86.run
    221  endif
    222  GUESTADDITIONS_FILESPEC.linux.x86 = \
    223         $(VBOX_LNX_ADD_X86_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run \
    224         runasroot.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/runasroot.sh \
    225         autorun.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/autorun.sh
    226 endif
    227 
     244# Oracle Solaris.
    228245ifdef VBOX_WITH_ADDITIONS_ISO.solaris.amd64
    229246 VBOX_PATH_ADDITIONS.solaris.amd64 = $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
     
    245262endif
    246263
     264# Microsoft Windows.
    247265ifdef VBOX_WITH_ADDITIONS_ISO.win.amd64
    248266 VBOX_PATH_ADDITIONS.win.amd64 = $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/bin/additions
     
    268286endif # win.x86
    269287
    270 ifdef VBOX_WITH_ADDITIONS_ISO.darwin.x86
    271  VBOX_PATH_ADDITIONS.darwin.x86 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/bin/additions
    272  # or dmg?
    273  GUESTADDITIONS_FILESPEC.darwin.x86 = \
    274         VBoxDarwinAdditions-x86.run=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditions-x86.run
    275 endif
    276 
    277 ifdef VBOX_WITH_ADDITIONS_ISO.darwin.amd64
    278  VBOX_PATH_ADDITIONS.darwin.amd64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/bin/additions
    279  GUESTADDITIONS_FILESPEC.darwin.amd64 = \
    280         VBoxDarwinAdditions-amd64.run=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditions-amd64.run
    281 endif
    282288
    283289#
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