regress: fix test failures using ln(1)
[got-portable.git] / Makefile.am
blobd17b743095698c4c96b138c38857275fc972486c
1 SUBDIRS = compat libexec got tog gotadmin
3 EXTRA_DIST = compat/*.[ch] \
4              got/*.[15] \
5              lib/*.[ch] \
6              include/*.[ch] \
7              tog/*.[15] \
8              gotadmin/*.[15] \
9              libexec
11 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION'" \
12         -DGOT_VERSION_NUMBER='"@VERSION"' \
13         -DGOT_LIBEXECDIR="${bindir}" \
14         -I$(top_srcdir)/lib \
15         -I$(top_srcdir)/compat \
16         -I$(top_srcdir)/include
18 LDADD = $(LIBOBJS)
20 # FIXME: enable via --enable-debug.  Hard-code for now.
21 AM_CFLAGS += -g
22 AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2
23 AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
24 AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
25 AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
26 AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes
27 AM_CFLAGS += -Wno-unused-result