File: Makefile.am

package info (click to toggle)
freeciv 3.2.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 286,492 kB
  • sloc: ansic: 484,452; cpp: 37,766; sh: 10,374; makefile: 7,425; python: 2,938; xml: 652; sed: 11
file content (43 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Process this file with automake to produce Makefile.in

noinst_LTLIBRARIES = \
	libscripting_client.la

AM_CPPFLAGS = \
	-I$(top_srcdir)/utility \
	-I$(top_srcdir)/common \
	-I$(top_srcdir)/common/aicore \
	-I$(top_srcdir)/common/networking \
	-I$(top_srcdir)/common/scriptcore \
	-I$(top_srcdir)/client \
	-I$(top_srcdir)/dependencies/tinycthread \
	$(LUA_CFLAGS) $(LUASQL_CFLAGS) $(TOLUA_CFLAGS)

# tolua_client_gen.[ch] are now distributed to aid in cross-compiling.
dist_libscripting_client_la_SOURCES = \
	api_client_base.c	\
	api_client_base.h	\
	script_client.c		\
	script_client.h		\
	tolua_client_gen.c	\
	tolua_client_gen.h

EXTRA_DIST = \
	tolua_client.pkg

BUILT_SOURCES = \
	tolua_client_gen.c	\
	tolua_client_gen.h

libscripting_client_la_LIBADD = \
	$(LUA_LIBS) $(TOLUA_LIBS) $(LUASQL_LIBS)

tolua_client_gen.c tolua_client_gen.h: tolua_client.pkg
	@if ! $(AM_V_P) ; then echo "  tolua    tolua_client" ; fi
	$(AM_V_at) $(TOLUA) -n client -o $(srcdir)/tolua_client_gen.c \
	-H $(srcdir)/tolua_client_gen.h $(srcdir)/tolua_client.pkg

# These files are not generated to builddir, but to srcdir */
MAINTAINERCLEANFILES = \
	$(srcdir)/tolua_client_gen.c \
	$(srcdir)/tolua_client_gen.h