Changeset 3099 for branches/libc-0.6/src/emx/Makefile.gmk
- Timestamp:
- Apr 15, 2007, 1:45:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/Makefile.gmk
r2897 r3099 178 178 AR = $(if $(findstring .lib,$@), $(call GETTOOL2,emxomfar),ar) 179 179 ARFLAGS = crs 180 DO.LIBRARY = $(call RM ,$@); $(AR) $(ARFLAGS)$1 $@ $(^O)180 DO.LIBRARY = $(call RM_SHELL,$@); $(AR) $(ARFLAGS)$1 $@ $(^O) 181 181 182 182 # The tool to extract exports from object files and archives, … … 248 248 249 249 # How to remove one or more files without questions 250 ifdef KMK_VERSION 251 RM = kmk_builtin_rm -f $1 252 else 250 253 RM = rm -f $1 254 endif 255 RM_SHELL = rm -f $1 251 256 # How to remove one or more directories without questions 252 257 RMDIR = rm -rf $1 253 258 # How to copy several files to a directory 259 ifdef KMK_VERSION 260 CP = kmk_builtin_cp $1 $2 261 else 254 262 CP = cp $1 $2 263 endif 255 264 # Miscelaneous tools 265 ifdef KMK_VERSION 266 MKDIR = kmk_builtin_mkdir -p $1 267 else 256 268 MKDIR = mkdir.exe -p $1 269 endif 257 270 # How to update a file only if it has been changed 258 271 UPDATE = (cmp -s $1 $2 || mv -f $1 $2) && rm -f $1 … … 263 276 ECHOIZE = $(subst $$,\$$,$1$(strip $(subst $(SPACE)$(COMMA),$(COMMA),$(foreach x,2 3 4 5 6 7 8 9,$(if $($x),$(COMMA) $($x)))))) 264 277 # How to output a text string (with appended newline) 278 ifdef KMK_VERSION 279 ECHO = kmk_builtin_echo "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)" 280 else 265 281 ECHO = echo "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)" 282 endif 266 283 # Same but append the text to a file (given with first argument) 267 284 FECHO = echo "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1"
Note:
See TracChangeset
for help on using the changeset viewer.