1 ## Process this file with automake to produce Makefile.in
3 noinst_LTLIBRARIES = libgui-gtk2.la
4 AM_CPPFLAGS = -I. -I$(srcdir)/.. -I$(srcdir)/../include \
5 -I$(top_srcdir)/utility -I$(top_srcdir)/common \
6 -I$(top_srcdir)/common/aicore -I$(top_srcdir)/common/scriptcore \
7 -I$(srcdir)/../agents -I$(srcdir)/../luascript \
8 $(gui_gtk2_cflags) $(SOUND_CFLAGS)
10 # The AM_CPPFLAGS "-I." is so resources.c includes the locally generated
11 # Freeciv.h in the builddir, in preference to the one
12 # in the source dir (when compiling from another dir). --dwp
14 BUILT_SOURCES = Freeciv.h
15 CLEANFILES = Freeciv.h
17 Freeciv.h: $(top_srcdir)/data/freeciv.rc-2.0
18 echo '/*********************************************************/' > Freeciv.h
19 echo '/* DO NOT EDIT THIS FILE, EDIT ../../data/freeciv.rc-2.0 */' >> Freeciv.h
20 echo '/*********************************************************/' >> Freeciv.h
21 $(srcdir)/rc2c $(top_srcdir)/data/freeciv.rc-2.0 >> Freeciv.h
23 libgui_gtk2_la_DEPENDENCIES = rc2c
25 libgui_gtk2_la_SOURCES = \
115 libgui_gtk2_la_LIBADD = -lm