Changeset 1013 in kBuild
- Timestamp:
- Jun 2, 2007 6:11:20 PM (18 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC4MACHO.kmk
r973 r1013 91 91 # @param $(outbase) Output basename (full). Use this for list files and such. 92 92 # @param $(objsuff) Object suffix. 93 TOOL_GCC4MACHO_COMPILE_C_OUTPUT =94 93 TOOL_GCC4MACHO_COMPILE_C_DEPEND = 95 94 TOOL_GCC4MACHO_COMPILE_C_DEPORD = 95 ifdef USE_KOBJCACHE 96 TOOL_GCC4MACHO_COMPILE_C_USES_KOBJCACHE = 1 97 TOOL_GCC4MACHO_COMPILE_C_OUTPUT = $(outbase).i 98 define TOOL_GCC4MACHO_COMPILE_C_CMDS 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 100 $(TOOL_GCC4MACHO_CC) -E -o -\ 101 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 102 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 103 $(abspath $(source)) \ 104 --kObjCache-cc $(obj) \ 105 $(TOOL_GCC4MACHO_CC) -c\ 106 $(flags)\ 107 -o $(obj)\ 108 $(outbase).i 109 endef 110 else # !USE_KOBJCACHE 111 TOOL_GCC4MACHO_COMPILE_C_OUTPUT = 96 112 define TOOL_GCC4MACHO_COMPILE_C_CMDS 97 113 $(QUIET)$(TOOL_GCC4MACHO_CC) -c\ … … 101 117 $(abspath $(source)) 102 118 endef 119 endif # !KUSE_OBJCACHE 103 120 104 121 … … 115 132 # @param $(outbase) Output basename (full). Use this for list files and such. 116 133 # @param $(objsuff) Object suffix. 117 TOOL_GCC4MACHO_COMPILE_CXX_OUTPUT =118 134 TOOL_GCC4MACHO_COMPILE_CXX_DEPEND = 119 135 TOOL_GCC4MACHO_COMPILE_CXX_DEPORD = 136 ifdef USE_KOBJCACHE 137 TOOL_GCC4MACHO_COMPILE_CXX_USES_KOBJCACHE = 1 138 TOOL_GCC4MACHO_COMPILE_CXX_OUTPUT = $(outbase).ii 139 define TOOL_GCC4MACHO_COMPILE_CXX_CMDS 140 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 141 $(TOOL_GCC4MACHO_CXX) -E -o -\ 142 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 144 $(abspath $(source)) \ 145 --kObjCache-cc $(obj) \ 146 $(TOOL_GCC4MACHO_CXX) -c\ 147 $(flags)\ 148 -o $(obj)\ 149 $(outbase).ii 150 endef 151 else # !USE_KOBJCACHE 152 TOOL_GCC4MACHO_COMPILE_CXX_OUTPUT = 120 153 define TOOL_GCC4MACHO_COMPILE_CXX_CMDS 121 154 $(QUIET)$(TOOL_GCC4MACHO_CXX) -c\ … … 125 158 $(abspath $(source)) 126 159 endef 160 endif # !USE_KOBJCACHE 127 161 128 162 -
trunk/kBuild/tools/GXX4MACHO.kmk
r971 r1013 91 91 # @param $(outbase) Output basename (full). Use this for list files and such. 92 92 # @param $(objsuff) Object suffix. 93 TOOL_GXX4MACHO_COMPILE_C_OUTPUT =94 93 TOOL_GXX4MACHO_COMPILE_C_DEPEND = 95 94 TOOL_GXX4MACHO_COMPILE_C_DEPORD = 95 ifdef USE_KOBJCACHE 96 TOOL_GXX4MACHO_COMPILE_C_USES_KOBJCACHE = 1 97 TOOL_GXX4MACHO_COMPILE_C_OUTPUT = $(outbase).i 98 define TOOL_GXX4MACHO_COMPILE_C_CMDS 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 100 $(TOOL_GXX4MACHO_CC) -E -o -\ 101 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 102 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 103 $(abspath $(source)) \ 104 --kObjCache-cc $(obj) \ 105 $(TOOL_GXX4MACHO_CC) -c\ 106 $(flags)\ 107 -o $(obj)\ 108 $(outbase).i 109 endef 110 else # !USE_KOBJCACHE 111 TOOL_GXX4MACHO_COMPILE_C_OUTPUT = 96 112 define TOOL_GXX4MACHO_COMPILE_C_CMDS 97 113 $(QUIET)$(TOOL_GXX4MACHO_CC) -c\ … … 101 117 $(abspath $(source)) 102 118 endef 119 endif # !KUSE_OBJCACHE 103 120 104 121 … … 115 132 # @param $(outbase) Output basename (full). Use this for list files and such. 116 133 # @param $(objsuff) Object suffix. 117 TOOL_GXX4MACHO_COMPILE_CXX_OUTPUT =118 134 TOOL_GXX4MACHO_COMPILE_CXX_DEPEND = 119 135 TOOL_GXX4MACHO_COMPILE_CXX_DEPORD = 136 ifdef USE_KOBJCACHE 137 TOOL_GXX4MACHO_COMPILE_CXX_USES_KOBJCACHE = 1 138 TOOL_GXX4MACHO_COMPILE_CXX_OUTPUT = $(outbase).ii 139 define TOOL_GXX4MACHO_COMPILE_CXX_CMDS 140 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 141 $(TOOL_GXX4MACHO_CXX) -E -o -\ 142 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 144 $(abspath $(source)) \ 145 --kObjCache-cc $(obj) \ 146 $(TOOL_GXX4MACHO_CXX) -c\ 147 $(flags)\ 148 -o $(obj)\ 149 $(outbase).ii 150 endef 151 else # !USE_KOBJCACHE 152 TOOL_GXX4MACHO_COMPILE_CXX_OUTPUT = 120 153 define TOOL_GXX4MACHO_COMPILE_CXX_CMDS 121 154 $(QUIET)$(TOOL_GXX4MACHO_CXX) -c\ … … 125 158 $(abspath $(source)) 126 159 endef 160 endif # !KUSE_OBJCACHE 127 161 128 162
Note:
See TracChangeset
for help on using the changeset viewer.