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

Comparing deliantra/server/Makefile.am (file contents):
Revision 1.31 by root, Fri Nov 18 03:21:36 2016 UTC vs.
Revision 1.40 by root, Wed Dec 5 21:46:55 2018 UTC

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
20# <http://www.gnu.org/licenses/>. 21# <http://www.gnu.org/licenses/>.
21# 22#
22# The authors can be reached via e-mail to <support@deliantra.net> 23# The authors can be reached via e-mail to <support@deliantra.net>
23# 24#
24 25
25SUBDIRS = include lib ext utils pod doc 26pkgstatedir = @pkgstatedir@
27pkgconfdir = @pkgconfdir@
28PERL = @PERL@
29
30SUBDIRS = lib
26 31
27EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \ 32EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \
28 common/README \ 33 common/README \
29 socket/README \ 34 socket/README \
30 random_maps/Notes \ 35 random_maps/Notes \
31 server/typemap server/genacc server/genconst 36 server/typemap server/genacc server/genconst \
37 utils/metaserver.pl.in utils/player_dl.pl.in utils/player_dl.html utils/cfutil.in \
38 doc/historic doc/development \
39 ext/*.pm ext/*.ext \
40 include/event2inc include/genkeywords include/callback.pl
32 41
33CLEANFILES = server/const_iv.h server/perlxsi.c 42CLEANFILES = server/const_iv.h server/perlxsi.c
34 43
35MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile 44MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile \
45 utils/cfutil utils/Makefile.in \
46 include/keyword.h include/kw_hash.h
36 47
37DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man 48DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man
38 49
39AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ 50AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
40 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ 51 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
41 -DPLUGIN_SUFFIX=\".so\" 52 -DPLUGIN_SUFFIX=\".so\"
42 53
43############################################################################# 54#############################################################################
44 55
45bin_PROGRAMS = server/deliantra-server 56bin_PROGRAMS = server/deliantra-server utils/cfhq2xa
57nodist_bin_SCRIPTS = utils/cfutil
46 58
47############################################################################# 59#############################################################################
60# server/, socket/, common/, random_maps/
48 61
49server_deliantra_server_LDFLAGS= 62server_deliantra_server_LDFLAGS=
50server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) 63server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) $(EXTRA_LDADD)
51 64
52server_deliantra_server_SOURCES = \ 65server_deliantra_server_SOURCES = \
53 socket/image.C \ 66 socket/image.C \
54 socket/info.C \ 67 socket/info.C \
55 socket/init.C \ 68 socket/init.C \
166 -C++ -csuffix .C \-typemap @PERLPRIVLIBEXP@/ExtUtils/typemap \ 179 -C++ -csuffix .C \-typemap @PERLPRIVLIBEXP@/ExtUtils/typemap \
167 -typemap typemap -prototypes \ 180 -typemap typemap -prototypes \
168 $(abs_top_srcdir)/server/cfperl.xs >cfperl.C~ && mv cfperl.C~ cfperl.C 181 $(abs_top_srcdir)/server/cfperl.xs >cfperl.C~ && mv cfperl.C~ cfperl.C
169 182
170############################################################################# 183#############################################################################
184# pod/
185
186poddir=$(pkgdatadir)/pod
187dist_pod_DATA = pod/command_help.pod pod/dmcommand_help.pod pod/emote_help.pod pod/books.pod pod/generic_help.pod
188
189dist_noinst_DATA = pod/events.pod
190
191#############################################################################
192# utils/
193
194utils_cfhq2xa_SOURCES = utils/cfhq2xa.C
195
196#############################################################################
197# doc/
198
199dist-hook:
200 rm -rf `find $(distdir)/doc -name CVS`
201
202#############################################################################
203# ext/
204
205OLDEXT = 00_map_handling.ext cfplus_build.ext clientchk.ext db-scheduler.ext \
206 guildrules.ext map-prefetch.ext schmorp-clientchk.ext schmorp.irc.ext slag_ex.ext
207
208install-data-local:
209 @$(NORMAL_INSTALL)
210 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/ext
211 for i in $(srcdir)/ext/*.pm $(srcdir)/ext/*.ext; do \
212 $(INSTALL_DATA) "$$i" $(DESTDIR)$(pkgdatadir)/ext; \
213 done
214 (cd $(DESTDIR)$(pkgdatadir)/ext/ && rm -f $(OLDEXT))
215
216# Uninstall unchanged config/var files so make distcheck is happy
217# but leave changed file, so no configuration/game state is lost
218uninstall-local:
219 -cd $(srcdir)/ext && \
220 for i in *.pm *.ext; do \
221 rm -f $(DESTDIR)$(pkgdatadir)/ext/"$$i"; \
222 done
223
224#############################################################################
225# include/
226
227noinst_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
240BUILT_SOURCES = include/eventinc.h include/keyword.h include/kw_hash.h
241
242include/eventinc.h: pod/events.pod include/event2inc
243 $(PERL) $(srcdir)/include/event2inc $< >$@
244
245include/keyword.h: include/genkeywords
246 $(PERL) $(srcdir)/include/genkeywords GPERF '$(GPERF)'
247
248include/kw_hash.h: include/keyword.h
249
250
251#############################################################################
171 252
172tags: ctags 253tags: ctags
173 254

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines