1 ## Process this file with automake to produce Makefile.in
11 include $(top_srcdir)/bootstrap/Makerules.mk
13 bin_PROGRAMS = freeciv-ruleup
17 bin_PROGRAMS += freeciv-manual
22 bin_PROGRAMS += freeciv-mp-cli
25 bin_PROGRAMS += freeciv-mp-gtk3
28 bin_PROGRAMS += freeciv-mp-gtk3x
31 bin_PROGRAMS += freeciv-mp-qt
35 noinst_LTLIBRARIES = libfcmp.la
39 -I$(top_srcdir)/dependencies/cvercmp \
40 -I$(top_srcdir)/utility \
41 -I$(top_srcdir)/common \
42 -I$(top_srcdir)/common/networking \
43 -I$(top_srcdir)/server \
44 -I$(top_srcdir)/client \
45 -I$(top_srcdir)/client/include \
46 -I$(top_srcdir)/tools/ruleutil \
47 -I$(top_srcdir)/dependencies/tinycthread
49 AM_CPPFLAGS = $(common_cppflags)
52 MPICON = $(top_builddir)/windows/mpicon.o
54 desktopfiledir = @DESKTOPDIR@
57 appdatafiledir = @APPDATADIR@
62 freeciv-mp-gtk3.desktop
64 freeciv-mp-gtk3.appdata.xml
71 freeciv-mp-qt.appdata.xml
76 freeciv_ruleup_SOURCES = \
79 freeciv_ruleup_LDADD = \
80 $(top_builddir)/server/libfreeciv-srv.la \
81 $(top_builddir)/common/libfreeciv.la \
82 $(top_builddir)/tools/ruleutil/libfcruleutil.la \
83 $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) $(SERVER_LIBS)
86 freeciv_manual_SOURCES = \
87 tools_fc_interface.c \
88 tools_fc_interface.h \
91 freeciv_manual_LDFLAGS = $(GGZDMOD_LDFLAGS)
93 # This is a bit of a hack. The program links in with the server lib
94 # but also uses some files from the client.
95 freeciv_manual_LDADD = \
96 $(top_builddir)/server/libfreeciv-srv.la \
97 ../client/helpdata.lo \
98 $(top_builddir)/common/libfreeciv.la \
99 $(INTLLIBS) $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) \
100 $(SERVER_LIBS) $(LIB_GGZDMOD)
103 libfcmp_la_SOURCES = \
114 freeciv_mp_cli_CPPFLAGS = $(common_cppflags) $(mp_cli_cflags)
116 freeciv_mp_cli_SOURCES = mpcli.c
118 freeciv_mp_cli_LDFLAGS = $(mp_cli_ldflags)
120 freeciv_mp_cli_LDADD = \
122 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
123 $(top_builddir)/common/libfreeciv.la \
124 $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) \
129 freeciv_mp_gtk3_CPPFLAGS = $(common_cppflags) $(mp_gtk3_cflags)
131 freeciv_mp_gtk3_SOURCES = mpgui_gtk3.c
133 freeciv_mp_gtk3_LDFLAGS = $(mp_gtk3_ldflags)
135 freeciv_mp_gtk3_LDADD = \
137 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
138 $(top_builddir)/common/libfreeciv.la \
139 $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) \
145 freeciv_mp_gtk3x_CPPFLAGS = $(common_cppflags) $(mp_gtk3x_cflags)
147 freeciv_mp_gtk3x_SOURCES = mpgui_gtk4.c
149 freeciv_mp_gtk3x_LDFLAGS = $(mp_gtk3x_ldflags)
151 freeciv_mp_gtk3x_LDADD = \
153 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
154 $(top_builddir)/common/libfreeciv.la \
155 $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) \
164 meta_mpgui_qt_worker.cpp
166 freeciv_mp_qt_CPPFLAGS = $(common_cppflags) $(mp_qt_cppflags)
167 freeciv_mp_qt_CXXFLAGS = $(mp_qt_cxxflags)
169 freeciv_mp_qt_SOURCES = \
172 mpgui_qt_worker.cpp \
175 nodist_freeciv_mp_qt_SOURCES = $(MOC_FILES)
177 CLEANFILES = $(MOC_FILES)
179 freeciv_mp_qt_LDADD = \
181 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
182 $(top_builddir)/common/libfreeciv.la \
183 $(TINYCTHR_LIBS) $(MAPIMG_WAND_LIBS) \