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.33 by root, Fri Nov 18 03:46:50 2016 UTC vs.
Revision 1.36 by root, Sat Sep 16 22:45:22 2017 UTC

20# <http://www.gnu.org/licenses/>. 20# <http://www.gnu.org/licenses/>.
21# 21#
22# The authors can be reached via e-mail to <support@deliantra.net> 22# The authors can be reached via e-mail to <support@deliantra.net>
23# 23#
24 24
25SUBDIRS = include lib ext 25pkgstatedir = @pkgstatedir@
26pkgconfdir = @pkgconfdir@
27PERL = @PERL@
28
29SUBDIRS = lib
26 30
27EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \ 31EXTRA_DIST = AUTHORS Changes COPYING.GNU COPYING.Affero autogen.sh TODO \
28 common/README \ 32 common/README \
29 socket/README \ 33 socket/README \
30 random_maps/Notes \ 34 random_maps/Notes \
31 server/typemap server/genacc server/genconst \ 35 server/typemap server/genacc server/genconst \
32 utils/metaserver.pl.in utils/player_dl.pl.in utils/player_dl.html utils/cfutil.in \ 36 utils/metaserver.pl.in utils/player_dl.pl.in utils/player_dl.html utils/cfutil.in \
33 doc/historic doc/development 37 doc/historic doc/development \
38 ext/*.pm ext/*.ext \
39 include/event2inc include/genkeywords include/callback.pl
34 40
35CLEANFILES = server/const_iv.h server/perlxsi.c 41CLEANFILES = server/const_iv.h server/perlxsi.c
36 42
37MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile utils/cfutil utils/Makefile.in 43MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure Makefile \
44 utils/cfutil utils/Makefile.in \
45 include/keyword.h include/kw_hash.h
38 46
39DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man 47DISTCHECK_CONFIGURE_FLAGS = --localstatedir=$$dc_install_base/var --mandir=$$dc_install_base/man
40 48
41AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ 49AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
42 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ 50 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
49 57
50############################################################################# 58#############################################################################
51# server/, socket/, common/, random_maps/ 59# server/, socket/, common/, random_maps/
52 60
53server_deliantra_server_LDFLAGS= 61server_deliantra_server_LDFLAGS=
54server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) 62server_deliantra_server_LDADD = $(LIBDL) $(PERLLIB) $(EXTRA_LDADD)
55 63
56server_deliantra_server_SOURCES = \ 64server_deliantra_server_SOURCES = \
57 socket/image.C \ 65 socket/image.C \
58 socket/info.C \ 66 socket/info.C \
59 socket/init.C \ 67 socket/init.C \
172 $(abs_top_srcdir)/server/cfperl.xs >cfperl.C~ && mv cfperl.C~ cfperl.C 180 $(abs_top_srcdir)/server/cfperl.xs >cfperl.C~ && mv cfperl.C~ cfperl.C
173 181
174############################################################################# 182#############################################################################
175# pod/ 183# pod/
176 184
177pkgstatedir = @pkgstatedir@
178
179poddir=$(pkgdatadir)/pod 185poddir=$(pkgdatadir)/pod
180dist_pod_DATA = pod/command_help.pod pod/dmcommand_help.pod pod/emote_help.pod pod/books.pod pod/generic_help.pod 186dist_pod_DATA = pod/command_help.pod pod/dmcommand_help.pod pod/emote_help.pod pod/books.pod pod/generic_help.pod
181 187
182dist_noinst_DATA = pod/events.pod 188dist_noinst_DATA = pod/events.pod
183 189
191 197
192dist-hook: 198dist-hook:
193 rm -rf `find $(distdir)/doc -name CVS` 199 rm -rf `find $(distdir)/doc -name CVS`
194 200
195############################################################################# 201#############################################################################
202# ext/
203
204OLDEXT = 00_map_handling.ext cfplus_build.ext clientchk.ext db-scheduler.ext \
205 guildrules.ext map-prefetch.ext schmorp-clientchk.ext schmorp.irc.ext slag_ex.ext
206
207PERL = @PERL@
208
209install-data-local:
210 @$(NORMAL_INSTALL)
211 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/ext
212 for i in $(srcdir)/ext/*.pm $(srcdir)/ext/*.ext; do \
213 $(INSTALL_DATA) "$$i" $(DESTDIR)$(pkgdatadir)/ext; \
214 done
215 (cd $(DESTDIR)$(pkgdatadir)/ext/ && rm -f $(OLDEXT))
216
217# Uninstall unchanged config/var files so make distcheck is happy
218# but leave changed file, so no configuration/game state is lost
219uninstall-local:
220 -cd $(srcdir)/ext && \
221 for i in *.pm *.ext; do \
222 rm -f $(DESTDIR)$(pkgdatadir)/ext/"$$i"; \
223 done
224
225#############################################################################
226# include/
227
228noinst_HEADERS = \
229 include/devel.h include/libproto.h include/sounds.h include/attack.h \
230 include/Makefile.in include/config.h include/living.h include/player.h include/slotinc.h \
231 include/define.h include/race.h include/material.h include/spells.h include/rproto.h \
232 include/face.h include/logger.h include/sproto.h include/region.h include/rmg.h \
233 include/artifact.h include/map.h include/recipe.h include/treasure.h include/noise.h \
234 include/global.h include/client.h include/path.h include/shstr.h include/tod.h \
235 include/god.h include/network.h include/crc.h include/shstrinc.h include/layout.h \
236 include/book.h include/includes.h include/object.h include/skills.h include/sockproto.h \
237 include/cfperl.h include/eventinc.h include/attackinc.h include/compiler.h include/rng.h \
238 include/kw_hash.h include/keyword.h include/traits.h include/dynbuf.h include/util.h \
239 include/skillinc.h include/callback.h include/evthread.h include/freezethaw.h include/quadland.h
240
241BUILT_SOURCES = include/eventinc.h include/keyword.h include/kw_hash.h
242
243include/eventinc.h: pod/events.pod include/event2inc
244 $(PERL) $(srcdir)/include/event2inc $< >$@
245
246include/keyword.h: include/genkeywords
247 $(PERL) $(srcdir)/include/genkeywords GPERF '$(GPERF)'
248
249include/kw_hash.h: include/keyword.h
250
251
252#############################################################################
196 253
197tags: ctags 254tags: ctags
198 255

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines