- 時間撮記:
- 2009-1-30 下午04:53:20 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/cbinding/makefile.tstLinuxC
r16406 r16430 1 1 # $Id: Makefile 42209 2009-01-29 12:22:10Z jens $ 2 2 3 PATH_XPCOM 4 PATH_BIN 3 PATH_XPCOM = ../.. 4 PATH_BIN = /opt/VirtualBox 5 5 6 INCS_XPCOM = $(PATH_XPCOM)/include \ 7 $(PATH_XPCOM)/include/nsprpub \ 8 $(PATH_XPCOM)/include/string \ 9 $(PATH_XPCOM)/include/xpcom \ 10 $(PATH_XPCOM)/include/ipcd \ 11 $(PATH_VBOX_SVN)/include 6 INCS_XPCOM = -I$(PATH_XPCOM)/include \ 7 -I$(PATH_XPCOM)/include/nsprpub \ 8 -I$(PATH_XPCOM)/include/string \ 9 -I$(PATH_XPCOM)/include/xpcom \ 10 -I$(PATH_XPCOM)/include/ipcd \ 11 -I$(PATH_VBOX_SVN)/include 12 13 CC = gcc 14 CFLAGS = -g -ansi -pedantic -Wall 12 15 13 16 .PHONY: all 14 all: tstLinuxC run 17 all: tstLinuxC run 15 18 16 .PHONY: clean cleanaout 17 clean: cleanaout 19 .PHONY: clean 20 clean: 21 rm -f tstLinuxC.o tstLinuxC run 18 22 19 23 tstLinuxC: tstLinuxC.o 20 gcc -g -o $@ $^ \ 21 -Wl,-rpath $(PATH_BIN) \ 22 $(PATH_BIN)/VBoxXPCOMC.so 24 $(CC) -o $@ $^ -Wl,-rpath $(PATH_BIN) $(PATH_BIN)/VBoxXPCOMC.so 23 25 24 26 tstLinuxC.o: tstLinuxC.c tstLinuxC.h 25 gcc -ansi -pedantic -Wall -DRT_OS_LINUX -DMOZ_UNICODE -g \ 26 $(addprefix -I, $(INCS_XPCOM)) -o $@ -c $< 27 $(CC) $(CFLAGS) -DRT_OS_LINUX -DMOZ_UNICODE $(INCS_XPCOM) -o $@ -c $< 27 28 28 run: 29 run: 29 30 echo "env VBOX_XPCOM_HOME=$(PATH_BIN) LD_LIBRARY_PATH=$(PATH_BIN) ./tstLinuxC" > $@ 30 31 chmod a+x $@ 31 32 cleanaout:33 rm -f tstLinuxC.o tstLinuxC run34
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器