Copy and paste / Build /

tooldef.mk

  1. # Add inputs and outputs from these tool invocations to the build variables
  2.  
  3. ifeq ($(strip $(BUILD_CONFIG)),)
  4. BUILD_CONFIG = Debug
  5. endif
  6.  
  7. ifeq ($(strip $(OUTPUT_DIR)),)
  8. OUTPUT_DIR := $(PROJPATH)/$(BUILD_CONFIG)
  9. endif
  10.  
  11.  
  12. ifneq ($(strip $(MKDIR_BIN)),)
  13. MKDIR = $(MKDIR_BIN)
  14. MKDIR_OP = -p
  15. else
  16. MKDIR = mkdir
  17. MKDIR_OP = -p
  18. endif
  19.  
  20. ifneq ($(strip $(UNAME_BIN)),)
  21. UNAME = $(UNAME_BIN)
  22. else
  23. UNAME = uname
  24. endif
  25.  
  26. ifneq ($(strip $(M4_BIN)),)
  27. M4 = $(M4_BIN)
  28. else
  29. M4 = m4
  30. endif
  31.  
  32. ifneq ($(strip $(TR_BIN)),)
  33. TR = $(TR_BIN)
  34. else
  35. TR = tr
  36. endif
  37.  
  38. ifneq ($(strip $(FIND_BIN)),)
  39. FIND = $(FIND_BIN)
  40. else
  41. FIND = find
  42. endif
  43.  
  44. ifneq ($(strip $(GREP_BIN)),)
  45. GREP = $(GREP_BIN)
  46. else
  47. GREP = grep
  48. endif
  49.  
  50. ifneq ($(strip $(EDJE_CC_BIN)),)
  51. EDJE_CC = $(EDJE_CC_BIN)
  52. else
  53. EDJE_CC = edje_cc
  54. endif
  55.  
  56. ifneq ($(strip $(MSGFMT_BIN)),)
  57. MSGFMT = $(MSGFMT_BIN)
  58. else
  59. MSGFMT = msgfmt
  60. endif
  61.