1 ## Process this file with automake to produce Makefile.in
5 include $(top_srcdir)/bootstrap/Makerules.mk
12 bin_PROGRAMS += freeciv-manual
18 bin_PROGRAMS += freeciv-mp-cli
21 bin_PROGRAMS += freeciv-mp-gtk2
24 bin_PROGRAMS += freeciv-mp-gtk3
27 bin_PROGRAMS += freeciv-mp-qt
31 noinst_LTLIBRARIES = libfcmp.la
35 -I$(top_srcdir)/utility \
36 -I$(top_srcdir)/common \
37 -I$(top_srcdir)/server \
38 -I$(top_srcdir)/client \
39 -I$(top_srcdir)/client/include
41 AM_CPPFLAGS = $(common_cppflags)
44 MPICON = $(top_builddir)/win32/mpicon.o
46 desktopfiledir = @DESKTOPDIR@
49 appdatafiledir = @APPDATADIR@
54 freeciv-mp-gtk2.desktop
56 freeciv-mp-gtk2.appdata.xml
61 freeciv-mp-gtk3.desktop
63 freeciv-mp-gtk3.appdata.xml
70 freeciv-mp-qt.appdata.xml
76 freeciv_manual_SOURCES = \
79 freeciv_manual_LDFLAGS = $(GGZDMOD_LDFLAGS)
81 # This is a bit of a hack. The program links in with the server lib
82 # but also uses some files from the client.
83 freeciv_manual_LDADD = \
84 $(top_builddir)/server/libfreeciv-srv.la \
85 ../client/helpdata.lo \
86 $(top_builddir)/common/libfreeciv.la \
87 $(INTLLIBS) $(MAPIMG_WAND_LIBS) \
88 $(SERVER_LIBS) $(LIB_GGZDMOD)
91 libfcmp_la_SOURCES = \
102 freeciv_mp_cli_CPPFLAGS = $(common_cppflags) $(mp_cli_cflags)
104 freeciv_mp_cli_SOURCES = mpcli.c
106 freeciv_mp_cli_LDFLAGS = $(mp_cli_ldflags)
108 freeciv_mp_cli_LDADD = \
110 $(top_builddir)/common/libfreeciv.la \
111 $(MAPIMG_WAND_LIBS) \
116 freeciv_mp_gtk2_CPPFLAGS = $(common_cppflags) $(mp_gtk2_cflags)
118 freeciv_mp_gtk2_SOURCES = mpgui_gtk2.c
120 freeciv_mp_gtk2_LDFLAGS = $(mp_gtk2_ldflags)
122 freeciv_mp_gtk2_LDADD = \
124 $(top_builddir)/common/libfreeciv.la \
125 $(MAPIMG_WAND_LIBS) \
131 freeciv_mp_gtk3_CPPFLAGS = $(common_cppflags) $(mp_gtk3_cflags)
133 freeciv_mp_gtk3_SOURCES = mpgui_gtk3.c
135 freeciv_mp_gtk3_LDFLAGS = $(mp_gtk3_ldflags)
137 freeciv_mp_gtk3_LDADD = \
139 $(top_builddir)/common/libfreeciv.la \
140 $(MAPIMG_WAND_LIBS) \
149 meta_mpgui_qt_worker.cpp
151 freeciv_mp_qt_CPPFLAGS = $(common_cppflags) $(mp_qt_cppflags)
152 freeciv_mp_qt_CXXFLAGS = $(mp_qt_cxxflags)
154 freeciv_mp_qt_SOURCES = \
157 mpgui_qt_worker.cpp \
160 nodist_freeciv_mp_qt_SOURCES = $(MOC_FILES)
162 CLEANFILES = $(MOC_FILES)
164 freeciv_mp_qt_LDADD = \
166 $(top_builddir)/common/libfreeciv.la \
167 $(MAPIMG_WAND_LIBS) \