Changeset 3099 for branches/libc-0.6


Ignore:
Timestamp:
Apr 15, 2007, 1:45:02 AM (19 years ago)
Author:
bird
Message:

Use kmk builtins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/Makefile.gmk

    r2897 r3099  
    178178AR = $(if $(findstring .lib,$@), $(call GETTOOL2,emxomfar),ar)
    179179ARFLAGS = crs
    180 DO.LIBRARY = $(call RM,$@); $(AR) $(ARFLAGS)$1 $@ $(^O)
     180DO.LIBRARY = $(call RM,$@); $(AR) $(ARFLAGS)$1 $@ $(^O)
    181181
    182182# The tool to extract exports from object files and archives,
     
    248248
    249249# How to remove one or more files without questions
     250
     251
     252
    250253RM = rm -f $1
     254
     255
    251256# How to remove one or more directories without questions
    252257RMDIR = rm -rf $1
    253258# How to copy several files to a directory
     259
     260
     261
    254262CP = cp $1 $2
     263
    255264# Miscelaneous tools
     265
     266
     267
    256268MKDIR = mkdir.exe -p $1
     269
    257270# How to update a file only if it has been changed
    258271UPDATE = (cmp -s $1 $2 || mv -f $1 $2) && rm -f $1
     
    263276ECHOIZE = $(subst $$,\$$,$1$(strip $(subst $(SPACE)$(COMMA),$(COMMA),$(foreach x,2 3 4 5 6 7 8 9,$(if $($x),$(COMMA) $($x))))))
    264277# How to output a text string (with appended newline)
     278
     279
     280
    265281ECHO = echo "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)"
     282
    266283# Same but append the text to a file (given with first argument)
    267284FECHO = echo "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1"
Note: See TracChangeset for help on using the changeset viewer.