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