Makefile.am 640 B

12345678910111213141516171819202122232425
  1. AM_CFLAGS = -std=c99 -pedantic -pipe -fPIC -fno-exceptions -fstack-protector -Wl,-z,relro -Wl,-z,now -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-unused-label -Wpointer-arith -Wformat -Wreturn-type -Wsign-compare -Wmultichar -Wformat-nonliteral -Winit-self -Wuninitialized -Wno-deprecated -Wformat-security -Werror
  2. if DEBUG
  3. AM_CFLAGS += -g3 -O0
  4. else
  5. AM_CFLAGS += -O2
  6. endif
  7. if COVERAGE
  8. AM_CFLAGS += --coverage
  9. AM_LDFLAGS = --coverage
  10. endif
  11. export GLOBAL_AM_CFLAGS = $(AM_CFLAGS)
  12. SUBS=tool include src
  13. if HAVE_CHECK
  14. SUBS+= tests
  15. endif
  16. if ENABLE_DOXYGEN
  17. SUBS+= doc
  18. endif
  19. SUBDIRS = $(SUBS) examples/src