VirtualBox

Changeset 5976 in vbox


Ignore:
Timestamp:
Dec 6, 2007 4:25:40 AM (17 years ago)
Author:
vboxsync
Message:

Removed the tests for KMK_USE_REDIRECT, KMK_USE_TEST, KMK_NEW_SED and KMK_NEW_CP.

Location:
trunk/src/VBox
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/Makefile.kmk

    r5898 r5976  
    66#
    77#  Copyright (C) 2006-2007 innotek GmbH
    8 # 
     8#
    99#  This file is part of VirtualBox Open Source Edition (OSE), as
    1010#  available from http://www.virtualbox.org. This file is free software;
     
    6666
    6767# 1. create vbetables.h
    68 $(PATH_TARGET)/vbetables.h: $(MAKEFILE_CURRENT)
    69 ifdef KMK_USE_REDIRECT
     68$(PATH_TARGET)/vbetables.h: $(MAKEFILE_CURRENT) $(TARGET_vbetables-gen)
    7069        $(QUIET)$(REDIRECT) -wo $@ -- $(TARGET_vbetables-gen)
    71 else
    72         $(QUIET)$(TARGET_vbetables-gen) > $@
    73 endif
    7470
    7571# 2. precompile
    7672$(PATH_TARGET)/_vgabios_.c: $(addprefix $(PATH_SUB_CURRENT)/,vgabios.c vgabios.h vbe.h vgatables.h vgafonts.h vbe.c clext.c) $(PATH_TARGET)/vbetables.h
    7773        $(call MSG_TOOL,cpp,VgaBiosBin,$<,$@)
    78 ifdef KMK_USE_REDIRECT
    7974        $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -DVBOX -DVBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" -DVBE -DVGABIOS_DATE="''" $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) -o $@ $<
    80 else
    81         $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -DVBOX -DVBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" -E -P $< -DVBE -DVGABIOS_DATE="''" $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) > $@
    82 endif
    8375
    8476# 3. compile - tempfile clashes, so make sure it's built in solitude.
     
    9183$(PATH_TARGET)/vgabios1.s: $(PATH_TARGET)/vgabios0.s
    9284        $(call MSG_TOOL,Adjusting BCC Assembly,VgaBiosBin,$<,$@)
    93 ifdef KMK_NEW_SED
    9485        $(QUIET)$(SED) -e 's/^\.text//' -e 's/^\.data//' --output $@ $^
    95 else
    96         $(QUIET)$(SED) -e 's/^\.text//' -e 's/^\.data//' $^ > $@
    97 endif
    9886
    9987# 5. assemble
    10088$(PATH_TARGET)/vgabios.tmp $(PATH_TARGET)/vgabios.lst: $(PATH_TARGET)/vgabios1.s
    10189        $(call MSG_COMPILE,VgaBiosBin,$<,$@,AS)
    102 ifdef KMK_USE_REDIRECT
    10390        $(QUIET)$(REDIRECT) -ri $^ -- $(VBOX_AS86) -b $(PATH_TARGET)/vgabios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/vgabios.lst
    104 else
    105         $(QUIET)$(VBOX_AS86) -b $(PATH_TARGET)/vgabios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/vgabios.lst < $^
    106 endif
    10791
    10892# 6. checksums
  • trunk/src/VBox/Devices/PC/BIOS/Makefile.kmk

    r5898 r5976  
    66#
    77#  Copyright (C) 2006-2007 innotek GmbH
    8 # 
     8#
    99#  This file is part of VirtualBox Open Source Edition (OSE), as
    1010#  available from http://www.virtualbox.org. This file is free software;
     
    6363$(PATH_TARGET)/_rombios_.c: $(PATH_SUB_CURRENT)/rombios.c $(PATH_SUB_CURRENT)/logo.c $(PATH_SUB_CURRENT)/apmbios.S | $(call DIRDEP,$(TARGET_PATH))
    6464        $(call MSG_TOOL,cpp,PcBiosBin,$<,$@)
    65 ifdef KMK_USE_REDIRECT
    6665        $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -I$(PATH_TARGET) -I$(VBOX_PATH_DEVICES_SRC)/PC -I$(PATH_ROOT)/include -I$(PATH_OUT) -DBX_SMP_PROCESSORS=1 -DVBOX $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) -P -o $@ $<
    67 else
    68         $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -I$(PATH_TARGET) -I$(VBOX_PATH_DEVICES_SRC)/PC -I$(PATH_ROOT)/include -I$(PATH_OUT) -DBX_SMP_PROCESSORS=1 -DVBOX $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) -P $< > $@
    69 endif
    7066
    7167# 2. compile to intermediate asm file - tempfile clashes, make sure it's built alone.
     
    7874$(PATH_TARGET)/rombios1.s: $(PATH_TARGET)/rombios0.s
    7975        $(call MSG_TOOL,Adjusting BCC Assembly,PcBiosBin,$<,$@)
    80 ifdef KMK_NEW_SED
    8176        $(QUIET)$(SED) -e 's/^\.text//' -e 's/^\.data//' --output $@ $^
    82 else
    83         $(QUIET)$(SED) -e 's/^\.text//' -e 's/^\.data//' $^ > $@
    84 endif
    8577
    8678# 4. assemble the intermediate asm file. (also creates a listing rombios.lst)
    8779$(PATH_TARGET)/pcbios.tmp $(PATH_TARGET)/pcbios.lst: $(PATH_TARGET)/rombios1.s
    8880        $(call MSG_COMPILE,PcBiosBin,$<,$@,AS)
    89 ifdef KMK_USE_REDIRECT
    9081        $(QUIET)$(REDIRECT) -ri $^ -- $(VBOX_AS86) -b $(PATH_TARGET)/pcbios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/pcbios.lst
    91 else
    92         $(QUIET)$(VBOX_AS86) -b $(PATH_TARGET)/pcbios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/pcbios.lst < $^
    93 endif
    9482
    9583# 5. calculate checksums for the final BIOS image.
     
    10290$(PATH_TARGET)/pcbios-syms.h: $(PATH_TARGET)/pcbios.lst $(MAKEFILE_CURRENT)
    10391        $(call MSG_GENERATE,PcBiosBin,$<,$@)
    104 ifdef KMK_NEW_SED
    10592        $(QUIET)$(SED) \
    10693                -e  '/^[0-9][0-9][0-9][0-9][0-9]                       000[0-9A-F]*            [[:space:]]*[a-zA-Z0-9_]*:/!d' \
    10794                -e 's/^[0-9][0-9][0-9][0-9][0-9]                       \(000[0-9A-F]*\)            [[:space:]]*\([a-zA-Z0-9_]*\):.*$$/    DEFSYM(0x\1, "\2"),/' \
    10895                --output $@ \
    109                 $(PATH_TARGET)/pcbios.lst
    110 else
    111         $(QUIET)$(SED) \
    112                 -e  '/^[0-9][0-9][0-9][0-9][0-9]                       000[0-9A-F]*            [[:space:]]*[a-zA-Z0-9_]*:/!d' \
    113                 -e 's/^[0-9][0-9][0-9][0-9][0-9]                       \(000[0-9A-F]*\)            [[:space:]]*\([a-zA-Z0-9_]*\):.*$$/    DEFSYM(0x\1, "\2"),/' \
    114                 $(PATH_TARGET)/pcbios.lst > $@
    115 endif
     96                $(PATH_TARGET)/pcbios.lst
    11697
    11798
  • trunk/src/VBox/Devices/testcase/Makefile.kmk

    r5898 r5976  
    66#
    77#  Copyright (C) 2006-2007 innotek GmbH
    8 # 
     8#
    99#  This file is part of VirtualBox Open Source Edition (OSE), as
    1010#  available from http://www.virtualbox.org. This file is free software;
     
    8787$(PATH_TARGET)/tstDeviceStructSizeGC.h: $$(INSTARGET_tstDeviceStructSizeGC)
    8888        $(call MSG_GENERATE,,$@)
    89 ifdef KMK_USE_REDIRECT
    9089        $(QUIET)$(REDIRECT) -wo $@ -- $(INSTARGET_tstDeviceStructSizeGC)
    91 else
    92         $(QUIET)$(INSTARGET_tstDeviceStructSizeGC) > $@
    93 endif
    9490
    9591# 3. run it.
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r5933 r5976  
    329329        $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
    330330        $(QUIET)$(RM) -f $@
    331 ifdef KMK_NEW_SED
    332331        $(QUIET)$(SED) \
    333332                -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
     
    336335                -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
    337336                --output $@ $<
    338 else
    339         $(QUIET)$(SED) \
    340                 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
    341                 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
    342                 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
    343                 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
    344                 $< > $@
    345 endif
    346337
    347338#
  • trunk/src/VBox/Main/Makefile.kmk

    r5903 r5976  
    8686        $(RM) -f $(wildcard $(PATH_OUT)/docs/Main/html/*)
    8787        $(VBOX_XSLTPROC) -o $(PATH_TARGET)/VirtualBox.idl idl/doxygen.xsl idl/VirtualBox.xidl
    88 ifdef KMK_USE_REDIRECT
    8988        $(REDIRECT) -E 'PATH_OUT=$(PATH_OUT)' -E 'PATH_TARGET=$(PATH_TARGET)' -E 'PATH_CHM=$(subst /,\,$(PATH_BIN)/VirtualBoxAPI.chm)' \
    9089                -- doxygen Doxyfile.Main
    91 else
    92         PATH_OUT="$(PATH_OUT)" PATH_TARGET="$(PATH_TARGET)" PATH_CHM="$(subst /,\\,$(PATH_BIN)/VirtualBoxAPI.chm)" doxygen Doxyfile.Main
    93 endif
    9490        -$(EXEC_X86_WIN32) $(VBOX_PATH_HTML_HELP_WORKSHOP)/hhc.exe $(subst /,\\,$(PATH_OUT)/docs/Main/html/index.hhp)
    9591        $(APPEND) $(PATH_TARGET)/docs.Main
  • trunk/src/VBox/Runtime/Makefile.kmk

    r5897 r5976  
    10751075        $(call MSG_GENERATE,,$@,$(filter %.h,$^))
    10761076        $(QUIET)$(MKDIR) -p $(PATH_TARGET)
    1077 ifdef KMK_USE_REDIRECT
    10781077        $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
    1079 else
    1080         $(QUIET)$(SED) -f $< $(filter %.h,$^) > $@
    1081 endif
     1078
    10821079## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors.
    10831080$(PATH_TARGET)/errmsgcomdata.h: common/err/errmsgcom.sed $(PATH_SDK_WINPSDK_INC)/WinError.h
    10841081        $(call MSG_GENERATE,,$@,$(filter %.h,$^))
    10851082        $(QUIET)$(MKDIR) -p $(PATH_TARGET)
    1086 ifdef KMK_USE_REDIRECT
    10871083        $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
    1088 else
    1089         $(QUIET)$(SED) -f $< $(filter %.h,$^) > $@
    1090 endif
     1084
    10911085$(PATH_TARGET)/errmsgxpcomdata.h: common/err/errmsgxpcom.sed $(DEPTH)/src/libs/xpcom18a4/xpcom/base/nsError.h
    10921086        $(call MSG_GENERATE,,$@,$(filter %.h,$^))
    10931087        $(QUIET)$(MKDIR) -p $(PATH_TARGET)
    1094 ifdef KMK_USE_REDIRECT
    10951088        $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
    1096 else
    1097         $(QUIET)$(SED) -f $< $(filter %.h,$^) > $@
    1098 endif
    10991089
    11001090
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r5904 r5976  
    236236ifndef DONT_USE_YASM
    237237        $(QUIET)$(TOOL_YASM_AS) $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
    238 ifdef KMK_NEW_SED
    239238        $(SED) -f $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed --output $@ [email protected]
    240 else
    241         $(SED) -f $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed [email protected] > $@
    242 endif
    243239else
    244240        $(QUIET)$(TOOL_NASM_AS) -g $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
     
    266262        $(call MSG_GENERATE,tstVMStructSize,$@,$<)
    267263        $(QUIET)$(RM) -f $@ [email protected] [email protected]
    268 ifdef KMK_USE_REDIRECT
    269264        $(QUIET)$(REDIRECT) -wo [email protected] -- $(VBOX_NM) $<
    270 else
    271         $(VBOX_NM) $< > [email protected]
    272 endif
    273 ifdef KMK_NEW_SED
    274265        $(QUIET)$(SED) -e '/STAMPROFILEADV/d' \
    275266               -e '/00[0-9a-fA-F]* [aA] [^_.]*\./!d'       -e 's/\(00[0-9a-fA-F]*\) [aA] \([^.]*\)\.\(.*$$\)/    CHECK_OFF(\2, 0x0\1, \3);/' \
    276                --output [email protected] [email protected] 
     267               --output [email protected] [email protected]
    277268        $(QUIET)$(SED) -e '/VM_size$$/d' \
    278269               -e '/00[0-9a-fA-F]* [aA] [^_.]*_size$$/!d'  -e 's/\(00[0-9a-fA-F]*\) [aA] \([^_.]*\)_size/    CHECK_SIZE(\2, 0x0\1);/' \
    279270               --append [email protected] [email protected]
    280 else
    281         $(QUIET)$(SED) -e '/STAMPROFILEADV/d' \
    282                -e '/00[0-9a-fA-F]* [aA] [^_.]*\./!d'       -e 's/\(00[0-9a-fA-F]*\) [aA] \([^.]*\)\.\(.*$$\)/    CHECK_OFF(\2, 0x0\1, \3);/' \
    283                [email protected][email protected]
    284         $(QUIET)$(SED) -e '/VM_size$$/d' \
    285                -e '/00[0-9a-fA-F]* [aA] [^_.]*_size$$/!d'  -e 's/\(00[0-9a-fA-F]*\) [aA] \([^_.]*\)_size/    CHECK_SIZE(\2, 0x0\1);/' \
    286                [email protected] >> [email protected]
    287 endif
    288271        $(QUIET)$(MV) -f [email protected] $@
    289272        $(QUIET)$(RM) -f [email protected]
     
    292275$(PATH_TARGET)/tstAsmStructsGC.h: $(PATH_TARGET)/tstAsmStructsHC.h
    293276        $(call MSG_GENERATE,tstVMStructSize,$@,$<)
    294 ifdef KMK_NEW_SED
    295277        $(QUIET)$(SED) -e '/VMMSWITCHERDEF/d' --output $@ $^
    296 else
    297         $(QUIET)$(SED) -e '/VMMSWITCHERDEF/d' \
    298                 $^ > $@
    299 endif
    300278
    301279## @todo make this default kBuild behaviour.
     
    318296$(PATH_TARGET)/tstVMStructGC.h: $$(INSTARGET_tstVMStructGC)
    319297        $(call MSG_GENERATE,tstVMStructSize,$@)
    320 ifdef KMK_USE_REDIRECT
    321298        $(QUIET)$(REDIRECT) -wo $@ -- $(INSTARGET_tstVMStructGC)
    322 else
    323         $(QUIET)$(INSTARGET_tstVMStructGC) > $@
    324 endif
    325299
    326300# 2. run it.
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