ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
Revision: 1.42
Committed: Sun Apr 4 20:00:06 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.41: +7 -3 lines
Log Message:
more const autogen

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 root 1.42 CONST_SRC = ../include/define.h ../include/spells.h ../include/attack.h \
74     ../include/skills.h ../include/material.h ../include/sounds.h \
75     ../include/object.h ../include/treasure.h ../include/client.h \
76     ../random_maps/random_map.h
77    
78     const_iv.h: genconst $(CONST_SRC)
79     $(PERL) genconst $(CONST_SRC)
80 root 1.41
81     cfperl.C: cfperl.xs typemap genacc
82     cfperl.C: const_iv.h
83 root 1.16 cfperl.C: ../include/object.h ../include/client.h ../include/player.h
84 root 1.15 cfperl.C: ../include/map.h ../include/living.h ../include/global.h
85 root 1.30 cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h
86 root 1.41 cfperl.C: ../include/define.h
87 root 1.14
88     .xs.C: typemap
89 root 1.6 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf
90 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 $@~ $@
91 root 1.6
92 root 1.1 AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
93     -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
94 root 1.23 -DPLUGIN_SUFFIX=\".so\"
95 root 1.1
96     LIBDL=
97 root 1.33 deliantra_server_LDFLAGS=
98     deliantra_server_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \
99 root 1.4 ../socket/libsocket.a $(LIBDL) $(PERLLIB)
100    
101 root 1.1 ../common/libcross.a:
102 root 1.23 ( cd ../common ; $(MAKE) libcross.a )
103 root 1.1
104     ../random_maps/librandom_map.a:
105 root 1.23 ( cd ../random_maps ; $(MAKE) librandom_map.a )
106 root 1.1
107     ../socket/libsocket.a:
108 root 1.23 ( cd ../socket ; $(MAKE) libsocket.a )
109 root 1.1
110