Makefile.am 1.67 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile.am
#
# Copyright (C) 2017, 2018 Vivien Kraus <vivien@planete-kraus.eu>
# 
#  This program is free software: you can redistribute it and/or
#  modify it under the terms of the GNU General Public License as
#  published by the Free Software Foundation, either version 3 of the
#  License, or (at your option) any later version.
# 
#  This program is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  General Public License for more details.
# 
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see
#  <http://www.gnu.org/licenses/>.

Vivien Kraus's avatar
Vivien Kraus committed
19
SUBDIRS = po lib-library lib-program
Vivien Kraus's avatar
Vivien Kraus committed
20
21

if NEED_LIBOPTS
Vivien Kraus's avatar
Vivien Kraus committed
22
23
SUBDIRS += $(LIBOPTS_DIR)
endif
Vivien Kraus's avatar
Vivien Kraus committed
24

Vivien Kraus's avatar
Vivien Kraus committed
25
include defaults.am
26

Vivien Kraus's avatar
Vivien Kraus committed
27
ACLOCAL_AMFLAGS = -I m4 -I lib-library/m4 -I lib-program/m4
Vivien Kraus's avatar
Vivien Kraus committed
28
29
AUTOMAKE_OPTIONS = subdir-objects
dist_pkgdata_DATA += COPYING
Vivien Kraus's avatar
Vivien Kraus committed
30
EXTRA_DIST += lib-library/m4/gnulib-cache.m4 po/Rules-html
Vivien Kraus's avatar
Vivien Kraus committed
31
32
33
34
35
36
37
38
39
40

include desktop.am
include version-gen.am
include bootstrapping.am
include program-tests.am
include valgrind.am
include standard-files.am
include gitlab-ci.am
include distcheck.am
include indent.am
41
42
include doc/Makefile.am
include src/Makefile.am
Vivien Kraus's avatar
Vivien Kraus committed
43
include games/Makefile.am
Vivien Kraus's avatar
Vivien Kraus committed
44
include icon/Makefile.am
Vivien Kraus's avatar
Vivien Kraus committed
45
include blog/Makefile.am
46
include gnulib.am
47

Vivien Kraus's avatar
Vivien Kraus committed
48
49
50
51
52
53
54
55
56
AM_CPPFLAGS += \
  -DLOCALEDIR="\"$(localedir)\"" \
  -DSYSCONFDIR="\"$(sysconfdir)\"" \
  -DABS_TOP_SRCDIR="\"$(abs_top_srcdir)\"" \
  -I. -I$(srcdir) \
  -Ilib-library -I$(srcdir)/lib-library \
  -Ilib-program -I$(srcdir)/lib-program \
  -DLIBTAROT_VERSION_INFO="\"$(LIBTOOL_CURRENT):$(LIBTOOL_REVISION):$(LIBTOOL_AGE)\""
AM_YFLAGS = -d