687
689
VBox-xpcom-nspr_SOURCES.solaris.amd64 = nsprpub/pr/src/md/unix/os_SunOS_x86_64.s
689
691
# generate build stamps
690
nsprpub/pr/src/prvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pr_bld.h
691
nsprpub/lib/ds/plvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pl_bld.h
692
nsprpub/pr/src/prvrsion.c_DEPS = $(VBox-xpcom-nspr_0_OUTDIR)/_pr_bld.h
693
nsprpub/lib/ds/plvrsion.c_DEPS = $(VBox-xpcom-nspr_0_OUTDIR)/_pl_bld.h
692
694
VBox-xpcom-nspr_CLEAN += \
693
$(PATH_VBox-xpcom-nspr)/_pr_bld.h \
694
$(PATH_VBox-xpcom-nspr)/_pl_bld.h
695
$(VBox-xpcom-nspr_0_OUTDIR)/_pr_bld.h \
696
$(VBox-xpcom-nspr_0_OUTDIR)/_pl_bld.h
696
$$(PATH_VBox-xpcom-nspr)/_pr_bld.h: | $$(PATH_VBox-xpcom-nspr)/
698
$$(VBox-xpcom-nspr_0_OUTDIR)/_pr_bld.h: | $$(VBox-xpcom-nspr_0_OUTDIR)/
697
699
$(call MSG_GENERATE,,$@)
698
700
$(QUIET)$(APPEND) -t $@ '#define _BUILD_STRING "$(date +%Y-%m-%d %T)"'
700
$$(PATH_VBox-xpcom-nspr)/_pl_bld.h: | $$(PATH_VBox-xpcom-nspr)/
702
$$(VBox-xpcom-nspr_0_OUTDIR)/_pl_bld.h: | $$(VBox-xpcom-nspr_0_OUTDIR)/
701
703
$(call MSG_GENERATE,,$@)
702
704
$(QUIET)$(APPEND) -t $@ '#define _BUILD_STRING "$(date +%Y-%m-%d %T)"'
970
972
VBoxXPCOM_SOURCES.solaris = \
972
974
VBoxXPCOM_LIBS = \
973
$(TARGET_VBox-xpcom-typelib) \
974
$(TARGET_VBox-xpcom-string) \
975
$(TARGET_VBox-xpcom-base) \
976
$(TARGET_VBox-xpcom-ds) \
977
$(TARGET_VBox-xpcom-io) \
978
$(TARGET_VBox-xpcom-components) \
979
$(TARGET_VBox-xpcom-threads) \
980
$(TARGET_VBox-xpcom-xptinfo) \
981
$(TARGET_VBox-xpcom-xptcall) \
982
$(TARGET_VBox-xpcom-proxy) \
983
$(TARGET_VBox-xpcom-nspr) \
984
$(TARGET_VBoxXPCOMGlue_s)
975
$(VBox-xpcom-typelib_1_TARGET) \
976
$(VBox-xpcom-string_1_TARGET) \
977
$(VBox-xpcom-base_1_TARGET) \
978
$(VBox-xpcom-ds_1_TARGET) \
979
$(VBox-xpcom-io_1_TARGET) \
980
$(VBox-xpcom-components_1_TARGET) \
981
$(VBox-xpcom-threads_1_TARGET) \
982
$(VBox-xpcom-xptinfo_1_TARGET) \
983
$(VBox-xpcom-xptcall_1_TARGET) \
984
$(VBox-xpcom-proxy_1_TARGET) \
985
$(VBox-xpcom-nspr_1_TARGET) \
986
$(VBoxXPCOMGlue_s_1_TARGET)
985
987
VBoxXPCOM_LIBS.linux = \
988
990
ifeq ($(filter-out freebsd l4 linux netbsd openbsd,$(KBUILD_TARGET)),) # gnu ld.
989
991
VBoxXPCOM_LDFLAGS = -Wl,--whole-archive \
990
$(TARGET_VBox-xpcom-typelib) \
991
$(TARGET_VBox-xpcom-string) \
992
$(TARGET_VBox-xpcom-base) \
993
$(TARGET_VBox-xpcom-ds) \
994
$(TARGET_VBox-xpcom-io) \
995
$(TARGET_VBox-xpcom-components) \
996
$(TARGET_VBox-xpcom-threads) \
997
$(TARGET_VBox-xpcom-xptinfo) \
998
$(TARGET_VBox-xpcom-xptcall) \
999
$(TARGET_VBox-xpcom-proxy) \
1000
$(TARGET_VBox-xpcom-nspr) \
1001
$(TARGET_VBoxXPCOMGlue_s) \
992
$(VBox-xpcom-typelib_1_TARGET) \
993
$(VBox-xpcom-string_1_TARGET) \
994
$(VBox-xpcom-base_1_TARGET) \
995
$(VBox-xpcom-ds_1_TARGET) \
996
$(VBox-xpcom-io_1_TARGET) \
997
$(VBox-xpcom-components_1_TARGET) \
998
$(VBox-xpcom-threads_1_TARGET) \
999
$(VBox-xpcom-xptinfo_1_TARGET) \
1000
$(VBox-xpcom-xptcall_1_TARGET) \
1001
$(VBox-xpcom-proxy_1_TARGET) \
1002
$(VBox-xpcom-nspr_1_TARGET) \
1003
$(VBoxXPCOMGlue_s_1_TARGET) \
1002
1004
-Wl,--no-whole-archive
1005
1007
VBoxXPCOM_LDFLAGS.solaris += -Wl,-z,allextract \
1006
$(TARGET_VBox-xpcom-typelib) \
1007
$(TARGET_VBox-xpcom-string) \
1008
$(TARGET_VBox-xpcom-base) \
1009
$(TARGET_VBox-xpcom-ds) \
1010
$(TARGET_VBox-xpcom-io) \
1011
$(TARGET_VBox-xpcom-components) \
1012
$(TARGET_VBox-xpcom-threads) \
1013
$(TARGET_VBox-xpcom-xptinfo) \
1014
$(TARGET_VBox-xpcom-xptcall) \
1015
$(TARGET_VBox-xpcom-proxy) \
1016
$(TARGET_VBox-xpcom-nspr) \
1017
$(TARGET_VBoxXPCOMGlue_s) \
1008
$(VBox-xpcom-typelib_1_TARGET) \
1009
$(VBox-xpcom-string_1_TARGET) \
1010
$(VBox-xpcom-base_1_TARGET) \
1011
$(VBox-xpcom-ds_1_TARGET) \
1012
$(VBox-xpcom-io_1_TARGET) \
1013
$(VBox-xpcom-components_1_TARGET) \
1014
$(VBox-xpcom-threads_1_TARGET) \
1015
$(VBox-xpcom-xptinfo_1_TARGET) \
1016
$(VBox-xpcom-xptcall_1_TARGET) \
1017
$(VBox-xpcom-proxy_1_TARGET) \
1018
$(VBox-xpcom-nspr_1_TARGET) \
1019
$(VBoxXPCOMGlue_s_1_TARGET) \
1018
1020
-Wl,-z,defaultextract
1020
1022
#VBoxXPCOM_LIBS.l4 = $(L4_LIBDIR)/libxpcomstubs.a $(L4_LIBDIR)/../libuc_c++.a \
1105
1107
VBoxXPCOMIPCC_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/components/VBoxXPCOMIPCC.dylib
1106
1108
VBoxXPCOMIPCC_LIBS = \
1107
$(TARGET_VBox-xpcom-ipcutils) \
1108
$(TARGET_VBox-xpcom-ipcshared) \
1109
$(TARGET_VBox-xpcom-ipcdlock) \
1110
$(TARGET_VBox-xpcom-ipctransmgr) \
1111
$(TARGET_VBox-xpcom-ipctmgrcom)
1109
$(VBox-xpcom-ipcutils_1_TARGET) \
1110
$(VBox-xpcom-ipcshared_1_TARGET) \
1111
$(VBox-xpcom-ipcdlock_1_TARGET) \
1112
$(VBox-xpcom-ipctransmgr_1_TARGET) \
1113
$(VBox-xpcom-ipctmgrcom_1_TARGET)
1113
1115
#VBoxXPCOMIPCC_LIBS += $(LIB_RUNTIME)
1330
1332
$(VBOX_PATH_SDK)/bindings/xpcom/include/$(notdir $(subst .idl,.h,$(idl))) \
1331
1333
+ $(PATH_TARGET)/VBox-xpcom-xpt-files/$(notdir $(subst .idl,.xpt,$(idl))): \
1332
1334
$(VBOX_PATH_XPCOM_SRC)/$(idl) \
1333
| $$$$(TARGET_xpidl) \
1335
| $$$$(xpidl_1_TARGET) \
1334
1336
$(PATH_TARGET)/VBox-xpcom-xpt-files/
1335
1337
$$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@)
1336
1338
$$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/bindings/xpcom/include $(VBOX_PATH_SDK)/bindings/xpcom/idl
1337
$$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$<
1338
$$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/VBox-xpcom-xpt-files/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
1339
$$(QUIET)$$(xpidl_1_TARGET) -m header $(XPIDL_INCS) -e $$@ $$<
1340
$$(QUIET)$$(xpidl_1_TARGET) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/VBox-xpcom-xpt-files/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
1339
1341
$$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/bindings/xpcom/idl