ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
Revision: 1.27
Committed: Fri Apr 27 19:53:05 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.26: +0 -1 lines
Log Message:
revamp loggin. have a new log flag logBacktrace that logs
the message and prepares a backtrace in the background, spewing
it into the log at a later time.

this is useful to shed some light on otherwise completely useless log
messages such as:

   2007-04-27 19:48:48.142 Calling random_roll with min=1 max=0

which could just as well not be there as we will never find out who is
doing this to puny poor random_roll.

File Contents

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