Changeset 95313 in vbox
- Timestamp:
- Jun 20, 2022 5:18:18 PM (2 years ago)
- Location:
- trunk/tools/bin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/gen-slickedit-workspace.sh
r95098 r95313 1074 1074 # Generate the projects and workspace. 1075 1075 # 1076 # Note! The configs aren't optimal yet, lots of adjustment wrt headers left to be done. 1077 # 1078 1079 # src/VBox/Runtime 1080 my_generate_project "IPRT" "src/VBox/Runtime" --begin-incs "include" "src/VBox/Runtime/include" --end-includes "include/iprt" "src/VBox/Runtime" 1081 1082 # src/VBox/VMM 1083 my_generate_project "VMM" "src/VBox/VMM" --begin-incs "include" "src/VBox/VMM" --end-includes "src/VBox/VMM" \ 1084 "include/VBox/vmm/cfgm.h" \ 1085 "include/VBox/vmm/cpum.*" \ 1086 "include/VBox/vmm/dbgf.h" \ 1087 "include/VBox/vmm/em.h" \ 1088 "include/VBox/vmm/gim.h" \ 1089 "include/VBox/vmm/apic.h" \ 1090 "include/VBox/vmm/gmm.*" \ 1091 "include/VBox/vmm/gvm.*" \ 1092 "include/VBox/vmm/hm*.*" \ 1093 "include/VBox/vmm/iom.h" \ 1094 "include/VBox/vmm/mm.h" \ 1095 "include/VBox/vmm/patm.*" \ 1096 "include/VBox/vmm/pdm*.h" \ 1097 "include/VBox/vmm/pgm.*" \ 1098 "include/VBox/vmm/selm.*" \ 1099 "include/VBox/vmm/ssm.h" \ 1100 "include/VBox/vmm/stam.*" \ 1101 "include/VBox/vmm/tm.h" \ 1102 "include/VBox/vmm/trpm.*" \ 1103 "include/VBox/vmm/vm.*" \ 1104 "include/VBox/vmm/vmm.*" 1105 1106 # src/VBox/Additions 1107 my_generate_project "Add-darwin" "src/VBox/Additions/darwin" --begin-incs "include" "src/VBox/Additions/darwin" --end-includes "src/VBox/Additions/darwin" 1108 my_generate_project "Add-freebsd" "src/VBox/Additions/freebsd" --begin-incs "include" "src/VBox/Additions/freebsd" --end-includes "src/VBox/Additions/freebsd" 1109 my_generate_project "Add-haiku" "src/VBox/Additions/haiku" --begin-incs "include" "src/VBox/Additions/haiku" --end-includes "src/VBox/Additions/haiku" 1110 my_generate_project "Add-linux" "src/VBox/Additions/linux" --begin-incs "include" "src/VBox/Additions/linux" --end-includes "src/VBox/Additions/linux" 1111 my_generate_project "Add-os2" "src/VBox/Additions/os2" --begin-incs "include" "src/VBox/Additions/os2" --end-includes "src/VBox/Additions/os2" 1112 my_generate_project "Add-solaris" "src/VBox/Additions/solaris" --begin-incs "include" "src/VBox/Additions/solaris" --end-includes "src/VBox/Additions/solaris" 1113 my_generate_project "Add-win" "src/VBox/Additions/WINNT" --begin-incs "include" "src/VBox/Additions/WINNT" --end-includes "src/VBox/Additions/WINNT" 1114 if test -z "$MY_OPT_MINIMAL"; then 1115 my_generate_project "Add-x11" "src/VBox/Additions/x11" --begin-incs "include" "src/VBox/Additions/x11" --end-includes "src/VBox/Additions/x11" 1116 fi 1117 my_generate_project "Add-Control" "src/VBox/Additions/common/VBoxControl" --begin-incs "include" "src/VBox/Additions/common/VBoxControl" --end-includes "src/VBox/Additions/common/VBoxControl" 1118 my_generate_project "Add-GuestDrv" "src/VBox/Additions/common/VBoxGuest" --begin-incs "include" "src/VBox/Additions/common/VBoxGuest" --end-includes "src/VBox/Additions/common/VBoxGuest" "include/VBox/VBoxGuest*.*" 1119 my_generate_project "Add-Lib" "src/VBox/Additions/common/VBoxGuest/lib" --begin-incs "include" "src/VBox/Additions/common/VBoxGuest/lib" --end-includes "src/VBox/Additions/common/VBoxGuest/lib" "include/VBox/VBoxGuest/lib/*.*" 1120 my_generate_project "Add-Service" "src/VBox/Additions/common/VBoxService" --begin-incs "include" "src/VBox/Additions/common/VBoxService" --end-includes "src/VBox/Additions/common/VBoxService" 1121 my_generate_project "Add-VBoxVideo" "src/VBox/Additions/common/VBoxVideo" --begin-incs "include" "src/VBox/Additions/common/VBoxVideo" --end-includes "src/VBox/Additions/common/VBoxVideo" 1122 if test -z "$MY_OPT_MINIMAL"; then 1123 my_generate_project "Add-pam" "src/VBox/Additions/common/pam" --begin-incs "include" "src/VBox/Additions/common/pam" --end-includes "src/VBox/Additions/common/pam" 1124 my_generate_project "Add-cmn-test" "src/VBox/Additions/common/testcase" --begin-incs "include" "src/VBox/Additions/common/testcase" --end-includes "src/VBox/Additions/common/testcase" 1125 my_generate_project "Add-CredProv" "src/VBox/Additions/WINNT/VBoxCredProv" --begin-incs "include" "src/VBox/Additions/WINNT/VBoxCredProv" --end-includes "src/VBox/Additions/WINNT/VBoxCredProv" 1126 my_generate_project "Add-GINA" "src/VBox/Additions/WINNT/VBoxGINA" --begin-incs "include" "src/VBox/Additions/WINNT/VBoxGINA" --end-includes "src/VBox/Additions/WINNT/VBoxGINA" 1127 fi 1128 1129 # src/VBox/Debugger 1130 my_generate_project "Debugger" "src/VBox/Debugger" --begin-incs "include" "src/VBox/Debugger" --end-includes "src/VBox/Debugger" "include/VBox/dbggui.h" "include/VBox/dbg.h" 1131 1132 # src/VBox/Devices 1133 my_generate_project "Devices" "src/VBox/Devices" --begin-incs "include" "src/VBox/Devices" --end-includes "src/VBox/Devices" "include/VBox/pci.h" "include/VBox/pdm*.h" 1134 ## @todo split this up. 1135 1136 # src/VBox/Disassembler 1137 my_generate_project "DIS" "src/VBox/Disassembler" --begin-incs "include" "src/VBox/Disassembler" --end-includes "src/VBox/Disassembler" "include/VBox/dis*.h" 1138 1139 # src/VBox/Frontends 1140 if test -z "$MY_OPT_MINIMAL"; then 1141 my_generate_project "FE-VBoxAutostart" "src/VBox/Frontends/VBoxAutostart" --begin-incs "include" "src/VBox/Frontends/VBoxAutostart" --end-includes "src/VBox/Frontends/VBoxAutostart" 1142 my_generate_project "FE-VBoxBugReport" "src/VBox/Frontends/VBoxBugReport" --begin-incs "include" "src/VBox/Frontends/VBoxBugReport" --end-includes "src/VBox/Frontends/VBoxBugReport" 1143 my_generate_project "FE-VBoxBalloonCtrl" "src/VBox/Frontends/VBoxBalloonCtrl" --begin-incs "include" "src/VBox/Frontends/VBoxBalloonCtrl" --end-includes "src/VBox/Frontends/VBoxBalloonCtrl" 1144 fi 1145 my_generate_project "FE-VBoxManage" "src/VBox/Frontends/VBoxManage" --begin-incs "include" "src/VBox/Frontends/VBoxManage" --end-includes "src/VBox/Frontends/VBoxManage" 1146 my_generate_project "FE-VBoxHeadless" "src/VBox/Frontends/VBoxHeadless" --begin-incs "include" "src/VBox/Frontends/VBoxHeadless" --end-includes "src/VBox/Frontends/VBoxHeadless" 1147 my_generate_project "FE-VBoxSDL" "src/VBox/Frontends/VBoxSDL" --begin-incs "include" "src/VBox/Frontends/VBoxSDL" --end-includes "src/VBox/Frontends/VBoxSDL" 1148 my_generate_project "FE-VBoxShell" "src/VBox/Frontends/VBoxShell" --begin-incs "include" "src/VBox/Frontends/VBoxShell" --end-includes "src/VBox/Frontends/VBoxShell" 1149 # noise - my_generate_project "FE-VBoxBFE" "src/VBox/Frontends/VBoxBFE" --begin-incs "include" "src/VBox/Frontends/VBoxBFE" --end-includes "src/VBox/Frontends/VBoxBFE" 1150 FE_VBOX_WRAPPERS="" 1151 for d in ${MY_OUT_DIRS}; 1152 do 1153 if test -d "${MY_ROOT_DIR}/${d}/obj/VirtualBox/include"; then 1154 FE_VBOX_WRAPPERS="${d}/obj/VirtualBox/include" 1155 break 1156 fi 1157 done 1158 if test -n "${FE_VBOX_WRAPPERS}"; then 1159 my_generate_project "FE-VirtualBox" "src/VBox/Frontends/VirtualBox" --begin-incs "include" "${FE_VBOX_WRAPPERS}" --end-includes "src/VBox/Frontends/VirtualBox" "${FE_VBOX_WRAPPERS}/COMWrappers.cpp" "${FE_VBOX_WRAPPERS}/COMWrappers.h" 1160 else 1161 my_generate_project "FE-VirtualBox" "src/VBox/Frontends/VirtualBox" --begin-incs "include" --end-includes "src/VBox/Frontends/VirtualBox" 1162 fi 1163 1164 # src/VBox/GuestHost 1165 my_generate_project "HGSMI-GH" "src/VBox/GuestHost/HGSMI" --begin-incs "include" --end-includes "src/VBox/GuestHost/HGSMI" 1166 if test -z "$MY_OPT_MINIMAL"; then 1167 my_generate_project "DnD-GH" "src/VBox/GuestHost/DragAndDrop" --begin-incs "include" --end-includes "src/VBox/GuestHost/DragAndDrop" 1168 fi 1169 my_generate_project "ShClip-GH" "src/VBox/GuestHost/SharedClipboard" --begin-incs "include" --end-includes "src/VBox/GuestHost/SharedClipboard" 1170 1171 # src/VBox/HostDrivers 1172 my_generate_project "SUP" "src/VBox/HostDrivers/Support" --begin-incs "include" "src/VBox/HostDrivers/Support" --end-includes "src/VBox/HostDrivers/Support" "include/VBox/sup.h" "include/VBox/sup.mac" 1173 my_generate_project "VBoxNetAdp" "src/VBox/HostDrivers/VBoxNetAdp" --begin-incs "include" "src/VBox/HostDrivers/VBoxNetAdp" --end-includes "src/VBox/HostDrivers/VBoxNetAdp" "include/VBox/intnet.h" 1174 my_generate_project "VBoxNetFlt" "src/VBox/HostDrivers/VBoxNetFlt" --begin-incs "include" "src/VBox/HostDrivers/VBoxNetFlt" --end-includes "src/VBox/HostDrivers/VBoxNetFlt" "include/VBox/intnet.h" 1175 my_generate_project "VBoxUSB" "src/VBox/HostDrivers/VBoxUSB" --begin-incs "include" "src/VBox/HostDrivers/VBoxUSB" --end-includes "src/VBox/HostDrivers/VBoxUSB" "include/VBox/usblib*.h" "include/VBox/usbfilter.h" 1176 my_generate_project "AdpCtl" "src/VBox/HostDrivers/adpctl" --begin-incs "include" --end-includes "src/VBox/HostDrivers/adpctl" 1177 1178 # src/VBox/HostServices 1179 my_generate_project "GuestCntl" "src/VBox/HostServices/GuestControl" --begin-incs "include" "src/VBox/HostServices/GuestControl" --end-includes "src/VBox/HostServices/GuestControl" 1180 my_generate_project "DragAndDrop" "src/VBox/HostServices/DragAndDrop" --begin-incs "include" "src/VBox/HostServices/DragAndDrop" --end-includes "src/VBox/HostServices/DragAndDrop" 1181 my_generate_project "GuestProps" "src/VBox/HostServices/GuestProperties" --begin-incs "include" "src/VBox/HostServices/GuestProperties" --end-includes "src/VBox/HostServices/GuestProperties" 1182 my_generate_project "ShClip-HS" "src/VBox/HostServices/SharedClipboard" --begin-incs "include" "src/VBox/HostServices/SharedClipboard" --end-includes "src/VBox/HostServices/SharedClipboard" 1183 my_generate_project "SharedFolders" "src/VBox/HostServices/SharedFolders" --begin-incs "include" "src/VBox/HostServices/SharedFolders" --end-includes "src/VBox/HostServices/SharedFolders" "include/VBox/shflsvc.h" 1184 1185 # src/VBox/ImageMounter 1186 my_generate_project "ImageMounter" "src/VBox/ImageMounter" --begin-incs "include" "src/VBox/ImageMounter" --end-includes "src/VBox/ImageMounter" 1187 1188 # src/VBox/Installer 1189 my_generate_project "Installers" "src/VBox/Installer" --begin-incs "include" --end-includes "src/VBox/Installer" 1190 1191 # src/VBox/Main 1192 my_generate_project "Main" "src/VBox/Main" --begin-incs "include" "src/VBox/Main/include" --end-includes "src/VBox/Main" "include/VBox/com" "include/VBox/settings.h" 1193 ## @todo seperate webservices and Main. pick the right headers. added generated headers. 1194 1195 # src/VBox/Network 1196 my_generate_project "Net-DHCP" "src/VBox/NetworkServices/Dhcpd" --begin-incs "include" "src/VBox/NetworkServices/NetLib" --end-includes "src/VBox/NetworkServices/Dhcpd" 1197 my_generate_project "Net-NAT" "src/VBox/NetworkServices/NAT" --begin-incs "include" "src/VBox/NetworkServices/NAT" --end-includes "src/VBox/NetworkServices/NAT" "src/VBox/Devices/Network/slirp" 1198 my_generate_project "Net-NetLib" "src/VBox/NetworkServices/NetLib" --begin-incs "include" "src/VBox/NetworkServices/NetLib" --end-includes "src/VBox/NetworkServices/NetLib" 1199 1200 # src/VBox/RDP 1201 my_generate_project "RDP-Client" "src/VBox/RDP/client-1.8.4" --begin-incs "include" "src/VBox/RDP/client-1.8.4" --end-includes "src/VBox/RDP/client-1.8.4" 1202 my_generate_project "RDP-Server" "src/VBox/RDP/server" --begin-incs "include" "src/VBox/RDP/server" --end-includes "src/VBox/RDP/server" 1203 my_generate_project "RDP-WebClient" "src/VBox/RDP/webclient" --begin-incs "include" "src/VBox/RDP/webclient" --end-includes "src/VBox/RDP/webclient" 1204 my_generate_project "RDP-Misc" "src/VBox/RDP" --begin-incs "include" --end-includes "src/VBox/RDP/auth" "src/VBox/RDP/tscpasswd" "src/VBox/RDP/x11server" 1205 1206 # src/VBox/Storage 1207 my_generate_project "Storage" "src/VBox/Storage" --begin-incs "include" "src/VBox/Storage" --end-includes "src/VBox/Storage" 1208 1209 # src/VBox/ValidationKit 1210 my_generate_project "ValidationKit" "src/VBox/ValidationKit" --begin-incs "include" --end-includes "src/VBox/ValidationKit" 1211 1212 # src/VBox/ExtPacks 1213 my_generate_project "ExtPacks" "src/VBox/ExtPacks" --begin-incs "include" --end-includes "src/VBox/ExtPacks" 1214 1215 # src/bldprogs 1216 my_generate_project "bldprogs" "src/bldprogs" --begin-incs "include" --end-includes "src/bldprogs" 1217 1218 # A few things from src/lib 1219 lib=$(my_get_newest_ver src/libs/zlib) 1220 my_generate_project "zlib" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 1221 lib=$(my_get_newest_ver src/libs/liblzf) 1222 my_generate_project "liblzf" "${lib}" --begin-incs "include" --end-includes "${lib}" 1223 lib=$(my_get_newest_ver src/libs/libpng) 1224 my_generate_project "libpng" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 1225 lib=$(my_get_newest_ver src/libs/openssl) 1226 my_generate_project "openssl" "${lib}" --begin-incs "include" "${lib}/crypto" --end-includes "${lib}" 1227 lib=$(my_get_newest_ver src/libs/curl) 1228 my_generate_project "curl" "${lib}" --begin-incs "include" "${lib}/include" --end-includes "${lib}" 1229 lib=$(my_get_newest_ver src/libs/softfloat) 1230 my_generate_project "softfloat" "${lib}" --begin-incs "include" "${lib}/source/include" --end-includes "${lib}" 1231 1232 # webtools 1233 my_generate_project "webtools" "webtools" --begin-incs "include" "webtools/tinderbox/server/Tinderbox3" --end-includes "webtools" 1234 1235 # include/VBox 1236 my_generate_project "VBoxHeaders" "include" --begin-incs "include" --end-includes "include/VBox" 1237 1238 # Misc 1239 my_generate_project "misc" "." --begin-incs "include" --end-includes \ 1240 "configure" \ 1241 "configure.vbs" \ 1242 "Config.kmk" \ 1243 "Makefile.kmk" \ 1244 "src/Makefile.kmk" \ 1245 "src/VBox/Makefile.kmk" \ 1246 "tools/env.sh" \ 1247 "tools/env.cmd" \ 1248 "tools/envSub.vbs" \ 1249 "tools/envSub.cmd" \ 1250 "tools/win/vbscript" 1251 1252 1253 # out/x.y/z/bin/sdk/bindings/xpcom 1254 XPCOM_INCS="src/libs/xpcom18a4" 1255 for d in \ 1256 "out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/${KBUILD_TYPE}/dist/sdk/bindings/xpcom" \ 1257 "out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/${KBUILD_TYPE}/bin/sdk/bindings/xpcom" \ 1258 "out/linux.amd64/debug/bin/sdk/bindings/xpcom" \ 1259 "out/linux.x86/debug/bin/sdk/bindings/xpcom" \ 1260 "out/darwin.amd64/debug/dist/sdk/bindings/xpcom" \ 1261 "out/darwin.x86/debug/bin/dist/bindings/xpcom" \ 1262 "out/haiku.amd64/debug/bin/sdk/bindings/xpcom" \ 1263 "out/haiku.x86/debug/bin/sdk/bindings/xpcom" \ 1264 "out/solaris.amd64/debug/bin/sdk/bindings/xpcom" \ 1265 "out/solaris.x86/debug/bin/sdk/bindings/xpcom"; 1266 do 1267 if test -d "${MY_ROOT_DIR}/${d}"; then 1268 my_generate_project "SDK-xpcom" "${d}" --begin-incs "include" "${d}/include" --end-includes "${d}" 1269 XPCOM_INCS="${d}/include" 1270 break 1271 fi 1272 done 1273 1274 # lib/xpcom 1275 my_generate_project "xpcom" "src/libs/xpcom18a4" --begin-incs "include" "${XPCOM_INCS}" --end-includes "src/libs/xpcom18a4" 1076 my_abs_dir "tools/bin" 1077 MY_INCLUDE_DIR=${MY_ABS_DIR} 1078 . "$MY_INCLUDE_DIR/include-workspace-projects.sh" 1276 1079 1277 1080 my_generate_workspace -
trunk/tools/bin/gen-vscode-workspace.sh
r95098 r95313 625 625 626 626 # 627 # From now on everything *MUST* succeed.628 #629 set -e630 631 632 #633 627 # Save the absolute path to the root directory. 634 628 # … … 636 630 my_abs_dir "." 637 631 MY_FILE_ROOT_DIR=${MY_ABS_DIR} 632 633 634 # 635 # From now on everything *MUST* succeed. 636 # 637 set -e 638 638 639 639 … … 659 659 fi 660 660 661 661 662 # 662 663 # Generate the projects and workspace. 663 664 # 664 # Note! The configs aren't optimal yet, lots of adjustment wrt headers left to be done. 665 # 666 667 # src/VBox/Runtime 668 my_generate_project "IPRT" "src/VBox/Runtime" --begin-incs "include" "src/VBox/Runtime/include" --end-includes "include/iprt" "src/VBox/Runtime" 669 670 # src/VBox/VMM 671 my_generate_project "VMM" "src/VBox/VMM" --begin-incs "include" "src/VBox/VMM" --end-includes "src/VBox/VMM" \ 672 "include/VBox/vmm/cfgm.h" \ 673 "include/VBox/vmm/cpum.*" \ 674 "include/VBox/vmm/dbgf.h" \ 675 "include/VBox/vmm/em.h" \ 676 "include/VBox/vmm/gim.h" \ 677 "include/VBox/vmm/apic.h" \ 678 "include/VBox/vmm/gmm.*" \ 679 "include/VBox/vmm/gvm.*" \ 680 "include/VBox/vmm/hm*.*" \ 681 "include/VBox/vmm/iom.h" \ 682 "include/VBox/vmm/mm.h" \ 683 "include/VBox/vmm/patm.*" \ 684 "include/VBox/vmm/pdm*.h" \ 685 "include/VBox/vmm/pgm.*" \ 686 "include/VBox/vmm/selm.*" \ 687 "include/VBox/vmm/ssm.h" \ 688 "include/VBox/vmm/stam.*" \ 689 "include/VBox/vmm/tm.h" \ 690 "include/VBox/vmm/trpm.*" \ 691 "include/VBox/vmm/vm.*" \ 692 "include/VBox/vmm/vmm.*" 693 694 # src/VBox/Additions 695 my_generate_project "Add-darwin" "src/VBox/Additions/darwin" --begin-incs "include" "src/VBox/Additions/darwin" --end-includes "src/VBox/Additions/darwin" 696 my_generate_project "Add-freebsd" "src/VBox/Additions/freebsd" --begin-incs "include" "src/VBox/Additions/freebsd" --end-includes "src/VBox/Additions/freebsd" 697 my_generate_project "Add-haiku" "src/VBox/Additions/haiku" --begin-incs "include" "src/VBox/Additions/haiku" --end-includes "src/VBox/Additions/haiku" 698 my_generate_project "Add-linux" "src/VBox/Additions/linux" --begin-incs "include" "src/VBox/Additions/linux" --end-includes "src/VBox/Additions/linux" 699 my_generate_project "Add-os2" "src/VBox/Additions/os2" --begin-incs "include" "src/VBox/Additions/os2" --end-includes "src/VBox/Additions/os2" 700 my_generate_project "Add-solaris" "src/VBox/Additions/solaris" --begin-incs "include" "src/VBox/Additions/solaris" --end-includes "src/VBox/Additions/solaris" 701 my_generate_project "Add-win" "src/VBox/Additions/WINNT" --begin-incs "include" "src/VBox/Additions/WINNT" --end-includes "src/VBox/Additions/WINNT" 702 if test -z "$MY_OPT_MINIMAL"; then 703 my_generate_project "Add-x11" "src/VBox/Additions/x11" --begin-incs "include" "src/VBox/Additions/x11" --end-includes "src/VBox/Additions/x11" 704 fi 705 my_generate_project "Add-Control" "src/VBox/Additions/common/VBoxControl" --begin-incs "include" "src/VBox/Additions/common/VBoxControl" --end-includes "src/VBox/Additions/common/VBoxControl" 706 my_generate_project "Add-GuestDrv" "src/VBox/Additions/common/VBoxGuest" --begin-incs "include" "src/VBox/Additions/common/VBoxGuest" --end-includes "src/VBox/Additions/common/VBoxGuest" "include/VBox/VBoxGuest*.*" 707 my_generate_project "Add-Lib" "src/VBox/Additions/common/VBoxGuest/lib" --begin-incs "include" "src/VBox/Additions/common/VBoxGuest/lib" --end-includes "src/VBox/Additions/common/VBoxGuest/lib" "include/VBox/VBoxGuest/lib/*.*" 708 my_generate_project "Add-Service" "src/VBox/Additions/common/VBoxService" --begin-incs "include" "src/VBox/Additions/common/VBoxService" --end-includes "src/VBox/Additions/common/VBoxService" 709 my_generate_project "Add-VBoxVideo" "src/VBox/Additions/common/VBoxVideo" --begin-incs "include" "src/VBox/Additions/common/VBoxVideo" --end-includes "src/VBox/Additions/common/VBoxVideo" 710 if test -z "$MY_OPT_MINIMAL"; then 711 my_generate_project "Add-pam" "src/VBox/Additions/common/pam" --begin-incs "include" "src/VBox/Additions/common/pam" --end-includes "src/VBox/Additions/common/pam" 712 my_generate_project "Add-cmn-test" "src/VBox/Additions/common/testcase" --begin-incs "include" "src/VBox/Additions/common/testcase" --end-includes "src/VBox/Additions/common/testcase" 713 my_generate_project "Add-CredProv" "src/VBox/Additions/WINNT/VBoxCredProv" --begin-incs "include" "src/VBox/Additions/WINNT/VBoxCredProv" --end-includes "src/VBox/Additions/WINNT/VBoxCredProv" 714 my_generate_project "Add-GINA" "src/VBox/Additions/WINNT/VBoxGINA" --begin-incs "include" "src/VBox/Additions/WINNT/VBoxGINA" --end-includes "src/VBox/Additions/WINNT/VBoxGINA" 715 fi 716 717 # src/VBox/Debugger 718 my_generate_project "Debugger" "src/VBox/Debugger" --begin-incs "include" "src/VBox/Debugger" --end-includes "src/VBox/Debugger" "include/VBox/dbggui.h" "include/VBox/dbg.h" 719 720 # src/VBox/Devices 721 my_generate_project "Devices" "src/VBox/Devices" --begin-incs "include" "src/VBox/Devices" --end-includes "src/VBox/Devices" "include/VBox/pci.h" "include/VBox/pdm*.h" 722 ## @todo split this up. 723 724 # src/VBox/Disassembler 725 my_generate_project "DIS" "src/VBox/Disassembler" --begin-incs "include" "src/VBox/Disassembler" --end-includes "src/VBox/Disassembler" "include/VBox/dis*.h" 726 727 # src/VBox/Frontends 728 if test -z "$MY_OPT_MINIMAL"; then 729 my_generate_project "FE-VBoxAutostart" "src/VBox/Frontends/VBoxAutostart" --begin-incs "include" "src/VBox/Frontends/VBoxAutostart" --end-includes "src/VBox/Frontends/VBoxAutostart" 730 my_generate_project "FE-VBoxBugReport" "src/VBox/Frontends/VBoxBugReport" --begin-incs "include" "src/VBox/Frontends/VBoxBugReport" --end-includes "src/VBox/Frontends/VBoxBugReport" 731 my_generate_project "FE-VBoxBalloonCtrl" "src/VBox/Frontends/VBoxBalloonCtrl" --begin-incs "include" "src/VBox/Frontends/VBoxBalloonCtrl" --end-includes "src/VBox/Frontends/VBoxBalloonCtrl" 732 fi 733 my_generate_project "FE-VBoxManage" "src/VBox/Frontends/VBoxManage" --begin-incs "include" "src/VBox/Frontends/VBoxManage" --end-includes "src/VBox/Frontends/VBoxManage" 734 my_generate_project "FE-VBoxHeadless" "src/VBox/Frontends/VBoxHeadless" --begin-incs "include" "src/VBox/Frontends/VBoxHeadless" --end-includes "src/VBox/Frontends/VBoxHeadless" 735 my_generate_project "FE-VBoxSDL" "src/VBox/Frontends/VBoxSDL" --begin-incs "include" "src/VBox/Frontends/VBoxSDL" --end-includes "src/VBox/Frontends/VBoxSDL" 736 my_generate_project "FE-VBoxShell" "src/VBox/Frontends/VBoxShell" --begin-incs "include" "src/VBox/Frontends/VBoxShell" --end-includes "src/VBox/Frontends/VBoxShell" 737 # noise - my_generate_project "FE-VBoxBFE" "src/VBox/Frontends/VBoxBFE" --begin-incs "include" "src/VBox/Frontends/VBoxBFE" --end-includes "src/VBox/Frontends/VBoxBFE" 738 FE_VBOX_WRAPPERS="" 739 for d in ${MY_OUT_DIRS}; 740 do 741 if test -d "${MY_ROOT_DIR}/${d}/obj/VirtualBox/include"; then 742 FE_VBOX_WRAPPERS="${d}/obj/VirtualBox/include" 743 break 744 fi 745 done 746 if test -n "${FE_VBOX_WRAPPERS}"; then 747 my_generate_project "FE-VirtualBox" "src/VBox/Frontends/VirtualBox" --begin-incs "include" "${FE_VBOX_WRAPPERS}" --end-includes "src/VBox/Frontends/VirtualBox" "${FE_VBOX_WRAPPERS}/COMWrappers.cpp" "${FE_VBOX_WRAPPERS}/COMWrappers.h" 748 else 749 my_generate_project "FE-VirtualBox" "src/VBox/Frontends/VirtualBox" --begin-incs "include" --end-includes "src/VBox/Frontends/VirtualBox" 750 fi 751 752 # src/VBox/GuestHost 753 my_generate_project "HGSMI-GH" "src/VBox/GuestHost/HGSMI" --begin-incs "include" --end-includes "src/VBox/GuestHost/HGSMI" 754 if test -z "$MY_OPT_MINIMAL"; then 755 my_generate_project "DnD-GH" "src/VBox/GuestHost/DragAndDrop" --begin-incs "include" --end-includes "src/VBox/GuestHost/DragAndDrop" 756 fi 757 my_generate_project "ShClip-GH" "src/VBox/GuestHost/SharedClipboard" --begin-incs "include" --end-includes "src/VBox/GuestHost/SharedClipboard" 758 759 # src/VBox/HostDrivers 760 my_generate_project "SUP" "src/VBox/HostDrivers/Support" --begin-incs "include" "src/VBox/HostDrivers/Support" --end-includes "src/VBox/HostDrivers/Support" "include/VBox/sup.h" "include/VBox/sup.mac" 761 my_generate_project "VBoxNetAdp" "src/VBox/HostDrivers/VBoxNetAdp" --begin-incs "include" "src/VBox/HostDrivers/VBoxNetAdp" --end-includes "src/VBox/HostDrivers/VBoxNetAdp" "include/VBox/intnet.h" 762 my_generate_project "VBoxNetFlt" "src/VBox/HostDrivers/VBoxNetFlt" --begin-incs "include" "src/VBox/HostDrivers/VBoxNetFlt" --end-includes "src/VBox/HostDrivers/VBoxNetFlt" "include/VBox/intnet.h" 763 my_generate_project "VBoxUSB" "src/VBox/HostDrivers/VBoxUSB" --begin-incs "include" "src/VBox/HostDrivers/VBoxUSB" --end-includes "src/VBox/HostDrivers/VBoxUSB" "include/VBox/usblib*.h" "include/VBox/usbfilter.h" 764 my_generate_project "AdpCtl" "src/VBox/HostDrivers/adpctl" --begin-incs "include" --end-includes "src/VBox/HostDrivers/adpctl" 765 766 # src/VBox/HostServices 767 my_generate_project "GuestCntl" "src/VBox/HostServices/GuestControl" --begin-incs "include" "src/VBox/HostServices/GuestControl" --end-includes "src/VBox/HostServices/GuestControl" 768 my_generate_project "DragAndDrop" "src/VBox/HostServices/DragAndDrop" --begin-incs "include" "src/VBox/HostServices/DragAndDrop" --end-includes "src/VBox/HostServices/DragAndDrop" 769 my_generate_project "GuestProps" "src/VBox/HostServices/GuestProperties" --begin-incs "include" "src/VBox/HostServices/GuestProperties" --end-includes "src/VBox/HostServices/GuestProperties" 770 my_generate_project "ShClip-HS" "src/VBox/HostServices/SharedClipboard" --begin-incs "include" "src/VBox/HostServices/SharedClipboard" --end-includes "src/VBox/HostServices/SharedClipboard" 771 my_generate_project "SharedFolders" "src/VBox/HostServices/SharedFolders" --begin-incs "include" "src/VBox/HostServices/SharedFolders" --end-includes "src/VBox/HostServices/SharedFolders" "include/VBox/shflsvc.h" 772 773 # src/VBox/ImageMounter 774 my_generate_project "ImageMounter" "src/VBox/ImageMounter" --begin-incs "include" "src/VBox/ImageMounter" --end-includes "src/VBox/ImageMounter" 775 776 # src/VBox/Installer 777 my_generate_project "Installers" "src/VBox/Installer" --begin-incs "include" --end-includes "src/VBox/Installer" 778 779 # src/VBox/Main 780 my_generate_project "Main" "src/VBox/Main" --begin-incs "include" "src/VBox/Main/include" --end-includes "src/VBox/Main" "include/VBox/com" "include/VBox/settings.h" 781 ## @todo seperate webservices and Main. pick the right headers. added generated headers. 782 783 # src/VBox/Network 784 my_generate_project "Net-DHCP" "src/VBox/NetworkServices/Dhcpd" --begin-incs "include" "src/VBox/NetworkServices/NetLib" --end-includes "src/VBox/NetworkServices/Dhcpd" 785 my_generate_project "Net-NAT" "src/VBox/NetworkServices/NAT" --begin-incs "include" "src/VBox/NetworkServices/NAT" --end-includes "src/VBox/NetworkServices/NAT" "src/VBox/Devices/Network/slirp" 786 my_generate_project "Net-NetLib" "src/VBox/NetworkServices/NetLib" --begin-incs "include" "src/VBox/NetworkServices/NetLib" --end-includes "src/VBox/NetworkServices/NetLib" 787 788 # src/VBox/RDP 789 my_generate_project "RDP-Client" "src/VBox/RDP/client-1.8.4" --begin-incs "include" "src/VBox/RDP/client-1.8.4" --end-includes "src/VBox/RDP/client-1.8.4" 790 my_generate_project "RDP-Server" "src/VBox/RDP/server" --begin-incs "include" "src/VBox/RDP/server" --end-includes "src/VBox/RDP/server" 791 my_generate_project "RDP-WebClient" "src/VBox/RDP/webclient" --begin-incs "include" "src/VBox/RDP/webclient" --end-includes "src/VBox/RDP/webclient" 792 my_generate_project "RDP-Misc" "src/VBox/RDP" --begin-incs "include" --end-includes "src/VBox/RDP/auth" "src/VBox/RDP/tscpasswd" "src/VBox/RDP/x11server" 793 794 # src/VBox/Storage 795 my_generate_project "Storage" "src/VBox/Storage" --begin-incs "include" "src/VBox/Storage" --end-includes "src/VBox/Storage" 796 797 # src/VBox/ValidationKit 798 my_generate_project "ValidationKit" "src/VBox/ValidationKit" --begin-incs "include" --end-includes "src/VBox/ValidationKit" 799 800 # src/VBox/ExtPacks 801 my_generate_project "ExtPacks" "src/VBox/ExtPacks" --begin-incs "include" --end-includes "src/VBox/ExtPacks" 802 803 # src/bldprogs 804 my_generate_project "bldprogs" "src/bldprogs" --begin-incs "include" --end-includes "src/bldprogs" 805 806 # A few things from src/lib 807 lib=$(my_get_newest_ver src/libs/zlib) 808 my_generate_project "zlib" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 809 lib=$(my_get_newest_ver src/libs/liblzf) 810 my_generate_project "liblzf" "${lib}" --begin-incs "include" --end-includes "${lib}" 811 lib=$(my_get_newest_ver src/libs/libpng) 812 my_generate_project "libpng" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 813 lib=$(my_get_newest_ver src/libs/openssl) 814 my_generate_project "openssl" "${lib}" --begin-incs "include" "${lib}/crypto" --end-includes "${lib}" 815 lib=$(my_get_newest_ver src/libs/curl) 816 my_generate_project "curl" "${lib}" --begin-incs "include" "${lib}/include" --end-includes "${lib}" 817 lib=$(my_get_newest_ver src/libs/softfloat) 818 my_generate_project "softfloat" "${lib}" --begin-incs "include" "${lib}/source/include" --end-includes "${lib}" 819 820 # webtools 821 my_generate_project "webtools" "webtools" --begin-incs "include" "webtools/tinderbox/server/Tinderbox3" --end-includes "webtools" 822 823 # include/VBox 824 my_generate_project "VBoxHeaders" "include" --begin-incs "include" --end-includes "include/VBox" 825 826 # Misc 827 my_generate_project "misc" "." --begin-incs "include" --end-includes \ 828 "configure" \ 829 "configure.vbs" \ 830 "Config.kmk" \ 831 "Makefile.kmk" \ 832 "src/Makefile.kmk" \ 833 "src/VBox/Makefile.kmk" \ 834 "tools/env.sh" \ 835 "tools/env.cmd" \ 836 "tools/envSub.vbs" \ 837 "tools/envSub.cmd" \ 838 "tools/win/vbscript" 839 840 841 # out/x.y/z/bin/sdk/bindings/xpcom 842 XPCOM_INCS="src/libs/xpcom18a4" 843 for d in \ 844 "out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/${KBUILD_TYPE}/dist/sdk/bindings/xpcom" \ 845 "out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/${KBUILD_TYPE}/bin/sdk/bindings/xpcom" \ 846 "out/linux.amd64/debug/bin/sdk/bindings/xpcom" \ 847 "out/linux.x86/debug/bin/sdk/bindings/xpcom" \ 848 "out/darwin.amd64/debug/dist/sdk/bindings/xpcom" \ 849 "out/darwin.x86/debug/bin/dist/bindings/xpcom" \ 850 "out/haiku.amd64/debug/bin/sdk/bindings/xpcom" \ 851 "out/haiku.x86/debug/bin/sdk/bindings/xpcom" \ 852 "out/solaris.amd64/debug/bin/sdk/bindings/xpcom" \ 853 "out/solaris.x86/debug/bin/sdk/bindings/xpcom"; 854 do 855 if test -d "${MY_ROOT_DIR}/${d}"; then 856 my_generate_project "SDK-xpcom" "${d}" --begin-incs "include" "${d}/include" --end-includes "${d}" 857 XPCOM_INCS="${d}/include" 858 break 859 fi 860 done 861 862 # lib/xpcom 863 my_generate_project "xpcom" "src/libs/xpcom18a4" --begin-incs "include" "${XPCOM_INCS}" --end-includes "src/libs/xpcom18a4" 665 my_abs_dir "tools/bin" 666 MY_INCLUDE_DIR=${MY_ABS_DIR} 667 . "$MY_INCLUDE_DIR/include-workspace-projects.sh" 864 668 865 669 my_generate_workspace 866 670 867 868 869 870 671 echo "done"
Note:
See TracChangeset
for help on using the changeset viewer.