Home | History | Annotate | Download | only in make
      1 ###
      2 # Configuration variables.
      3 
      4 OS := $(shell uname)
      5 
      6 # Assume make is always run from top-level of source directory. Note than an
      7 # Apple style build overrides these variables later in the makefile.
      8 ProjSrcRoot := $(shell pwd)
      9 ProjObjRoot := $(ProjSrcRoot)
     10 
     11 ###
     12 # Tool configuration variables.
     13 
     14 # FIXME: LLVM uses autoconf/mkinstalldirs ?
     15 MKDIR := mkdir -p
     16 DATE := date
     17 LIPO := lipo
     18 CP := cp
     19 
     20 VERBOSE := 0
     21 DEBUGMAKE :=
     22 
     23 ###
     24 # Automatic and derived variables.
     25 
     26 # Adjust settings for verbose mode
     27 ifneq ($(VERBOSE),1)
     28   Verb := @
     29 else
     30   Verb :=
     31 endif
     32 
     33 Echo := @echo
     34 ifndef Summary
     35   Summary = $(Echo)
     36 endif
     37