Changeset 34466 in vbox
- Timestamp:
- Nov 29, 2010 3:00:56 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r34444 r34466 2180 2180 VBOX_OPENSSL_ALL = 1 2181 2181 endif 2182 2183 SDK_VBOX_BLD_OPENSSL = . 2184 SDK_VBOX_BLD_OPENSSL_EXTENDS = VBOX_OPENSSL 2185 SDK_VBOX_BLD_OPENSSL_LIBS ?= $(PATH_LIB)/VBoxBldProg-libcrypto$(VBOX_SUFF_LIB) 2182 2186 2183 2187 VBOX_WITH_LIBCURL = 1 … … 3862 3866 TEMPLATE_VBOXBLDPROG_CFLAGS.profile = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.profile) 3863 3867 TEMPLATE_VBOXBLDPROG_CFLAGS.kprofile = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.kprofile) 3864 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) 3868 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) 3865 3869 TEMPLATE_VBOXBLDPROG_CXXFLAGS.x86 = -m32 3866 3870 TEMPLATE_VBOXBLDPROG_CXXFLAGS.sparc32 = -m32 … … 3938 3942 3939 3943 # 3944 # Advanced build programs using IPRT, openssl and worse stuff. 3945 # 3946 TEMPLATE_VBoxAdvBldProg = Advanced VBox Build Program 3947 TEMPLATE_VBoxAdvBldProg_EXTENDS = VBOXBLDPROG 3948 TEMPLATE_VBoxAdvBldProg_SDKS = $(TEMPLATE_VBOXBLDPROG_SDKS) VBOX_BLD_OPENSSL 3949 TEMPLATE_VBoxAdvBldProg_DEFS = $(TEMPLATE_VBOXBLDPROG_DEFS) IN_RT_R3 3950 TEMPLATE_VBoxAdvBldProg_LIBS = \ 3951 $(PATH_LIB)/RuntimeBldProg$(VBOX_SUFF_LIB) \ 3952 $(TEMPLATE_VBOXBLDPROG_LIBS) 3953 TEMPLATE_VBoxAdvBldProg_LIBS.darwin = \ 3954 iconv \ 3955 $(TEMPLATE_VBOXBLDPROG_LIBS.darwin) 3956 TEMPLATE_VBoxAdvBldProg_LIBS.freebsd = \ 3957 iconv \ 3958 rt \ 3959 $(TEMPLATE_VBOXBLDPROG_LIBS.freebsd) 3960 TEMPLATE_VBoxAdvBldProg_LIBS.linux = \ 3961 crypt \ 3962 $(TEMPLATE_VBOXBLDPROG_LIBS.linux) 3963 TEMPLATE_VBoxAdvBldProg_LIBS.solaris = \ 3964 kstat \ 3965 contract \ 3966 $(TEMPLATE_VBOXBLDPROG_LIBS.solaris) 3967 3968 3969 # 3940 3970 # Windows rc workaround for crosscompiling. 3941 3971 # (Some (old) Wine versions fails loading msvcrt.dll from the VCC bin directory.) -
trunk/configure
r33515 r34466 851 851 cnf_append "SDK_VBOX_OPENSSL_INCS" "`strip_I "$INCCRYPTO"`" 852 852 cnf_append "SDK_VBOX_OPENSSL_LIBS" "`strip_l "$LIBCRYPTO"`" 853 cnf_append "SDK_VBOX_BLD_OPENSSL_LIBS" "`strip_l "$LIBCRYPTO"`" 853 854 fi 854 855 fi -
trunk/configure.vbs
r31874 r34466 2038 2038 CfgPrint "SDK_VBOX_OPENSSL_INCS := " & strPathSsl & "/include" 2039 2039 CfgPrint "SDK_VBOX_OPENSSL_LIBS := " & strPathSsl & "/lib/ssleay32.lib" & " " & strPathSsl & "/lib/libeay32.lib" 2040 CfgPrint "SDK_VBOX_BLD_OPENSSL_LIBS := " & strPathSsl & "/lib/ssleay32.lib" & " " & strPathSsl & "/lib/libeay32.lib" 2040 2041 2041 2042 PrintResult "openssl", strPathSsl -
trunk/src/VBox/Runtime/Makefile.kmk
r34464 r34466 62 62 63 63 BLDPROGS += uniread 64 LIBRARIES += RuntimeR3 Runtime R0 RuntimeEFCPP RuntimeR3NoCRTGCC64 LIBRARIES += RuntimeR3 RuntimeBldProg RuntimeR0 RuntimeEFCPP RuntimeR3NoCRTGCC 65 65 LIBRARIES.win += RuntimeR0Stub 66 66 ifdef VBOX_WITH_RAW_MODE … … 185 185 # 186 186 RuntimeR3_TEMPLATE = VBoxR3Static 187 RuntimeR3_SDKS = VBOX_LIBXML2 VBOX_ BOOST187 RuntimeR3_SDKS = VBOX_LIBXML2 VBOX_OPENSSL VBOX_BOOST ## @todo why is BOOST and XML2 here? r3/xml.cpp is not in this lib... 188 188 RuntimeR3_SDKS.win = WINPSDK $(VBOX_WINDDK) 189 189 RuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX RT_NO_GIP … … 234 234 common/checksum/ipv4.cpp \ 235 235 common/checksum/ipv6.cpp \ 236 common/checksum/manifest.cpp \ 237 common/checksum/manifest2.cpp \ 238 common/checksum/manifest3.cpp \ 239 common/checksum/manifest-file.cpp \ 240 common/checksum/RTSha1Digest.cpp \ 241 common/checksum/sha1.cpp \ 242 common/checksum/sha1str.cpp \ 243 common/checksum/sha256.cpp \ 244 common/checksum/sha256str.cpp \ 245 common/checksum/sha512.cpp \ 246 common/checksum/sha512str.cpp \ 236 247 common/dbg/dbg.cpp \ 237 248 common/dbg/dbgas.cpp \ … … 913 924 914 925 # 926 # RuntimeBldProg - Static Runtime for build programs. 927 # 928 # Note! This is a bit of hacky since kBuild doesn't support building libraries 929 # for build programs. 930 # 931 RuntimeBldProg_TEMPLATE := VBOXBLDPROG 932 RuntimeBldProg_EXTENDS := RuntimeR3 933 RuntimeBldProg_BLD_TRG := $(KBUILD_HOST) 934 RuntimeBldProg_BLD_TRG_ARCH := $(KBUILD_HOST_ARCH) 935 RuntimeBldProg_BLD_TRG_CPU := $(KBUILD_HOST_CPU) 936 937 938 # 915 939 # RuntimeGuestR3 - Guest Additions Runtime (static/exe). 916 940 # (The KBUILD_HOST inheritance here is for l4 cross building the linux … … 1108 1132 VBoxRT_SOURCES = \ 1109 1133 VBox/VBoxRTDeps.cpp \ 1110 $(filter-out common/checksum/crc32.cpp, $(RuntimeR3_SOURCES))1111 VBoxRT_SOURCES += \1112 1134 r3/xml.cpp \ 1113 common/checksum/RTSha1Digest.cpp \ 1114 common/checksum/crc32-zlib.cpp \ 1115 common/checksum/manifest.cpp \ 1116 common/checksum/manifest2.cpp \ 1117 common/checksum/manifest3.cpp \ 1118 common/checksum/manifest-file.cpp \ 1119 common/checksum/sha1.cpp \ 1120 common/checksum/sha1str.cpp \ 1121 common/checksum/sha256.cpp \ 1122 common/checksum/sha256str.cpp \ 1123 common/checksum/sha512.cpp \ 1124 common/checksum/sha512str.cpp 1135 $(filter-out common/checksum/crc32.cpp, $(RuntimeR3_SOURCES)) \ 1136 common/checksum/crc32-zlib.cpp 1125 1137 ifdef VBOX_WITH_LIBCURL 1126 1138 VBoxRT_SOURCES += common/misc/s3.cpp … … 1913 1925 $(lib)_common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h 1914 1926 endef 1915 $(foreach lib,RuntimeR3 VBoxRT RuntimeLnxHostR3,$(eval $(def_errmsgwin_deps)))1927 $(foreach lib,RuntimeR3 RuntimeBldProg VBoxRT RuntimeLnxHostR3,$(eval $(def_errmsgwin_deps))) 1916 1928 1917 1929 -
trunk/src/VBox/Runtime/tools/Makefile.kmk
r34464 r34466 33 33 RTManifest_SOURCES = RTManifest.cpp 34 34 35 BLDPROGS += bldRTManifest 36 bldRTManifest_TEMPLATE = VBoxAdvBldProg 37 bldRTManifest_SOURCES = RTManifest.cpp 38 35 39 # RTLdrFlt is similar to c++filt, except that it's for VMMR0.r0 stacks. 36 40 PROGRAMS += RTLdrFlt -
trunk/src/VBox/Runtime/tools/RTManifest.cpp
r34464 r34466 38 38 #include <iprt/message.h> 39 39 #include <iprt/path.h> 40 #include <iprt/process.h> 40 41 #include <iprt/stream.h> 41 42 #include <iprt/string.h> … … 361 362 362 363 case 'h': 363 RT MsgInfo("Usage: %s [--manifest <file>] [--chdir <dir>] [--attribute <attrib-name> [..]] <files>\n"364 365 366 367 , argv[0], argv[0]);364 RTPrintf("Usage: %s [--manifest <file>] [--chdir <dir>] [--attribute <attrib-name> [..]] <files>\n" 365 " or %s --verify [--manifest <file>] [--chdir <dir>]\n" 366 "\n" 367 "attrib-name: size, md5, sha1, sha256 or sha512\n" 368 , RTProcShortName(), RTProcShortName()); 368 369 return RTEXITCODE_SUCCESS; 369 370
Note:
See TracChangeset
for help on using the changeset viewer.