Fail --enable-client=gtk3.22 at configure time when gtk3 not present
[freeciv.git] / data / Makefile.am
blob574970e9de5fce1775f7cc0a247768eda4e5acb7
1 ## Process this file with automake to produce Makefile.in
3 if CLIENT
4 CLIENT_FILES =                          \
5         amplio2.tilespec                \
6         cimpletoon.tilespec             \
7         hex2t.tilespec                  \
8         hexemplio.tilespec              \
9         isophex.tilespec                \
10         isotrident.tilespec             \
11         toonhex.tilespec                \
12         trident.tilespec                \
13         stdmusic.musicspec              \
14         stdsounds.soundspec             \
15         helpdata.txt
16 if CLIENT_GUI_XAW
17 CLIENT_FILES += Freeciv
18 endif
19 if CLIENT_GUI_GTK_2_0
20 CLIENT_FILES += \
21         freeciv.rc-2.0  \
22         gtk2_menus.xml
23 endif
24 if CLIENT_GUI_GTK_3_0
25 CLIENT_FILES += \
26         gtk3_menus.xml
27 endif
28 if CLIENT_GUI_GTK_3_22
29 CLIENT_FILES += \
30         gtk3.22_menus.xml
31 endif
32 else
33 CLIENT_FILES =
34 endif
36 SRV_RE_FILES = \
37         civ1.serv \
38         civ2.serv \
39         classic.serv \
40         default.serv \
41         experimental.serv \
42         multiplayer.serv \
43         civ2civ3.serv
45 if SERVER
46 SERVER_FILES = $(SRV_RE_FILES)
47 else
48 if RULEDIT
49 SERVER_FILES = $(SRV_RE_FILES)
50 else
51 SERVER_FILES =
52 endif
53 endif
55 pkgdata_DATA = $(SERVER_FILES) $(CLIENT_FILES)
57 EXTRA_DIST = \
58         Freeciv \
59         freeciv-client.png \
60         freeciv.rc-2.0  \
61         gtk2_menus.xml  \
62         gtk3.22_menus.xml \
63         gtk3_menus.xml  \
64         amplio2.tilespec \
65         cimpletoon.tilespec \
66         hex2t.tilespec  \
67         hexemplio.tilespec      \
68         isophex.tilespec        \
69         isotrident.tilespec \
70         toonhex.tilespec        \
71         trident.tilespec        \
72         stdmusic.musicspec      \
73         stdsounds.soundspec     \
74         helpdata.txt    \
75         civ1.serv       \
76         civ2.serv       \
77         classic.serv    \
78         default.serv    \
79         experimental.serv \
80         multiplayer.serv \
81         civ2civ3.serv
83 if CLIENT
84 CLIENTDATADIRS = amplio2 misc flags buildings cimpletoon isotrident trident\
85  isophex hex2t hexemplio stdsounds stdmusic themes wonders
86 else
87 CLIENTDATADIRS = 
88 endif
90 SRV_RE_DATADIRS = default classic civ1 civ2 experimental multiplayer civ2civ3 nation
91 if SERVER
92 SERVERDATADIRS = $(SRV_RE_DATADIRS) scenarios
93 else
94 if RULEDIT
95 SERVERDATADIRS = $(SRV_RE_DATADIRS)
96 else
97 SERVERDATADIRS =
98 endif
99 endif
101 if CLIENT
102 ICONS = freeciv-client.png
103 else
104 ICONS = 
105 endif
107 icondir = $(prefix)/share/pixmaps
108 icon_DATA=$(ICONS)
110 SUBDIRS = icons $(CLIENTDATADIRS) $(SERVERDATADIRS) override