Github: add mechanism to autoclose prs
[got-portable.git] / Makefile.am
blobae25dd0b8c480bbd035f0bec9258dad705303e35
1 SUBDIRS = compat libexec got tog gotadmin
3 EXTRA_DIST = CHANGES CHANGELOG
5 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION'" \
6         -DGOT_VERSION_NUMBER='"@VERSION"' \
7         -DGOT_LIBEXECDIR="$(libexecdir)" \
8         -I$(top_srcdir)/lib \
9         -I$(top_srcdir)/compat \
10         -I$(top_srcdir)/include
12 LDADD = $(LIBOBJS)
14 # FIXME: enable via --enable-debug.  Hard-code for now.
15 AM_CFLAGS += -g
16 AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2
17 AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
18 AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
19 AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
20 AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes
21 AM_CFLAGS += -Wno-unused-result
23 tests:
24         $(MAKE) -C regress/cmdline -f Makefile.linux