File: Makefile.am

package info (click to toggle)
freeciv 2.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 95,924 kB
  • ctags: 20,829
  • sloc: ansic: 231,256; sh: 4,872; makefile: 2,867; python: 1,259; yacc: 318
file content (38 lines) | stat: -rw-r--r-- 911 bytes parent folder | download
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
## Process this file with automake to produce Makefile.in

noinst_LIBRARIES = libscripting.a

AM_CPPFLAGS = \
	-I$(top_srcdir)/utility -I$(top_srcdir)/common \
	-I$(top_srcdir)/intl -I$(top_srcdir)/server \
	-I$(top_srcdir)/dependencies/lua/include \
	-I$(top_srcdir)/dependencies/tolua

# api_gen.[ch] are now distributed to aid in cross-compiling.  See PR#13571.
dist_libscripting_a_SOURCES = \
		api_actions.c	\
		api_actions.h	\
		api_find.c	\
		api_find.h	\
		api_gen.c	\
		api_gen.h	\
		api_intl.c	\
		api_intl.h	\
		api_methods.c	\
		api_methods.h	\
		api_notify.c	\
		api_notify.h	\
		api_utilities.c	\
		api_utilities.h	\
		api_types.h	\
		script.c	\
		script.h	\
		script_signal.c	\
		script_signal.h

EXTRA_DIST = \
		api.pkg

$(srcdir)/api_gen.c $(srcdir)/api_gen.h: $(srcdir)/api.pkg
	$(top_builddir)/dependencies/tolua/tolua -n api -o $(srcdir)/api_gen.c -H $(srcdir)/api_gen.h $(srcdir)/api.pkg