ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
Revision: 1.30
Committed: Tue Sep 4 05:43:21 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.29: +1 -1 lines
Log Message:
- implemented ref/deref "framework" that allows one to create
  semipersistent references and dereference them later
  (works only for players right now).
- (partially) expose freezer and thawer to perl.
- thawers now do next() automatically after instantiating.
- allow the thawer to record delayed dereference requests to be
  resolved, well, later (should be a different class actually
  but lets stay realistic).
- use thawers when loading maps and players and resolve delayed
  derefs after loading them before activating them.
- serialise io for no good reason.

File Contents

# User Rev Content
1 root 1.1 #
2 root 1.29 # This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
3 root 1.28 #
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 root 1.29 # Crossfire TRT is free software: you can redistribute it and/or modify
10     # it under the terms of the GNU General Public License as published by
11     # the Free Software Foundation, either version 3 of the License, or
12     # (at your 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.29 # You should have received a copy of the GNU General Public License
20     # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 root 1.28 #
22     # The authors can be reached via e-mail to <crossfire@schmorp.de>
23 root 1.1 #
24    
25     bin_PROGRAMS = crossfire
26    
27 pippijn 1.2 MAINTAINERCLEANFILES = Makefile.in
28    
29 root 1.1 crossfire_SOURCES = \
30 elmex 1.3 alchemy.C\
31     apply.C\
32     attack.C\
33     build_map.C\
34     c_misc.C\
35     c_move.C\
36     c_new.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     hiscore.C\
45     gods.C\
46     init.C\
47     main.C\
48     monster.C\
49     move.C\
50     pets.C\
51     player.C\
52     plugins.C\
53     resurrection.C\
54     rune.C\
55     shop.C\
56     skills.C\
57     skill_util.C\
58     spell_attack.C\
59     spell_effect.C\
60     spell_util.C\
61     swamp.C\
62     swap.C\
63     time.C\
64 root 1.4 weather.C\
65 root 1.9 dynbuf.C\
66 root 1.17 freezethaw.C\
67 root 1.23 cfperl.xs plugin_common.C
68 root 1.1
69 root 1.6 SUFFIXES = .xs
70    
71 root 1.22 EXTRA_DIST = typemap genacc
72 root 1.6
73 root 1.16 cfperl.C: cfperl.xs genacc typemap
74     cfperl.C: ../include/object.h ../include/client.h ../include/player.h
75 root 1.15 cfperl.C: ../include/map.h ../include/living.h ../include/global.h
76 root 1.30 cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h
77 root 1.14
78     .xs.C: typemap
79 root 1.6 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf
80 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 >$@
81 root 1.6
82 root 1.1 AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
83     -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
84 root 1.23 -DPLUGIN_SUFFIX=\".so\"
85 root 1.1
86     LIBDL=
87     crossfire_LDFLAGS=
88     crossfire_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \
89 root 1.4 ../socket/libsocket.a $(LIBDL) $(PERLLIB)
90    
91 root 1.1 ../common/libcross.a:
92 root 1.23 ( cd ../common ; $(MAKE) libcross.a )
93 root 1.1
94     ../random_maps/librandom_map.a:
95 root 1.23 ( cd ../random_maps ; $(MAKE) librandom_map.a )
96 root 1.1
97     ../socket/libsocket.a:
98 root 1.23 ( cd ../socket ; $(MAKE) libsocket.a )
99 root 1.1
100     # Check if everything is installed as it should
101 root 1.24 #installcheck-local:
102     # $(bindir)/crossfire -o
103 root 1.1