VirtualBox

Changeset 98220 in vbox for trunk


Ignore:
Timestamp:
Jan 23, 2023 12:31:13 AM (21 months ago)
Author:
vboxsync
Message:

libs/xpcom18a4: s/XPCOMEXE/XPComExe/ s/XPCOMTSTEXE/XPComTstExe/ s/XPCOMBLDPROG/XPComBldProg/ bugref:10348

Location:
trunk/src/libs/xpcom18a4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Config.kmk

    r98179 r98220  
    218218#
    219219# Template for building the XPCOM executables.
    220 # Used as a base template by XPCOMTSTEXE and XPCOMIPCEXE.
    221 #
    222 TEMPLATE_XPCOMEXE                  = XPCOM executable files
    223 TEMPLATE_XPCOMEXE_EXTENDS          = XPCOM
     220# Used as a base template by XPComTstExe and XPCOMIPCEXE.
     221#
     222TEMPLATE_XPComExe                  = XPCOM executable files
     223TEMPLATE_XPComExe_EXTENDS          = XPCOM
    224224## @todo undo -fPIC.
    225 TEMPLATE_XPCOMEXE_INCS             = ipc/ipcd/shared/src \
     225TEMPLATE_XPComExe_INCS             = ipc/ipcd/shared/src \
    226226                                     $(VBOX_PATH_SDK)/bindings/xpcom/include \
    227227                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
     
    230230                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
    231231                                     .
    232 TEMPLATE_XPCOMEXE_LIBS             = \
     232TEMPLATE_XPComExe_LIBS             = \
    233233        $(VBox-xpcom-ipcshared_1_TARGET) \
    234234        $(VBoxXPCOM_1_TARGET) \
    235235        $(TEMPLATE_XPCOM_LIBS)
    236 TEMPLATE_XPCOMEXE_LIBS.freebsd     = $(LIB_PTHREAD)
    237 TEMPLATE_XPCOMEXE_LIBS.linux       = dl $(LIB_PTHREAD)
    238 TEMPLATE_XPCOMEXE_LDFLAGS.darwin   = -bind_at_load $(filter-out -current_version -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD),$(TEMPLATE_XPCOM_LDFLAGS.darwin))
     236TEMPLATE_XPComExe_LIBS.freebsd     = $(LIB_PTHREAD)
     237TEMPLATE_XPComExe_LIBS.linux       = dl $(LIB_PTHREAD)
     238TEMPLATE_XPComExe_LDFLAGS.darwin   = -bind_at_load $(filter-out -current_version -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD),$(TEMPLATE_XPCOM_LDFLAGS.darwin))
    239239
    240240
     
    242242# Template for building the XPCOM testcase executables
    243243#
    244 TEMPLATE_XPCOMTSTEXE               = XPCOM executable files (testcases)
    245 TEMPLATE_XPCOMTSTEXE_EXTENDS       = XPCOMEXE
    246 TEMPLATE_XPCOMTSTEXE_CXXFLAGS      = $(TEMPLATE_XPCOMEXE_CXXFLAGS) -Wno-format
    247 TEMPLATE_XPCOMTSTEXE_CFLAGS        = $(TEMPLATE_XPCOMEXE_CFLAGS)   -Wno-format
    248 TEMPLATE_XPCOMTSTEXE_INST          = $(INST_TESTCASE)
     244TEMPLATE_XPComTstExe               = XPCOM executable files (testcases)
     245TEMPLATE_XPComTstExe_EXTENDS       = XPComExe
     246TEMPLATE_XPComTstExe_CXXFLAGS      = $(TEMPLATE_XPComExe_CXXFLAGS) -Wno-format
     247TEMPLATE_XPComTstExe_CFLAGS        = $(TEMPLATE_XPComExe_CFLAGS)   -Wno-format
     248TEMPLATE_XPComTstExe_INST          = $(INST_TESTCASE)
    249249ifdef VBOX_WITH_RUNPATH
    250  TEMPLATE_XPCOMTSTEXE_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_XPCOMEXE_LDFLAGS)
     250 TEMPLATE_XPComTstExe_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_XPComExe_LDFLAGS)
    251251else ifdef VBOX_WITH_RELATIVE_RUNPATH
    252  TEMPLATE_XPCOMTSTEXE_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)/..' $(TEMPLATE_XPCOMEXE_LDFLAGS)
     252 TEMPLATE_XPComTstExe_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)/..' $(TEMPLATE_XPComExe_LDFLAGS)
    253253endif
    254254if "$(KBUILD_TARGET)" == "win" && defined(VBOX_SIGNING_MODE)
    255  TEMPLATE_XPCOMTSTEXE_POST_CMDS =
     255 TEMPLATE_XPComTstExe_POST_CMDS =
    256256endif
    257257
     
    263263# and CXXFLAGS completely at the moment.
    264264#
    265 TEMPLATE_XPCOMBLDPROG                     = XPCOM Build programs executables
    266 TEMPLATE_XPCOMBLDPROG_EXTENDS             = VBoxBldProg
    267 ## @todo Verify that this doesn't blow up because of template inheriance ordering. (we're assuming XPCOMEXE is expanded when this is being used.)
    268 TEMPLATE_XPCOMBLDPROG_DEFS                = \
     265TEMPLATE_XPComBldProg                     = XPCOM Build programs executables
     266TEMPLATE_XPComBldProg_EXTENDS             = VBoxBldProg
     267## @todo Verify that this doesn't blow up because of template inheriance ordering. (we're assuming XPComExe is expanded when this is being used.)
     268TEMPLATE_XPComBldProg_DEFS                = \
    269269        $(TEMPLATE_VBoxBldProg_DEFS) \
    270         $(filter-out VBOX_USE_IPRT_IN_XPCOM, $(TEMPLATE_XPCOMEXE_DEFS))
    271 TEMPLATE_XPCOMBLDPROG_DEFS.$(KBUILD_HOST) = $(TEMPLATE_VBoxBldProg_DEFS.$(KBUILD_HOST)) $(TEMPLATE_XPCOMEXE_DEFS.$(KBUILD_HOST))
    272 TEMPLATE_XPCOMBLDPROG_DEFS.x86            = $(TEMPLATE_VBoxBldProg_DEFS.x86)            $(TEMPLATE_XPCOMEXE_DEFS.x86)
    273 TEMPLATE_XPCOMBLDPROG_DEFS.amd64          = $(TEMPLATE_VBoxBldProg_DEFS.amd64)          $(TEMPLATE_XPCOMEXE_DEFS.amd64)
    274 TEMPLATE_XPCOMBLDPROG_INCS                = \
     270        $(filter-out VBOX_USE_IPRT_IN_XPCOM, $(TEMPLATE_XPComExe_DEFS))
     271TEMPLATE_XPComBldProg_DEFS.$(KBUILD_HOST) = $(TEMPLATE_VBoxBldProg_DEFS.$(KBUILD_HOST)) $(TEMPLATE_XPComExe_DEFS.$(KBUILD_HOST))
     272TEMPLATE_XPComBldProg_DEFS.x86            = $(TEMPLATE_VBoxBldProg_DEFS.x86)            $(TEMPLATE_XPComExe_DEFS.x86)
     273TEMPLATE_XPComBldProg_DEFS.amd64          = $(TEMPLATE_VBoxBldProg_DEFS.amd64)          $(TEMPLATE_XPComExe_DEFS.amd64)
     274TEMPLATE_XPComBldProg_INCS                = \
    275275        $(VBOX_PATH_SDK)/bindings/xpcom/include \
    276276        $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
     
    278278        $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
    279279        $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd
    280 TEMPLATE_XPCOMBLDPROG_CFLAGS             = $(filter-out -pedantic -Wshadow, $(TEMPLATE_VBOX_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast) -Wno-format
    281 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.darwin    = $(TEMPLATE_VBoxBldProg_CXXFLAGS.darwin)     -fpascal-strings -fshort-wchar -fno-common -fno-rtti
    282 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.solaris   = $(TEMPLATE_VBoxBldProg_CXXFLAGS.solaris)    -fno-omit-frame-pointer # for now anyway.
    283 TEMPLATE_XPCOMBLDPROG_LDFLAGS.darwin     = $(TEMPLATE_VBoxBldProg_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
    284 TEMPLATE_XPCOMBLDPROG_ORDERDEPS          = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $($(hdrinst)_1_TARGET))
     280TEMPLATE_XPComBldProg_CFLAGS             = $(filter-out -pedantic -Wshadow, $(TEMPLATE_VBOX_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast) -Wno-format
     281TEMPLATE_XPComBldProg_CXXFLAGS.darwin    = $(TEMPLATE_VBoxBldProg_CXXFLAGS.darwin)     -fpascal-strings -fshort-wchar -fno-common -fno-rtti
     282TEMPLATE_XPComBldProg_CXXFLAGS.solaris   = $(TEMPLATE_VBoxBldProg_CXXFLAGS.solaris)    -fno-omit-frame-pointer # for now anyway.
     283TEMPLATE_XPComBldProg_LDFLAGS.darwin     = $(TEMPLATE_VBoxBldProg_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
     284TEMPLATE_XPComBldProg_ORDERDEPS          = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $($(hdrinst)_1_TARGET))
    285285
    286286
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r98103 r98220  
    428428# like in the original build
    429429#
    430 xpidl_TEMPLATE = XPCOMBLDPROG
     430xpidl_TEMPLATE = XPComBldProg
    431431xpidl_DEFS = EXPORT_XPT_API
    432432## @todo This assumes HOST == TARGET.
     
    436436# xpidl_BLD_TRG_ARCH = x86
    437437# ## @todo kBuild ticket 84 workarounds:
    438 # xpidl_DEFS.x86     = $(TEMPLATE_XPCOMBLDPROG_DEFS.x86)
    439 # xpidl_CFLAGS.x86   = $(TEMPLATE_XPCOMBLDPROG_CFLAGS.x86)
    440 # xpidl_CXXFLAGS.x86 = $(TEMPLATE_XPCOMBLDPROG_CXXFLAGS.x86)
    441 # xpidl_LDFLAGS.x86  = $(TEMPLATE_XPCOMBLDPROG_LDFLAGS.x86)
     438# xpidl_DEFS.x86     = $(TEMPLATE_XPComBldProg_DEFS.x86)
     439# xpidl_CFLAGS.x86   = $(TEMPLATE_XPComBldProg_CFLAGS.x86)
     440# xpidl_CXXFLAGS.x86 = $(TEMPLATE_XPComBldProg_CXXFLAGS.x86)
     441# xpidl_LDFLAGS.x86  = $(TEMPLATE_XPComBldProg_LDFLAGS.x86)
    442442#endif
    443443ifdef VBOX_WITH_JAVA_SUPPORT_IN_XPIDL
     
    504504# The XPT linker.
    505505#
    506 xpt_link_TEMPLATE = XPCOMBLDPROG
     506xpt_link_TEMPLATE = XPComBldProg
    507507xpt_link_SOURCES = \
    508508        xpcom/typelib/xpt/tools/xpt_link.c \
     
    11461146
    11471147TEMPLATE_XPCOMIPCEXE               = XPCOM IPC executables
    1148 TEMPLATE_XPCOMIPCEXE_EXTENDS       = XPCOMEXE
    1149 TEMPLATE_XPCOMIPCEXE_DEFS          = $(TEMPLATE_XPCOMEXE_DEFS) BUILD_DCONNECT=1
     1148TEMPLATE_XPCOMIPCEXE_EXTENDS       = XPComExe
     1149TEMPLATE_XPCOMIPCEXE_DEFS          = $(TEMPLATE_XPComExe_DEFS) BUILD_DCONNECT=1
    11501150ifdef IPC_LOGGING
    11511151 TEMPLATE_XPCOMIPCEXE_DEFS        += IPC_LOGGING
     
    12451245# testcases
    12461246#
    1247 tstnsIFileEnumerator_TEMPLATE  = XPCOMTSTEXE
     1247tstnsIFileEnumerator_TEMPLATE  = XPComTstExe
    12481248tstnsIFileEnumerator_SOURCES   = xpcom/tests/nsIFileEnumerator.cpp
    1249 tstnsIFileTest_TEMPLATE        = XPCOMTSTEXE
     1249tstnsIFileTest_TEMPLATE        = XPComTstExe
    12501250tstnsIFileTest_SOURCES         = xpcom/tests/nsIFileTest.cpp
    1251 tstTestArray_TEMPLATE          = XPCOMTSTEXE
     1251tstTestArray_TEMPLATE          = XPComTstExe
    12521252tstTestArray_SOURCES           = xpcom/tests/TestArray.cpp
    1253 tstTestAtoms_TEMPLATE          = XPCOMTSTEXE
     1253tstTestAtoms_TEMPLATE          = XPComTstExe
    12541254tstTestAtoms_SOURCES           = xpcom/tests/TestAtoms.cpp
    1255 tstTestAutoLock_TEMPLATE       = XPCOMTSTEXE
     1255tstTestAutoLock_TEMPLATE       = XPComTstExe
    12561256tstTestAutoLock_SOURCES        = xpcom/tests/TestAutoLock.cpp
    1257 tstTestCallTemplates_TEMPLATE  = XPCOMTSTEXE
     1257tstTestCallTemplates_TEMPLATE  = XPComTstExe
    12581258tstTestCallTemplates_SOURCES   = xpcom/tests/TestCallTemplates.cpp
    1259 tstTestCOMPtr_TEMPLATE         = XPCOMTSTEXE
     1259tstTestCOMPtr_TEMPLATE         = XPComTstExe
    12601260tstTestCOMPtr_SOURCES          = xpcom/tests/TestCOMPtr.cpp
    1261 tstTestCOMPtrEq_TEMPLATE       = XPCOMTSTEXE
     1261tstTestCOMPtrEq_TEMPLATE       = XPComTstExe
    12621262tstTestCOMPtrEq_SOURCES        = xpcom/tests/TestCOMPtrEq.cpp
    1263 tstTestCRT_TEMPLATE            = XPCOMTSTEXE
     1263tstTestCRT_TEMPLATE            = XPComTstExe
    12641264tstTestCRT_SOURCES             = xpcom/tests/TestCRT.cpp
    1265 tstTestFactory_TEMPLATE        = XPCOMTSTEXE
     1265tstTestFactory_TEMPLATE        = XPComTstExe
    12661266tstTestFactory_SOURCES         = xpcom/tests/TestFactory.cpp
    1267 tstTestHashtables_TEMPLATE     = XPCOMTSTEXE
     1267tstTestHashtables_TEMPLATE     = XPComTstExe
    12681268tstTestHashtables_SOURCES      = xpcom/tests/TestHashtables.cpp
    1269 tstTestID_TEMPLATE             = XPCOMTSTEXE
     1269tstTestID_TEMPLATE             = XPComTstExe
    12701270tstTestID_SOURCES              = xpcom/tests/TestID.cpp
    1271 tstTestObserverService_TEMPLATE= XPCOMTSTEXE
     1271tstTestObserverService_TEMPLATE= XPComTstExe
    12721272tstTestObserverService_SOURCES = xpcom/tests/TestObserverService.cpp
    1273 tstTestPermanentAtoms_TEMPLATE = XPCOMTSTEXE
     1273tstTestPermanentAtoms_TEMPLATE = XPComTstExe
    12741274tstTestPermanentAtoms_SOURCES  = xpcom/tests/TestPermanentAtoms.cpp
    1275 tstTestPipes_TEMPLATE          = XPCOMTSTEXE
     1275tstTestPipes_TEMPLATE          = XPComTstExe
    12761276tstTestPipes_SOURCES           = xpcom/tests/TestPipes.cpp
    1277 tstTestServMgr_TEMPLATE        = XPCOMTSTEXE
     1277tstTestServMgr_TEMPLATE        = XPComTstExe
    12781278tstTestServMgr_SOURCES         = xpcom/tests/TestServMgr.cpp
    12791279tstTestServMgr_INCS            = xpcom/tests/services
    1280 tstTestThreads_TEMPLATE        = XPCOMTSTEXE
     1280tstTestThreads_TEMPLATE        = XPComTstExe
    12811281tstTestThreads_SOURCES         = xpcom/tests/TestThreads.cpp
    1282 tstTestXPIDLString_TEMPLATE    = XPCOMTSTEXE
     1282tstTestXPIDLString_TEMPLATE    = XPComTstExe
    12831283tstTestXPIDLString_SOURCES     = xpcom/tests/TestXPIDLString.cpp
    1284 tstTestXPTCInvoke_TEMPLATE     = XPCOMTSTEXE
     1284tstTestXPTCInvoke_TEMPLATE     = XPComTstExe
    12851285tstTestXPTCInvoke_SOURCES      = xpcom/reflect/xptcall/tests/TestXPTCInvoke.cpp
    1286 tstTestDeque_TEMPLATE          = XPCOMTSTEXE
     1286tstTestDeque_TEMPLATE          = XPComTstExe
    12871287tstTestDeque_SOURCES           = xpcom/tests/TestDeque.cpp
    1288 tstTestAutoPtr_TEMPLATE        = XPCOMTSTEXE
     1288tstTestAutoPtr_TEMPLATE        = XPComTstExe
    12891289tstTestAutoPtr_SOURCES         = xpcom/tests/TestAutoPtr.cpp
    1290 tstTestMinStringAPI_TEMPLATE   = XPCOMTSTEXE
     1290tstTestMinStringAPI_TEMPLATE   = XPComTstExe
    12911291tstTestMinStringAPI_SOURCES    = xpcom/tests/TestMinStringAPI.cpp
    1292 tstTestStrings_TEMPLATE        = XPCOMTSTEXE
     1292tstTestStrings_TEMPLATE        = XPComTstExe
    12931293tstTestStrings_SOURCES         = xpcom/tests/TestStrings.cpp
    1294 tstPrimitiveTest_TEMPLATE      = XPCOMTSTEXE
     1294tstPrimitiveTest_TEMPLATE      = XPComTstExe
    12951295tstPrimitiveTest_SOURCES       = xpcom/typelib/xpt/tests/PrimitiveTest.c
    1296 tstSimpleTypeLib_TEMPLATE      = XPCOMTSTEXE
     1296tstSimpleTypeLib_TEMPLATE      = XPComTstExe
    12971297tstSimpleTypeLib_SOURCES       = xpcom/typelib/xpt/tests/SimpleTypeLib.c
    1298 tstXptDump_TEMPLATE            = XPCOMTSTEXE
     1298tstXptDump_TEMPLATE            = XPComTstExe
    12991299tstXptDump_SOURCES             = xpcom/typelib/xpt/tools/xpt_dump.c
    1300 tstXptLink_TEMPLATE            = XPCOMTSTEXE
     1300tstXptLink_TEMPLATE            = XPComTstExe
    13011301tstXptLink_SOURCES             = xpcom/typelib/xpt/tools/xpt_link.c
    13021302
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