1 |
root |
1.1 |
# |
2 |
root |
1.32 |
# This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 |
root |
1.28 |
# |
4 |
root |
1.48 |
# Copyright (©) 2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 |
root |
1.39 |
# Copyright (©) 1992 Frank Tore Johansen |
6 |
|
|
# Copyright (©) 2001 Mark Wedel |
7 |
root |
1.28 |
# Copyright (©) 2007 Marc Alexander Lehmann |
8 |
|
|
# |
9 |
root |
1.37 |
# Deliantra is free software: you can redistribute it and/or modify it under |
10 |
|
|
# the terms of the Affero GNU General Public License as published by the |
11 |
|
|
# Free Software Foundation, either version 3 of the License, or (at your |
12 |
|
|
# option) any later version. |
13 |
root |
1.28 |
# |
14 |
root |
1.29 |
# This program is distributed in the hope that it will be useful, |
15 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 |
|
|
# GNU General Public License for more details. |
18 |
root |
1.28 |
# |
19 |
root |
1.37 |
# You should have received a copy of the Affero GNU General Public License |
20 |
|
|
# and the GNU General Public License along with this program. If not, see |
21 |
|
|
# <http://www.gnu.org/licenses/>. |
22 |
root |
1.28 |
# |
23 |
root |
1.32 |
# The authors can be reached via e-mail to <support@deliantra.net> |
24 |
root |
1.1 |
# |
25 |
|
|
|
26 |
root |
1.33 |
bin_PROGRAMS = deliantra-server |
27 |
root |
1.1 |
|
28 |
pippijn |
1.2 |
MAINTAINERCLEANFILES = Makefile.in |
29 |
|
|
|
30 |
root |
1.33 |
deliantra_server_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_object.C\ |
38 |
|
|
c_party.C\ |
39 |
|
|
c_range.C\ |
40 |
|
|
c_wiz.C\ |
41 |
|
|
commands.C\ |
42 |
|
|
disease.C\ |
43 |
|
|
egoitem.C \ |
44 |
|
|
gods.C\ |
45 |
|
|
init.C\ |
46 |
|
|
main.C\ |
47 |
|
|
monster.C\ |
48 |
|
|
move.C\ |
49 |
|
|
pets.C\ |
50 |
|
|
player.C\ |
51 |
|
|
resurrection.C\ |
52 |
|
|
rune.C\ |
53 |
|
|
shop.C\ |
54 |
|
|
skills.C\ |
55 |
|
|
skill_util.C\ |
56 |
|
|
spell_attack.C\ |
57 |
|
|
spell_effect.C\ |
58 |
|
|
spell_util.C\ |
59 |
|
|
swamp.C\ |
60 |
|
|
time.C\ |
61 |
root |
1.9 |
dynbuf.C\ |
62 |
root |
1.17 |
freezethaw.C\ |
63 |
root |
1.34 |
cfperl.xs\ |
64 |
|
|
evthread.C |
65 |
root |
1.1 |
|
66 |
root |
1.6 |
SUFFIXES = .xs |
67 |
|
|
|
68 |
root |
1.41 |
EXTRA_DIST = typemap genacc genconst |
69 |
root |
1.6 |
|
70 |
root |
1.46 |
CLEANFILES = const_iv.h perlxsi.c |
71 |
root |
1.41 |
|
72 |
root |
1.42 |
CONST_SRC = ../include/define.h ../include/spells.h ../include/attack.h \ |
73 |
|
|
../include/skills.h ../include/material.h ../include/sounds.h \ |
74 |
|
|
../include/object.h ../include/treasure.h ../include/client.h \ |
75 |
root |
1.47 |
../include/logger.h ../include/rmg.h ../include/map.h |
76 |
root |
1.42 |
|
77 |
|
|
const_iv.h: genconst $(CONST_SRC) |
78 |
|
|
$(PERL) genconst $(CONST_SRC) |
79 |
root |
1.41 |
|
80 |
|
|
cfperl.C: cfperl.xs typemap genacc |
81 |
|
|
cfperl.C: const_iv.h |
82 |
root |
1.16 |
cfperl.C: ../include/object.h ../include/client.h ../include/player.h |
83 |
root |
1.15 |
cfperl.C: ../include/map.h ../include/living.h ../include/global.h |
84 |
root |
1.45 |
cfperl.C: ../include/region.h ../include/cfperl.h ../include/rmg.h |
85 |
root |
1.41 |
cfperl.C: ../include/define.h |
86 |
root |
1.14 |
|
87 |
|
|
.xs.C: typemap |
88 |
root |
1.6 |
$(PERL) -MExtUtils::Embed -e xsinit -- -std cf |
89 |
root |
1.41 |
PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@~ && mv $@~ $@ |
90 |
root |
1.6 |
|
91 |
root |
1.1 |
AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
92 |
|
|
-DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
93 |
root |
1.23 |
-DPLUGIN_SUFFIX=\".so\" |
94 |
root |
1.1 |
|
95 |
|
|
LIBDL= |
96 |
root |
1.33 |
deliantra_server_LDFLAGS= |
97 |
root |
1.45 |
deliantra_server_LDADD = \ |
98 |
|
|
../common/libcross.a \ |
99 |
|
|
../random_maps/librandom_map.a \ |
100 |
|
|
../socket/libsocket.a $(LIBDL) $(PERLLIB) |
101 |
root |
1.4 |
|
102 |
root |
1.1 |
../common/libcross.a: |
103 |
root |
1.23 |
( cd ../common ; $(MAKE) libcross.a ) |
104 |
root |
1.1 |
|
105 |
|
|
../random_maps/librandom_map.a: |
106 |
root |
1.23 |
( cd ../random_maps ; $(MAKE) librandom_map.a ) |
107 |
root |
1.1 |
|
108 |
|
|
../socket/libsocket.a: |
109 |
root |
1.23 |
( cd ../socket ; $(MAKE) libsocket.a ) |
110 |
root |
1.1 |
|
111 |
|
|
|