Give sensible error about unknown default_government in ruleset.
[freeciv.git] / Makefile.am
blob1b8e93e43474f72e31642ae2b47f2e74f4687f93
1 ## Process this file with automake to produce Makefile.in
3 ACLOCAL_AMFLAGS = -I m4 -I dependencies/m4
4 AM_DIST_FORMATS = gzip bzip2 zip
6 if CLIENT
7 CSUBDIRS = client
8 else
9 CSUBDIRS = 
10 endif
12 if SERVER
13 SSUBDIRS = ai server
14 else
15 if RULEDIT
16 SSUBDIRS = ai server
17 else
18 SSUBDIRS =
19 endif
20 endif
22 if MAKE_DATA
23 DSUBDIRS = data
24 else
25 DSUBDIRS =
26 endif
28 SUBDIRS = $(DSUBDIRS) dependencies utility common tests win32 $(SSUBDIRS) $(CSUBDIRS) translations doc tools gen_headers lua bootstrap
30 ## Automake should distribute config.rpath automatically - and new
31 ## versions probably do. We still support versions that do not, so
32 ## it's in the list below.
33 ## It should also install it automatically when running autogen.sh.
34 EXTRA_DIST =    autogen.sh                      \
35                 configure.ac                    \
36                 m4/c99.m4                       \
37                 m4/c11.m4                       \
38                 m4/c++11.m4                     \
39                 m4/codeset.m4                   \
40                 m4/compiler.m4                  \
41                 m4/debug.m4                     \
42                 m4/fcdb-mysql.m4                \
43                 m4/fcdb-postgres.m4             \
44                 m4/fcdb-sqlite3.m4              \
45                 m4/features.m4                  \
46                 m4/freetype2.m4                 \
47                 m4/gettext.m4                   \
48                 m4/gettimeofday.m4              \
49                 m4/gtk-2.0.m4                   \
50                 m4/gtk2-client.m4               \
51                 m4/gtk3-client.m4               \
52                 m4/iconv.m4                     \
53                 m4/intlmacosx.m4                \
54                 m4/lib-ld.m4                    \
55                 m4/lib-link.m4                  \
56                 m4/lib-prefix.m4                \
57                 m4/locale.m4                    \
58                 m4/mysql.m4                     \
59                 m4/magickwand.m4                \
60                 m4/mapimg-magickwand.m4         \
61                 m4/nls.m4                       \
62                 m4/no-client.m4                 \
63                 m4/pkg.m4                       \
64                 m4/po.m4                        \
65                 m4/postgres.m4                  \
66                 m4/progtest.m4                  \
67                 m4/qt5.m4                       \
68                 m4/qt5-darwin.m4                \
69                 m4/qt-client.m4                 \
70                 m4/readline.m4                  \
71                 m4/sdl-client.m4                \
72                 m4/sdl.m4                       \
73                 m4/sdl2-client.m4               \
74                 m4/sdl2.m4                      \
75                 m4/sqlite3.m4                   \
76                 m4/sound.m4                     \
77                 m4/vsnprintf.m4                 \
78                 m4/web-client.m4                \
79                 m4/winsock2.m4                  \
80                 m4/xaw-client.m4                \
81                 m4/x.m4                         \
82                 m4/testmatic.m4                 \
83                 scripts/mapimg2anim             \
84                 scripts/setup_auth_server.sh    \
85                 scripts/diff_ignore
86 # On branch: add NEWS-x.x here and remove this comment (1 of 2)
88 noinst_HEADERS= fc_version
90 docs =                  \
91         ABOUT-NLS       \
92         AUTHORS         \
93         ChangeLog       \
94         COPYING         \
95         INSTALL         \
96         NEWS
97 # On branch: add NEWS-x.x here and remove this comment (2 of 2)
99 doc_DATA = $(docs)
101 src-check:
102         cd tests && $(MAKE) $(AM_MAKEFLAGS) src-check
104 doc:
105         doxy_srcdir="$(top_srcdir)/" doxygen $(top_srcdir)/doc/freeciv.doxygen
107 .PHONY: src-check doc