VirtualBox

Changeset 106414 in vbox for trunk/src/libs


Ignore:
Timestamp:
Oct 17, 2024 8:49:43 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165233
Message:

libs/zlib-1.2.13: Added support for building zlib as a dedicated package required for the scons build system (to build the NSIS installer build binaries). bugref:10791

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/zlib-1.2.13/Makefile.kmk

    r106061 r106414  
    6969endif
    7070
     71# Builds a Windows DLL in a separate tree so that it can be found by the scons build system.
     72# Required for building NSIS (Windows Guest Additions installer) from source.
     73if defined(VBOX_WITH_ADDITIONS) || !defined(VBOX_WITHOUT_ADDITIONS)
     74 DLLS.win += nsis-zlib-dll
     75 nsis-zlib-dll_TEMPLATE = VBoxR3DllNonPedantic
     76 nsis-zlib-dll_SOURCES.win += \
     77        win32/zlib1.rc \
     78        win32/zlib.def
     79 nsis-zlib-dll_EXTENDS  = VBox-zlib
     80 nsis-zlib-dll_NAME     = zlib1
     81 nsis-zlib-dll_DEFINES += ZLIB_DLL
     82 nsis-zlib-dll_INSTTYPE = stage
     83 nsis-zlib-dll_INST        = $(INST_DEBUG)nsis-zlib/
     84
     85 INSTALLS.win += nsis-zlib-lib
     86 nsis-zlib-lib_TEMPLATE := DUMMY
     87 nsis-zlib-lib_EXTENDS   = nsis-zlib-dll
     88 nsis-zlib-lib_MODE     := a+r,u+w
     89 nsis-zlib-lib_DEPS     += \
     90        $(nsis-zlib-dll_0_OUTDIR)/zlib1.lib
     91 nsis-zlib-lib_INST      = $(INST_DEBUG)nsis-zlib/lib/
     92 nsis-zlib-lib_SOURCES  := \
     93        win32/zlib.def \
     94        $(PATH_STAGE_LIB)/zlib1.lib=>zdll.lib
     95
     96 INSTALLS.win += nsis-zlib-include
     97 nsis-zlib-include_TEMPLATE := DUMMY
     98 nsis-zlib-include_MODE     := a+r,u+w
     99 nsis-zlib-include_INST      = $(INST_DEBUG)nsis-zlib/include/
     100 nsis-zlib-include_SOURCES  := \
     101        zconf.h \
     102        zlib.h
     103endif
     104
    71105include $(FILE_KBUILD_SUB_FOOTER)
    72106
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