VirtualBox

Ignore:
Timestamp:
May 8, 2009 10:10:24 PM (16 years ago)
Author:
vboxsync
Message:

VBoxRT,++: linking libxml and openssl into VBoxRT.

File:
1 edited

Legend:

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

    r19550 r19554  
    788788VBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
    789789VBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
    790 VBoxRT_SOURCES.win            += r3/win/dllmain-win.cpp
    791 VBoxRT_SOURCES.win.x86        += r3/win/VBoxRT-win32.def
    792 VBoxRT_SOURCES.win.amd64      += r3/win/VBoxRT-win64.def
     790VBoxRT_SOURCES.win            += r3/win/dllmain-win.cpp $(VBoxRT_0_OUTDIR)/VBoxRT.def
    793791VBoxRT_INCS                    = $(RuntimeR3_INCS)
    794792VBoxRT_INCS.$(KBUILD_TARGET)   = $(RuntimeR3_INCS.$(KBUILD_TARGET))
     
    803801endif
    804802ifdef VBOX_WITH_LIBXML2_IN_VBOXRT
    805  VBoxRT_LIBS                  += \
     803 ifndef SDK_VBOX_LIBXML2_LIBS
     804  VBoxRT_LIBS                 += \
    806805        $(PATH_LIB)/VBox-libxml2$(VBOX_SUFF_LIB)
     806 endif
     807 ifndef SDK_VBOX_OPENSSL_LIBS
     808  VBoxRT_LIBS                 += \
     809        $(PATH_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB)
     810 endif
    807811endif
    808812VBoxRT_LIBS.darwin             = \
     
    828832VBoxRT_LIBS.l4                 = \
    829833        $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
     834
     835ifdef VBOX_WITH_LIBXML2_IN_VBOXRT
     836VBox/VBoxRTDeps.cpp_DEFS = VBOX_WITH_LIBXML2_IN_VBOXRT
     837endif
     838
     839$$(VBoxRT_0_OUTDIR)/VBoxRT.def: \
     840                $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$$(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,x86).def \
     841                $(if-expr defined(VBOX_WITH_LIBXML2_IN_VBOXRT),$(PATH_SUB_CURRENT)/r3/win/VBoxRT-openssl.def,)
     842        $(RM) -f -- $@
     843        $(REDIRECT) -wto $@ -- $(CAT_EXT) $^
     844
    830845
    831846#
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