diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 15:11:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 15:11:08 +0200 |
commit | cb612a12b952e349b96d427645aaeb55d15f509a (patch) | |
tree | f29298f41d2a7ea2a976616243aca64c2c2547ce /common.am | |
parent | e7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff) | |
parent | 143bfc9f801c84428074312d661f8e08803df83b (diff) |
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'common.am')
-rw-r--r-- | common.am | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/common.am b/common.am new file mode 100644 index 0000000..6129cf1 --- /dev/null +++ b/common.am @@ -0,0 +1,19 @@ +# --enable-checking needs to come first to not trigger +# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18734 +COMMON_VALAFLAGS = \ + --enable-checking --target-glib=2.32 --thread --fatal-warnings \ + --enable-experimental --enable-deprecated + +COMMON_CFLAGS = \ + -I$(top_srcdir)/vapi \ + -D_PREFIX='"$(prefix)"' \ + -D_VERSION='"$(VERSION)"' \ + -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ + -D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \ + -D_LIBEXECDIR='"$(libexecdir)"' \ + -D_LIB='"$(libdir)"' + +if IS_GITVERSION +COMMON_CFLAGS += -D_GIT_VERSION='"@GITVER@"' +COMMON_VALAFLAGS += --define=_GITVERSION +endif |