VirtualBox

vbox的更動 13721 路徑 trunk/include


忽略:
時間撮記:
2008-10-31 下午03:06:24 (16 年 以前)
作者:
vboxsync
訊息:

include/Makefile: some adjustments.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/Makefile.kmk

    r13718 r13721  
    8484define def_hdr
    8585$(eval flatname := $(subst /,_,$(basename $(hdr))))
    86 $$(PATH_TARGET)/$(flatname)-cpp.cpp:
    87         $$(MKDIR) -p $$(dir $$@)
    88         $$(RM) -f $$@
    89         $$(APPEND) $$@ "#include <$(hdr)>"
    90         $$(APPEND) $$@ "int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}"
     86$$(PATH_TARGET)/$(flatname)-cpp.cpp: $$(PATH_TARGET)/
     87        $$(APPEND) -t -n $$@ '#include <$(hdr)>' 'int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}'
    9188
    92 $$(PATH_TARGET)/$(flatname)-c.c: Makefile.kmk
    93         $$(MKDIR) -p $$(dir $$@)
    94         $$(RM) -f $$@
     89$$(PATH_TARGET)/$(flatname)-c.c: Makefile.kmk | $$(PATH_TARGET)/
    9590ifn1of ($(hdr),$(cpp_hdrs))
    96         $$(APPEND) $$@ "#include <$(hdr)>"
     91        $$(APPEND) -t -n $$@ '#include <$(hdr)>' 'int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}'
     92else
     93        $$(APPEND) -t -n $$@ 'int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}'
    9794endif
    98         $$(APPEND) $$@ "int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}"
    9995
    10096$(subst .h,.o,$(notdir $(hdr)))::
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette