default_settings.mk 730 B

123456789101112131415161718192021222324252627282930313233
  1. DEFAULT_BLD ?= $(CONFIG_DIR)/config.ubuntu.x86
  2. POST_ENV_HOOK := Post_Env
  3. POST_FINAL_OUT_HOOK := Post_Distro
  4. ifeq (Darwin,$(shell uname))
  5. POST_FINAL_OUT_HOOK :=
  6. endif
  7. CONFIG_LIB_EXPORT ?= static
  8. # Default CFLAGS setting
  9. #
  10. CFLAGS += -ansi
  11. CFLAGS += -Wdeclaration-after-statement
  12. CFLAGS += -DFORCE_SSL_VERIFY
  13. # Default INCLUDE list
  14. #
  15. I_DIRS := \
  16. include \
  17. include/imports \
  18. include/exports \
  19. wrappers \
  20. CFLAGS += $(foreach D,$(I_DIRS),$(if $(shell [ -d $(TOP_DIR)/$(D) ] && echo y), -I$(D)))
  21. # For one makefile Generation
  22. #
  23. EXTRA_INSTALL_HDRS := \
  24. $(EXPORT_DIR)/iot_import.h \
  25. $(EXPORT_DIR)/iot_export.h \
  26. $(EXPORT_DIR)/imports \
  27. $(EXPORT_DIR)/exports \