Changeset 1015 in kBuild
- Timestamp:
- Jun 2, 2007 6:57:50 PM (18 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3.kmk
r973 r1015 103 103 # @param $(outbase) Output basename (full). Use this for list files and such. 104 104 # @param $(objsuff) Object suffix. 105 TOOL_GCC3_COMPILE_C_OUTPUT =106 105 TOOL_GCC3_COMPILE_C_DEPEND = 107 106 TOOL_GCC3_COMPILE_C_DEPORD = 107 ifdef USE_KOBJCACHE 108 TOOL_GCC3_COMPILE_C_USES_KOBJCACHE = 1 109 TOOL_GCC3_COMPILE_C_OUTPUT = $(outbase).i 110 define TOOL_GCC3_COMPILE_C_CMDS 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 112 $(TOOL_GCC3_CC) -E -o -\ 113 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 114 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 115 $(abspath $(source)) \ 116 --kObjCache-cc $(obj) \ 117 $(TOOL_GCC3_CC) -c\ 118 $(flags)\ 119 -o $(obj)\ 120 $(outbase).i 121 endef 122 else # !USE_KOBJCACHE 123 TOOL_GCC3_COMPILE_C_OUTPUT = 108 124 define TOOL_GCC3_COMPILE_C_CMDS 109 125 $(QUIET)$(TOOL_GCC3_CC) -c\ … … 113 129 $(abspath $(source)) 114 130 endef 131 endif # !USE_KOBJCACHE 115 132 116 133 … … 127 144 # @param $(outbase) Output basename (full). Use this for list files and such. 128 145 # @param $(objsuff) Object suffix. 129 TOOL_GCC3_COMPILE_CXX_OUTPUT =130 146 TOOL_GCC3_COMPILE_CXX_DEPEND = 131 147 TOOL_GCC3_COMPILE_CXX_DEPORD = 148 ifdef USE_KOBJCACHE 149 TOOL_GCC3_COMPILE_CXX_USES_KOBJCACHE = 1 150 TOOL_GCC3_COMPILE_CXX_OUTPUT = $(outbase).ii 151 define TOOL_GCC3_COMPILE_CXX_CMDS 152 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 153 $(TOOL_GCC3_CXX) -E -o -\ 154 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 155 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 156 $(abspath $(source)) \ 157 --kObjCache-cc $(obj) \ 158 $(TOOL_GCC3_CXX) -c\ 159 $(flags)\ 160 -o $(obj)\ 161 $(outbase).ii 162 endef 163 else # !USE_KOBJCACHE 164 TOOL_GCC3_COMPILE_CXX_OUTPUT = 132 165 define TOOL_GCC3_COMPILE_CXX_CMDS 133 166 $(QUIET)$(TOOL_GCC3_CXX) -c\ … … 137 170 $(abspath $(source)) 138 171 endef 172 endif # !USE_KOBJCACHE 139 173 140 174 -
trunk/kBuild/tools/GCC32.kmk
r973 r1015 101 101 # @param $(outbase) Output basename (full). Use this for list files and such. 102 102 # @param $(objsuff) Object suffix. 103 TOOL_GCC32_COMPILE_C_OUTPUT =104 103 TOOL_GCC32_COMPILE_C_DEPEND = 105 104 TOOL_GCC32_COMPILE_C_DEPORD = 105 ifdef USE_KOBJCACHE 106 TOOL_GCC32_COMPILE_C_USES_KOBJCACHE = 1 107 TOOL_GCC32_COMPILE_C_OUTPUT = $(outbase).i 108 define TOOL_GCC32_COMPILE_C_CMDS 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 110 $(TOOL_GCC32_CC) -E -o -\ 111 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 112 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 113 $(abspath $(source)) \ 114 --kObjCache-cc $(obj) \ 115 $(TOOL_GCC32_CC) -c\ 116 $(flags)\ 117 -o $(obj)\ 118 $(outbase).i 119 endef 120 else # !USE_KOBJCACHE 121 TOOL_GCC32_COMPILE_C_OUTPUT = 106 122 define TOOL_GCC32_COMPILE_C_CMDS 107 123 $(QUIET)$(TOOL_GCC32_CC) -c\ … … 111 127 $(abspath $(source)) 112 128 endef 129 endif # !USE_KOBJCACHE 113 130 114 131 … … 125 142 # @param $(outbase) Output basename (full). Use this for list files and such. 126 143 # @param $(objsuff) Object suffix. 127 TOOL_GCC32_COMPILE_CXX_OUTPUT =128 144 TOOL_GCC32_COMPILE_CXX_DEPEND = 129 145 TOOL_GCC32_COMPILE_CXX_DEPORD = 146 ifdef USE_KOBJCACHE 147 TOOL_GCC32_COMPILE_CXX_USES_KOBJCACHE = 1 148 TOOL_GCC32_COMPILE_CXX_OUTPUT = $(outbase).ii 149 define TOOL_GCC32_COMPILE_CXX_CMDS 150 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 151 $(TOOL_GCC32_CXX) -E -o -\ 152 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 153 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 154 $(abspath $(source)) \ 155 --kObjCache-cc $(obj) \ 156 $(TOOL_GCC32_CXX) -c\ 157 $(flags)\ 158 -o $(obj)\ 159 $(outbase).ii 160 endef 161 else # !USE_KOBJCACHE 162 163 TOOL_GCC32_COMPILE_CXX_OUTPUT = 130 164 define TOOL_GCC32_COMPILE_CXX_CMDS 131 165 $(QUIET)$(TOOL_GCC32_CXX) -c\ … … 135 169 $(abspath $(source)) 136 170 endef 171 endif # !USE_KOBJCACHE 137 172 138 173 -
trunk/kBuild/tools/GCC3OMF.kmk
r973 r1015 93 93 # @param $(outbase) Output basename (full). Use this for list files and such. 94 94 # @param $(objsuff) Object suffix. 95 TOOL_GCC3OMF_COMPILE_C_OUTPUT =96 95 TOOL_GCC3OMF_COMPILE_C_DEPEND = 97 96 TOOL_GCC3OMF_COMPILE_C_DEPORD = 97 ifdef USE_KOBJCACHE 98 TOOL_GCC3OMF_COMPILE_C_USES_KOBJCACHE = 1 99 TOOL_GCC3OMF_COMPILE_C_OUTPUT = $(outbase).i 100 define TOOL_GCC3OMF_COMPILE_C_CMDS 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 102 $(TOOL_GCC3OMF_CC) -E -o -\ 103 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 104 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 105 $(abspath $(source)) \ 106 --kObjCache-cc $(obj) \ 107 $(TOOL_GCC3OMF_CC) -c\ 108 $(flags)\ 109 -o $(obj)\ 110 $(outbase).i 111 endef 112 else # !USE_KOBJCACHE 113 TOOL_GCC3OMF_COMPILE_C_OUTPUT = 98 114 define TOOL_GCC3OMF_COMPILE_C_CMDS 99 115 $(QUIET)$(TOOL_GCC3OMF_CC) -c\ … … 103 119 $(abspath $(source)) 104 120 endef 121 endif # !USE_KOBJCACHE 105 122 106 123 … … 118 135 # @param $(outbase) Output basename (full). Use this for list files and such. 119 136 # @param $(objsuff) Object suffix. 120 TOOL_GCC3OMF_COMPILE_CXX_OUTPUT =121 137 TOOL_GCC3OMF_COMPILE_CXX_DEPEND = 122 138 TOOL_GCC3OMF_COMPILE_CXX_DEPORD = 139 ifdef USE_KOBJCACHE 140 TOOL_GCC3OMF_COMPILE_CXX_USES_KOBJCACHE = 1 141 TOOL_GCC3OMF_COMPILE_CXX_OUTPUT = $(outbase).ii 142 define TOOL_GCC3OMF_COMPILE_CXX_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 144 $(TOOL_GCC3OMF_CXX) -E -o -\ 145 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 146 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 147 $(abspath $(source)) \ 148 --kObjCache-cc $(obj) \ 149 $(TOOL_GCC3OMF_CXX) -c\ 150 $(flags)\ 151 -o $(obj)\ 152 $(outbase).ii 153 endef 154 else # !USE_KOBJCACHE 155 TOOL_GCC3OMF_COMPILE_CXX_OUTPUT = 123 156 define TOOL_GCC3OMF_COMPILE_CXX_CMDS 124 157 $(QUIET)$(TOOL_GCC3OMF_CXX) -c\ … … 128 161 $(abspath $(source)) 129 162 endef 163 endif # !USE_KOBJCACHE 130 164 131 165 -
trunk/kBuild/tools/GCC3PLAIN.kmk
r973 r1015 98 98 # @param $(outbase) Output basename (full). Use this for list files and such. 99 99 # @param $(objsuff) Object suffix. 100 TOOL_GCC3PLAIN_COMPILE_C_OUTPUT =101 100 TOOL_GCC3PLAIN_COMPILE_C_DEPEND = 102 101 TOOL_GCC3PLAIN_COMPILE_C_DEPORD = 102 ifdef USE_KOBJCACHE 103 TOOL_GCC3PLAIN_COMPILE_C_USES_KOBJCACHE = 1 104 TOOL_GCC3PLAIN_COMPILE_C_OUTPUT = $(outbase).i 105 define TOOL_GCC3PLAIN_COMPILE_C_CMDS 106 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 107 $(TOOL_GCC3PLAIN_CC) -E -o -\ 108 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 109 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 110 $(abspath $(source)) \ 111 --kObjCache-cc $(obj) \ 112 $(TOOL_GCC3PLAIN_CC) -c\ 113 $(flags)\ 114 -o $(obj)\ 115 $(outbase).i 116 endef 117 else # !USE_KOBJCACHE 118 TOOL_GCC3PLAIN_COMPILE_C_OUTPUT = 103 119 define TOOL_GCC3PLAIN_COMPILE_C_CMDS 104 120 $(QUIET)$(TOOL_GCC3PLAIN_CC) -c\ … … 108 124 $(abspath $(source)) 109 125 endef 126 endif # !USE_KOBJCACHE 110 127 111 128 … … 122 139 # @param $(outbase) Output basename (full). Use this for list files and such. 123 140 # @param $(objsuff) Object suffix. 124 TOOL_GCC3PLAIN_COMPILE_CXX_OUTPUT =125 141 TOOL_GCC3PLAIN_COMPILE_CXX_DEPEND = 126 142 TOOL_GCC3PLAIN_COMPILE_CXX_DEPORD = 143 ifdef USE_KOBJCACHE 144 TOOL_GCC3PLAIN_COMPILE_CXX_USES_KOBJCACHE = 1 145 TOOL_GCC3PLAIN_COMPILE_CXX_OUTPUT = $(outbase).ii 146 define TOOL_GCC3PLAIN_COMPILE_CXX_CMDS 147 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 148 $(TOOL_GCC3PLAIN_CXX) -E -o -\ 149 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 150 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 151 $(abspath $(source)) \ 152 --kObjCache-cc $(obj) \ 153 $(TOOL_GCC3PLAIN_CXX) -c\ 154 $(flags)\ 155 -o $(obj)\ 156 $(outbase).ii 157 endef 158 else # !USE_KOBJCACHE 159 TOOL_GCC3PLAIN_COMPILE_CXX_OUTPUT = 127 160 define TOOL_GCC3PLAIN_COMPILE_CXX_CMDS 128 161 $(QUIET)$(TOOL_GCC3PLAIN_CXX) -c\ … … 132 165 $(abspath $(source)) 133 166 endef 167 endif # !USE_KOBJCACHE 134 168 135 169 -
trunk/kBuild/tools/GXX3.kmk
r971 r1015 103 103 # @param $(outbase) Output basename (full). Use this for list files and such. 104 104 # @param $(objsuff) Object suffix. 105 TOOL_GXX3_COMPILE_C_OUTPUT =106 105 TOOL_GXX3_COMPILE_C_DEPEND = 107 106 TOOL_GXX3_COMPILE_C_DEPORD = 107 ifdef USE_KOBJCACHE 108 TOOL_GXX3_COMPILE_C_USES_KOBJCACHE = 1 109 TOOL_GXX3_COMPILE_C_OUTPUT = $(outbase).i 110 define TOOL_GXX3_COMPILE_C_CMDS 111 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 112 $(TOOL_GXX3_CC) -E -o -\ 113 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 114 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 115 $(abspath $(source)) \ 116 --kObjCache-cc $(obj) \ 117 $(TOOL_GXX3_CC) -c\ 118 $(flags)\ 119 -o $(obj)\ 120 $(outbase).i 121 endef 122 else # !USE_KOBJCACHE 123 TOOL_GXX3_COMPILE_C_OUTPUT = 108 124 define TOOL_GXX3_COMPILE_C_CMDS 109 125 $(QUIET)$(TOOL_GXX3_CC) -c\ … … 113 129 $(abspath $(source)) 114 130 endef 131 endif # !USE_KOBJCACHE 115 132 116 133 … … 127 144 # @param $(outbase) Output basename (full). Use this for list files and such. 128 145 # @param $(objsuff) Object suffix. 129 TOOL_GXX3_COMPILE_CXX_OUTPUT =130 146 TOOL_GXX3_COMPILE_CXX_DEPEND = 131 147 TOOL_GXX3_COMPILE_CXX_DEPORD = 148 ifdef USE_KOBJCACHE 149 TOOL_GXX3_COMPILE_CXX_USES_KOBJCACHE = 1 150 TOOL_GXX3_COMPILE_CXX_OUTPUT = $(outbase).ii 151 define TOOL_GXX3_COMPILE_CXX_CMDS 152 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 153 $(TOOL_GXX3_CXX) -E -o -\ 154 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 155 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 156 $(abspath $(source)) \ 157 --kObjCache-cc $(obj) \ 158 $(TOOL_GXX3_CXX) -c\ 159 $(flags)\ 160 -o $(obj)\ 161 $(outbase).ii 162 endef 163 else # !USE_KOBJCACHE 164 TOOL_GXX3_COMPILE_CXX_OUTPUT = 132 165 define TOOL_GXX3_COMPILE_CXX_CMDS 133 166 $(QUIET)$(TOOL_GXX3_CXX) -c\ … … 137 170 $(abspath $(source)) 138 171 endef 172 endif # !USE_KOBJCACHE 139 173 140 174 -
trunk/kBuild/tools/GXX32.kmk
r971 r1015 101 101 # @param $(outbase) Output basename (full). Use this for list files and such. 102 102 # @param $(objsuff) Object suffix. 103 TOOL_GXX32_COMPILE_C_OUTPUT =104 103 TOOL_GXX32_COMPILE_C_DEPEND = 105 104 TOOL_GXX32_COMPILE_C_DEPORD = 105 ifdef USE_KOBJCACHE 106 TOOL_GXX32_COMPILE_C_USES_KOBJCACHE = 1 107 TOOL_GXX32_COMPILE_C_OUTPUT = $(outbase).i 108 define TOOL_GXX32_COMPILE_C_CMDS 109 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 110 $(TOOL_GXX32_CC) -E -o -\ 111 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 112 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 113 $(abspath $(source)) \ 114 --kObjCache-cc $(obj) \ 115 $(TOOL_GXX32_CC) -c\ 116 $(flags)\ 117 -o $(obj)\ 118 $(outbase).i 119 endef 120 else # !USE_KOBJCACHE 121 TOOL_GXX32_COMPILE_C_OUTPUT = 106 122 define TOOL_GXX32_COMPILE_C_CMDS 107 123 $(QUIET)$(TOOL_GXX32_CC) -c\ … … 111 127 $(abspath $(source)) 112 128 endef 129 endif # !USE_KOBJCACHE 113 130 114 131 … … 125 142 # @param $(outbase) Output basename (full). Use this for list files and such. 126 143 # @param $(objsuff) Object suffix. 127 TOOL_GXX32_COMPILE_CXX_OUTPUT =128 144 TOOL_GXX32_COMPILE_CXX_DEPEND = 129 145 TOOL_GXX32_COMPILE_CXX_DEPORD = 146 ifdef USE_KOBJCACHE 147 TOOL_GXX32_COMPILE_CXX_USES_KOBJCACHE = 1 148 TOOL_GXX32_COMPILE_CXX_OUTPUT = $(outbase).ii 149 define TOOL_GXX32_COMPILE_CXX_CMDS 150 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 151 $(TOOL_GXX32_CXX) -E -o -\ 152 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 153 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 154 $(abspath $(source)) \ 155 --kObjCache-cc $(obj) \ 156 $(TOOL_GXX32_CXX) -c\ 157 $(flags)\ 158 -o $(obj)\ 159 $(outbase).ii 160 endef 161 else # !USE_KOBJCACHE 162 TOOL_GXX32_COMPILE_CXX_OUTPUT = 130 163 define TOOL_GXX32_COMPILE_CXX_CMDS 131 164 $(QUIET)$(TOOL_GXX32_CXX) -c\ … … 135 168 $(abspath $(source)) 136 169 endef 170 endif # !USE_KOBJCACHE 137 171 138 172 -
trunk/kBuild/tools/GXX3OMF.kmk
r971 r1015 93 93 # @param $(outbase) Output basename (full). Use this for list files and such. 94 94 # @param $(objsuff) Object suffix. 95 TOOL_GXX3OMF_COMPILE_C_OUTPUT =96 95 TOOL_GXX3OMF_COMPILE_C_DEPEND = 97 96 TOOL_GXX3OMF_COMPILE_C_DEPORD = 97 ifdef USE_KOBJCACHE 98 TOOL_GXX3OMF_COMPILE_C_USES_KOBJCACHE = 1 99 TOOL_GXX3OMF_COMPILE_C_OUTPUT = $(outbase).i 100 define TOOL_GXX3OMF_COMPILE_C_CMDS 101 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 102 $(TOOL_GXX3OMF_CC) -E -o -\ 103 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 104 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 105 $(abspath $(source)) \ 106 --kObjCache-cc $(obj) \ 107 $(TOOL_GXX3OMF_CC) -c\ 108 $(flags)\ 109 -o $(obj)\ 110 $(outbase).i 111 endef 112 else # !USE_KOBJCACHE 113 TOOL_GXX3OMF_COMPILE_C_OUTPUT = 98 114 define TOOL_GXX3OMF_COMPILE_C_CMDS 99 115 $(QUIET)$(TOOL_GXX3OMF_CC) -c\ … … 103 119 $(abspath $(source)) 104 120 endef 121 endif # !USE_KOBJCACHE 105 122 106 123 … … 118 135 # @param $(outbase) Output basename (full). Use this for list files and such. 119 136 # @param $(objsuff) Object suffix. 120 TOOL_GXX3OMF_COMPILE_CXX_OUTPUT =121 137 TOOL_GXX3OMF_COMPILE_CXX_DEPEND = 122 138 TOOL_GXX3OMF_COMPILE_CXX_DEPORD = 139 ifdef USE_KOBJCACHE 140 TOOL_GXX3OMF_COMPILE_CXX_USES_KOBJCACHE = 1 141 TOOL_GXX3OMF_COMPILE_CXX_OUTPUT = $(outbase).ii 142 define TOOL_GXX3OMF_COMPILE_CXX_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 144 $(TOOL_GXX3OMF_CXX) -E -o -\ 145 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 146 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 147 $(abspath $(source)) \ 148 --kObjCache-cc $(obj) \ 149 $(TOOL_GXX3OMF_CXX) -c\ 150 $(flags)\ 151 -o $(obj)\ 152 $(outbase).ii 153 endef 154 else # !USE_KOBJCACHE 155 TOOL_GXX3OMF_COMPILE_CXX_OUTPUT = 123 156 define TOOL_GXX3OMF_COMPILE_CXX_CMDS 124 157 $(QUIET)$(TOOL_GXX3OMF_CXX) -c\ … … 128 161 $(abspath $(source)) 129 162 endef 163 endif # !USE_KOBJCACHE 130 164 131 165 -
trunk/kBuild/tools/GXX3PLAIN.kmk
r971 r1015 98 98 # @param $(outbase) Output basename (full). Use this for list files and such. 99 99 # @param $(objsuff) Object suffix. 100 TOOL_GXX3PLAIN_COMPILE_C_DEPEND = 101 ifdef USE_KOBJCACHE 102 TOOL_GXX3PLAIN_COMPILE_C_USES_KOBJCACHE = 1 103 TOOL_GXX3PLAIN_COMPILE_C_OUTPUT = $(outbase).i 104 define TOOL_GXX3PLAIN_COMPILE_C_CMDS 105 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 106 $(TOOL_GXX3PLAIN_CC) -E -o -\ 107 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 108 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 109 $(abspath $(source)) \ 110 --kObjCache-cc $(obj) \ 111 $(TOOL_GXX3PLAIN_CC) -c\ 112 $(flags)\ 113 -o $(obj)\ 114 $(outbase).i 115 endef 116 else # !USE_KOBJCACHE 117 TOOL_GXX3PLAIN_COMPILE_C_DEPORD = 100 118 TOOL_GXX3PLAIN_COMPILE_C_OUTPUT = 101 TOOL_GXX3PLAIN_COMPILE_C_DEPEND =102 TOOL_GXX3PLAIN_COMPILE_C_DEPORD =103 119 define TOOL_GXX3PLAIN_COMPILE_C_CMDS 104 120 $(QUIET)$(TOOL_GXX3PLAIN_CC) -c\ … … 108 124 $(abspath $(source)) 109 125 endef 126 endif # !USE_KOBJCACHE 110 127 111 128 … … 122 139 # @param $(outbase) Output basename (full). Use this for list files and such. 123 140 # @param $(objsuff) Object suffix. 124 TOOL_GXX3PLAIN_COMPILE_CXX_OUTPUT =125 141 TOOL_GXX3PLAIN_COMPILE_CXX_DEPEND = 126 142 TOOL_GXX3PLAIN_COMPILE_CXX_DEPORD = 143 ifdef USE_KOBJCACHE 144 TOOL_GXX3PLAIN_COMPILE_CXX_USES_KOBJCACHE = 1 145 TOOL_GXX3PLAIN_COMPILE_CXX_OUTPUT = $(outbase).ii 146 define TOOL_GXX3PLAIN_COMPILE_CXX_CMDS 147 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 148 $(TOOL_GXX3PLAIN_CXX) -E -o -\ 149 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 150 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 151 $(abspath $(source)) \ 152 --kObjCache-cc $(obj) \ 153 $(TOOL_GXX3PLAIN_CXX) -c\ 154 $(flags)\ 155 -o $(obj)\ 156 $(outbase).ii 157 endef 158 else # !USE_KOBJCACHE 159 TOOL_GXX3PLAIN_COMPILE_CXX_OUTPUT = 127 160 define TOOL_GXX3PLAIN_COMPILE_CXX_CMDS 128 161 $(QUIET)$(TOOL_GXX3PLAIN_CXX) -c\ … … 132 165 $(abspath $(source)) 133 166 endef 167 endif # !USE_KOBJCACHE 134 168 135 169
Note:
See TracChangeset
for help on using the changeset viewer.