mirror of
https://github.com/clearlinux/cve-check-tool.git
synced 2026-09-07 06:22:03 +00:00
27 lines
776 B
Makefile
27 lines
776 B
Makefile
AM_CFLAGS = -fstack-protector -Wall -pedantic \
|
|
-Wstrict-prototypes -Wundef -fno-common \
|
|
-Werror-implicit-function-declaration \
|
|
-Wformat -Wformat-security -Werror=format-security \
|
|
-Wno-conversion -Wunused-variable -Wunreachable-code \
|
|
-std=c99 -Werror
|
|
|
|
AM_CPPFLAGS = \
|
|
-I $(top_srcdir)/src \
|
|
-I $(top_srcdir)/src/packaging \
|
|
-I $(top_srcdir)/src/library \
|
|
-I $(top_srcdir)/src/output \
|
|
-DSITE_PATH=\"$(sysconfdir)\" \
|
|
-DTOP_DIR=\"$(abs_top_srcdir)\"
|
|
|
|
if INTREE
|
|
AM_CPPFLAGS += \
|
|
-DMODULE_DIR=\"$(abs_top_srcdir)/src/.libs\" \
|
|
-DDATA_DIRECTORY=\"$(abs_top_srcdir)/data\"
|
|
else
|
|
AM_CPPFLAGS += \
|
|
-DMODULE_DIR=\"$(pkglibdir)\" \
|
|
-DDATA_DIRECTORY=\"$(datadir)/cve-check-tool\"
|
|
endif
|
|
|
|
AUTOMAKE_OPTIONS = color-tests parallel-tests
|