Changeset 17725 in vbox
- Timestamp:
- Mar 12, 2009 10:05:15 AM (16 years ago)
- Location:
- trunk/src/VBox/Main/cbinding
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/Makefile.kmk
r17706 r17725 34 34 XpComCSamples_SOURCES = \ 35 35 tstLinuxC.c \ 36 tstXPCOMCGlue.c \ 36 37 makefile.tstLinuxC=>Makefile 38 39 INSTALLS += XpComCGlue 40 XpComCGlue_MODE = a+r,u+rw 41 XpComCGlue_INST = \ 42 $(INST_SDK)bindings/xpcom/cbinding/ 43 XpComCGlue_SOURCES = \ 44 VBoxXPCOMCGlue.c \ 45 VBoxXPCOMCGlue.h 37 46 38 47 INSTALLS += XpComCHeaders … … 82 91 tstXPCOMC_TEMPLATE = VBOXR3EXE 83 92 tstXPCOMC_INCS = \ 84 $(VBOX_PATH_SDK)/bindings/xpcom/include \ 85 $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub 93 $(VBOX_PATH_SDK)/bindings/xpcom/include 86 94 tstXPCOMC_INTERMEDIATES = \ 87 95 $(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_CXPCOM.h … … 97 105 tstXPCOMCGlue_TEMPLATE = VBOXR3EXE 98 106 tstXPCOMCGlue_INCS = \ 99 $(VBOX_PATH_SDK)/bindings/xpcom/include \ 100 $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub 107 $(VBOX_PATH_SDK)/bindings/xpcom/include 101 108 tstXPCOMCGlue_INTERMEDIATES = \ 102 109 $(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_CXPCOM.h -
trunk/src/VBox/Main/cbinding/makefile.tstLinuxC
r17706 r17725 21 21 22 22 PATH_BIN = /opt/VirtualBox 23 INCS_XPCOM = -I../../include 23 INCS_XPCOM = -I../../include 24 GLUE_DIR = .. 25 GLUE_INC = -I.. 24 26 25 27 CC = gcc … … 27 29 28 30 .PHONY: all 29 all: tstLinuxC 31 all: tstLinuxC tstXPCOMCGlue 30 32 31 33 .PHONY: clean 32 34 clean: 33 rm -f tstLinuxC.o tstLinuxC 35 rm -f tstLinuxC.o tstLinuxC tstXPCOMCGlue.o tstXPCOMCGlue VBoxXPCOMCGlue.o 34 36 35 37 tstLinuxC: tstLinuxC.o … … 38 40 tstLinuxC.o: tstLinuxC.c 39 41 $(CC) $(CFLAGS) $(INCS_XPCOM) -o $@ -c $< 42 43 tstXPCOMCGlue: tstXPCOMCGlue.o VBoxXPCOMCGlue.o 44 $(CC) -o $@ $^ -ldl 45 46 tstXPCOMCGlue.o: tstXPCOMCGlue.c 47 $(CC) $(CFLAGS) $(INCS_XPCOM) $(GLUE_INC) -o $@ -c $< 48 49 VBoxXPCOMCGlue.o: $(GLUE_DIR)/VBoxXPCOMCGlue.c 50 $(CC) $(CFLAGS) $(INCS_XPCOM) $(GLUE_INC) -o $@ -c $< -
trunk/src/VBox/Main/cbinding/tstXPCOMCGlue.c
r16838 r17725 29 29 #include <string.h> 30 30 #include <stdlib.h> 31 #include <sys/stat.h>32 31 33 32 static char *nsIDToString(nsID *guid); … … 309 308 PRUnichar *versionUtf16 = NULL; 310 309 PRUnichar *homefolderUtf16 = NULL; 311 struct stat stIgnored;312 310 nsresult rc; /* Result code of various function (method) calls. */ 313 311
Note:
See TracChangeset
for help on using the changeset viewer.