Makefile-project-defines 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- mode: makefile -*-
  2. # The first line sets the emacs major mode to Makefile
  3. ################################################################
  4. # Use this file to give project-specific definitions of the command
  5. # line arguments to pass to CBMC tools like goto-cc to build the goto
  6. # binaries and cbmc to do the property and coverage checking.
  7. #
  8. # Use this file to override most default definitions of variables in
  9. # Makefile.common.
  10. ################################################################
  11. # Flags to pass to goto-cc for compilation (typically those passed to gcc -c)
  12. COMPILE_FLAGS += -fPIC
  13. COMPILE_FLAGS += -std=gnu90
  14. # Path to litani executable, used for running proofs and displaying report
  15. LITANI ?= litani
  16. PROJECT_NAME = "FreeRTOS coreHTTP"
  17. # Flags to pass to goto-cc for linking (typically those passed to gcc)
  18. # LINK_FLAGS =
  19. # Preprocessor include paths -I...
  20. INCLUDES += -I$(SRCDIR)/test/cbmc/include
  21. INCLUDES += -I$(SRCDIR)/source/include
  22. INCLUDES += -I$(SRCDIR)/source/interface
  23. INCLUDES += -I$(SRCDIR)/source
  24. INCLUDES += -I$(SRCDIR)/source/dependency/3rdparty/llhttp/include
  25. # Preprocessor definitions -D...
  26. DEFINES += -Dhttp_EXPORTS
  27. # Ensure that all assumptions are sound by checking that "all pointers
  28. # in pointer primitives are valid or null"
  29. CHECKFLAGS += --pointer-primitive-check