tooldef.mk 846 B

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