Changeset 12199 in vbox for trunk/src/libs
- Timestamp:
- Sep 8, 2008 3:04:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r12151 r12199 20 20 # 21 21 22 ifdef VBOX_SINGLE_MAKEFILE23 22 SUB_DEPTH = ../../.. 24 else25 SUB_DEPTH = .26 DEPTH = ../../..27 endif28 23 include $(KBUILD_PATH)/subheader.kmk 29 24 … … 42 37 # 43 38 VBOX_PATH_XPCOM_SRC := $(PATH_SUB_CURRENT) 39 40 BLDDIRS += $(PATH_TARGET)/VBox-xpcom-xpt-files/ 44 41 45 42 … … 110 107 TEMPLATE_XPCOM_DEFS += MOZ_PRESERVE_PIC 111 108 endif 112 TEMPLATE_XPCOM_INCS = $(PATH_TARGET) \ 113 xpcom/build \ 109 TEMPLATE_XPCOM_INCS = xpcom/build \ 114 110 xpcom/ds \ 115 111 xpcom/io \ … … 160 156 TEMPLATE_XPCOMEXE_EXTENDS = XPCOM 161 157 ## @todo undo -fPIC. 162 TEMPLATE_XPCOMEXE_INCS = $(PATH_TARGET) \ 163 ipc/ipcd/shared/src \ 158 TEMPLATE_XPCOMEXE_INCS = ipc/ipcd/shared/src \ 164 159 $(VBOX_PATH_SDK)/bindings/xpcom/include \ 165 160 $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \ … … 309 304 endif # !VBOX_ONLY_SDK 310 305 311 312 OTHER_CLEAN += \313 $(PATH_TARGET)/VBox-xpcom-nspr/_pr_bld.h \314 $(PATH_TARGET)/VBox-xpcom-nspr/_pl_bld.h315 306 316 307 … … 705 696 VBox-xpcom-nspr_INCS = \ 706 697 nsprpub/pr/include/private \ 707 $(PATH_ TARGET)/VBox-xpcom-nspr698 $(PATH_VBox-xpcom-nspr) 708 699 709 700 VBox-xpcom-nspr_SOURCES = \ … … 853 844 VBox-xpcom-nspr_SOURCES.solaris.amd64 = nsprpub/pr/src/md/unix/os_SunOS_x86_64.s 854 845 855 846 # generate build stamps 856 847 nsprpub/pr/src/prvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pr_bld.h 857 848 nsprpub/lib/ds/plvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pl_bld.h 849 VBox-xpcom-nspr_CLEAN += \ 850 $(PATH_VBox-xpcom-nspr)/_pr_bld.h \ 851 $(PATH_VBox-xpcom-nspr)/_pl_bld.h 852 853 $$(PATH_VBox-xpcom-nspr)/_pr_bld.h: | $$(PATH_VBox-xpcom-nspr)/ 854 $(call MSG_GENERATE,,$@) 855 $(QUIET)$(APPEND) -t $@ '#define _BUILD_STRING "$(date +%Y-%m-%d %T)"' 856 857 $$(PATH_VBox-xpcom-nspr)/_pl_bld.h: | $$(PATH_VBox-xpcom-nspr)/ 858 $(call MSG_GENERATE,,$@) 859 $(QUIET)$(APPEND) -t $@ '#define _BUILD_STRING "$(date +%Y-%m-%d %T)"' 858 860 859 861 … … 1548 1550 $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/include,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES)))) \ 1549 1551 $(addprefix $(VBOX_PATH_SDK)/bindings/xpcom/idl/,$(notdir $(XPCOM_IDLFILES))) \ 1550 $(addprefix $(PATH_TARGET)/ ,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES))))1552 $(addprefix $(PATH_TARGET)/VBox-xpcom-xpt-files/,$(notdir $(subst .idl,.xpt,$(XPCOM_IDLFILES)))) 1551 1553 1552 1554 … … 1555 1557 # 1556 1558 INSTALLS += VBoxXPCOMBase-xpt-inst 1557 VBOX_XPTFILES = $(addprefix $(PATH_TARGET)/ , \1559 VBOX_XPTFILES = $(addprefix $(PATH_TARGET)/VBox-xpcom-xpt-files/, \ 1558 1560 nsIConsoleListener.xpt \ 1559 1561 nsIConsoleMessage.xpt \ … … 1640 1642 VBoxXPCOMBase-xpt-inst_MODE = 0644 1641 1643 VBoxXPCOMBase-xpt-inst_SOURCES = \ 1642 $(PATH_TARGET)/VBox XPCOMBase.xpt1644 $(PATH_TARGET)/VBox-xpcom-xpt-files/VBoxXPCOMBase.xpt 1643 1645 VBoxXPCOMBase-xpt-inst_CLEAN = \ 1644 1646 $(VBOX_XPTFILES) \ 1645 $(PATH_TARGET)/VBox XPCOMBase.xpt1647 $(PATH_TARGET)/VBox-xpcom-xpt-files/VBoxXPCOMBase.xpt 1646 1648 1647 1649 # combined typelib library 1648 $(PATH_TARGET)/VBox XPCOMBase.xpt: $(VBOX_XPTFILES) | $$(TARGET_xpt_link)1650 $(PATH_TARGET)/VBox-xpcom-xpt-files/VBoxXPCOMBase.xpt: $(VBOX_XPTFILES) | $$(TARGET_xpt_link) $(PATH_TARGET)/VBox-xpcom-xpt-files/ 1649 1651 $(call MSG_LINK,XPCOM_TYPELIB,$@) 1650 1652 $(QUIET)$(MKDIR) -p -- $(PATH_BIN)/components … … 1657 1659 1658 1660 1659 1660 # generate build stamps1661 $(PATH_VBox-xpcom-nspr)/_pr_bld.h:1662 $(call MSG_GENERATE,,$@)1663 $(QUIET)echo '#define _BUILD_STRING "$(shell date "+%Y-%m-%d %T")"' > $@1664 1665 $(PATH_VBox-xpcom-nspr)/_pl_bld.h:1666 $(call MSG_GENERATE,,$@)1667 $(QUIET)echo '#define _BUILD_STRING "$(shell date "+%Y-%m-%d %T")"' > $@1668 1661 1669 1662 # … … 1683 1676 define def_IDL 1684 1677 $(VBOX_PATH_SDK)/bindings/xpcom/include/$(notdir $(subst .idl,.h,$(idl))) \ 1685 + $(PATH_TARGET)/ $(notdir $(subst .idl,.xpt,$(idl))): \1678 + $(PATH_TARGET)/VBox-xpcom-xpt-files/$(notdir $(subst .idl,.xpt,$(idl))): \ 1686 1679 $(VBOX_PATH_XPCOM_SRC)/$(idl) \ 1687 | $$$$(TARGET_xpidl) 1680 | $$$$(TARGET_xpidl) \ 1681 $(PATH_TARGET)/VBox-xpcom-xpt-files/ 1688 1682 $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@) 1689 1683 $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/bindings/xpcom/include $(VBOX_PATH_SDK)/bindings/xpcom/idl 1690 1684 $$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$< 1691 $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/ ,$(notdir $(subst .idl,.xpt,$(idl)))) $$<1685 $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/VBox-xpcom-xpt-files/,$(notdir $(subst .idl,.xpt,$(idl)))) $$< 1692 1686 $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/bindings/xpcom/idl 1693 1687 endef … … 1704 1698 $(VBOX_XPIDL): $$(PATH_VBox-xpcom-string)/idl_ts 1705 1699 1706 # Manual dependency...1707 xpcom/string/src/nsAString.cpp: $(PATH_VBox-xpcom-string)/idl_ts
Note:
See TracChangeset
for help on using the changeset viewer.