1 | # |
1 | # Copyright (C) 2007 Marc Alexander Lehmann |
2 | # Makefile for crossfire 0.95.0 and beyond |
|
|
3 | # |
|
|
4 | # This file will eventually be replaced by a configure script. But for |
|
|
5 | # now, this simple makefile should do the job. |
|
|
6 | # |
|
|
7 | # Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
2 | # Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
8 | # Copyright (C) 1992 Frank Tore Johansen |
3 | # Copyright (C) 1992 Frank Tore Johansen |
9 | # |
4 | # |
10 | # This program is free software; you can redistribute it and/or modify |
5 | # This program is free software; you can redistribute it and/or modify |
11 | # it under the terms of the GNU General Public License as published by |
6 | # it under the terms of the GNU General Public License as published by |
… | |
… | |
19 | # |
14 | # |
20 | # You should have received a copy of the GNU General Public License |
15 | # You should have received a copy of the GNU General Public License |
21 | # along with this program; if not, write to the Free Software |
16 | # along with this program; if not, write to the Free Software |
22 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | # |
18 | # |
24 | # The authors can be reached via e-mail to crossfire-devel@real-time.com |
19 | # The authors can be reached via e-mail to crossfire@schmorp.de |
25 | |
20 | |
|
|
21 | pkgstatedir = @pkgstatedir@ |
|
|
22 | |
|
|
23 | MKDIR=mkdir |
|
|
24 | |
|
|
25 | WIZHELPFILES = helpfiles/abil helpfiles/addexp helpfiles/arrest helpfiles/banish helpfiles/create helpfiles/debug helpfiles/dump helpfiles/dumpallarchtypes helpfiles/dumpallmaps helpfiles/dumpallobjects helpfiles/dumpbelow helpfiles/dumpfriendlyobjects helpfiles/forget_spell helpfiles/free helpfiles/goto helpfiles/hide helpfiles/insert_into helpfiles/invisible helpfiles/kick helpfiles/learn_special_prayer helpfiles/learn_spell helpfiles/mon_aggr helpfiles/nodm helpfiles/nowiz helpfiles/overlay_save helpfiles/patch helpfiles/perl-reload helpfiles/plugin helpfiles/pluglist helpfiles/plugout helpfiles/possess helpfiles/printlos helpfiles/remove helpfiles/reset helpfiles/server_speed helpfiles/set_god helpfiles/shutdown helpfiles/spellreset helpfiles/ssdumptable helpfiles/stats helpfiles/style_info helpfiles/summon helpfiles/teleport helpfiles/toggle_shout helpfiles/wizcast helpfiles/wizlook helpfiles/wizpass |
|
|
26 | HELPFILES = helpfiles/accept-invitation helpfiles/afk helpfiles/apply helpfiles/applymode helpfiles/body helpfiles/bowmode helpfiles/brace helpfiles/cast helpfiles/chat helpfiles/drop helpfiles/dropall helpfiles/examine helpfiles/follow helpfiles/get helpfiles/golem helpfiles/gsay helpfiles/help helpfiles/hiscore helpfiles/ignore helpfiles/inventory helpfiles/invite helpfiles/invoke helpfiles/keys helpfiles/killpets helpfiles/listen helpfiles/logs helpfiles/mapinfo helpfiles/maps helpfiles/mark helpfiles/melee helpfiles/mode helpfiles/motd helpfiles/mouse helpfiles/move helpfiles/output-count helpfiles/output-sync helpfiles/party helpfiles/peaceful helpfiles/petmode helpfiles/pickup helpfiles/prepare helpfiles/quests helpfiles/quit helpfiles/range helpfiles/ready_skill helpfiles/rename helpfiles/reply helpfiles/resistances helpfiles/rotateshoottype helpfiles/save helpfiles/say helpfiles/search-items helpfiles/seen helpfiles/shout helpfiles/showpets helpfiles/skills helpfiles/sort_inventory helpfiles/sound helpfiles/statistics helpfiles/suicide helpfiles/take helpfiles/tell helpfiles/throw helpfiles/time helpfiles/title helpfiles/traps helpfiles/unignore helpfiles/usekeys helpfiles/use_skill helpfiles/version helpfiles/weather helpfiles/whereabouts helpfiles/whereami helpfiles/who helpfiles/wimpy helpfiles/output-rate |
|
|
27 | |
26 | helpdir = $(pkgdatadir)/help |
28 | helpdir=$(pkgdatadir)/help |
27 | dist_help_DATA = help/accept-invitation help/afk help/apply help/applymode \ |
29 | dist_help_DATA = $(HELPFILES) |
28 | help/body help/bowmode help/brace help/cast help/chat \ |
30 | |
29 | help/drop help/dropall help/examine help/follow help/get \ |
31 | wizhelpdir=$(pkgdatadir)/wizhelp |
30 | help/golem help/gsay help/help help/hiscore help/ignore \ |
32 | dist_wizhelp_DATA = $(WIZHELPFILES) |
31 | help/inventory help/invite help/invoke help/keys \ |
33 | |
32 | help/killpets help/listen help/logs help/mapinfo help/maps \ |
34 | poddir=$(pkgdatadir)/pod |
33 | help/mark help/melee help/mode help/motd help/mouse help/move \ |
35 | dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod generic_help.pod |
34 | help/output-count help/output-sync help/party help/peaceful \ |
36 | |
35 | help/petmode help/pickup help/prepare help/quests help/quit \ |
37 | dist_noinst_SCRIPTS = genhelp.pl |
36 | help/range help/ready_skill help/rename help/reply \ |
38 | dist_noinst_DATA = events.pod |
37 | help/resistances help/rotateshoottype help/save help/say \ |
39 | |
38 | help/search-items help/seen help/shout help/showpets \ |
40 | CLEANFILES = $(HELPFILES) $(WIZHELPFILES) |
39 | help/skills help/sort_inventory help/sound help/statistics \ |
|
|
40 | help/suicide help/take help/tell help/throw help/time \ |
|
|
41 | help/title help/traps help/unignore help/usekeys \ |
|
|
42 | help/use_skill help/version help/weather help/whereabouts \ |
|
|
43 | help/whereami help/who help/wimpy |
|
|
44 | |
41 | |
45 | PERL = @PERL@ |
42 | PERL = @PERL@ |
46 | |
43 | |
47 | help: |
44 | help: command_help.pod genhelp.pl |
48 | $(PERL) helpgen.pl command_help.pod |
45 | $(MKDIR) -p helpfiles |
|
|
46 | $(PERL) $(srcdir)/genhelp.pl $(srcdir)/command_help.pod helpfiles |
|
|
47 | |
|
|
48 | wizhelp: dmcommand_help.pod genhelp.pl |
|
|
49 | $(MKDIR) -p helpfiles |
|
|
50 | $(PERL) $(srcdir)/genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles |
|
|
51 | |
|
|
52 | all: $(WIZHELPFILES) $(HELPFILES) |
|
|
53 | |
|
|
54 | $(WIZHELPFILES): wizhelp |
|
|
55 | |
|
|
56 | $(HELPFILES): help |
|
|
57 | |