1 ## Process this file with automake to produce Makefile.in
9 include $(top_srcdir)/bootstrap/Makerules.mk
16 bin_PROGRAMS += freeciv-manual
22 bin_PROGRAMS += freeciv-mp-cli
25 bin_PROGRAMS += freeciv-mp-gtk2
28 bin_PROGRAMS += freeciv-mp-gtk3
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)/server \
43 -I$(top_srcdir)/client \
44 -I$(top_srcdir)/client/include
46 AM_CPPFLAGS = $(common_cppflags)
49 MPICON = $(top_builddir)/win32/mpicon.o
51 desktopfiledir = @DESKTOPDIR@
54 appdatafiledir = @APPDATADIR@
59 freeciv-mp-gtk2.desktop
61 freeciv-mp-gtk2.appdata.xml
66 freeciv-mp-gtk3.desktop
68 freeciv-mp-gtk3.appdata.xml
75 freeciv-mp-qt.appdata.xml
81 freeciv_manual_SOURCES = \
84 freeciv_manual_LDFLAGS = $(GGZDMOD_LDFLAGS)
86 # This is a bit of a hack. The program links in with the server lib
87 # but also uses some files from the client.
88 freeciv_manual_LDADD = \
89 $(top_builddir)/server/libfreeciv-srv.la \
90 ../client/helpdata.lo \
91 $(top_builddir)/common/libfreeciv.la \
92 $(INTLLIBS) $(MAPIMG_WAND_LIBS) \
93 $(SERVER_LIBS) $(LIB_GGZDMOD)
96 libfcmp_la_SOURCES = \
107 freeciv_mp_cli_CPPFLAGS = $(common_cppflags) $(mp_cli_cflags)
109 freeciv_mp_cli_SOURCES = mpcli.c
111 freeciv_mp_cli_LDFLAGS = $(mp_cli_ldflags)
113 freeciv_mp_cli_LDADD = \
115 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
116 $(top_builddir)/common/libfreeciv.la \
117 $(MAPIMG_WAND_LIBS) \
122 freeciv_mp_gtk2_CPPFLAGS = $(common_cppflags) $(mp_gtk2_cflags)
124 freeciv_mp_gtk2_SOURCES = mpgui_gtk2.c
126 freeciv_mp_gtk2_LDFLAGS = $(mp_gtk2_ldflags)
128 freeciv_mp_gtk2_LDADD = \
130 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
131 $(top_builddir)/common/libfreeciv.la \
132 $(MAPIMG_WAND_LIBS) \
138 freeciv_mp_gtk3_CPPFLAGS = $(common_cppflags) $(mp_gtk3_cflags)
140 freeciv_mp_gtk3_SOURCES = mpgui_gtk3.c
142 freeciv_mp_gtk3_LDFLAGS = $(mp_gtk3_ldflags)
144 freeciv_mp_gtk3_LDADD = \
146 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
147 $(top_builddir)/common/libfreeciv.la \
148 $(MAPIMG_WAND_LIBS) \
157 meta_mpgui_qt_worker.cpp
159 freeciv_mp_qt_CPPFLAGS = $(common_cppflags) $(mp_qt_cppflags)
160 freeciv_mp_qt_CXXFLAGS = $(mp_qt_cxxflags)
162 freeciv_mp_qt_SOURCES = \
165 mpgui_qt_worker.cpp \
168 nodist_freeciv_mp_qt_SOURCES = $(MOC_FILES)
170 CLEANFILES = $(MOC_FILES)
172 freeciv_mp_qt_LDADD = \
174 $(top_builddir)/dependencies/cvercmp/libcvercmp.la \
175 $(top_builddir)/common/libfreeciv.la \
176 $(MAPIMG_WAND_LIBS) \