webperimental: enable restrictinfra by default...
[freeciv.git] / Makefile.am
blob40a70d2d2a0ffaf8839e6a83f166bed6a731dbbe
1 ## Process this file with automake to produce Makefile.in
3 ACLOCAL_AMFLAGS = -I m4 -I dependencies/m4
4 AM_DIST_FORMATS = gzip xz 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 windows $(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/expanddir.m4                 \
43                 m4/fcdb-mysql.m4                \
44                 m4/fcdb-postgres.m4             \
45                 m4/fcdb-sqlite3.m4              \
46                 m4/features.m4                  \
47                 m4/gettext.m4                   \
48                 m4/gettimeofday.m4              \
49                 m4/gtk3-client.m4               \
50                 m4/gtk3.22-client.m4            \
51                 m4/gtk3x-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/sdl2-client.m4               \
72                 m4/sdl2.m4                      \
73                 m4/sqlite3.m4                   \
74                 m4/sound.m4                     \
75                 m4/vsnprintf.m4                 \
76                 m4/web-client.m4                \
77                 m4/winsock2.m4                  \
78                 m4/testmatic.m4                 \
79                 scripts/mapimg2anim             \
80                 scripts/setup_auth_server.sh    \
81                 scripts/diff_ignore
82 # On branch: add NEWS-x.x here and remove this comment (1 of 2)
84 noinst_HEADERS= fc_version
86 docs =                  \
87         ABOUT-NLS       \
88         AUTHORS         \
89         ChangeLog       \
90         COPYING         \
91         INSTALL         \
92         NEWS
93 # On branch: add NEWS-x.x here and remove this comment (2 of 2)
95 doc_DATA = $(docs)
97 src-check:
98         cd tests && $(MAKE) $(AM_MAKEFLAGS) src-check
100 doc:
101         doxy_srcdir="$(top_srcdir)/" doxygen $(top_srcdir)/doc/freeciv.doxygen
103 .PHONY: src-check doc