ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
Revision: 1.41
Committed: Sun Apr 4 04:58:46 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.40: +11 -3 lines
Log Message:
genconst

File Contents

# User Rev Content
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.40 # Copyright (©) 2006,2007,2008,2009,2010 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_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     gods.C\
46     init.C\
47     main.C\
48     monster.C\
49     move.C\
50     pets.C\
51     player.C\
52     resurrection.C\
53     rune.C\
54     shop.C\
55     skills.C\
56     skill_util.C\
57     spell_attack.C\
58     spell_effect.C\
59     spell_util.C\
60     swamp.C\
61     time.C\
62 root 1.9 dynbuf.C\
63 root 1.17 freezethaw.C\
64 root 1.34 cfperl.xs\
65     evthread.C
66 root 1.1
67 root 1.6 SUFFIXES = .xs
68    
69 root 1.41 EXTRA_DIST = typemap genacc genconst
70 root 1.6
71 root 1.41 CLEANFILES = const_iv.h
72    
73     const_iv.h: ../include/define.h
74     const_iv.h: genconst
75     $(PERL) genconst ../include/define.h
76    
77     cfperl.C: cfperl.xs typemap genacc
78     cfperl.C: const_iv.h
79 root 1.16 cfperl.C: ../include/object.h ../include/client.h ../include/player.h
80 root 1.15 cfperl.C: ../include/map.h ../include/living.h ../include/global.h
81 root 1.30 cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h
82 root 1.41 cfperl.C: ../include/define.h
83 root 1.14
84     .xs.C: typemap
85 root 1.6 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf
86 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 $@~ $@
87 root 1.6
88 root 1.1 AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
89     -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
90 root 1.23 -DPLUGIN_SUFFIX=\".so\"
91 root 1.1
92     LIBDL=
93 root 1.33 deliantra_server_LDFLAGS=
94     deliantra_server_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \
95 root 1.4 ../socket/libsocket.a $(LIBDL) $(PERLLIB)
96    
97 root 1.1 ../common/libcross.a:
98 root 1.23 ( cd ../common ; $(MAKE) libcross.a )
99 root 1.1
100     ../random_maps/librandom_map.a:
101 root 1.23 ( cd ../random_maps ; $(MAKE) librandom_map.a )
102 root 1.1
103     ../socket/libsocket.a:
104 root 1.23 ( cd ../socket ; $(MAKE) libsocket.a )
105 root 1.1
106