Blob


1 AM_CFLAGS += \
2 @AM_CFLAGS@ \
3 -Wunused-variable \
4 -Wwrite-strings
5 # Ideally, we should be enabling further flags, but this requires upstream
6 # changes. Leaving these here for now.
7 #
8 # -g -Wall -Wno-long-long -W -Wformat=2 -Wmissing-prototypes \
9 # -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings \
10 # -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef \
11 # -Wbad-function-cast -Winline -Wcast-align \
12 # -Wdeclaration-after-statement -Wno-pointer-sign \
13 # -Wno-attributes -Wno-unused-result
15 AM_CPPFLAGS += \
16 @AM_CPPFLAGS@ \
17 -DGOT_VERSION=@VERSION@ \
18 -DGOT_VERSION_NUMBER=@VERSION@ \
19 -DGOT_LIBEXECDIR="$(libexecdir)" \
20 -I$(top_srcdir) \
21 -I$(top_srcdir)/compat \
22 -I$(top_srcdir)/lib \
23 -I$(top_srcdir)/include \
24 -I$(top_srcdir)/template \
25 -I.