ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/Makefile.am
Revision: 1.32
Committed: Fri Nov 18 03:30:08 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.31: +10 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.18 #
2 root 1.20 # This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 root 1.28 #
4 root 1.29 # Copyright (©) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 root 1.22 # Copyright (©) 2001 Mark Wedel & Crossfire Development Team
6     # Copyright (©) 1992 Frank Tore Johansen
7 root 1.28 #
8 root 1.22 # Deliantra is free software: you can redistribute it and/or modify it under
9     # the terms of the Affero GNU General Public License as published by the
10     # Free Software Foundation, either version 3 of the License, or (at your
11     # option) any later version.
12 root 1.28 #
13 root 1.19 # This program is distributed in the hope that it will be useful,
14     # but WITHOUT ANY WARRANTY; without even the implied warranty of
15     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     # GNU General Public License for more details.
17 root 1.28 #
18 root 1.22 # You should have received a copy of the Affero GNU General Public License
19     # and the GNU General Public License along with this program. If not, see
20     # <http://www.gnu.org/licenses/>.
21 root 1.28 #
22 root 1.20 # The authors can be reached via e-mail to <support@deliantra.net>
23 root 1.18 #
24    
25 root 1.32 SUBDIRS = include lib ext utils doc
26 root 1.1
27 root 1.30 EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \
28     common/README \
29     socket/README \
30     random_maps/Notes \
31     server/typemap server/genacc server/genconst
32 root 1.26
33 root 1.30 CLEANFILES = server/const_iv.h server/perlxsi.c
34 root 1.1
35 pippijn 1.11 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile
36 pippijn 1.3
37 root 1.1 DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man
38    
39 root 1.30 AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
40     -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
41     -DPLUGIN_SUFFIX=\".so\"
42    
43     #############################################################################
44    
45     bin_PROGRAMS = server/deliantra-server
46    
47     #############################################################################
48    
49     server_deliantra_server_LDFLAGS=
50     server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB)
51    
52     server_deliantra_server_SOURCES = \
53     socket/image.C \
54     socket/info.C \
55     socket/init.C \
56     socket/item.C \
57     socket/loop.C \
58     socket/lowlevel.C \
59     socket/request.C \
60     socket/sounds.C \
61     \
62     common/anim.C \
63     common/arch.C \
64     common/button.C \
65     common/compat.C \
66     common/exp.C \
67     common/friend.C \
68     common/holy.C \
69     common/image.C \
70     common/init.C \
71     common/item.C \
72     common/links.C \
73     common/living.C \
74     common/loader.C \
75     common/logger.C \
76     common/los.C \
77     common/map.C \
78     common/object.C \
79     common/player.C \
80     common/readable.C \
81     common/recipe.C \
82     common/region.C \
83     common/shstr.C \
84     common/time.C \
85     common/treasure.C \
86     common/utils.C \
87     common/rng.C \
88     common/noise.C \
89     common/material.C \
90     \
91     random_maps/random_map.C \
92     random_maps/room_gen_onion.C \
93     random_maps/room_gen_spiral.C \
94     random_maps/maze_gen.C \
95     random_maps/floor.C \
96     random_maps/wall.C \
97     random_maps/monster.C \
98     random_maps/door.C \
99     random_maps/decor.C \
100     random_maps/exit.C \
101     random_maps/treasure.C \
102     random_maps/special.C \
103     random_maps/rogue_layout.C \
104     random_maps/snake.C \
105     random_maps/square_spiral.C \
106     random_maps/layout.C \
107     \
108     server/alchemy.C \
109     server/apply.C \
110     server/attack.C \
111     server/build_map.C \
112     server/c_misc.C \
113     server/c_move.C \
114     server/c_object.C \
115     server/c_party.C \
116     server/c_range.C \
117     server/c_wiz.C \
118     server/commands.C \
119     server/disease.C \
120     server/egoitem.C \
121     server/gods.C \
122     server/init.C \
123     server/main.C \
124     server/monster.C \
125     server/move.C \
126     server/pets.C \
127     server/player.C \
128     server/resurrection.C \
129     server/rune.C \
130     server/shop.C \
131     server/skills.C \
132     server/skill_util.C \
133     server/spell_attack.C \
134     server/spell_effect.C \
135     server/spell_util.C \
136     server/swamp.C \
137     server/time.C \
138     server/dynbuf.C \
139     server/freezethaw.C \
140     server/quadland.C \
141     server/cfperl.xs \
142     server/evthread.C
143    
144     SUFFIXES = .xs
145    
146 root 1.31 CONST_SRC = $(top_srcdir)/include/define.h $(top_srcdir)/include/spells.h $(top_srcdir)/include/attack.h \
147     $(top_srcdir)/include/skills.h $(top_srcdir)/include/material.h $(top_srcdir)/include/sounds.h \
148     $(top_srcdir)/include/object.h $(top_srcdir)/include/treasure.h $(top_srcdir)/include/client.h \
149     $(top_srcdir)/include/logger.h $(top_srcdir)/include/rmg.h $(top_srcdir)/include/map.h
150 root 1.30
151     server/const_iv.h: server/genconst $(CONST_SRC)
152 root 1.31 $(PERL) $(srcdir)/server/genconst $(CONST_SRC) >$@~ && mv $@~ $@
153 root 1.30
154     server/cfperl.C: server/cfperl.xs server/typemap server/genacc
155     server/cfperl.C: server/const_iv.h
156     server/cfperl.C: include/object.h include/client.h include/player.h
157     server/cfperl.C: include/map.h include/living.h include/global.h
158     server/cfperl.C: include/region.h include/cfperl.h include/rmg.h
159     server/cfperl.C: include/define.h
160    
161     .xs.C: server/typemap
162     cd server || exit 1; \
163     $(PERL) -MExtUtils::Embed -e xsinit -- -std cf; \
164 root 1.31 PERL="$(PERL)" srcdir="$(abs_top_srcdir)/server" \
165     $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp \
166     -C++ -csuffix .C \-typemap @PERLPRIVLIBEXP@/ExtUtils/typemap \
167     -typemap typemap -prototypes \
168     $(abs_top_srcdir)/server/cfperl.xs >cfperl.C~ && mv cfperl.C~ cfperl.C
169 root 1.30
170     #############################################################################
171    
172 root 1.32 pkgstatedir = @pkgstatedir@
173    
174     poddir=$(pkgdatadir)/pod
175     dist_pod_DATA = pod/command_help.pod pod/dmcommand_help.pod pod/emote_help.pod pod/books.pod pod/generic_help.pod
176    
177     dist_noinst_DATA = pod/events.pod
178    
179     #############################################################################
180    
181 root 1.21 tags: ctags
182