Changeset 1052 in kBuild
- Timestamp:
- Jun 11, 2007 9:30:19 AM (18 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC4MACHO.kmk
r1023 r1052 97 97 TOOL_GCC4MACHO_COMPILE_C_OUTPUT = $(outbase).i 98 98 define TOOL_GCC4MACHO_COMPILE_C_CMDS 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 100 --kObjCache-cpp $(outbase).i\ 100 101 $(TOOL_GCC4MACHO_CC) -E -o -\ 101 102 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 102 103 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 103 $(abspath $(source)) 104 --kObjCache-cc $(obj) 104 $(abspath $(source))\ 105 --kObjCache-cc $(obj)\ 105 106 $(TOOL_GCC4MACHO_CC) -c\ 106 $(flags) \107 -o $(obj)\ 108 $(outbase).i107 $(flags) -fpreprocessed -x c\ 108 -o $(obj)\ 109 - 109 110 endef 110 111 else # !USE_KOBJCACHE … … 138 139 TOOL_GCC4MACHO_COMPILE_CXX_OUTPUT = $(outbase).ii 139 140 define TOOL_GCC4MACHO_COMPILE_CXX_CMDS 140 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 141 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 142 --kObjCache-cpp $(outbase).ii\ 141 143 $(TOOL_GCC4MACHO_CXX) -E -o -\ 142 144 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 145 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 144 $(abspath $(source)) 145 --kObjCache-cc $(obj) 146 $(abspath $(source))\ 147 --kObjCache-cc $(obj)\ 146 148 $(TOOL_GCC4MACHO_CXX) -c\ 147 $(flags) \148 -o $(obj)\ 149 $(outbase).ii149 $(flags) -fpreprocessed -x c++\ 150 -o $(obj)\ 151 - 150 152 endef 151 153 else # !USE_KOBJCACHE -
trunk/kBuild/tools/GXX4MACHO.kmk
r1023 r1052 50 50 TOOL_GXX4MACHO_CFLAGS ?= 51 51 TOOL_GXX4MACHO_CFLAGS.debug ?= -g 52 TOOL_GXX4MACHO_CFLAGS.profile ?= - g -O2 #-pg52 TOOL_GXX4MACHO_CFLAGS.profile ?= -O2 #-g -pg 53 53 TOOL_GXX4MACHO_CFLAGS.release ?= -O2 54 54 TOOL_GXX4MACHO_CINCS ?= … … 59 59 TOOL_GXX4MACHO_CXXFLAGS ?= 60 60 TOOL_GXX4MACHO_CXXFLAGS.debug ?= -g 61 TOOL_GXX4MACHO_CXXFLAGS.profile ?= - g -O2 #-pg61 TOOL_GXX4MACHO_CXXFLAGS.profile ?= -O2 #-g -pg 62 62 TOOL_GXX4MACHO_CXXFLAGS.release ?= -O2 63 63 TOOL_GXX4MACHO_CXXINCS ?= … … 97 97 TOOL_GXX4MACHO_COMPILE_C_OUTPUT = $(outbase).i 98 98 define TOOL_GXX4MACHO_COMPILE_C_CMDS 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 99 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 100 --kObjCache-cpp $(outbase).i\ 100 101 $(TOOL_GXX4MACHO_CC) -E -o -\ 101 102 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 102 103 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 103 $(abspath $(source)) 104 --kObjCache-cc $(obj) 104 $(abspath $(source))\ 105 --kObjCache-cc $(obj)\ 105 106 $(TOOL_GXX4MACHO_CC) -c\ 106 $(flags) \107 -o $(obj)\ 108 $(outbase).i107 $(flags) -fpreprocessed -x c\ 108 -o $(obj)\ 109 - 109 110 endef 110 111 else # !USE_KOBJCACHE … … 138 139 TOOL_GXX4MACHO_COMPILE_CXX_OUTPUT = $(outbase).ii 139 140 define TOOL_GXX4MACHO_COMPILE_CXX_CMDS 140 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 141 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -p\ 142 --kObjCache-cpp $(outbase).ii\ 141 143 $(TOOL_GXX4MACHO_CXX) -E -o -\ 142 144 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 145 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 144 $(abspath $(source)) 145 --kObjCache-cc $(obj) 146 $(abspath $(source))\ 147 --kObjCache-cc $(obj)\ 146 148 $(TOOL_GXX4MACHO_CXX) -c\ 147 $(flags) \148 -o $(obj)\ 149 $(outbase).ii149 $(flags) -fpreprocessed -x c++\ 150 -o $(obj)\ 151 - 150 152 endef 151 153 else # !USE_KOBJCACHE
Note:
See TracChangeset
for help on using the changeset viewer.