- Timestamp:
- May 31, 2004 8:53:24 AM (21 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r75 r77 121 121 BUILD_TARGET := win32 122 122 endif 123 ifeq ($(BUILD_TARGET), WIN32)123 ifeq ($(BUILD_TARGET),win32) 124 124 _BUILD_TARGET_OK := 1 125 125 endif … … 277 277 _CFGFILES := 278 278 define def_include_config 279 _CFGDIR := $(_CFGDIR)/$(1)280 _CFGFILES += $(wildcard $(_CFGDIR)/ config.kmk $(_CFGDIR)/config.kMk)279 $(eval _CFGDIR := $(_CFGDIR)/$(1)) 280 _CFGFILES += $(wildcard $(_CFGDIR)/Config.kmk $(_CFGDIR)/config.kmk) 281 281 endef 282 282 # walk down the _RELATIVE_ path specified by DEPTH. -
trunk/kBuild/rules.kmk
r71 r77 25 25 # 26 26 27 28 27 ifdef PATH_KBUILD 29 28 # Usual location. -
trunk/kBuild/tools/GCC.kmk
r75 r77 85 85 86 86 87 ## Compile C++ source. 88 # @param $(target) Normalized main target name. 89 # @param $(source) Source filename (relative). 90 # @param $(obj) Object file name. This shall be (re)created by the compilation. 91 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 92 # @param $(flags) Flags. 93 # @param $(defs) Definitions. No -D or something. 94 # @param $(incs) Includes. No -I or something. 95 # @param $(dirdep) Directory creation dependency. 96 # 97 # @param $(outbase) Output basename (full). Use this for list files and such. 98 # @param $(objsuff) Object suffix. 99 define TOOL_GCC_COMPILE_CXX 100 #$ (warning dbg: TOOL_GCC_COMPILE_CXX: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff)) 101 $(obj): $(dirdep) $(PATH_CURRENT)/$(source) 102 $(call MSG_L2,Compiling $$@ using GCC) 103 $(TOOL_GCC_CXX) -c\ 104 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 105 -Wp,-MD,$(dep) -Wp,-MT,$$@ \ 106 -o $$@\ 107 $(PATH_CURRENT)/$(source) 108 109 endef 110 111 87 112 ## Link library 88 113 # @param $(target) Normalized main target name.
Note:
See TracChangeset
for help on using the changeset viewer.