1 |
root |
1.1 |
# |
2 |
root |
1.28 |
# This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. |
3 |
|
|
# |
4 |
|
|
# Copyright (©) 2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team |
5 |
|
|
# Copyright (©) 1992,2007 Frank Tore Johansen |
6 |
|
|
# Copyright (©) 2001,2007 Mark Wedel |
7 |
|
|
# Copyright (©) 2007 Marc Alexander Lehmann |
8 |
|
|
# |
9 |
|
|
# Crossfire TRT is free software; you can redistribute it and/or modify it |
10 |
|
|
# under the terms of the GNU General Public License as published by the Free |
11 |
|
|
# Software Foundation; either version 2 of the License, or (at your option) |
12 |
|
|
# any later version. |
13 |
|
|
# |
14 |
|
|
# This program is distributed in the hope that it will be useful, but |
15 |
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
16 |
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
17 |
|
|
# for more details. |
18 |
|
|
# |
19 |
|
|
# You should have received a copy of the GNU General Public License along |
20 |
|
|
# with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 |
21 |
|
|
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22 |
|
|
# |
23 |
|
|
# The authors can be reached via e-mail to <crossfire@schmorp.de> |
24 |
root |
1.1 |
# |
25 |
|
|
|
26 |
|
|
bin_PROGRAMS = crossfire |
27 |
|
|
|
28 |
pippijn |
1.2 |
MAINTAINERCLEANFILES = Makefile.in |
29 |
|
|
|
30 |
root |
1.1 |
crossfire_SOURCES = \ |
31 |
elmex |
1.3 |
alchemy.C\ |
32 |
|
|
apply.C\ |
33 |
|
|
attack.C\ |
34 |
|
|
build_map.C\ |
35 |
|
|
c_misc.C\ |
36 |
|
|
c_move.C\ |
37 |
|
|
c_new.C\ |
38 |
|
|
c_object.C\ |
39 |
|
|
c_party.C\ |
40 |
|
|
c_range.C\ |
41 |
|
|
c_wiz.C\ |
42 |
|
|
commands.C\ |
43 |
|
|
disease.C\ |
44 |
|
|
egoitem.C \ |
45 |
|
|
hiscore.C\ |
46 |
|
|
gods.C\ |
47 |
|
|
init.C\ |
48 |
|
|
main.C\ |
49 |
|
|
monster.C\ |
50 |
|
|
move.C\ |
51 |
|
|
pets.C\ |
52 |
|
|
player.C\ |
53 |
|
|
plugins.C\ |
54 |
|
|
resurrection.C\ |
55 |
|
|
rune.C\ |
56 |
|
|
shop.C\ |
57 |
|
|
skills.C\ |
58 |
|
|
skill_util.C\ |
59 |
|
|
spell_attack.C\ |
60 |
|
|
spell_effect.C\ |
61 |
|
|
spell_util.C\ |
62 |
|
|
swamp.C\ |
63 |
|
|
swap.C\ |
64 |
|
|
time.C\ |
65 |
root |
1.4 |
weather.C\ |
66 |
root |
1.9 |
dynbuf.C\ |
67 |
root |
1.17 |
freezethaw.C\ |
68 |
root |
1.23 |
cfperl.xs plugin_common.C |
69 |
root |
1.1 |
|
70 |
root |
1.6 |
SUFFIXES = .xs |
71 |
|
|
|
72 |
root |
1.22 |
EXTRA_DIST = typemap genacc |
73 |
root |
1.6 |
|
74 |
root |
1.16 |
cfperl.C: cfperl.xs genacc typemap |
75 |
|
|
cfperl.C: ../include/object.h ../include/client.h ../include/player.h |
76 |
root |
1.15 |
cfperl.C: ../include/map.h ../include/living.h ../include/global.h |
77 |
root |
1.26 |
cfperl.C: ../include/region.h ../random_maps/random_map.h |
78 |
root |
1.14 |
|
79 |
|
|
.xs.C: typemap |
80 |
root |
1.6 |
$(PERL) -MExtUtils::Embed -e xsinit -- -std cf |
81 |
root |
1.22 |
PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@ |
82 |
root |
1.6 |
|
83 |
root |
1.1 |
AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
84 |
|
|
-DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
85 |
root |
1.23 |
-DPLUGIN_SUFFIX=\".so\" |
86 |
root |
1.1 |
|
87 |
|
|
LIBDL= |
88 |
|
|
crossfire_LDFLAGS= |
89 |
|
|
crossfire_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \ |
90 |
root |
1.4 |
../socket/libsocket.a $(LIBDL) $(PERLLIB) |
91 |
|
|
|
92 |
root |
1.1 |
../common/libcross.a: |
93 |
root |
1.23 |
( cd ../common ; $(MAKE) libcross.a ) |
94 |
root |
1.1 |
|
95 |
|
|
../random_maps/librandom_map.a: |
96 |
root |
1.23 |
( cd ../random_maps ; $(MAKE) librandom_map.a ) |
97 |
root |
1.1 |
|
98 |
|
|
../socket/libsocket.a: |
99 |
root |
1.23 |
( cd ../socket ; $(MAKE) libsocket.a ) |
100 |
root |
1.1 |
|
101 |
|
|
# Check if everything is installed as it should |
102 |
root |
1.24 |
#installcheck-local: |
103 |
|
|
# $(bindir)/crossfire -o |
104 |
root |
1.1 |
|