add a 'got merge' command for creating merge commits
[got-portable.git] / Makefile.am
blobbf30f9a6789e3c1b8b381c121979a4476569135e
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="${bindir}" \
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