1 | # |
1 | # |
2 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | # |
3 | # |
|
|
4 | # Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team |
4 | # Copyright (©) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | # Copyright (©) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | # Copyright (©) 2001 Mark Wedel & Crossfire Development Team |
6 | # Copyright (©) 2001 Mark Wedel & Crossfire Development Team |
6 | # Copyright (©) 1992 Frank Tore Johansen |
7 | # Copyright (©) 1992 Frank Tore Johansen |
7 | # |
8 | # |
8 | # Deliantra is free software: you can redistribute it and/or modify it under |
9 | # Deliantra is free software: you can redistribute it and/or modify it under |
… | |
… | |
24 | |
25 | |
25 | pkgstatedir = @pkgstatedir@ |
26 | pkgstatedir = @pkgstatedir@ |
26 | pkgconfdir = @pkgconfdir@ |
27 | pkgconfdir = @pkgconfdir@ |
27 | PERL = @PERL@ |
28 | PERL = @PERL@ |
28 | |
29 | |
29 | SUBDIRS = include lib |
30 | SUBDIRS = lib |
30 | |
31 | |
31 | EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \ |
32 | EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \ |
32 | common/README \ |
33 | common/README \ |
33 | socket/README \ |
34 | socket/README \ |
34 | random_maps/Notes \ |
35 | random_maps/Notes \ |
35 | server/typemap server/genacc server/genconst \ |
36 | server/typemap server/genacc server/genconst \ |
36 | utils/metaserver.pl.in utils/player_dl.pl.in utils/player_dl.html utils/cfutil.in \ |
37 | utils/metaserver.pl.in utils/player_dl.pl.in utils/player_dl.html utils/cfutil.in \ |
37 | doc/historic doc/development \ |
38 | doc/historic doc/development \ |
38 | ext/*.pm ext/*.ext |
39 | ext/*.pm ext/*.ext \ |
|
|
40 | include/event2inc include/genkeywords include/callback.pl |
39 | |
41 | |
40 | CLEANFILES = server/const_iv.h server/perlxsi.c |
42 | CLEANFILES = server/const_iv.h server/perlxsi.c |
41 | |
43 | |
42 | MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile utils/cfutil utils/Makefile.in |
44 | MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile \ |
|
|
45 | utils/cfutil utils/Makefile.in \ |
|
|
46 | include/keyword.h include/kw_hash.h |
43 | |
47 | |
44 | DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man |
48 | DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man |
45 | |
49 | |
46 | AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
50 | AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
47 | -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
51 | -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
… | |
… | |
54 | |
58 | |
55 | ############################################################################# |
59 | ############################################################################# |
56 | # server/, socket/, common/, random_maps/ |
60 | # server/, socket/, common/, random_maps/ |
57 | |
61 | |
58 | server_deliantra_server_LDFLAGS= |
62 | server_deliantra_server_LDFLAGS= |
59 | server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) |
63 | server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) $(EXTRA_LDADD) |
60 | |
64 | |
61 | server_deliantra_server_SOURCES = \ |
65 | server_deliantra_server_SOURCES = \ |
62 | socket/image.C \ |
66 | socket/image.C \ |
63 | socket/info.C \ |
67 | socket/info.C \ |
64 | socket/init.C \ |
68 | socket/init.C \ |
… | |
… | |
199 | # ext/ |
203 | # ext/ |
200 | |
204 | |
201 | OLDEXT = 00_map_handling.ext cfplus_build.ext clientchk.ext db-scheduler.ext \ |
205 | OLDEXT = 00_map_handling.ext cfplus_build.ext clientchk.ext db-scheduler.ext \ |
202 | guildrules.ext map-prefetch.ext schmorp-clientchk.ext schmorp.irc.ext slag_ex.ext |
206 | guildrules.ext map-prefetch.ext schmorp-clientchk.ext schmorp.irc.ext slag_ex.ext |
203 | |
207 | |
204 | PERL = @PERL@ |
|
|
205 | |
|
|
206 | install-data-local: |
208 | install-data-local: |
207 | @$(NORMAL_INSTALL) |
209 | @$(NORMAL_INSTALL) |
208 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/ext |
210 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/ext |
209 | for i in $(srcdir)/ext/*.pm $(srcdir)/ext/*.ext; do \ |
211 | for i in $(srcdir)/ext/*.pm $(srcdir)/ext/*.ext; do \ |
210 | $(INSTALL_DATA) "$$i" $(DESTDIR)$(pkgdatadir)/ext; \ |
212 | $(INSTALL_DATA) "$$i" $(DESTDIR)$(pkgdatadir)/ext; \ |
… | |
… | |
218 | for i in *.pm *.ext; do \ |
220 | for i in *.pm *.ext; do \ |
219 | rm -f $(DESTDIR)$(pkgdatadir)/ext/"$$i"; \ |
221 | rm -f $(DESTDIR)$(pkgdatadir)/ext/"$$i"; \ |
220 | done |
222 | done |
221 | |
223 | |
222 | ############################################################################# |
224 | ############################################################################# |
|
|
225 | # include/ |
|
|
226 | |
|
|
227 | noinst_HEADERS = \ |
|
|
228 | include/devel.h include/libproto.h include/sounds.h include/attack.h \ |
|
|
229 | include/config.h include/living.h include/player.h include/slotinc.h \ |
|
|
230 | include/define.h include/race.h include/material.h include/spells.h include/rproto.h \ |
|
|
231 | include/face.h include/logger.h include/sproto.h include/region.h include/rmg.h \ |
|
|
232 | include/artifact.h include/map.h include/recipe.h include/treasure.h include/noise.h \ |
|
|
233 | include/global.h include/client.h include/path.h include/shstr.h include/tod.h \ |
|
|
234 | include/god.h include/network.h include/crc.h include/shstrinc.h include/layout.h \ |
|
|
235 | include/book.h include/includes.h include/object.h include/skills.h include/sockproto.h \ |
|
|
236 | include/cfperl.h include/eventinc.h include/attackinc.h include/ecb.h include/rng.h \ |
|
|
237 | include/kw_hash.h include/keyword.h include/traits.h include/dynbuf.h include/util.h \ |
|
|
238 | include/skillinc.h include/callback.h include/evthread.h include/freezethaw.h include/quadland.h |
|
|
239 | |
|
|
240 | BUILT_SOURCES = include/eventinc.h include/keyword.h include/kw_hash.h |
|
|
241 | |
|
|
242 | include/eventinc.h: pod/events.pod include/event2inc |
|
|
243 | $(PERL) $(srcdir)/include/event2inc $< >$@ |
|
|
244 | |
|
|
245 | include/keyword.h: include/genkeywords |
|
|
246 | $(PERL) $(srcdir)/include/genkeywords GPERF '$(GPERF)' |
|
|
247 | |
|
|
248 | include/kw_hash.h: include/keyword.h |
|
|
249 | |
|
|
250 | |
|
|
251 | ############################################################################# |
223 | |
252 | |
224 | tags: ctags |
253 | tags: ctags |
225 | |
254 | |