VirtualBox

Ignore:
Timestamp:
Aug 25, 2008 1:52:37 PM (16 years ago)
Author:
vboxsync
Message:

major rework of sdk dirs layout

File:
1 edited

Legend:

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

    r11604 r11612  
    123123                                     ipc/ipcd/extensions/dconnect/src \
    124124                                     ipc/ipcd/extensions/transmngr/common \
    125                                      $(VBOX_PATH_SDK)/include \
    126                                      $(VBOX_PATH_SDK)/include/xpcom \
    127                                      $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
    128                                      $(VBOX_PATH_SDK)/include/xpcom/string \
    129                                      $(VBOX_PATH_SDK)/include/xpcom/xpcom \
    130                                      $(VBOX_PATH_SDK)/include/xpcom/ipcd \
     125                                     $(VBOX_PATH_SDK)/bindings/xpcom/include \
     126                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
     127                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
     128                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
     129                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
    131130                                     .
    132131TEMPLATE_XPCOM_INCS.darwin         = $(VBOX_PATH_MACOSX_SDK)/Developer/Headers/FlatCarbon
     
    161160TEMPLATE_XPCOMEXE_INCS             = $(PATH_TARGET) \
    162161                                     ipc/ipcd/shared/src \
    163                                      $(VBOX_PATH_SDK)/include \
    164                                      $(VBOX_PATH_SDK)/include/xpcom \
    165                                      $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
    166                                      $(VBOX_PATH_SDK)/include/xpcom/string \
    167                                      $(VBOX_PATH_SDK)/include/xpcom/xpcom \
    168                                      $(VBOX_PATH_SDK)/include/xpcom/ipcd \
     162                                     $(VBOX_PATH_SDK)/bindings/xpcom/include \
     163                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
     164                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
     165                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
     166                                     $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
    169167                                     .
    170168TEMPLATE_XPCOMEXE_LIBS             = \
     
    208206TEMPLATE_XPCOMBLDPROG_CFLAGS.freebsd    = -pthread
    209207TEMPLATE_XPCOMBLDPROG_CFLAGS.linux      = -pthread
    210 TEMPLATE_XPCOMBLDPROG_INCS              = $(VBOX_PATH_SDK)/include \
    211                                           $(VBOX_PATH_SDK)/include/xpcom \
    212                                           $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
    213                                           $(VBOX_PATH_SDK)/include/xpcom/string \
    214                                           $(VBOX_PATH_SDK)/include/xpcom/xpcom \
    215                                           $(VBOX_PATH_SDK)/include/xpcom/ipcd
     208TEMPLATE_XPCOMBLDPROG_INCS              = $(VBOX_PATH_SDK)/bindings/xpcom/include \
     209                                          $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
     210                                          $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
     211                                          $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
     212                                          $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd
    216213TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET)         = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET))
    217214TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET_ARCH)    = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET_ARCH))
     
    269266        VBoxXPCOM \
    270267        VBoxXPCOMIPCC \
    271         $(if $(VBOX_OSE),,VBox-xpcom-helper)
     268        $(if $(VBOX_OSE),,VBoxHelper)
    272269
    273270# we put it here, as template it uses depends on VBoxRT,
     
    275272# r=bird: This doesn't work, it won't be built this way. The way to fix it is to make the order change in src/Makefile.kmk (or was it src/lib/Makefile.kmk) that puts src/VBox/Runtime before src/lib/xpcom18a4 standard for all builds.
    276273OTHERS += \
    277         $(TARGET_VBox-xpcom-helper)
     274        $(TARGET_VBoxHlp)
    278275
    279276
     
    329326#      obsoleted files in the $(INST_SDK) directory.
    330327#
    331 NSPRPUB-HEADERS_INST = $(INST_SDK)include/xpcom/nsprpub/
     328NSPRPUB-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/nsprpub/
    332329NSPRPUB-HEADERS_IFFLAGS = -m 644
    333330NSPRPUB-HEADERS_SOURCES = \
     
    382379        nsprpub/pr/include/md/_vbox.cfg=>prcpucfg.h \
    383380
    384 NSPRPUB-MD-HEADERS_INST = $(INST_SDK)include/xpcom/nsprpub/md
     381NSPRPUB-MD-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/nsprpub/md
    385382NSPRPUB-MD-HEADERS_IFFLAGS = -m 644
    386383NSPRPUB-MD-HEADERS_SOURCES = \
     
    411408        nsprpub/pr/include/md/_l4v2.cfg
    412409
    413 NSPRPUB-OBS-HEADERS_INST = $(INST_SDK)include/xpcom/nsprpub/obsolete
     410NSPRPUB-OBS-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/nsprpub/obsolete
    414411NSPRPUB-OBS-HEADERS_IFFLAGS = -m 644
    415412NSPRPUB-OBS-HEADERS_SOURCES = \
     
    419416        nsprpub/pr/include/obsolete/prsem.h
    420417
    421 NSPRPUB-PRIV-HEADERS_INST = $(INST_SDK)include/xpcom/nsprpub/private
     418NSPRPUB-PRIV-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/nsprpub/private
    422419NSPRPUB-PRIV-HEADERS_IFFLAGS = -m 644
    423420NSPRPUB-PRIV-HEADERS_SOURCES = \
     
    426423        nsprpub/pr/include/private/prpriv.h
    427424
    428 STRING-HEADERS_INST = $(INST_SDK)include/xpcom/string
     425STRING-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/string
    429426STRING-HEADERS_IFFLAGS = -m 644
    430427STRING-HEADERS_SOURCES = \
     
    460457        xpcom/string/public/string-template-undef.h
    461458
    462 XPCOM-HEADERS_INST = $(INST_SDK)include/xpcom/xpcom
     459XPCOM-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/xpcom
    463460XPCOM-HEADERS_IFFLAGS = -m 644
    464461XPCOM-HEADERS_SOURCES = \
     
    579576        xpcom-config.h
    580577
    581 IPCD-HEADERS_INST = $(INST_SDK)include/xpcom/ipcd
     578IPCD-HEADERS_INST = $(INST_SDK)/bindings/xpcom/include/ipcd
    582579IPCD-HEADERS_IFFLAGS = -m 644
    583580IPCD-HEADERS_SOURCES = \
     
    12951292# Helper for initialization of XPCOM
    12961293#
    1297 VBox-xpcom-helper_TEMPLATE = VBOXMAINCLIENTDLL
    12981294## @todo why isn't this targetd called VBoxHlp and what is it good for anyway? it's not in any of the lists so it won't be processed or anything...
    12991295## update: Since r35225 this is no longer necessary, VBoxRT is already available when VBoxPython is linked. Do all the initialization from there!
    1300 VBox-xpcom-helper_NAME = VBoxHlp
    1301 VBox-xpcom-helper_DEFS =
    1302 VBox-xpcom-helper_SOURCES = \
     1296VBoxHlp_DEFS =
     1297VBoxHlp_SOURCES = \
    13031298        xpcom/helper/helper.cpp
    13041299
     
    13781373
    13791374# Python Client Module - the Python bits.
    1380 VBoxPython-inst-py-xpcom_INST = $(INST_SDK)/bindings/com/python/xpcom/
     1375VBoxPython-inst-py-xpcom_INST = $(INST_SDK)bindings/xpcom/python/xpcom/
    13811376VBoxPython-inst-py-xpcom_SOURCES = \
    13821377        python/vboxxpcom.py \
     
    13971392
    13981393# Python Client Module - a sample script.
    1399 VBoxPython-inst-sample_INST = $(INST_SDK)/bindings/com/python/sample/
     1394VBoxPython-inst-sample_INST = $(INST_SDK)/bindings/xpcom/python/sample/
    14001395VBoxPython-inst-sample_SOURCES = \
    14011396        python/sample/vboxshell.py
     
    15581553OTHER_CLEAN += \
    15591554        $(PATH_VBox-xpcom-string)/idl_ts \
    1560         $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.h,$(XPCOM_IDLFILES)))) \
    1561         $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES)))) \
    1562         $(addprefix $(VBOX_PATH_SDK)/idl/,$(notdir $(XPCOM_IDLFILES))) \
     1555        $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/include,$(notdir $(subst .idl,.h,$(XPCOM_IDLFILES)))) \
     1556        $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/include,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES)))) \
     1557        $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/idl/,$(notdir $(XPCOM_IDLFILES))) \
    15631558        $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES))))
    15641559
     
    16831678        -I $(VBOX_PATH_XPCOM_SRC)/xpcom/reflect/xptinfo/public/
    16841679define def_IDL
    1685 $(VBOX_PATH_SDK)/include/$(notdir $(subst .idl,.h,$(idl))) \
     1680$(VBOX_PATH_SDK)/bindings/xpcom/include/$(notdir $(subst .idl,.h,$(idl))) \
    16861681+ $(PATH_TARGET)/$(notdir $(subst .idl,.xpt,$(idl))): \
    16871682                $(VBOX_PATH_XPCOM_SRC)/$(idl) \
    16881683                | $$$$(TARGET_xpidl)
    16891684        $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@)
    1690         $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/include $(VBOX_PATH_SDK)/idl
     1685        $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/bindings/xpcom/include $(VBOX_PATH_SDK)/bindings/xpcom/idl
    16911686        $$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$<
    16921687        $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
    1693         $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/idl
     1688        $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/bindings/xpcom/idl
    16941689endef
    16951690
     
    16971692
    16981693# dummy target.
    1699 $(PATH_VBox-xpcom-string)/idl_ts: $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.h,$(XPCOM_IDLFILES))))
     1694$(PATH_VBox-xpcom-string)/idl_ts: $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/include/,$(notdir $(subst .idl,.h,$(XPCOM_IDLFILES))))
    17001695        $(call MSG_L1,IDL processing completed.)
    17011696        $(QUIET)$(MKDIR) -p $(dir $@)
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