common.mak 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # Include host/target/compiler selection.
  3. # This will export CC_NAME, MACHINE_NAME, OS_NAME, and HOST_NAME variables.
  4. #
  5. include $(PJDIR)/build.mak
  6. #
  7. # Include global compiler specific definitions
  8. #
  9. include $(PJDIR)/build/cc-$(CC_NAME).mak
  10. #
  11. # (Optionally) Include compiler specific configuration that is
  12. # specific to this project. This configuration file is
  13. # located in this directory.
  14. #
  15. -include cc-$(CC_NAME).mak
  16. #
  17. # Include auto configured compiler specification.
  18. # This will override the compiler settings above.
  19. # Currently this is made OPTIONAL, to prevent people
  20. # from getting errors because they don't re-run ./configure
  21. # after downloading new PJSIP.
  22. #
  23. -include $(PJDIR)/build/cc-auto.mak
  24. #
  25. # Include global machine specific definitions
  26. #
  27. include $(PJDIR)/build/m-$(MACHINE_NAME).mak
  28. -include m-$(MACHINE_NAME).mak
  29. #
  30. # Include target OS specific definitions
  31. #
  32. include $(PJDIR)/build/os-$(OS_NAME).mak
  33. #
  34. # (Optionally) Include target OS specific configuration that is
  35. # specific to this project. This configuration file is
  36. # located in this directory.
  37. #
  38. -include os-$(OS_NAME).mak
  39. #
  40. # Include host specific definitions
  41. #
  42. include $(PJDIR)/build/host-$(HOST_NAME).mak
  43. #
  44. # (Optionally) Include host specific configuration that is
  45. # specific to this project. This configuration file is
  46. # located in this directory.
  47. #
  48. -include host-$(HOST_NAME).mak
  49. #
  50. # Include global user configuration, if any
  51. #
  52. -include $(PJDIR)/user.mak