1## Process this file with automake to produce Makefile.in
2
3MOCCMD=@MOCCMD@
4
5include $(top_srcdir)/bootstrap/Makerules.mk
6
7desktopfiledir = @DESKTOPDIR@
8desktopfile_DATA = org.freeciv.ruledit.desktop
9
10appdatafiledir = @APPDATADIR@
11appdatafile_DATA = freeciv-ruledit.appdata.xml
12
13bin_PROGRAMS = freeciv-ruledit
14
15AM_CPPFLAGS = \
16	$(ruledit_cppflags) \
17	-I$(top_srcdir)/utility \
18	-I$(top_srcdir)/common \
19	-I$(top_srcdir)/server
20
21freeciv_ruledit_CXXFLAGS = $(ruledit_cxxflags)
22
23MOC_FILES = \
24            meta_requirers_dlg.cpp \
25            meta_ruledit_qt.cpp \
26            meta_tab_building.cpp \
27            meta_tab_misc.cpp	\
28            meta_tab_nation.cpp	\
29            meta_tab_tech.cpp	\
30            meta_tab_unit.cpp
31
32freeciv_ruledit_SOURCES =	\
33		tab_building.cpp \
34		tab_building.h	\
35		tab_misc.cpp	\
36		tab_misc.h	\
37		tab_nation.cpp	\
38		tab_nation.h	\
39                tab_tech.cpp	\
40		tab_tech.h	\
41                tab_unit.cpp	\
42		tab_unit.h	\
43		requirers_dlg.cpp \
44		requirers_dlg.h	\
45		ruledit.cpp	\
46		ruledit.h	\
47		ruledit_qt.cpp	\
48		ruledit_qt.h	\
49		rulesave.c	\
50		rulesave.h	\
51		validity.c	\
52		validity.h
53
54nodist_freeciv_ruledit_SOURCES = $(MOC_FILES)
55
56freeciv_ruledit_LDADD = \
57 $(ruledit_libs) \
58 $(top_builddir)/server/libfreeciv-srv.la \
59 $(top_builddir)/common/libfreeciv.la \
60 $(MAPIMG_WAND_LIBS) $(SERVER_LIBS)
61
62CLEANFILES = $(MOC_FILES)
63