- Timestamp:
- Sep 19, 2018 3:07:27 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r74334 r74372 2346 2346 2347 2347 if1of ($(KBUILD_TARGET),win darwin) # remove later 2348 ifn1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 2349 if1of (VBoxRT,$(DLLS)) 2348 if1of (VBoxRT,$(DLLS)) 2350 2349 # 2351 2350 # VBoxRTImpCheck - Import library check. … … 2359 2358 $(LIB_RUNTIME) 2360 2359 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64) 2361 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win64.def | $$(dir $$@) 2360 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 2361 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \ 2362 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 2363 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def \ 2364 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win64.def \ 2365 | $$(dir $$@) 2362 2366 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 2363 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@) 2367 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 2368 $(PATH_SUB_CURRENT)/VBox/DefToAsmExternsVcc32.sed \ 2369 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 2370 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def \ 2371 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@) 2364 2372 else 2365 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@) 2373 $$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 2374 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \ 2375 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 2376 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@) 2366 2377 endif 2367 2378 $(APPEND) -tn "$@" '%include "iprt/asmdefs.mac"' '' … … 2371 2382 $(if-expr "$(KBUILD_TARGET)" == "win" ,, -e "/only-win/d") \ 2372 2383 $(if-expr "$(KBUILD_TARGET)" == "darwin",, -e "/only-darwin/d") \ 2373 -f $(PATH_ROOT)/src/VBox/Runtime/VBox/DefToAsmExterns.sed \ 2374 $(filter %.def, $^) 2375 endif 2384 -f "$<" $(filter %.def, $^) 2376 2385 endif 2377 2386 endif # remove later -
trunk/src/VBox/Runtime/VBox/DefToAsmExterns.sed
r74346 r74372 38 38 /^$/d 39 39 40 # 40 41 # Handle text after EXPORTS 42 # 41 43 /EXPORTS/,//{ 42 44 s/^EXPORTS$// 43 45 /^$/b end 44 45 46 46 47 /[[:space:]]DATA$/b data … … 52 53 s/^\(.*\)$/EXTERN_IMP2 \1/ 53 54 b end 54 55 55 56 56 # … … 65 65 b end 66 66 67 67 # 68 68 # next expression 69 # 69 70 :end 70 71 -
trunk/src/VBox/Runtime/VBox/DefToAsmExternsVcc32.sed
r74366 r74372 38 38 /^$/d 39 39 40 # 40 41 # Handle text after EXPORTS 42 # 41 43 /EXPORTS/,//{ 42 44 s/^EXPORTS$// 43 45 /^$/b end 44 46 45 47 /^?/b cpp_export 46 48 /[[:space:]]DATA$/b data 47 49 … … 53 55 b end 54 56 55 56 57 # 57 58 # Data export … … 61 62 b end 62 63 64 # 65 # Mangled C++ . 66 # 67 :cpp_export 68 s/^\(.*\)$/extern __imp_\1/ 69 b end 70 63 71 } 64 72 d 65 73 b end 66 74 67 75 # 68 76 # next expression 77 # 69 78 :end 70 79
Note:
See TracChangeset
for help on using the changeset viewer.