ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
(Generate patch)

Comparing deliantra/server/server/Makefile.am (file contents):
Revision 1.26 by root, Thu Apr 19 16:23:48 2007 UTC vs.
Revision 1.44 by root, Thu Apr 29 07:32:34 2010 UTC

1# Copyright (C) 1992 Frank Tore Johansen
2# Copyright (C) 2001 Mark Wedel
3# Copyright (C) 2007 Marc Alexander Lehmann
4# 1#
2# This file is part of Deliantra, the Roguelike Realtime MMORPG.
3#
4# Copyright (©) 2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5# Copyright (©) 1992 Frank Tore Johansen
6# Copyright (©) 2001 Mark Wedel
7# Copyright (©) 2007 Marc Alexander Lehmann
8#
5# This program is free software; you can redistribute it and/or modify 9# Deliantra is free software: you can redistribute it and/or modify it under
6# it under the terms of the GNU General Public License as published by 10# the terms of the Affero GNU General Public License as published by the
7# the Free Software Foundation; either version 2 of the License, or 11# Free Software Foundation, either version 3 of the License, or (at your
8# (at your option) any later version. 12# option) any later version.
13#
14# 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#
19# 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#
23# The authors can be reached via e-mail to <support@deliantra.net>
9# 24#
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 25
21 26bin_PROGRAMS = deliantra-server
22bin_PROGRAMS = crossfire
23 27
24MAINTAINERCLEANFILES = Makefile.in 28MAINTAINERCLEANFILES = Makefile.in
25 29
26crossfire_SOURCES = \ 30deliantra_server_SOURCES = \
27 alchemy.C\ 31 alchemy.C\
28 apply.C\ 32 apply.C\
29 attack.C\ 33 attack.C\
30 build_map.C\ 34 build_map.C\
31 c_misc.C\ 35 c_misc.C\
32 c_move.C\ 36 c_move.C\
33 c_new.C\
34 c_object.C\ 37 c_object.C\
35 c_party.C\ 38 c_party.C\
36 c_range.C\ 39 c_range.C\
37 c_wiz.C\ 40 c_wiz.C\
38 commands.C\ 41 commands.C\
39 daemon.C\
40 disease.C\ 42 disease.C\
41 egoitem.C \ 43 egoitem.C \
42 hiscore.C\
43 gods.C\ 44 gods.C\
44 init.C\ 45 init.C\
45 main.C\ 46 main.C\
46 monster.C\ 47 monster.C\
47 move.C\ 48 move.C\
48 pets.C\ 49 pets.C\
49 player.C\ 50 player.C\
50 plugins.C\
51 resurrection.C\ 51 resurrection.C\
52 rune.C\ 52 rune.C\
53 shop.C\ 53 shop.C\
54 skills.C\ 54 skills.C\
55 skill_util.C\ 55 skill_util.C\
56 spell_attack.C\ 56 spell_attack.C\
57 spell_effect.C\ 57 spell_effect.C\
58 spell_util.C\ 58 spell_util.C\
59 swamp.C\ 59 swamp.C\
60 swap.C\
61 time.C\ 60 time.C\
62 weather.C\
63 dynbuf.C\ 61 dynbuf.C\
64 freezethaw.C\ 62 freezethaw.C\
65 cfperl.xs plugin_common.C 63 cfperl.xs\
64 evthread.C
66 65
67SUFFIXES = .xs 66SUFFIXES = .xs
68 67
69EXTRA_DIST = typemap genacc 68EXTRA_DIST = typemap genacc genconst
70 69
70CLEANFILES = const_iv.h
71
72CONST_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 ../include/logger.h \
76 ../random_maps/random_map.h
77
78const_iv.h: genconst $(CONST_SRC)
79 $(PERL) genconst $(CONST_SRC)
80
71cfperl.C: cfperl.xs genacc typemap 81cfperl.C: cfperl.xs typemap genacc
82cfperl.C: const_iv.h
72cfperl.C: ../include/object.h ../include/client.h ../include/player.h 83cfperl.C: ../include/object.h ../include/client.h ../include/player.h
73cfperl.C: ../include/map.h ../include/living.h ../include/global.h 84cfperl.C: ../include/map.h ../include/living.h ../include/global.h
74cfperl.C: ../include/region.h ../random_maps/random_map.h 85cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h
86cfperl.C: ../include/define.h
75 87
76.xs.C: typemap 88.xs.C: typemap
77 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf 89 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf
78 PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@ 90 PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@~ && mv $@~ $@
79 91
80AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ 92AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
81 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ 93 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
82 -DPLUGIN_SUFFIX=\".so\" 94 -DPLUGIN_SUFFIX=\".so\"
83 95
84LIBDL= 96LIBDL=
85crossfire_LDFLAGS= 97deliantra_server_LDFLAGS=
86crossfire_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \ 98deliantra_server_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \
87 ../socket/libsocket.a $(LIBDL) $(PERLLIB) 99 ../socket/libsocket.a $(LIBDL) $(PERLLIB)
88 100
89../common/libcross.a: 101../common/libcross.a:
90 ( cd ../common ; $(MAKE) libcross.a ) 102 ( cd ../common ; $(MAKE) libcross.a )
91 103
93 ( cd ../random_maps ; $(MAKE) librandom_map.a ) 105 ( cd ../random_maps ; $(MAKE) librandom_map.a )
94 106
95../socket/libsocket.a: 107../socket/libsocket.a:
96 ( cd ../socket ; $(MAKE) libsocket.a ) 108 ( cd ../socket ; $(MAKE) libsocket.a )
97 109
98# Check if everything is installed as it should
99#installcheck-local:
100# $(bindir)/crossfire -o
101 110

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines