v0_6rc1, part2
128
MANUAL.german
Normal file
|
@ -0,0 +1,128 @@
|
|||
Steuerung
|
||||
|
||||
* Cursortasten: Scrollen
|
||||
* Linksklick: Einheit wählen/bewegen
|
||||
* Rechtsklick: Hauptmenü, Aktion abbrechen
|
||||
* Mittelklick: Auf Cursorposition zentrieren
|
||||
* Esc: Spiel verlassen, Menü verlassen
|
||||
* z: hineinzoomen
|
||||
* x: herauszoomen
|
||||
* c: Zoom auf Standardgröße
|
||||
* u: Letzten Zug rückgängig machen (nur deterministische Züge können zurückgenommen werden)
|
||||
* r: Zug wiederherstellen
|
||||
* n: nächste Einheit, die noch bewegt werden kann, auswählen
|
||||
* 1-7: Zeigen, wie weit die gewählte Einheit in sovielen Zügen bewegt werden kann
|
||||
* space: Zug der Einheit beenden und nächste Einheit auswählen, die noch bewegt werden kann
|
||||
* l: Zum Anführer bewegen
|
||||
* ctrl-f: Umschalten zwischen Vollbild und Fenstermodus
|
||||
* ctrl-r: Einheit ausbilden
|
||||
* ctrl-shift-r: Letzte Einheiten-Ausbildung wiederholen
|
||||
* ctrl-c: Einheit einberufen
|
||||
* ctrl-a: Beschleunigten Spiel-Modus ein/ausschalten
|
||||
* d: Gewählte Einheit beschreiben
|
||||
* ctrl-d: Verteidigungswerte der gewählten Einheit anzeigen
|
||||
* ctrl-t: Geländeeinfluss auf die gewählte Einheit anzeigen
|
||||
* ctrl-s: Spiel speichern
|
||||
|
||||
|
||||
Sphären
|
||||
|
||||
An der Spitze des Energiebalkens neben jeder Einheit befindet sich eine Sphäre. Diese Sphäre ist:
|
||||
|
||||
* grün, wenn du die Einheit steuerst und sie in dieser Runde noch nicht bewegt wurde
|
||||
* gelb, wenn du die Einheit steuerst und sie in dieser Runde bereits bewegt wurde, aber noch weiter bewegt werden könnte
|
||||
* rot, wenn du die Einheit steuerst, sie aber bereits alle Bewegungszüge dieser Runde aufgebraucht hat
|
||||
* blau, wenn die Einheit ein Verbündeter ist, den du nicht steuern kannst
|
||||
|
||||
Feindliche Einheiten haben keine Sphären auf ihrem Energiebalken (in alten Versionen < 0.5.2 war eine schwarze Sphäre auf der Spitze des Energiebalkens feindlicher Einheiten)
|
||||
|
||||
|
||||
Beschreibung
|
||||
|
||||
Dieses Spiel findet auf einer Reihe von Schlachtfeldern, Szenarios genannt, statt. In jedem Szenario kämpfen deine Truppen gegen die Truppen des Gegners. Jede Seite beginnt mit einem Anführer in ihrem Burgfried.
|
||||
|
||||
|
||||
Gold
|
||||
|
||||
Jede Seite startet mit einer bestimmten Menge Gold, und erhält zwei Goldstücke pro Zug, sowie ein weiteres Goldstück für jedes Dorf, das unter ihrer Kontrolle steht.
|
||||
|
||||
Jede Einheit verursacht Erhaltungskosten. Die Erhaltungskosten entsprechen im Allgemeinen der Stufe der Einheit (ausgenommen loyale Truppen, siehe unten). Einheiten, die nicht ausgebildet oder einberufen werden - d.h. die sich freiwillig einer Seite anschliessen - verursachen keine Erhaltungskosten. Erhaltungskosten werden nur bezahlt, wenn die Summe der Erhaltungskosten größer ist als die Anzahl der kontrollierten Dörfer. Bezahlt wird die Differenz zwischen der Anzahl der Dürfer und den Erhaltungskosten.
|
||||
|
||||
Daher ist die Formel für das Einkommen per Runde:
|
||||
|
||||
2 + Dörfer - Maximum(0,Erhaltungskosten - Dörfer)
|
||||
|
||||
wobei Erhaltungskosten die Summe der Stufen aller ausgebildeten und einberufenen Einheiten ist.
|
||||
|
||||
|
||||
Ausbilden and Einberufen
|
||||
|
||||
Einheiten können zu einem bestimmten Preis ausgebildet werden, sofern der Anführer im Burgfried steht und noch ein Feld in der Burg frei ist. Das Ausbilden geschieht durch Rechtsklick und die Auswahl von 'Ausbilden'.
|
||||
|
||||
Wenn ein Szenario durchgespielt wurde, stehen alle überlebenden Einheiten im nächsten Szenario zur Verfügung. Durch Rechtsklick und die Auswahl von 'Einberufen' können Einheiten aus früheren Szenarios reaktiviert werden. Das Einberufen kostet 20 Goldstücke.
|
||||
|
||||
Du kannst ein freies Feld der Burg markieren und danach eine Einheit rekrutieren; auf diese Weise wählst du das Feld, in dem die Einheit erscheint. Das funktioniert sowohl beim Ausbilden als auch beim Einberufen.
|
||||
|
||||
Eine gerade ausgebildete oder einberufene Einheit kann in der gleichen Runde nicht bewegt werden.
|
||||
|
||||
|
||||
Besondere Eigenschaften der Einheiten
|
||||
|
||||
Die besonderen Eigenschaften der Einheiten können mit dem Menüpunkt 'Einheitenbeschreibung' eingesehen werden.
|
||||
|
||||
|
||||
Merkmale
|
||||
|
||||
Einheiten haben Merkmale, die Aspekte ihres Charakters reflektieren. Die Merkmale werden bei der Erschaffung der Einheiten zufällig vergeben. Jede Einheit erhält zwei Merkmale. Folgende Merkmale sind möglich:
|
||||
|
||||
Loyal: Die Erhaltungskosten der Einheit sind niemals höher als 1.
|
||||
Stark: Die Einheit verursacht mehr Schaden im Nahkampf und hat etwas mehr Lebenspunkte.
|
||||
Schnell: Die Einheit hat einen zusätzlichen Bewegungspunkt, dafür etwas weniger Lebenspunkte.
|
||||
Unverwüstlich: Die Einheit hat mehr Lebenspunkte.
|
||||
Intelligent: Die Einheit braucht weniger Erfahrungspunkte, um im Rang aufzusteigen.
|
||||
|
||||
|
||||
Bewegung
|
||||
|
||||
Wenn eine Einheit durch Mausklick gewählt wird, werden alle Felder beleuchtet, die sie in dieser Runde erreichen kann, während die anderen Felder grau gefärbt werden. Du kannst dann auf das Feld klicken, wohin sich die Einheit bewegen soll. Wenn eine Einheit auf ein Dorf bewegt wird, das neutral ist oder vom Gegner kontrolliert wird, dann übernimmst du die Kontrolle über das Dorf. Wird ein Ziel markiert, das außerhalb des in dieser Runde erreichbaren Gebietes liegt, dann wird sich diese Einheit zu Beginn der nächsten Runde(n) selbständig dorthin begeben. Du kannst Bewegungen einfach am Anfang der Runde zurücknehmen. Die selbständige Bewegung wird unterbrochen, in dem du die Einheit markierst und ein neues Ziel vorgibst.
|
||||
|
||||
Du kannst dich nicht durch die sechs Felder um einen Feind herum (das Gebiet unter seiner Kontrolle) bewegen, ohne die Bewegung zu unterbrechen.
|
||||
|
||||
|
||||
Kampf
|
||||
|
||||
Wenn du deine Einheit neben eine feindliche Einheit bewegst, kannst du diese angreifen. Klicke auf die eigene Einheit, die neben dem Feind steht, und dann auf die feindliche Einheit, die angegriffen werden soll. Jede Einheit hat eine oder mehrere Waffen, mit denen sie angreifen kann. Manche Waffen, wie z.B. Schwerter, sind Nahkampfwaffen, während andere Waffen, wie z.B. Bögen, Fernkampfwaffen sind.
|
||||
|
||||
Wenn du einen Feind mit einer Nahkampfwaffe attakierst, wird er mit seiner Nahkampfwaffe zurückschlagen. Attakierst du mit einer Fernkampfwaffe, wird er mit einer Fernkampfwaffe zurückschlagen, sofern er eine hat.
|
||||
|
||||
Verschiedene Angriffsarten verursachen unterschiedlich viel Schaden, und es kann mit jeder Waffe eine bestimmte Anzahl von Schlägen ausgeteilt werden. Zum Beispiel verursacht ein Kampfelf 5 Schaden bei jedem Treffer, und er kann bei jedem Kampf 4 mal zuschlagen. Dies wird allgemein als 5-4 geschrieben.
|
||||
|
||||
Die Wahrscheinlichkeit einer Einheit, getroffen zu werden, ist vom Gelände abhängig. Einheiten in Dörfern und Burgen haben eine geringere Wahrscheinlichkeit, getroffen zu werden. Elfen in Wäldern werden ebenfalls nicht so leicht getroffen.
|
||||
|
||||
|
||||
Ausrichtung
|
||||
|
||||
Jede Einheit hat eine Ausrichtung: rechtschaffen, neutral oder chaotisch. Diese Ausrichtung bestimmt, wie gut die Einheit zu bestimmten Tageszeiten kämpft. Die folgende Tabelle illustriert die verschiedenen Tageszeiten:
|
||||
|
||||
| Zug | Tageszeit |
|
||||
---------------------
|
||||
| 1 | Morgen |
|
||||
| 2 | Tag |
|
||||
| 3 | Tag |
|
||||
| 4 | Abend |
|
||||
| 5 | Nacht |
|
||||
| 6 | Nacht |
|
||||
|
||||
Rechtschaffene Einheiten verursachen am Tag 25% mehr Schaden bei Tag, und 25% weniger Schaden bei Nacht. Chaotische Einheiten verursachen 25% mehr Schaden bei Nacht, und 25% weniger Schaden bei Tag. Neutrale Einheiten werden von der Tageszeit nicht beeinflusst.
|
||||
|
||||
|
||||
Heilung
|
||||
|
||||
Verwundete Einheiten in Dörfern erholen sich pro Runde um 8 Lebenspunkte. Verwundete Einheiten, die neben Einheiten stehen, die über eine der Fähigkeiten "Heilung" oder "Behandlung" verfügt, werden ebenfalls geheilt. Einheiten neben einer Einheit mit der Fähigkeit "Heilung" werden um maximal 4 Lebenspunkte pro Runde geheilt, Einheiten neben einer Einheit mit der Fähigkeit "Behandlung" werden um maximal 8 Lebenspunkte pro Runde geheilt. Allerdings nimmt die Heilwirkung pro Einheit ab, je mehr Einheiten um eine Einheit mit Heilfähigkeiten herumstehen.
|
||||
|
||||
'Heilung' verhindert die schädliche Wirkung einer Vergiftung, durch 'Behandlung' wird die Vergiftung aufgehoben. Wenn eine Vergiftung behandelt wird, erhält die Einheit in dieser Runde keine Lebenspunkte.
|
||||
|
||||
|
||||
Erfahrung
|
||||
|
||||
Einheiten werden durch Kämpfe erfahrener, und sobald sie genug Erfahrungspunkte gesammelt haben, steigen sie eine Stufe im Rang, und werden dadurch stärker.
|
6
Makefile.am
Normal file
|
@ -0,0 +1,6 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
SUBDIRS = src
|
||||
|
||||
dist_noinst_DATA = @MANUAL_FILES@ copyright changelog @UTIL_FILES@
|
||||
nobase_dist_pkgdata_DATA = @DATA_FILES@ @FONT_FILES@ @IMAGE_FILES@ @MUSIC_FILES@ @SOUND_FILES@
|
||||
dist_man6_MANS = doc/man/wesnoth.6 doc/man/wesnothd.6
|
618
Makefile.in
Normal file
|
@ -0,0 +1,618 @@
|
|||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATA_FILES = @DATA_FILES@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EDITOR_FALSE = @EDITOR_FALSE@
|
||||
EDITOR_TRUE = @EDITOR_TRUE@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FONT_FILES = @FONT_FILES@
|
||||
IMAGE_FILES = @IMAGE_FILES@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANUAL_FILES = @MANUAL_FILES@
|
||||
MUSIC_FILES = @MUSIC_FILES@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
|
||||
SDL_NET_LIBS = @SDL_NET_LIBS@
|
||||
SDL_TTF_LIBS = @SDL_TTF_LIBS@
|
||||
SERVER_FALSE = @SERVER_FALSE@
|
||||
SERVER_TRUE = @SERVER_TRUE@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SOUND_FILES = @SOUND_FILES@
|
||||
STRIP = @STRIP@
|
||||
TOOLS_FALSE = @TOOLS_FALSE@
|
||||
TOOLS_TRUE = @TOOLS_TRUE@
|
||||
UTIL_FILES = @UTIL_FILES@
|
||||
VERSION = @VERSION@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_STRIP = @ac_ct_STRIP@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
oldincludedir = @oldincludedir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
SUBDIRS = src
|
||||
|
||||
dist_noinst_DATA = @MANUAL_FILES@ copyright changelog @UTIL_FILES@
|
||||
nobase_dist_pkgdata_DATA = @DATA_FILES@ @FONT_FILES@ @IMAGE_FILES@ @MUSIC_FILES@ @SOUND_FILES@
|
||||
dist_man6_MANS = doc/man/wesnoth.6 doc/man/wesnothd.6
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
|
||||
NROFF = nroff
|
||||
MANS = $(dist_man6_MANS)
|
||||
DATA = $(dist_noinst_DATA) $(nobase_dist_pkgdata_DATA)
|
||||
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
||||
ps-recursive install-info-recursive uninstall-info-recursive \
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive
|
||||
DIST_COMMON = README $(dist_man6_MANS) $(dist_noinst_DATA) \
|
||||
$(nobase_dist_pkgdata_DATA) $(srcdir)/Makefile.in \
|
||||
$(srcdir)/configure COPYING INSTALL Makefile.am aclocal.m4 \
|
||||
config.h.in configure configure.ac depcomp install-sh missing \
|
||||
mkinstalldirs
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
||||
|
||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
$(ACLOCAL_M4): configure.ac
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
|
||||
$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
touch $(srcdir)/config.h.in
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
uninstall-info-am:
|
||||
|
||||
man6dir = $(mandir)/man6
|
||||
install-man6: $(man6_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(man6dir)
|
||||
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.6*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
6*) ;; \
|
||||
*) ext='6' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \
|
||||
done
|
||||
uninstall-man6:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.6*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
6*) ;; \
|
||||
*) ext='6' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f $(DESTDIR)$(man6dir)/$$inst"; \
|
||||
rm -f $(DESTDIR)$(man6dir)/$$inst; \
|
||||
done
|
||||
nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA)
|
||||
install-nobase_dist_pkgdataDATA: $(nobase_dist_pkgdata_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
@list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f="$$p"; \
|
||||
echo " $(nobase_dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
$(nobase_dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
uninstall-nobase_dist_pkgdataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \
|
||||
f="$$p"; \
|
||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ETAGS = etags
|
||||
ETAGSFLAGS =
|
||||
|
||||
CTAGS = ctags
|
||||
CTAGSFLAGS =
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if (etags --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = .
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
$(mkinstalldirs) $(distdir)/doc/man
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" \
|
||||
distdir=../$(distdir)/$$subdir \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
$(am__remove_distdir)
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||
&& rm -f $(distdir).tar.gz \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||
sed 'h;s/./=/g;p;x;p;x'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(MANS) $(DATA) config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(man6dir) $(DESTDIR)$(pkgdatadir)
|
||||
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-man install-nobase_dist_pkgdataDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man: install-man6
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-man \
|
||||
uninstall-nobase_dist_pkgdataDATA
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
uninstall-man: uninstall-man6
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
|
||||
clean-generic clean-recursive ctags ctags-recursive dist \
|
||||
dist-all dist-gzip distcheck distclean distclean-generic \
|
||||
distclean-hdr distclean-recursive distclean-tags distcleancheck \
|
||||
distdir distuninstallcheck dvi dvi-am dvi-recursive info \
|
||||
info-am info-recursive install install-am install-data \
|
||||
install-data-am install-data-recursive install-exec \
|
||||
install-exec-am install-exec-recursive install-info \
|
||||
install-info-am install-info-recursive install-man install-man6 \
|
||||
install-nobase_dist_pkgdataDATA install-recursive install-strip \
|
||||
installcheck installcheck-am installdirs installdirs-am \
|
||||
installdirs-recursive maintainer-clean maintainer-clean-generic \
|
||||
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||
mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
|
||||
ps-recursive tags tags-recursive uninstall uninstall-am \
|
||||
uninstall-info-am uninstall-info-recursive uninstall-man \
|
||||
uninstall-man6 uninstall-nobase_dist_pkgdataDATA \
|
||||
uninstall-recursive
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
835
aclocal.m4
vendored
Normal file
|
@ -0,0 +1,835 @@
|
|||
# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
||||
# Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# This macro actually does too much some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 10
|
||||
|
||||
AC_PREREQ([2.54])
|
||||
|
||||
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
||||
# the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_MISSING_PROG(AMTAR, tar)
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$1 | $1:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright 2002 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.7.9])])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# -*- Autoconf -*-
|
||||
|
||||
|
||||
# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# AM_AUX_DIR_EXPAND
|
||||
|
||||
# Copyright 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
# Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
|
||||
# Copyright 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
|
||||
# Copyright 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# -*- Autoconf -*-
|
||||
# Copyright (C) 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 1
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# serial 5 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
: > sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
case $depmode in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this.
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored.
|
||||
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking Speeds up one-time builds
|
||||
--enable-dependency-tracking Do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
#serial 2
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[for mf in $CONFIG_FILES; do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
|
||||
# Extract the definition of DEP_FILES from the Makefile without
|
||||
# running `make'.
|
||||
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
||||
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
||||
# We invoke sed twice because it is the simplest approach to
|
||||
# changing $(DEPDIR) to its actual value in the expansion.
|
||||
for file in `sed -n -e '
|
||||
/^DEP_FILES = .*\\\\$/ {
|
||||
s/^DEP_FILES = //
|
||||
:loop
|
||||
s/\\\\$//
|
||||
p
|
||||
n
|
||||
/\\\\$/ b loop
|
||||
p
|
||||
}
|
||||
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 2
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo done
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# serial 5
|
||||
|
||||
AC_PREREQ(2.52)
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])
|
||||
AC_SUBST([$1_FALSE])
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.])
|
||||
fi])])
|
||||
|
195
config.h.in
Normal file
|
@ -0,0 +1,195 @@
|
|||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <dirent.h>
|
||||
header file, and it defines `DIR'. */
|
||||
#undef HAVE_DIRENT_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the `floor'
|
||||
function. */
|
||||
#undef HAVE_FLOOR
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <inttypes.h>
|
||||
header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the `SDL'
|
||||
library (-lSDL). */
|
||||
#undef HAVE_LIBSDL
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <memory.h>
|
||||
header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <ndir.h>
|
||||
header file, and it defines `DIR'. */
|
||||
#undef HAVE_NDIR_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <SDL_image.h>
|
||||
header file. */
|
||||
#undef HAVE_SDL_IMAGE_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <SDL_mixer.h>
|
||||
header file. */
|
||||
#undef HAVE_SDL_MIXER_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <SDL_net.h>
|
||||
header file. */
|
||||
#undef HAVE_SDL_NET_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <SDL_ttf.h>
|
||||
header file. */
|
||||
#undef HAVE_SDL_TTF_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the `socket'
|
||||
function. */
|
||||
#undef HAVE_SOCKET
|
||||
|
||||
/*
|
||||
Define to 1 if `stat' has the bug
|
||||
that it succeeds when given the zero-length file name
|
||||
argument. */
|
||||
#undef HAVE_STAT_EMPTY_STRING_BUG
|
||||
|
||||
/*
|
||||
Define to 1 if stdbool.h conforms to C99.
|
||||
*/
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <stdint.h>
|
||||
header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <stdlib.h>
|
||||
header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the `strftime'
|
||||
function. */
|
||||
#undef HAVE_STRFTIME
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <strings.h>
|
||||
header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <string.h>
|
||||
header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the `strtoul'
|
||||
function. */
|
||||
#undef HAVE_STRTOUL
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <sys/dir.h>
|
||||
header file, and it defines `DIR'. */
|
||||
#undef HAVE_SYS_DIR_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <sys/ndir.h>
|
||||
header file, and it defines `DIR'. */
|
||||
#undef HAVE_SYS_NDIR_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <sys/stat.h>
|
||||
header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <sys/types.h>
|
||||
header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/*
|
||||
Define to 1 if you have the <unistd.h>
|
||||
header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/*
|
||||
Define to 1 if the system has the
|
||||
type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/*
|
||||
Define to 1 if `lstat' dereferences a symlink
|
||||
specified with a trailing slash. */
|
||||
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
||||
|
||||
/*
|
||||
Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/*
|
||||
Define to the address where bug reports for
|
||||
this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/*
|
||||
Define to the full name of this package.
|
||||
*/
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/*
|
||||
Define to the full name and version of
|
||||
this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/*
|
||||
Define to the one symbol short name of
|
||||
this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/*
|
||||
Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/*
|
||||
Define to 1 if you have the ANSI
|
||||
C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/*
|
||||
Define to 1 if your <sys/time.h> declares `struct
|
||||
tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/*
|
||||
Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/*
|
||||
Define to empty if `const' does not conform
|
||||
to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/*
|
||||
Define to `int' if <sys/types.h> does not define.
|
||||
*/
|
||||
#undef mode_t
|
||||
|
||||
/*
|
||||
Define to `unsigned' if <sys/types.h> does not define.
|
||||
*/
|
||||
#undef size_t
|
146
configure.ac
Normal file
|
@ -0,0 +1,146 @@
|
|||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT(wesnoth, 0.5, davidnwhite@optusnet.com.au, Battle for Wesnoth)
|
||||
|
||||
AC_REVISION($Version: 0.5$)
|
||||
PACKAGE=wesnoth
|
||||
MAJOR_VERSION="0"
|
||||
MINOR_VERSION="6RC1"
|
||||
MICRO_VERSION=""
|
||||
|
||||
if test "x$MICRO_VERSION" = "x"; then
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION
|
||||
else
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
|
||||
fi
|
||||
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
||||
AC_CONFIG_SRCDIR([src/actions.cpp])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
|
||||
# Checks for programs.
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
|
||||
AC_PATH_PROGS(SDL_CONFIG, [sdl-config sdl11-config], none)
|
||||
|
||||
if test "x$SDL_CONFIG" = "xnone"; then
|
||||
|
||||
AC_MSG_ERROR([*** SDL not found! Get SDL from www.libsdl.org.
|
||||
If you already installed it, check it's in the path. If problem remains,
|
||||
please send a mail to the address that appears in ./configure --version
|
||||
indicating your platform, the version of configure script and the problem.])
|
||||
|
||||
fi
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
SDL_LIBS=`$SDL_CONFIG --libs`
|
||||
OLD_LIBS=$LIBS
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
AC_CHECK_LIB([SDL], [SDL_Init])
|
||||
AC_CHECK_LIB([SDL_image], [IMG_Load], SDL_IMAGE_LIBS=-lSDL_image)
|
||||
AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio], SDL_MIXER_LIBS=-lSDL_mixer)
|
||||
AC_CHECK_LIB([SDL_net], [SDLNet_Init], SDL_NET_LIBS=-lSDL_net)
|
||||
AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont], SDL_TTF_LIBS=-lSDL_ttf)
|
||||
LIBS=$OLD_LIBS
|
||||
|
||||
echo "$SDL_LIBS"
|
||||
AC_SUBST([SDL_LIBS])
|
||||
AC_SUBST([SDL_IMAGE_LIBS])
|
||||
AC_SUBST([SDL_MIXER_LIBS])
|
||||
AC_SUBST([SDL_NET_LIBS])
|
||||
AC_SUBST([SDL_TTF_LIBS])
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
|
||||
OLD_CPPFLAGS=$CPPFLAGS
|
||||
OLD_CXXFLAGS=$CXXFLAGS
|
||||
|
||||
SDL_CFLAGS=`$SDL_CONFIG --cflags`
|
||||
CPPFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
CXXFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
|
||||
AC_CHECK_HEADERS([stdlib.h unistd.h SDL_image.h SDL_mixer.h SDL_net.h SDL_ttf.h])
|
||||
|
||||
CPPFLAGS=$OLD_CPPFLAGS
|
||||
CXXFLAGS=$OLD_CXXFLAGS
|
||||
|
||||
AC_SUBST([SDL_CFLAGS])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_TYPE_MODE_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_STRUCT_TM
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_ERROR_AT_LINE
|
||||
AC_FUNC_STAT
|
||||
AC_FUNC_STRFTIME
|
||||
AC_CHECK_FUNCS([floor socket strtoul])
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --debug Enable debug in wesnoth],
|
||||
CXXFLAGS="$CXXFLAGS -DDEBUG -ggdb3")
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug Enable debug in wesnoth],
|
||||
CXXFLAGS="$CXXFLAGS -DDEBUG -ggdb3")
|
||||
|
||||
# Default behaviour
|
||||
server=no
|
||||
editor=no
|
||||
tools=no
|
||||
|
||||
AC_ARG_ENABLE(server,
|
||||
[ --enable-server Enable compilation of server],
|
||||
server=yes)
|
||||
|
||||
AC_ARG_ENABLE(editor,
|
||||
[ --enable-editor Enable compilation editor],
|
||||
editor=yes)
|
||||
|
||||
AC_ARG_ENABLE(tools,
|
||||
[ --enable-tools Enable compilation of translation tools],
|
||||
tools=yes)
|
||||
|
||||
AM_CONDITIONAL(SERVER, test x$server = xyes)
|
||||
AM_CONDITIONAL(EDITOR, test x$editor = xyes)
|
||||
AM_CONDITIONAL(TOOLS, test x$tools = xyes)
|
||||
|
||||
MANUAL_FILES=`ls MANUAL*`
|
||||
MANUAL_FILES=`echo $MANUAL_FILES`
|
||||
DATA_FILES=`find data -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
DATA_FILES=`echo $DATA_FILES`
|
||||
FONT_FILES=`find fonts -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
FONT_FILES=`echo $FONT_FILES`
|
||||
IMAGE_FILES=`find images -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
IMAGE_FILES=`echo $IMAGE_FILES`
|
||||
MUSIC_FILES=`find music -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
MUSIC_FILES=`echo $MUSIC_FILES`
|
||||
SOUND_FILES=`find sounds -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
SOUND_FILES=`echo $SOUND_FILES`
|
||||
UTIL_FILES=`find utils -name CVS -prune -o -name ".cvs*" -o -name ".#*" -o -type d -o -print`
|
||||
UTIL_FILES=`echo $UTIL_FILES`
|
||||
|
||||
AC_SUBST([MANUAL_FILES])
|
||||
AC_SUBST([DATA_FILES])
|
||||
AC_SUBST([FONT_FILES])
|
||||
AC_SUBST([IMAGE_FILES])
|
||||
AC_SUBST([MUSIC_FILES])
|
||||
AC_SUBST([SOUND_FILES])
|
||||
AC_SUBST([UTIL_FILES])
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
src/Makefile
|
||||
src/server/Makefile
|
||||
src/tools/Makefile])
|
||||
|
||||
AC_OUTPUT
|
45
data/maps/LiberationMap.dat
Normal file
|
@ -0,0 +1,45 @@
|
|||
gghhhhhmmmhmmmmmhmhhmmmmmmmmm
|
||||
ghhhhhhmgmhmmmmmhhhgggmC1Crrm
|
||||
ghhmmhhmgghmhmhmmtmgfgCCCCCgm
|
||||
gmmmmmhhgmhhgrghmmmgfgggmgmgm
|
||||
mgmmmmmmmmmhgrghmmggfggggmmgm
|
||||
mgggmgmggmmmgrgmmggggffgggggm
|
||||
ggghgggggggmhrhmmgggfgfgtgggg
|
||||
mmhhhtgmmggmCrCmhggggfgfggggg
|
||||
mmmhhgmgmmgghrhhhgggggffggggt
|
||||
mmmmhggmgggggrthhggggfgggfggg
|
||||
ggmggggmgcccggghhggggftggffgg
|
||||
Cgghhgfmmmssccghhtggggggggfgg
|
||||
CCChhhggmmssscgCCggggggggfffg
|
||||
4CCghggggmmcchggCgggggggggfgf
|
||||
CCCgggggggmhhhgggghhggggggggg
|
||||
ghgggggfthmhhgrhgghgggtggffgg
|
||||
ghhggggghghhhgrghgghggggggffg
|
||||
gghgggggggfhhggggghhghgfffffg
|
||||
ggghhhgggfffhgggggggggfffmmhg
|
||||
gggghgggffffCCgCCggggggmmghhC
|
||||
ggggggggffffChggCgggggggftgC2
|
||||
ggfgfgfggfffgggggggggtggffgCC
|
||||
ggggftfgggfgggggggggggggffggf
|
||||
ffggfgfggfggggrggtggggghfgggf
|
||||
ffffgggfffggggrgggggghhhfgfgf
|
||||
fffgfgtgfCgggggffggghhhhhgfff
|
||||
gggggggggCCggggfffgggggggffff
|
||||
gggggggggggfggrfffggggtggfffg
|
||||
gggggggggfffgrgffffggggggfffg
|
||||
ggtggggggfffgrgffmfggmgggggfg
|
||||
gggggggggfffggggfmmmgmtggggfg
|
||||
ggggggggggfffggghhmmmmggggggg
|
||||
ggghhhggmmffffgghhhhmmmggggmg
|
||||
CCghChgggmfhhfgrgghhhhmmggmmg
|
||||
3Cghhhgggmfffhtgrggghhmmmgmmm
|
||||
CCggggggggmmmhhgggrrghmmmgtmm
|
||||
gfffffgggghmmhhggggrgthmmmhhm
|
||||
fhhhffgggghmmhhgggrggghmmmhhm
|
||||
mmmmmhfggthmmhhggggggghmmhhhm
|
||||
mhmmmmfgghhmmhhhggrrghhmmmhmm
|
||||
mmmmmmmgghmmmmhhgggrgghmmhhmm
|
||||
mmmmhfmmggmmmmhhhhgrgghmmhmmm
|
||||
mmhmffffffmmmmmmhhgrghhmmmhmm
|
||||
mmhhhmfffmmmmmmmhhhrghmmmmhhm
|
||||
mmfhhmffmmmmmmmmmmhrhmmmmmmmm
|
20
data/maps/hasty-alliance
Normal file
|
@ -0,0 +1,20 @@
|
|||
uuWWWWuWuuWWuWWWWWW
|
||||
uWWDWWuWWuWuWuWuWWW
|
||||
uWWWuuWuuuuuuuuuuWW
|
||||
uWWWuuuuuCuuuuuuuWW
|
||||
uWuuuuuuC3CuuuDuuWW
|
||||
WWuuuWWuCCCuuuuuuuW
|
||||
WWuuuWuuuuuuuWWuuuW
|
||||
WWWuWuuWuWWWuWWuuuW
|
||||
WuuDuuWWWWWWuuWuDuW
|
||||
WuuuWuWWWWWWuuWuuuW
|
||||
WuuuWuuuWWWWuWWuuWW
|
||||
WWuWuWuWuuWuuWuuuuW
|
||||
WWuuWWWuWWuuuuuDuuW
|
||||
WWuuuuuuuWWWuuuuuuW
|
||||
WWuuuuuuuuWWuuuuuuW
|
||||
WuuuuuuCuuuuuuuuuWW
|
||||
WuuuuuC1uuuCuuuuuWW
|
||||
WWuuuuCCuuC2CuuuuuW
|
||||
WWuuuuuuuuCWuuuWuuu
|
||||
WWWWWWuuuWWWWWWWWWW
|
30
data/maps/kingatsea
Normal file
|
@ -0,0 +1,30 @@
|
|||
mmmmmmmmmmmmmmmhgggggggggggggfffffffff
|
||||
mmmmmmmmmmmmmrrrhrgggggrggggggggffffff
|
||||
hhhhmhmmmmmrrmmmrhrrgtrgrrggggtgggfftf
|
||||
hhhhhdhhmmmrmmmmmhggrrrgggrrrrgCggffff
|
||||
ddddddddhhmmrtmmhgggrgggtgggggr2Cggfff
|
||||
cccccddddhmmmmmmhggrrggggcgcggggrgggff
|
||||
ccccccddddhhmmmhhrgrgggcccccccggrrgtgg
|
||||
csssccccddddhhhrrgrggcccccccccgggrgggg
|
||||
scssscccdddddggrgtggccccsscsccccggrggg
|
||||
ctcscccccdddgtgrgggccccsssssccccggrggg
|
||||
cccsccccdddgggggrggccccsssssccccggrgtg
|
||||
sssccccggggrgrgrrgccccsssssscccccgrrgg
|
||||
sscccccgtgrgrgrrgcccccccssssscccgtgrgg
|
||||
sssccggggCCCgggc\\cccccccccssccggggrgg
|
||||
sssscgtggC1Cgtgccc\\cccgcccccgggggrggf
|
||||
ssssccggggCggggccccc\ggggggggggggrrfff
|
||||
ssscccccggggggcccccgggtggggfgffrrfffff
|
||||
sssccccccccccccccccggggfffffffrfffffff
|
||||
sccccccccccccsssscgggggfffftffrrfftfff
|
||||
sscsccccccccssssscgtggfffffffffrffffff
|
||||
sssssscscsssssssscggggffffffffffrrffff
|
||||
ssssssssssssssssssccgfftffffftffffrftf
|
||||
scccssssssssssssssssccfffffgfffgffrrff
|
||||
sctcssssssscssssssssssccccfgggggggfrff
|
||||
ssccscssssctcsssssssssssccccgggtgg3Cff
|
||||
sssccCccsscccsssssssssssssccccggggCgfg
|
||||
sscCC4CCcccsssssssscccssssccccccgggggc
|
||||
scccCCCcccccsssccccdcdccscsccccccccccc
|
||||
ctcscccccccccccccdcddtddcccccccccccccc
|
||||
cccssssscccccccddgggggggdccccccccccccc
|
51
data/maps/sceptre
Normal file
|
@ -0,0 +1,51 @@
|
|||
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
|
||||
uWWWWWuWuuuuuuuuuuuuuuuuuuuuuuuuuuuWWWuu
|
||||
uWWuWuWuWWuuuWuWuWWWWWWWWWuWWWWWWWWuWWWW
|
||||
uWuuuCuuuWWWWuWuWuuuuuuuuuWuWuuuuuuuuCWW
|
||||
uWuuC4CuuuuuuuuuuuuuuuuuuuuuuuuuuDuuC5CW
|
||||
uWuuCCCuuuuWuuuuuWuuuuuuuuuWuWuWuuuuCCCW
|
||||
uWWWuuuDWWWWWWWWuWWWuWuWuWWWWuWWWWuuuuuW
|
||||
uuuWuuuWWuuuuuWuWuuuWuWuWuuuuuuuWWuuDuWW
|
||||
uuuWuuuWuuuuuuuuuuuuuuuuuuuuuuuWWuuuuuuW
|
||||
uuuWuuuuWuuuuuuuuuuuuuuuuuuuuuWuuuuuuuuW
|
||||
uuuWuuuuWWuuuuuuuuuuuuuuuuuuuuWWuuuuuuWW
|
||||
uuuWuuDuWWuuuuuuuuuuuuuuuuuuuuuuWWuuuuDW
|
||||
uuWuuuuWWuuuuuuuuuuuuuuuuuuuuuuuuuWDuuuW
|
||||
uuWWuuWuuuuuuuuuuuuuuuuuuWWWWWuuuuWuuuWW
|
||||
uuWWuuWuuuuuuuuuuuuuuuuuuWWuuuWuuuWuuuWW
|
||||
uuuWuDWuuuuuuuuuuuuuuuuWWuuuuuWuuuWuuuuW
|
||||
uuWWuuWWuuuuuuuuuuuuuuuWWuuuuuWWuuWWuuuW
|
||||
uuWuuuuWuuuuuuuuuuuuuWWuuuuuuuWWuuuWuDuW
|
||||
uuWWuuuWuuuuuuuuuuuWWWuuuWuuuuuWuuuWuuWu
|
||||
uuuWuuWWuuuuuuuuuWWuuuuWWWWWuWWuuuuWuuWW
|
||||
uuuWuuWuuuuuuuuuuWWuuuWWWuuuWuWuuuuWuuuW
|
||||
uuWuuuWWuWuuuWuWWuuWuWWuuuuuuuuuuuWuuuuW
|
||||
uWWuuuuuWuWWuWWuuWuuWuWWuuuuuuuuuuWuuuWu
|
||||
WuuCDuuuuuuuWuuWWuWWuuuuWWuuuuuuuWWuuuWu
|
||||
WWC2CuuuuuuuuWWuWuuuWWuuuWuuuuuuuWWuDWWu
|
||||
uWCCCuuDuuuuuuWuuuuuuuWWuuWWuuuWWuuuuWuu
|
||||
uWuuuuuuuuuuuuWuuuuuuuuuWWuWuWWuuuuuuuWu
|
||||
uuWWuuuuuuuuuWWuuuuuuuuWWWuWuWWuuuuuuWWu
|
||||
uuuuWWuuuuuuuWuuuWWWWWWuuuuWWuuuuDuuuWuu
|
||||
uuuuuuWWuuuuWWuuuWuuuuuuuWWWuuuuuuuuuWuu
|
||||
uuuuuuuuWWuWWuuuuWuuuuuuuWuuuuuuuuuuWWuu
|
||||
uuuuuuuuuWuWuWuuuWWuuuuuWWuWDuuuuuuWWuuu
|
||||
uuuuuuuWWuuuWWuuuuWWuuuuWWuWWWWWWWWuuuuu
|
||||
uuuuuWWuuuuuuuWuuuuWuWuuuWuWuWuuuuuuuuuu
|
||||
uuuuuWuDuWuuuWWuuuuuWWWWWuDuWWuuuuuuuuuu
|
||||
uuuuuWuuWWWuuWuuuuuuuuWuuuuuuWuuuWuuuuuu
|
||||
uuuuuuWuWWWuuWuuuuuuuuWuuuuuuuWWWWWWuuuu
|
||||
uuuuuuWuWWWuuWuuuuuuuuWuuuuDuWWuuuuWWWWu
|
||||
uuuuuuWWuuWuuWuuuuuuuuWuuuuuuuuuuuuuuWWu
|
||||
uuuuuuuuWuuuWuuuuuuuuuWWuuuuuuDuuuuCuWWu
|
||||
uuuuuuuuWWDuWWuuuuuuuWWuuWuWuuuuuuC3CWWu
|
||||
uuuuuuuuuWWWuuWWuuuWWuuWWWWWWWuuDuCCCuWu
|
||||
uuuuuuuuuuWWuuuuWWWuuDuWWuuuuuWWuuuuuWWu
|
||||
uuuuuuuuuuuWWuuuuuuuuWWuuuuuuuuuWWuuuWuu
|
||||
uuuuuuuuuuuuWWuuuuuWWuuuuuuuuuuuWuWWWuuu
|
||||
uuuuuuuuuuuuuWuDuuuWuuuuuuuuuuuuuuuuuuuu
|
||||
uuuuuuuuuuuuuuWuuuuWuuuuuuuuuuuuuuuuuuuu
|
||||
uuuuuuuuuuuuuuWWuCuCWuuuuuuuuuuuuuuuuuuu
|
||||
uuuuuuuuuuuuuuuWWCCCWWWuuuuuuuuuuuuuuuuu
|
||||
uuuuuuuuuuuuuuuuWC1CWuuuuuuuuuuuuuuuuuuu
|
||||
6uuuuuuuuuuuuuuuWuCuWuuuuuuuuuuuuuuuuuuu
|
9
data/names.cfg
Normal file
|
@ -0,0 +1,9 @@
|
|||
#define ELVISH_NAMES
|
||||
male_names="Tinarariand,Elándil,Mebrin,Tinindil,Deléng,Isirion,Pyldur,Caladrielas,Elebrindel,Unárion,Unadrier,Isorfindir,Urymir,Celóril,Unaril,Horfindel,Amowyn,Háriand,Beliril,Mylith,Giombor,Fer,Roldur,Cithraldur,Elvaramir,Sénd,Cylas,Thrilmandel,Rorfindil,Uradrielas,Sénd,Hil-Garion,Fithraril,Unorfiril,Eäryldur,Eärithrandil,Cithrand,Unálas,Elyrion,Glul,Vebrilas,Lómorfindil,Hithrandel,Gil-Gang,Hilas,Gil-Gandel,Eowarar,Carang,Lómariand,Isilmandel,Uril-Gambor,Hénduil,Unaraldur,Galithrariand,Hirion,Anilmambor,Celadrieriand,Róldur,Eärérion,Calónduil,Anerion,Elvélith,Eliondil,Lómebrind,Isándir,Eowówyn,Belel,Cáldur,Tadriendir,Vunduil,Belólad,Thrélad,Isadrieng,Eowil-Garion,Tinyl,Tinun,Lómémbor,Urálith,Celong,Horfilad,Iselas,Galálad,Norfildor,Thrithran,Unil-Gan,Gloldor,Celarandil,Delánd,Maldur,Celyndel,Ról,Vandir,Glómir,Unadrieldor,Elvandir,Vebril,Unólith,Maraldur,Elvilmaril,Isól,Legaran,Farandir,Nél,Glandil,Galalith,Galálas,Elebrildor,Sóriand,Elvóriand,Pindir,Anán,Amiorion,Amorfimir,Isarandel,Thril-Gamir,Taraldur,Amundil,Unorfildor,Glararil,Sólad,Fáwyn,Tinarambor,Tinil-Ganduil,Padrieriand,Ameldor,Gyl,Unebrind,Celebririon,Corfildur,Canduil,Glámbor,Urul,Elran,Glilmal,Porfildur,Cadrieriand,Delaraldur,Galelas,Hebril,Varalas,Celér,Nóndel,Eladrieng,Elvorfiriand,Delandel,Delorfilad,Méng,Lómowyn,Elélas,Unebrin,Anithranduil,Celáriand,Threbring,Belyrion,Belilmand,Numbor,Vóldur,Tinorfind,Gambor,Thrambor,Táriand,Eäradriendel,Rówyn,Elvémir,Elvorfiril,Calioriand,Delóldor,Tinóriand,Eowaraldor,Vel,Galémbor,Elrithralith,Elánd,Fadriendel,Deláril,Fandel,Cindil,Unalas,Delawyn,Fyrion,Eowylas,Eowithrawyn,Elvombor,Vuldur,Legorfindil,Unombor,Gadrieng,Amilmandir,Elrioldor,Calil-Gawyn,Eäréldor,Glólas,Norfindir,Unorfiwyn,Amind,Sóriand,Isóndel,Caliril,Eowaran,Elolas,Fendel,Tówyn,Hiong,Elvebrindel,Eowar,Vulas,Legémir,Torfildur,Col,Isorfilad,Elilmaldur,Celuwyn,Gymbor,Hundel,Elen,Isarar,Delán,Thrimir,Tinilmand,Tinithrar,Elvioldur,Tendel,Harariand,Rithrandil,Garaldor,Lómarand,Celór,Elvorfimir,Galar,Paraldor,Morfiriand,Celang,Amóldor,Vararion,Belondel,Hywyn,Legiondel,Elyldor,Eärorfiriand,Glarang,Gor,Throlas,Gararil,Norfilith,Deliwyn,Nyldur,Vólas,Isér,Eowanduil,Eowiomir,Belithraldor,Elemir,Amiol,Urálas,Belil-Gandil,Nalith,Thréldur,Gán,Eowimbor,Padrieril,Anorfing,Rebrir,Anilmariand,Rilmandil,Thryriand,Isyndel,Celorion,Isóng,Sadrielas,Pór,Thraral,Miolith,Elil-Garil,Vándel,Cówyn,Unóndel,Uniolith,Legówyn,Vylas,Unulad,Legal,Celelas,Galeldur,Amendel,Amorfir,Elvilmaldur,Eäránduil,Til-Gan,Nilmar,Eäradrier,Celior,Sebrin,Pyldur,Urér,Fioril,Anebrin,Hemir,Thrón,Glal,Mondir,Cénduil,Galur,Glimir,Anior,Tinoldor,Ván,Hilmariand,Lómebrilad,Gyn,Legyn,Vol,Cun,Lómadrieril,Amadrieriand,Eowémir,Belómir,Elrithranduil,Gumbor,Célad,Anebrir,Téwyn,Táriand,Géril,Elreldur,Legil-Gal,Eärebrindel,Elvund,Unil,Pilmalad,Deléng,Tinowyn,Cundir,Gadriendil,Eowariand,Ciong,Morfin,Nadrieldor,Elrorfir,Hymir,Elvebrind,Urambor,Thrund,Anénduil,Anon,Elrilmand,Cithraril,Mithrand,Caraldur,Eowóldur,Glior,Elváwyn,Legithralith,Vólas,Calándel,Caldur,Lómariand,Elebriril,Celundir,Eoworfildor,Celiorion,Elor,Elváwyn,Lómilmaril,Delilmaldor,Amelad,Tion,Unál,Calebrindel,Amilmalith,Eäryriand,Unondir,Isuwyn,Elralith,Belilmang,Eowarar,Sil-Gal,Calil-Gandir,Glon,Deliol,Sebriril,Elémbor,Calebrindir,Celilmalas,Elverion,Cithrandel,Anémbor,Uradrierion,Ganduil,Parariand,Pumbor,Githral,Galoldur,Rorfilad,Tinorfiriand,Vondel,Tinimir,Sorfind,Uróldor,Delithrar,Galurion,Elval,Tinond,Delorion,Taral,Thróng,Madrieril,Isithral,Belarandel,Celendel,Gladriendil,Lómiriand,Legéril,Nán,Vilith,Belén,Elriolith,Delundil,Anilad,Celaral,Ameng,Mérion,Eowarion,Tilmalad,Elvil-Garion,Cithralad,Ryn,Tinén,Elólas,Belandil,Golad,Miomir,Tolas,Urilmalith,Norfindil,Mánduil,Githralad,Legorfirion,Móndir,Hyrion,Anundil,Tinilmawyn,Legyl,Elradrien,Anil-Gawyn,Tinandir,Uneldor,Amulas,Válad,Amulas,Celiondir,Thradrieriand,Réndir,Elvónduil,Urorfildor,Vyldor,Galelith,Caloril,Amáril,Belithrawyn,Cadriembor,Tilmalas,Thril-Gar,Elálith,Vorfin,Eowebrind,Nil-Galas,Eowambor,Morfilas,Thrion,Róldor,Filman,Unioril,Forfilas,Galadrieldor,Elorfilad,Eäraralad,Eäreng,Thril-Gandir,Belán,Gelad,Nil-Galith,Eäromir,Delorfilith,Tylad,Eliomir,Vebrinduil,Pamir,Amilmaldur,Nil-Gar,Vorfindil,Cándir,Eäránduil,Galuldur,Calénduil,Corfil,Beliondil,Anol,Amithrarion,Cálad,Legilad"
|
||||
female_names="Vil-Gandra,Legaraclya,Tináclya,Elvowien,Delydien,Celilith,Tinil-Gawiel,Niodien,Uniodë,Tinithrathiel,Unorfiwen,Fathien,Urebriclya,Unil-Gadia,Belaraviel,Vódia,Vadriewen,Legadien,Glithiel,Nowen,Elviondra,Cithrania,Isithradien,Legithrandra,Tilmaclya,Galadriethien,Rorfiviel,Thryng,Unindra,Lómeniel,Deliowen,Corfiviel,Eärániel,Eärélia,Feclya,Vorfing,Tinóng,Celith,Celelith,Sadrienia,Deléthien,Uradriedia,Pulia,Lómuthiel,Elvyniel,Réviel,Parandra,Galaraniel,Til-Gandra,Isilindë,Belendra,Galorfiwiel,Mil-Gathien,Lómilindë,Elvithrang,Uránia,Cádë,Eäradriedien,Belarania,Legelith,Lómythien,Legethiel,Godien,Goclya,Elywen,Githrawiel,Galowen,Glilmawiel,Fadrielia,Galedien,Miowen,Tinorfilith,Amuwen,Silmathiel,Hódia,Hiwien,Anilmarith,Sáng,Amionia,Miowiel,Gadrieclya,Celódith,Amorith,Amodë,Thrália,Fil-Gathiel,Eäréwiel,Delil-Ganiel,Unynia,Belithraniel,Caladrieng,Eäriolith,Celarandra,Elorfing,Sothien,Amiwen,Deloviel,Celália,Glália,Anaraclya,Mithradë,Eowylia,Celindë,Legádë,Amiolith,Urilmawiel,Elvil-Gawien,Thrulith,Padriedith,Viowiel,Elrithradith,Elvánia,Violindë,Lómániel,Pong,Mithralindë,Amithrawien,Mil-Gathiel,Celioniel,Uryrith,Soniel,Lómulindë,Eärilmathien,Hódia,Tithrathien,Tówiel,Glowiel,Aniorith,Uniong,Tinorfithien,Madrieclya,Sadrierith,Vówien,Reniel,Legil-Galindë,Amewien,Nithrarith,Vebrithien,Ril-Gawien,Fólindë,Galebrindra,Pilindë,Nithraniel,Gólia,Medien,Munia,Cithralith,Eärithrang,Throng,Eledë,Cithrawen,Thrithradia,Calóniel,Elilmalia,Rindra,Eladriedë,Lómebriniel,Ceclya,Calówien,Hiodë,Calewen,Gebririth,Tinerith,Sarandra,Eowebridith,Eärarawien,Eluviel,Sendra,Héclya,Sálindë,Fódë,Throlith,Varawiel,Elrithiel,Celebriniel,Hythien,Myndra,Urithralindë,Calándra,Delorfilindë,Fil-Galia,Gloviel,Eowidien,Delebrinia,Puthien,Elvádia,Elrilindë,Legadriedë,Vithraniel,Módia,Lómithradë,Elradrierith,Hythiel,Glilmadien,Thradia,Vadrierith,Beliolia,Gil-Gawien,Lómuniel,Milindë,Elóndra,Elvyviel,Glorfilith,Pebridien,Galándra,Fulindë,Galiothiel,Gléndra,Calánia,Eowedith,Elrebridith,Anuthiel,Gioviel,Mywiel,Tinawiel,Hedia,Amebrilindë,Eärewen,Isendra,Lómudia,Tiorith,Lómorfing,Anythien,Eowil-Galindë,Thrithraniel,Amil-Garith,Belowen,Elynia,Elvithrathien,Tinálindë,Helith,Beladriewien,Fáwien,Lómithrarith,Calorfiniel,Galéwiel,Lómebriclya,Lómolith,Anáthien,Módë,Hunia,Tinaraniel,Vithrang,Pil-Gadia,Eluviel,Fáthiel,Elarawiel,Unénia,Sithrang,Celadë,Beladrielith,Elriwen,Meclya,Pádia,Lómóndra,Elvil-Gawien,Tiniolith,Elelith,Thraraviel,Eowarawien,Giowen,Eärorfiwien,Amarang,Newen,Náviel,Amithrawien,Caluclya,Galothiel,Paralindë,Celorfing,Elránia,Mebriwiel,Anebriniel,Tilmaviel,Fadriendra,Unulindë,Haviel,Elilmawien,Celylia,Thrithrandra,Lómiclya,Féthiel,Celália,Eowalia,Huclya,Horfiwien,Elrilmathien,Unionia,Gioniel,Elrilmandra,Delararith,Uraclya,Huthien,Celéng,Isil-Garith,Lómudia,Thrérith,Amadrielindë,Eladrielia,Amuviel,Legadrieclya,Legilmadith,Belebrindra,Lómódë,Uniolia,Gadrieviel,Galilmadia,Filmaclya,Naraniel,Calilmalith,Hil-Gania,Anuthien,Elviniel,Elebrindra,Legadrieniel,Galundra,Anylindë,Celówien,Thridith,Niolia,Falindë,Milith,Anundra,Lómorith,Delararith,Anywien,Saradith,Galédë,Háwien,Celérith,Niothien,Elvilmathiel,Hewen,Isóthien,Hóthiel,Celebriviel,Moniel,Elithradien,Vorficlya,Glebrithien,Golindë,Viwiel,Sethien,Sioclya,Hodia,Taradien,Fadrienia,Githrania,Calil-Galith,Elréthiel,Legithrania,Calewiel,Isebridien,Thredien,Tinudia,Tinadriethien,Galithrathien,Mádia,Isadrieng,Celárith,Isebrinia,Amorfilith,Sédith,Eärudë,Eärenia,Belithrawien,Amil-Gadith,Vadrieviel,Lómilmathiel,Tinebrithiel,Eowilindë,Terith,Calang,Celararith,Glodith,Siorith,Beladriewen,Fioniel,Amulia,Nydith,Lómilmawiel,Gáviel,Belulindë,Legorfidë,Unáthien,Porfindra,Calithraclya,Celorfiwien,Analia,Elithraclya,Delóndra,Unóndra,Nilmadia,Riothien,Guviel,Elrorfidia,Horfinia,Uriolia,Delithrathiel,Legéniel,Calebriwien,Delorfithien,Unebridë,Legeng,Thrinia,Galolindë,Galyniel,Vorfirith,Syniel,Harawiel,Vorfiwiel,Porfiwien,Isithrarith,Maraclya,Amadriendra,Gilia,Fadriedith,Amedë,Celidien,Legolith,Unuviel,Nil-Gang,Celithradith,Pindra,Póviel,Elil-Gang,Galebrilia,Tathiel,Unadrieng,Isithrawiel,Amadrielia,Nawen,Tang,Cydia,Silmaclya,Cadriewen,Threbriniel,Urilmadia,Thruthien,Ureclya,Galólia,Sithrawen,Elródith,Throthiel,Lómedia,Pawen,Legilmawiel,Legebrilia,Urárith,Unilmadia,Morfilindë,Iseviel,Améthien,Gloclya,Cing,Legithralindë,Isáwen,Sothiel,Eowiowien,Uruthien,Amadriewen,Vóng,Róng,Eärilmadë,Anówien,Tuniel,Tarathiel,Lómynia,Celiodë,Pil-Gadien,Belithrawiel,Gathien,Anang,Vorfing,Tinarathien,Fil-Gawien,Amilmadia,Amithraniel,Cethien,Gloclya,Hyclya,Isithradë,Legidia,Celálindë,Galil-Gania,Tinil-Gania,Eowyniel,Cólindë,Belaclya,Narania,Gewen,Elorfithien,Sadrierith,Aning,Tadrierith,Deléthien,Eowathiel,Iséng,Legondra,Celorfilindë"
|
||||
#enddef
|
||||
|
||||
#define HUMAN_NAMES
|
||||
male_names="Cunry,Bluran,Marcyn,Addraenvan,Gudd,Aetheollyn,Rhenyc,Gyllyn,Dircyn,Owaecyn,Blollyn,Glyran,Vygwyn,Yracyn,Rhaecyn,Rheor,Aethagwyn,Vennyn,Yryrcyn,Glynvan,Ryddry,Saemyr,Dibryn,Owuddry,Gloddyn,Gladoc,Yroddry,Bladoc,Addreonyc,Rheoran,Tiryn,Glynry,Rhaemyr,Gweddyn,Cemyr,Mimyr,Caraennyn,Careorraent,Gwor,Cin,Goc,Glydd,Oweomyr,Carraent,Gubryn,Gannyn,Aethadry,Aethonnyn,Blygwyn,Laellyn,Carudoc,Ladoc,Blercyn,Carocyn,Aetheoc,Rumyr,Gaercyn,Careogwyn,Caryn,Careddry,Owarcyn,Daeddry,Mubryn,Gwymyr,Blaedry,Owaryn,Addreddry,Owaryn,Taedoc,Addraecyn,Morcyn,Vugwyn,Rhenry,Blullyn,Dycyn,Daeddry,Blydd,Seddyn,Teoddyn,Gwaec,Rycyn,Rhobryn,Gwyddry,Tudoc,Roddyn,Oweran,Ceoddyn,Blubryn,Glonry,Sedry,Owecyn,Blydd,Owinyc,Gwuran,Yryllyn,Tunvan,Gwan,Carac,Cebryn,Murcyn,Ronry,Geodry,Midry,Gweogwyn,Aethec,Blinvan,Rhyrraent,Aethaeryn,Seoddry,Caradoc,Aethenvan,Sanyc,Aethaec,Gwumyr,Teorcyn,Lenvan,Rabryn,Yrynyc,Murcyn,Mydoc,Yrannyn,Rhobryn,Oworraent,Owac,Vuddyn,Gwellyn,Glaercyn,Yregwyn,Oweorcyn,Addrenyc,Rhaedoc,Carocyn,Rhonvan,Owercyn,Dadd,Corcyn,Addrocyn,Yreryn,Tinry,Rharcyn,Gweddry,Rar,Addroryn,Tabryn,Blinvan,Addrunvan,Derraent,Leogwyn,Virraent,Gwudoc,Lercyn,Glarraent,Caren,Liryn,Gwegwyn,Ligwyn,Gwybryn,Lin,Veoddyn,Owodd,Cariddry,Glonvan,Gymyr,Aethuc,Careonvan,Aethudry,Addreoddyn,Gweocyn,Vonry,Rhygwyn,Rhyrcyn,Rhur,Deonyc,Veocyn,Siryn,Teobryn,Yraec,Gweodry,Caroran,Caraedry,Vaennyn,Moddry,Vaeddyn,Caredd,Siddry,Aethyr,Aethacyn,Rheorraent,Rhubryn,Addrurcyn,Sodry,Rhunyc,Gweodd,Reoddyn,Vinyc,Glydoc,Sodd,Dyddyn,Dinnyn,Ruddry,Addraryn,Gwollyn,Rurcyn,Glinry,Blyr,Aetharcyn,Blybryn,Addraercyn,Cararyn,Carygwyn,Menvan,Caric,Turraent,Oworcyn,Gwennyn,Meorraent,Ludoc,Aethoddyn,Glyc,Oworan,Simyr,Aethugwyn,Gwynnyn,Glunry,Cynyc,Addregwyn,Maddyn,Gecyn,Deollyn,Gwidoc,Meon,Goc,Sudd,Yredd,Addredry,Caeran,Vobryn,Saellyn,Surcyn,Taercyn,Labryn,Yran,Ceomyr,Caroddyn,Deodd,Glunvan,Gwoddyn,Addrocyn,Aethydry,Carygwyn,Aethynyc,Aetheorcyn,Taec,Rocyn,Laellyn,Tinvan,Owaedry,Teor,Ceonnyn,Rynry,Lunnyn,Myn,Rynnyn,Dac,Owaddyn,Vyc,Bliddry,Gur,Gwumyr,Owinvan,Maennyn,Veogwyn,Blenvan,Owur,Curyn,Gleoddyn,Aethec,Aethanry,Lec,Blanry,Vaddyn,Modd,Gaddry,Yrinvan,Blidd,Rheran,Veomyr,Owadd,Saran,Gullyn,Owollyn,Aethiddry,Gloddry,Carullyn,Secyn,Manyc,Romyr,Vinvan,Careoryn,Gegwyn,Gleddry,Tennyn,Manry,Syran,Gor,Ceoddry,Aethobryn,Yrunvan,Yraryn,Oweor,Daellyn,Mec,Lannyn,Owyran,Lemyr,Rhaedoc,Yrullyn,Syryn,Bludry,Bledoc,Addroran,Caregwyn,Tuddry,Careobryn,Addrenyc,Aethellyn,Veodry,Meonnyn,Myrraent,Addraer,Aethun,Coc,Sarraent,Rheollyn,Reodry,Blucyn,Caedry,Mudoc,Sydd,Carygwyn,Cadry,Gwucyn,Ten,Ron,Lan,Owoddry,Owugwyn,Tarcyn,Owuddyn,Rhenvan,Tanry,Aetheonyc,Caraddry,Blaec,Yrunnyn,Glircyn,Aetherraent,Rheoddyn,Cennyn,Ginvan,Gweoran,Gumyr,Blymyr,Rygwyn,Gagwyn,Addrynvan,Rherraent,Yrymyr,Laran,Rubryn,Ceoc,Gwodd,Gwadoc,Gwenyc,Corcyn,Gaebryn,Gwydoc,Yrumyr,Caregwyn,Rheollyn,Rhollyn,Gliddyn,Owedry,Aethercyn,Caryn,Saec,Vogwyn,Lorraent,Mygwyn,Cac,Mac,Tarcyn,Deoran,Tenvan,Ronry,Gwaec,Seorcyn,Soran,Luddry,Addreran,Yranvan,Gwidoc,Ceonry,Glacyn,Varcyn,Vyrcyn,Terraent,Blillyn,Run,Ligwyn,Rhyllyn,Sercyn,Denvan,Convan,Owogwyn,Gar,Glumyr,Rheodd,Cicyn,Blac,Daedoc,Gweodoc,Addreorcyn,Caercyn,Rhynyc,Lunnyn,Dadoc,Sellyn,Aethaeran,Gydoc,Sodry,Tyddyn,Rhaerraent,Gan,Lunvan,Saercyn,Gaedry,Rhodry,Taenvan,Radd,Caror,Monry,Mugwyn,Meollyn,Glun,Moran,Rybryn,Aethibryn,Gwaec,Addryllyn,Caebryn,Cinry,Ranvan,Blemyr,Addriddyn,Rhugwyn,Gwycyn,Blebryn,Yranvan,Teddyn,Vaedry,Addreoddry,Taedd,Cyryn,Yrirraent,Aethercyn,Middry,Lurraent,Bleollyn,Aethircyn,Ven,Modd,Ceoryn,Carercyn,Lonnyn,Car,Taemyr,Owidry,Geddyn,Aethunry,Yreddyn,Addribryn,Suc,Gleran,Addredry,Cubryn,Veocyn,Caryn,Demyr,Tudd,Romyr,Lenvan,Glillyn,Sennyn,Rhanry,Blennyn,Gwaeddyn,Saenvan,Todd,Tegwyn"
|
||||
female_names="Jongwen,Dullyra,Alena,Nwryan,Elycla,Sulonna,Bruryan,Caengwen,Nwvyan,Lwcla,Jarka,Rwlla,Alwcla,Breall,Nylyan,Cylyan,Syssa,Jolla,Gwoll,Lynoic,Elwllyra,Clarka,Clwlla,Cira,Lylla,Elavyan,Meroniver,Lwlla,Reacla,Neallyra,Mudda,Brirka,Alyryan,Reangwen,Sorka,Nalyan,Ysilyan,Realla,Lyna,Rwllyra,Elyrka,Nera,Gwwcla,Caella,Jevyan,Gwwvyan,Nuvyan,Sona,Merolla,Nyssa,Sera,Lwryan,Ysell,Elulonna,Raerka,Saell,Dwnoic,Clissa,Medda,Lessa,Rwllyra,Ledda,Jeabrylla,Brera,Meanoic,Lelyan,Clobrylla,Brellyra,Nucla,Jalyan,Dydda,Cyvyan,Revyan,Nyll,Clillyra,Langwen,Jyvyan,Saellyra,Sera,Sara,Rucla,Ryngwen,Cicla,Lolonna,Lycla,Merydda,Naecla,Aleara,Rwlla,Curyan,Lina,Mylla,Rarka,Merubrylla,Clwdda,Gwerka,Saessa,Brungwen,Jonoic,Elalonna,Elwlonna,Lidda,Dyssa,Cassa,Relyan,Gworyan,Dwdda,Alengwen,Lill,Raebrylla,Elwra,Joll,Brerka,Mengwen,Caevyan,Mwnoic,Nivyan,Merina,Rilonna,Gwangwen,Gwussa,Lealonna,Cwdda,Jaerka,Jassa,Sassa,Elerka,Elaedda,Sull,Elyngwen,Mwbrylla,Livyan,Maecla,Cwlonna,Ysodda,Elurka,Clylla,Clilyan,Daenoic,Naell,Brynoic,Syssa,Nulla,Merebrylla,Breabrylla,Call,Jycla,Dulonna,Gwirka,Dollyra,Alybrylla,Elaell,Jura,Dalla,Mereangwen,Cinoic,Naell,Ysyrka,Alearka,Jiryan,Ysonoic,Ysycla,Merilyan,Brorka,Jull,Alwllyra,Cealonna,Gwonoic,Gwobrylla,Brellyra,Curyan,Moniver,Cleall,Elara,Lylyan,Daelyan,Relyan,Sallyra,Cleacla,Alalonna,Elealla,Ysyssa,Clacla,Rilyan,Jeniver,Aleaniver,Meraelyan,Gweacla,Jwll,Elealla,Lirka,Milonna,Lealyan,Messa,Nabrylla,Lollyra,Merona,Meressa,Bravyan,Elaevyan,Ceryan,Mereaniver,Ysaenoic,Gwaessa,Alearka,Myra,Nobrylla,Jona,Jyrka,Cyniver,Lulyan,Rerka,Swlla,Nybrylla,Yswniver,Dangwen,Gwicla,Yseacla,Eleanoic,Mwngwen,Neavyan,Larka,Brealonna,Gwycla,Aluryan,Meacla,Brona,Jyvyan,Brwra,Coryan,Cudda,Elivyan,Nyryan,Alyra,Alilonna,Merana,Merylyan,Cydda,Diniver,Merolyan,Myll,Rwlonna,Gweacla,Ysylla,Alaebrylla,Naebrylla,Clenoic,Daengwen,Reana,Alynoic,Jissa,Myvyan,Brora,Alaryan,Rengwen,Clavyan,Ryna,Jull,Brollyra,Brobrylla,Ysedda,Alingwen,Ysell,Jealla,Liryan,Merurka,Elallyra,Clinoic,Ninoic,Merudda,Gwongwen,Jacla,Nungwen,Clalla,Gwona,Gwaera,Rora,Ninoic,Brycla,Clwvyan,Clurka,Clill,Merella,Ysylyan,Rwdda,Lelonna,Yselonna,Claella,Clallyra,Dassa,Clealyan,Merydda,Cibrylla,Deanoic,Claenoic,Rassa,Gwwvyan,Cucla,Lwnoic,Aluniver,Dwbrylla,Dybrylla,Merissa,Ysealyan,Clydda,Maeniver,Dallyra,Nessa,Gwydda,Merall,Clill,Clungwen,Ysongwen,Cucla,Jora,Elyniver,Meana,Sallyra,Ysinoic,Clara,Meradda,Dwra,Nolla,Nera,Merealonna,Clibrylla,Alaeniver,Nonoic,Jacla,Rara,Cwngwen,Dara,Ysura,Sulonna,Dissa,Clona,Ralonna,Cwvyan,Mulyan,Lungwen,Mwlyan,Meralonna,Lerka,Noryan,Curyan,Mealyan,Nera,Sylyan,Merivyan,Lwnoic,Sanoic,Ysanoic,Cyllyra,Ysyrka,Cleanoic,Bronoic,Devyan,Ysaerka,Rwngwen,Nwllyra,Ysycla,Swngwen,Nyvyan,Cleana,Merylyan,Alwlyan,Lassa,Locla,Meniver,Laenoic,Mullyra,Judda,Mycla,Brassa,Ysacla,Elacla,Muryan,Clollyra,Ysanoic,Senoic,Rwngwen,Merwlla,Brera,Saeniver,Deassa,Meranoic,Bronoic,Aleacla,Mavyan,Alora,Jarka,Elaelonna,Merwryan,Lengwen,Alilonna,Meangwen,Claelyan,Silonna,Ysealyan,Alora,Revyan,Cera,Merwnoic,Dicla,Laeryan,Alubrylla,Lycla,Mavyan,Jull,Syllyra,Swlyan,Elaessa,Caena,Cluvyan,Breryan,Laeniver,Jorka,Raera,Gwedda,Lodda,Brell,Rybrylla,Meanoic,Niryan,Cylla,Bricla,Cudda,Alabrylla,Nealonna,Alolla,Rirka,Jyniver,Elearka,Jaevyan,Melonna,Alengwen,Sura,Cissa,Mossa,Norka,Nangwen,Saerka,Elycla,Della,Merallyra,Elyllyra,Elenoic,Alussa,Elwngwen,Calla,Merina,Jynoic,Ysealonna,Sussa,Sulyan,Mossa,Dissa,Daedda,Merinoic,Searka,Rella,Sira,Clillyra,Alwna,Lulla,Nulyan,Jwlyan,Swnoic,Clongwen,Alalla,Siryan,Braedda,Jealla,Gwwna,Gwullyra,Merengwen,Molyan,Dwna,Lunoic,Brealla,Ruryan,Alabrylla,Deassa,Jovyan,Subrylla,Breana,Ysura,Alolonna,Nealla,Nessa,Swvyan,Cora,Luryan,Jana,Meraecla,Jeanoic,Sena,Alolla,Jaena,Julonna"
|
||||
#enddef
|
50
data/ranmap.cfg
Normal file
|
@ -0,0 +1,50 @@
|
|||
ccgggggggggggccSSSfftSSSgggggggtgggggcccggggtfftgg
|
||||
ccgggggggggggccSSfSffSSgggtggggggggggcccgggfffffgg
|
||||
cgggggggggggccccfgSSSgggggggggggggggcggcgggfcfffff
|
||||
ccggggggtgggggcfggggggggggggggtggggtccgcccggcctfff
|
||||
ccccggggggggggCCCggggggggggtgggggggcccccccccgggfff
|
||||
ccctcgggggggggC2Cfggggggggggggggggmmcccccccggggfff
|
||||
ccccccgcggggggCCCffgggtggggggggggmmmmmcctccgggggff
|
||||
ccccccgcctgfgggtgfftggggggggggggmmmmmmmmccggggggff
|
||||
ccccccggccffggggffffccggggggtggggmmmmmmccgggggffff
|
||||
cccggcgggccfffgffffffcggggggggggggmgmmmmggggggffff
|
||||
cccgccccgfffffffffffgtgdgtggggggggggmmgggggmgtffff
|
||||
ccccddcgffffffffffffgSgddggggggggggggmmgggtmmfffff
|
||||
cccddddddfffffffffffSSgddcgmmgtgggggggmmggmmfffftf
|
||||
ccdddftdddfffggggfftggdddccmmgcggggggtggggmfmffffg
|
||||
ccdddfffftfffgggggcggddddcctmcccggggggggdgmmffffgg
|
||||
cdtddfffffffcgggggccggdddcmmmccccgggggggdddmffmmgg
|
||||
dgggggfffddccgggccccgdggccmmmmmmmmmggggddddtffmmgg
|
||||
ddggggffddtgcggccccctgggcccmmmmmgmmgggdddddddggmmg
|
||||
ddggggffgggggggcccccfgggccccmmmmgtmmdddddddgggggmm
|
||||
gdgdggtfgffggfffcccffffggcccmmmmmmmmddddddggggggmg
|
||||
ggdgdggffffgggftffffffffggctmmmmmggmmdddgggggggggg
|
||||
gggdgggfffffggfccfffffffgggmmmmtmgggdddggggggggggg
|
||||
ggdggggfffffgfffcffffdffggccmmmmmggdddddgggggggggg
|
||||
gdgggggffffffgtfffftgddggcccmmmgmddddmmddggggggggg
|
||||
ddggcccfffffffgfgggggggdgccccctggdddddmggggggggggg
|
||||
tdggccccggfffgfggdggggdggcgtccgggggmmmmggggggggggg
|
||||
ddccccccggffffgggdddddggggggcgggggggmmmggggggggggg
|
||||
gcgcggcggggggfgggdgdddggggggggggggggmmgddggggggggg
|
||||
ggtggggggggtgggggggdgggggggggggggggggmdggdgggggggg
|
||||
ccccggcggggggggggggggggggggggggggmmmdddgdddggggggg
|
||||
cccccccgggggggggggggggggggggggggggmmdddggddddddggg
|
||||
cccccgcggggggtgggtggggggggggggggtgmmdddggggddddggg
|
||||
cccccggcgggggggggggggggmgmgggtgggmgddddggggtmddgtg
|
||||
cccccgcccggggggggggggggmtmmmgggggggdddddgmmmmmdggg
|
||||
ccgggccgcggggggggggggggmmmmmggggggggddddhhmmmmmmgh
|
||||
tcggggggggggggggggtgggmmmmmmmgggggggdddhhhmmmmmmhh
|
||||
ccggggtgggggggggggggggggmmmmmmggtggddthhhmmmmmmmhg
|
||||
ggggggggggtggggggggggggmmmmmmggggggggghhhhmgmmghgg
|
||||
ggggggggggggggggggggggmmmtmmmggggggggghhSmgmgmgghh
|
||||
fffgggggggggggggtgggggmmmmmmmmgggggggggSCCCgmmghhh
|
||||
fffgCCChgggffgggggggggmmmmgmmgggggggggggC1Cmgmhhhh
|
||||
ffggC3ChhhgffgggggggggmmmgtggggggggtggggCCCtghhhhh
|
||||
fffhCCChhhhftggggtgggggmgggggggggggggggggSgghhhhhh
|
||||
tffhhhhhhhhhffggggggggggmmmggggtggggggggggghhhhShh
|
||||
fffhhhhhgghffggggggghggtgmmmggggggggggggggghhthSSS
|
||||
fffhhhhggggftgggggghhhggmmmmggggggggggggggghhhggSg
|
||||
ffffhhhgggggfgggghhhggggmmmmgggggggggggggghghhgggg
|
||||
fffffgggggffgggghhhhhghhmggmgmmgggggggggggghghgggg
|
||||
ffffffgggfffgggghhhhhhhhggggmmmgggggggggggghhggggg
|
||||
ffffffffffffgggghhhhhhhggggggmmgggggggggggghgggggg
|
356
data/scenarios/Hasty_Alliance.cfg
Normal file
|
@ -0,0 +1,356 @@
|
|||
[scenario]
|
||||
name=Hasty Alliance
|
||||
id=Hasty_Alliance
|
||||
map=hasty-alliance
|
||||
turns=30
|
||||
|
||||
{UNDERGROUND}
|
||||
|
||||
next_scenario=Sceptre
|
||||
|
||||
music="wesnoth-3.ogg"
|
||||
|
||||
objectives="
|
||||
Victory:
|
||||
@Defeat enemy leader
|
||||
Defeat:
|
||||
#Death of Konrad
|
||||
#Death of Delfador
|
||||
#Death of Kalenz
|
||||
#Death of Li'sar"
|
||||
|
||||
[bigmap]
|
||||
image=misc/map.png
|
||||
[dot]
|
||||
type=cross
|
||||
x=127
|
||||
y=226
|
||||
[/dot]
|
||||
[/bigmap]
|
||||
|
||||
[side]
|
||||
type=Commander
|
||||
description=Konrad
|
||||
side=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
recruit=Elvish Scout,Elvish Fighter,Elvish Archer,Horseman,Mage,Elvish Shaman,Merman,Thief,Gryphon Rider,Dwarvish Fighter,Dwarvish Thunderer
|
||||
enemy=3
|
||||
shroud=yes
|
||||
[/side]
|
||||
[side]
|
||||
type=Princess
|
||||
description=Li'sar
|
||||
facing=reverse
|
||||
side=2
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
recruitment_pattern=fighter
|
||||
recruit=Swordsman,Heavy Infantry,Pikeman
|
||||
gold=100
|
||||
enemy=3
|
||||
[/side]
|
||||
[side]
|
||||
type=Troll Warrior
|
||||
description=Haaf-Garga
|
||||
side=3
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
recruit=Troll,Troll Warrior,Blood Bat,Ogre,Wolf Rider
|
||||
gold=150
|
||||
income=15
|
||||
enemy=1,2
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=start
|
||||
#hide Li'sar until she arrives
|
||||
[command]
|
||||
[hide_unit]
|
||||
x=12
|
||||
y=18
|
||||
[/hide_unit]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[recall]
|
||||
description=Delfador
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Kalenz
|
||||
[/recall]
|
||||
|
||||
[message]
|
||||
description=Konrad
|
||||
id=hasty_1
|
||||
message="Where are we? Which way now? I am tired of this darkness!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=hasty_2
|
||||
message="I am not sure. Let me think for a moment."
|
||||
[/message]
|
||||
[/command]
|
||||
|
||||
#Li'sar arrives
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Princess
|
||||
x=15,14,13,12
|
||||
y=17,18,19,18
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[unhide_unit]
|
||||
[/unhide_unit]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Royal Guard
|
||||
x=15,14,13,12,11
|
||||
y=18,18,18,17,18
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[unit]
|
||||
type=Royal Guard
|
||||
side=2
|
||||
x=11
|
||||
y=18
|
||||
facing=reverse
|
||||
[/unit]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Royal Guard
|
||||
x=15,14,13,12,11
|
||||
y=18,18,19,18,19
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[unit]
|
||||
type=Royal Guard
|
||||
side=2
|
||||
x=11
|
||||
y=19
|
||||
facing=reverse
|
||||
[/unit]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=hasty_3
|
||||
message="On guard!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=hasty_4
|
||||
message="What in the world are you doing here?"
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=hasty_5
|
||||
message="Tracking you down of course! You have escaped for the last time!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=hasty_6
|
||||
message="Foolish girl! We are in the deepest of caverns, probably surrounded by all manner of creatures, and you still want to fight with us? You will bring us all to our deaths!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=hasty_7
|
||||
message="Don't try to trick me! I know why you have come here! But I will end you and your treason here, and then get the Sceptre, and return to see the daylight again!"
|
||||
[/message]
|
||||
[/command]
|
||||
|
||||
#define HASTY_TROLL X Y
|
||||
[command]
|
||||
[unit]
|
||||
side=3
|
||||
type=Troll
|
||||
x={X}
|
||||
y={Y}
|
||||
[/unit]
|
||||
[/command]
|
||||
#enddef
|
||||
|
||||
#alot of enemies arrive
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Troll
|
||||
x=13,12,11
|
||||
y=16,16,16
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_TROLL 11 16}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Troll
|
||||
x=13,13
|
||||
y=16,17
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_TROLL 13 17}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Troll
|
||||
x=15,14
|
||||
y=18,18
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_TROLL 14 18}
|
||||
|
||||
#define HASTY_GOBLIN_KNIGHT X Y
|
||||
[command]
|
||||
[unit]
|
||||
side=3
|
||||
type=Goblin Knight
|
||||
x={X}
|
||||
y={Y}
|
||||
[/unit]
|
||||
[/command]
|
||||
#enddef
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Goblin Knight
|
||||
x=4,5,6
|
||||
y=13,14,14
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_GOBLIN_KNIGHT 6 14}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Goblin Knight
|
||||
x=3,4,5
|
||||
y=16,16,16
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_GOBLIN_KNIGHT 5 16}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Goblin Knight
|
||||
x=8,8
|
||||
y=21,20
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_GOBLIN_KNIGHT 8 20}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Troll
|
||||
x=3,4,5
|
||||
y=14,14,15
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_TROLL 5 15}
|
||||
|
||||
[command]
|
||||
[move_unit_fake]
|
||||
type=Troll
|
||||
x=5,5,6
|
||||
y=13,14,15
|
||||
[/move_unit_fake]
|
||||
[/command]
|
||||
|
||||
{HASTY_TROLL 6 15}
|
||||
|
||||
#some more trolls that are behind in the caves
|
||||
{HASTY_TROLL 3 13}
|
||||
{HASTY_TROLL 4 9}
|
||||
{HASTY_TROLL 15 13}
|
||||
{HASTY_TROLL 17 14}
|
||||
{HASTY_TROLL 13 10}
|
||||
|
||||
[command]
|
||||
[message]
|
||||
type=Goblin Knight
|
||||
message="Surprise! Die you sun-lovers!"
|
||||
id=hasty_8
|
||||
[/message]
|
||||
[message]
|
||||
description=Kalenz
|
||||
message="Now we are surrounded! Do you still want to fight us, princess? Surely that would lead to both our dooms!"
|
||||
id=hasty_9
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
message="I see we have little choice but to help each other. We shall help each other until we reach the surface again, agreed?"
|
||||
id=hasty_10
|
||||
[/message]
|
||||
[message]
|
||||
description=Konrad
|
||||
message="Very well, I will ensure you will reach the surface again, or else we shall all perish together, princess."
|
||||
id=hasty_11
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
message="But once we escape from this hole, I have a score to settle with you!"
|
||||
id=hasty_12
|
||||
[/message]
|
||||
[/command]
|
||||
[/event] #end of start event
|
||||
|
||||
[event]
|
||||
name=victory
|
||||
[command]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=hasty_13
|
||||
message="Well, we have helped each other survive so far princess. Now let us continue together, shall we?"
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=hasty_14
|
||||
message="Yes indeed, we agreed that we would help each other get out of these pits alive, did we not? We will pool our resources. Here is my purse, full of gold."
|
||||
[/message]
|
||||
[message]
|
||||
id=hasty_15
|
||||
speaker=narrator
|
||||
message="You receive 500 pieces of gold!"
|
||||
[/message]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[gold]
|
||||
side=1
|
||||
amount=500
|
||||
[/gold]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=hasty_16
|
||||
message="Thank you, princess. Come men, let us find the Sceptre!"
|
||||
[/message]
|
||||
[/command]
|
||||
|
||||
#add Li'sar to the recall list
|
||||
[unit]
|
||||
side=1
|
||||
description=Li'sar
|
||||
type=Princess
|
||||
[/unit]
|
||||
[/event]
|
||||
|
||||
{deaths.cfg}
|
||||
[/scenario]
|
64
data/scenarios/High_King_at_Sea.cfg
Normal file
|
@ -0,0 +1,64 @@
|
|||
[scenario]
|
||||
name="High King at Sea"
|
||||
map=kingatsea
|
||||
turns=36
|
||||
id=High_King_at_Sea
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
[side]
|
||||
type=Commander
|
||||
description=Konrad
|
||||
side=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
hitpoints=80
|
||||
recruit=Elvish Fighter,Elvish Archer,Horseman,Elvish Shaman,Thief,Merman
|
||||
enemy=2,3,4
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
side=2
|
||||
controller=ai
|
||||
canrecruit=1
|
||||
recruit=Troll Whelp,Wolf Rider
|
||||
gold=40
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
side=3
|
||||
controller=ai
|
||||
canrecruit=1
|
||||
#ifdef EASY
|
||||
recruit=Orcish Crossbow,Wolf Rider
|
||||
#else
|
||||
recruit=Troll,Orcish Crossbow,Wolf Rider
|
||||
#endif
|
||||
gold=40
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Merman Lord
|
||||
side=4
|
||||
controller=ai
|
||||
canrecruit=1
|
||||
recruit=Merman,Naga,Sea Hag,Sea Orc
|
||||
gold=250
|
||||
enemy=1
|
||||
[unit]
|
||||
type=Sea Serpent
|
||||
side=4
|
||||
x=6
|
||||
y=28
|
||||
[/unit]
|
||||
[/side]
|
||||
[/scenario]
|
32
data/scenarios/Random_Scenario.cfg
Normal file
|
@ -0,0 +1,32 @@
|
|||
[multiplayer]
|
||||
name=Random map
|
||||
map_data="{ranmap.cfg}"
|
||||
turns=90
|
||||
id=ranmap
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
[side]
|
||||
side=1
|
||||
enemy=2
|
||||
canrecruit=1
|
||||
controller=human
|
||||
[/side]
|
||||
[side]
|
||||
side=2
|
||||
enemy=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
[/side]
|
||||
[side]
|
||||
side=3
|
||||
enemy=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
[/side]
|
||||
[/multiplayer]
|
299
data/scenarios/Sceptre.cfg
Normal file
|
@ -0,0 +1,299 @@
|
|||
[scenario]
|
||||
name=The Sceptre of Fire
|
||||
id=Sceptre
|
||||
map=sceptre
|
||||
turns=60
|
||||
|
||||
{UNDERGROUND}
|
||||
|
||||
next_scenario=A_Choice_Must_Be_Made
|
||||
|
||||
music="wesnoth-3.ogg"
|
||||
|
||||
objectives="
|
||||
Victory:
|
||||
@Capture the Sceptre of Fire with Konrad or Li'sar
|
||||
Defeat:
|
||||
#Death of Konrad
|
||||
#Death of Delfador
|
||||
#Death of Kalenz
|
||||
#Death of Li'sar"
|
||||
|
||||
[bigmap]
|
||||
image=misc/map.png
|
||||
[dot]
|
||||
type=cross
|
||||
x=127
|
||||
y=226
|
||||
[/dot]
|
||||
[/bigmap]
|
||||
|
||||
[side]
|
||||
type=Commander
|
||||
description=Konrad
|
||||
side=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
recruit=Elvish Scout,Elvish Fighter,Elvish Archer,Horseman,Mage,Elvish Shaman,Merman,Thief,Gryphon Rider,Dwarvish Fighter,Dwarvish Thunderer
|
||||
enemy=2,3,4,5,6
|
||||
shroud=yes
|
||||
[/side]
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
facing=reverse
|
||||
side=2
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
leader_value=10
|
||||
recruit=Goblin Knight,Wolf Rider,Troll,Orcish Warrior,Orcish Crossbow
|
||||
enemy=1
|
||||
|
||||
#ifdef EASY
|
||||
gold=300
|
||||
income=10
|
||||
#endif
|
||||
|
||||
#ifdef MEDIUM
|
||||
gold=400
|
||||
income=20
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
gold=550
|
||||
income=30
|
||||
#endif
|
||||
[/side]
|
||||
[side]
|
||||
type=Troll Warrior
|
||||
side=3
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
leader_value=10
|
||||
recruitment_pattern=fighter
|
||||
recruit=Troll,Troll Warrior,Ogre
|
||||
enemy=1
|
||||
|
||||
#ifdef EASY
|
||||
gold=300
|
||||
income=10
|
||||
#endif
|
||||
|
||||
#ifdef MEDIUM
|
||||
gold=400
|
||||
income=20
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
gold=550
|
||||
income=30
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
side=4
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
leader_value=10
|
||||
recruitment_pattern=fighter,fighter,scout
|
||||
recruit=Troll,Troll Warrior,Ogre,Goblin Knight,Wolf Rider,Troll Whelp
|
||||
enemy=1
|
||||
|
||||
#ifdef EASY
|
||||
gold=200
|
||||
income=10
|
||||
#endif
|
||||
|
||||
#ifdef MEDIUM
|
||||
gold=300
|
||||
income=20
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
gold=450
|
||||
income=30
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
side=5
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
leader_value=10
|
||||
recruitment_pattern=fighter,fighter,scout
|
||||
recruit=Troll,Troll Warrior,Ogre,Goblin Knight,Wolf Rider,Troll Whelp
|
||||
enemy=1
|
||||
|
||||
#ifdef EASY
|
||||
gold=200
|
||||
income=15
|
||||
#endif
|
||||
|
||||
#ifdef MEDIUM
|
||||
gold=300
|
||||
income=20
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
gold=450
|
||||
income=30
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
#dummy enemy that forces finding the Sceptre
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
side=6
|
||||
canrecruit=1
|
||||
controller=ai
|
||||
recruit=Troll
|
||||
enemy=1
|
||||
gold=0
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Delfador
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Kalenz
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Li'sar
|
||||
[/recall]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=scep1
|
||||
message="The Sceptre has to be getting close now! Where shall we go?"
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=scep2
|
||||
message="Yes, I feel it is near here! We must search for it carefully."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[item]
|
||||
x=22
|
||||
y=32
|
||||
image=item-sceptreoffire.png
|
||||
[/item]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
first_time_only=no
|
||||
[filter]
|
||||
side=1
|
||||
x=22
|
||||
y=32
|
||||
[/filter]
|
||||
[object]
|
||||
id=object_sceptre
|
||||
name=Sceptre of Fire
|
||||
image=item-sceptreoffire.png
|
||||
duration=forever
|
||||
description="This ancient Sceptre was forged by the Dwarves. A symbol of the kingship of Wesnoth, the Sceptre has the power to shoot fireballs at enemies of the bearer!"
|
||||
cannot_use_message="This is the Sceptre of Fire. Only a true successor to the throne can possibly dare to take this!"
|
||||
[filter]
|
||||
type=Princess,Commander,Lord
|
||||
[/filter]
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=sceptre of fire
|
||||
type=fire
|
||||
range=long
|
||||
special=magical
|
||||
damage=16
|
||||
number=4
|
||||
[sound]
|
||||
time=-200
|
||||
sound=fire.wav
|
||||
[/sound]
|
||||
[missile_frame]
|
||||
begin=-100
|
||||
end=0
|
||||
image=fireball.png
|
||||
image_diagonal=fireball.png
|
||||
[/missile_frame]
|
||||
[/effect]
|
||||
[/object]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Konrad
|
||||
x=22
|
||||
y=32
|
||||
[/filter]
|
||||
[set_variable]
|
||||
name=sceptre
|
||||
value="Konrad"
|
||||
[/set_variable]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=sceptre3
|
||||
message="Here it is at last, I have the Sceptre!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Kalenz
|
||||
message="So it is in our hands! Now let us leave this stinking pit."
|
||||
id=sceptre4
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
message="I think that if we travel just a little north, we might be able to get out."
|
||||
id=sceptre5
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Li'sar
|
||||
x=22
|
||||
y=32
|
||||
[/filter]
|
||||
[set_variable]
|
||||
name=sceptre
|
||||
value="Li'sar"
|
||||
[/set_variable]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=sceptre6
|
||||
message="At last! I have the Sceptre!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=sceptre7
|
||||
message="Indeed. You managed to reach it Li'sar. I hope you shall use it wisely."
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=sceptre8
|
||||
message="Well my first use for it is going to be to help us get out of this hole! I hope you consider that wise."
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=sceptre9
|
||||
message="The Sceptre makes its wielder powerful, but hardly immortal, child. Use it prudently. Now come, I believe there is an exit to the north!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Li'sar
|
||||
id=sceptre10
|
||||
message="I think I know what I'm doing. Come, let us go!"
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
{deaths.cfg}
|
||||
[/scenario]
|
415
data/scenarios/The_Liberation_Front.cfg
Normal file
|
@ -0,0 +1,415 @@
|
|||
[scenario]
|
||||
name="The Liberation Front"
|
||||
map=LiberationMap
|
||||
turns=28
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
id=The_Liberation_Front
|
||||
next_scenario=Undefined
|
||||
|
||||
music="wesnoth-4.ogg"
|
||||
|
||||
[bigmap]
|
||||
image=misc/map.png
|
||||
[dot]
|
||||
type=cross
|
||||
x=187
|
||||
y=187
|
||||
[/dot]
|
||||
[/bigmap]
|
||||
|
||||
objectives="
|
||||
Victory:
|
||||
@Defeat All three Orc Leaders
|
||||
Defeat:
|
||||
#Death of Konrad
|
||||
#Death of Delfador
|
||||
#Death of Kalenz
|
||||
#Death of Li'sar
|
||||
#Time runs out"
|
||||
|
||||
[item]
|
||||
x=14
|
||||
y=3
|
||||
image=terrain/dwarven-doors.png
|
||||
[/item]
|
||||
[item]
|
||||
x=10
|
||||
y=26
|
||||
image=terrain/castle-ruins.png
|
||||
[/item]
|
||||
[item]
|
||||
x=10
|
||||
y=27
|
||||
image=terrain/castle-ruins.png
|
||||
[/item]
|
||||
[item]
|
||||
x=11
|
||||
y=27
|
||||
image=terrain/castle-ruins.png
|
||||
[/item]
|
||||
[item]
|
||||
x=17
|
||||
y=21
|
||||
image=terrain/castle-ruins.png
|
||||
[/item]
|
||||
[item]
|
||||
x=5
|
||||
y=34
|
||||
image=terrain/castle-ruins.png
|
||||
[/item]
|
||||
|
||||
[side]
|
||||
type=Commander
|
||||
description=Konrad
|
||||
side=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
recruit=Elvish Scout,Elvish Fighter,Elvish Archer,Horseman,Mage,Elvish Shaman,Merman,Thief,Gryphon Rider, Dwarf,
|
||||
enemy=2,3,4
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description=Knafa-Telfar
|
||||
side=2
|
||||
canrecruit=1
|
||||
recruit=Orcish Warrior,Wolf Rider,Orcish Crossbow,Orcish Assassin,Troll Warrior
|
||||
#ifdef EASY
|
||||
gold=250
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
gold=300
|
||||
#endif
|
||||
#ifdef HARD
|
||||
gold=350
|
||||
#endif
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description=Urug-Tan
|
||||
side=3
|
||||
canrecruit=1
|
||||
#ifdef EASY
|
||||
recruit=Orcish Grunt,Wolf Rider,Orcish Archer,Orcish Assassin,Troll
|
||||
gold=250
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
recruit=Orcish Grunt,Goblin Knight,Orcish Crossbow,Orcish Assassin,Troll Warrior
|
||||
gold=300
|
||||
#endif
|
||||
#ifdef HARD
|
||||
recruit=Orcish Warrior,Goblin Knight,Orcish Crossbow,Orcish Assassin,Troll Warrior
|
||||
gold=350
|
||||
#endif
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
race=Orcs3
|
||||
type=Orcish Warlord
|
||||
description=Shuuga-Mool
|
||||
side=4
|
||||
canrecruit=1
|
||||
recruit=Orcish Warrior,Wolf Rider,Orcish Crossbow,Troll Warrior,Orcish Slayer
|
||||
#ifdef EASY
|
||||
gold=250
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
gold=300
|
||||
#endif
|
||||
#ifdef HARD
|
||||
gold=350
|
||||
#endif
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
race=Orcs3
|
||||
type=Orcish Warlord
|
||||
description=Ba-grah'Nook
|
||||
side=5
|
||||
canrecruit=0
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Delfador
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Kalenz
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Li'sar
|
||||
[/recall]
|
||||
#move The orcs off their keeps so they don't recruit yet
|
||||
[command]
|
||||
[kill]
|
||||
description=Knafa-Telfar
|
||||
[/kill]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=29
|
||||
y=22
|
||||
description=Knafa-Telfar
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[kill]
|
||||
description=Urug-Tan
|
||||
[/kill]
|
||||
[/command]
|
||||
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=1
|
||||
y=35
|
||||
description=Urug-Tan
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
[/event]
|
||||
[event]
|
||||
name=turn 1
|
||||
[message]
|
||||
description=Konrad
|
||||
id=msg13_1
|
||||
message="Alright Delfador, now that I have claimed the Scepter of Fire I am going to hold you to your promise."
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=msg13_2
|
||||
message="Which one?"
|
||||
[/message]
|
||||
[message]
|
||||
description=Konrad
|
||||
id=13_3
|
||||
message="That we free these lands from the scourge of the orcs!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=msg13_4
|
||||
message="Very well Konrad. But the orcs must have contacted Asheviere about our trip into the mines, and I doubt she will trust them to take care of the job. So make haste, and dispatch these beasts quickly, lest reinforcements arrive."
|
||||
[/message]
|
||||
[message]
|
||||
description=Shuuga-Mool
|
||||
message="The human and his friends have returned! I will deal with them myself!"
|
||||
id=msg13_5
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Knafa-Telfar
|
||||
id=msg13_6
|
||||
message="If your sure boss..."
|
||||
[/message]
|
||||
[message]
|
||||
description=Shuuga-Mool
|
||||
id=msg13_7
|
||||
message="COURSE I'm sure worm! Do as your told!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Knafa-Telfar
|
||||
id=msg13_8
|
||||
message="Alright, alright! Sorry boss!"
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Shuuga-Mool
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg13_9
|
||||
description=Knafa-Telfar
|
||||
message="They killed the boss!"
|
||||
[/message]
|
||||
[message]
|
||||
id=msg13_10
|
||||
description=Urug-Tan
|
||||
message="I knew you should've helped him!"
|
||||
[/message]
|
||||
[message]
|
||||
id=msg13_11
|
||||
description=Knafa-Telfar
|
||||
message="So this is my fault!?! Nevermind! Let's just kill them!"
|
||||
[/message]
|
||||
[command]
|
||||
[kill]
|
||||
description=Knafa-Telfar
|
||||
[/kill]
|
||||
[/command]
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=29
|
||||
y=21
|
||||
description=Knafa-Telfar
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
[command]
|
||||
[kill]
|
||||
description=Urug-Tan
|
||||
[/kill]
|
||||
[/command]
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=1
|
||||
y=35
|
||||
description=Urug-Tan
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
|
||||
[/event]
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x=27-29
|
||||
y=19-23
|
||||
[/filter]
|
||||
[command]
|
||||
[kill]
|
||||
description=Knafa-Telfar
|
||||
[/kill]
|
||||
[/command]
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=29
|
||||
y=21
|
||||
description=Knafa-Telfar
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
[message]
|
||||
description=Knafa-Telfar
|
||||
id=msg13_15
|
||||
message="They're attacking me boss! I gotta defend myself!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x=1-3
|
||||
y=33-37
|
||||
[/filter]
|
||||
[command]
|
||||
[kill]
|
||||
description=Urug-Tan
|
||||
[/kill]
|
||||
[/command]
|
||||
[command]
|
||||
[unit]
|
||||
side=2
|
||||
x=29
|
||||
y=21
|
||||
description=Urug-Tan
|
||||
type=Orcish Warlord
|
||||
canrecruit=1
|
||||
[/unit]
|
||||
[/command]
|
||||
[message]
|
||||
description=Urug-Tan
|
||||
id=msg13_16
|
||||
message="They're attacking me boss! I gotta defend myself!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=turn 18
|
||||
[unit]
|
||||
description=Ba-grah'Nook
|
||||
type=Orcish Warlord
|
||||
canrecruit=0
|
||||
x=20
|
||||
y=44
|
||||
side=5
|
||||
[/unit]
|
||||
[unit]
|
||||
description=Grungy
|
||||
type=Troll Warrior
|
||||
x=20
|
||||
y=45
|
||||
side=5
|
||||
[/unit]
|
||||
[unit]
|
||||
description=Stupid
|
||||
type=Troll
|
||||
x=19
|
||||
y=45
|
||||
side=5
|
||||
[/unit]
|
||||
[unit]
|
||||
description=Ugly
|
||||
type=Troll
|
||||
x=21
|
||||
y=45
|
||||
side=5
|
||||
[/unit]
|
||||
[unit]
|
||||
description=Gorba
|
||||
type=Orcish Slayer
|
||||
x=19
|
||||
y=44
|
||||
side=5
|
||||
[/unit]
|
||||
[unit]
|
||||
description=Bogar
|
||||
type=Orcish Slayer
|
||||
x=21
|
||||
y=44
|
||||
side=5
|
||||
[/unit]
|
||||
[message]
|
||||
description=Ba-grah'Nook
|
||||
id=msg13_12
|
||||
message="Hail! We've come in response to your message, the Queen has given us specific orders to help you deal with these humans once and for all. We're the vanguard that's been sent out from an entire army that's been ordered to deal with these miscreants!"
|
||||
[/message]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=msg13_13
|
||||
message="This is a bad turn of events! We must finish them quickly and flee! We are not capable of dealing with an entire army dedicated to wiping us out in our current condition!"
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Knafa-Telfar
|
||||
description=Urug-Tan
|
||||
[/filter]
|
||||
[message]
|
||||
description=Delfador
|
||||
id=msg13_14
|
||||
message="We've slain our opposition! Now let us make haste!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=yes
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
{deaths.cfg}
|
||||
|
||||
[/scenario]
|
236
data/scenarios/The_Skull_of_Agarash.cfg
Normal file
|
@ -0,0 +1,236 @@
|
|||
[scenario]
|
||||
name="The Skull of Agarash"
|
||||
map=undmap1
|
||||
turns=28
|
||||
|
||||
|
||||
{DUSK}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{FIRST_WATCH}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
|
||||
id="Skull_Agarash"
|
||||
next_scenario=null
|
||||
|
||||
music="wesnoth-3.ogg"
|
||||
|
||||
objectives="
|
||||
Victory:
|
||||
@Take the Skull of Agarash
|
||||
Defeat:
|
||||
#Death of Gwiti Ha'atel
|
||||
#Turns run out"
|
||||
|
||||
|
||||
[side]
|
||||
type=Dark Apprentice
|
||||
description=Gwiti Ha'atel
|
||||
side=1
|
||||
canrecruit=1
|
||||
controller=human
|
||||
recruit=Dark Adept,Ghost,Walking Corpse,Vampire Bat,Skeleton,Skeleton Archer
|
||||
enemy=2
|
||||
gold=120
|
||||
[/side]
|
||||
|
||||
|
||||
|
||||
[side]
|
||||
race=Orcs
|
||||
type=Orcish Warlord
|
||||
description=Karz Gholum
|
||||
side=2
|
||||
canrecruit=1
|
||||
recruit= Orcish Grunt,Wolf Rider,Orcish Archer,Troll
|
||||
gold=100
|
||||
|
||||
|
||||
enemy=1
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
race=Orcs
|
||||
type=Dark Apprentice
|
||||
description=Isidal B'Tai
|
||||
side=3
|
||||
canrecruit=1
|
||||
recruit=Orcish Grunt,Wolf Rider,Orcish Archer,Troll Whelp
|
||||
#ifdef HARD
|
||||
gold=180
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
gold=120
|
||||
#endif
|
||||
#ifdef EASY
|
||||
gold=80
|
||||
#endif
|
||||
enemy=1,4
|
||||
[/side]
|
||||
|
||||
|
||||
[side]
|
||||
race=Orcs
|
||||
type=Dark Apprentice
|
||||
description=Nakur Kimoni
|
||||
side=4
|
||||
canrecruit=1
|
||||
recruit=Orcish Grunt,Wolf Rider,Orcish Archer,Troll Whelp
|
||||
#ifdef HARD
|
||||
gold=180
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
gold=120
|
||||
#endif
|
||||
#ifdef EASY
|
||||
gold=80
|
||||
#endif
|
||||
enemy=1,3
|
||||
[/side]
|
||||
|
||||
|
||||
[event]
|
||||
name=start
|
||||
|
||||
[message]
|
||||
id=msg2_1
|
||||
speaker=narrator
|
||||
message="After Gwiti destroyed his brother, he was planning a march upon Wesnoth. But a Dark Spirit came to him, counselling him..."
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_2
|
||||
description=Dark Spirit
|
||||
message="Gwiitii... Gwiti!"
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_3
|
||||
description=Gwiti Ha'atel
|
||||
message="A Dark Spirit? Surely this is my token of mastery of the undead!"
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_4
|
||||
description=Dark Spirit
|
||||
message="Gwiti, do not yet march upon Wesnoth. First, you shall go north, and there find the Skull of Agarash."
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_5
|
||||
description=Gwiti Ha'atel
|
||||
message="What is the Skull of Agarash? Tell me more."
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_6
|
||||
description=Dark Spirit
|
||||
message="Do you see the three orc clans of this land? Their banners are topped with skulls, as is their custom. But one of these is the Skull of Agarash - which once was mine. Take it and your power will grow greater by far."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=turn 4
|
||||
[message]
|
||||
id=msg2_7
|
||||
description=Konrad
|
||||
message="Haha, some of the orcish clans are fighting each other!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Gwiti Ha'atel
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_8
|
||||
speaker=unit
|
||||
message="What? I can't die! I've done so already! Noooo!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Karz Gholum
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_9
|
||||
speaker=unit
|
||||
message="Oh no! They undead hordes have taken my banner!"
|
||||
[/message]
|
||||
[message]
|
||||
id=msg2_10
|
||||
description=Gwiti Ha'atel
|
||||
message="It is not your banner, and it never was! That skull marked it mine since long ago."
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Nakur Kimoni
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_11
|
||||
description=Gwiti Ha'atel
|
||||
message="This skull is powerless!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Isidal B'tai
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_12
|
||||
description=Gwiti Ha'atel
|
||||
message="That is not the skull of Agarash!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Gwiti Ha'atel
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_13
|
||||
speaker=unit
|
||||
message="I am dying, and mya rmy is defeated! This is the end...!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
|
||||
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
description=Gwiti Ha'atel
|
||||
[/filter]
|
||||
[message]
|
||||
id=msg2_14
|
||||
description=Gwiti Ha'atel
|
||||
message="I am Gwiti the Mighty, prepare to die!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
[/scenario]
|
||||
|
54
data/units/Dwarvish_Runemaster.cfg
Normal file
|
@ -0,0 +1,54 @@
|
|||
[unit]
|
||||
name=Dwarvish Runemaster
|
||||
race=dwarf
|
||||
image=dwarf-runemaster.png
|
||||
image_defensive=dwarf-runemaster-defend.png
|
||||
hitpoints=75
|
||||
movement_type=mountainfoot
|
||||
movement=5
|
||||
experience=500
|
||||
level=3
|
||||
alignment=neutral
|
||||
advanceto=null
|
||||
cost=115
|
||||
usage=fighter
|
||||
unit_description="The mighty dwarvish runemasters are fearsome and sturdy warriors who have harnessed the secret powers of the dwarven runes. Their beloved and cautiosly crafted hammers creep with magic energy, sending lightning bolts at their enemies when their masters hit the ground."
|
||||
get_hit_sound=groan.wav
|
||||
|
||||
[attack]
|
||||
name=runic hammer
|
||||
type=impact
|
||||
range=short
|
||||
damage=15
|
||||
number=3
|
||||
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=dwarf-runemaster-attack.png
|
||||
[/frame]
|
||||
|
||||
[/attack]
|
||||
|
||||
[attack]
|
||||
name=Lightning bolt
|
||||
type=fire
|
||||
range=long
|
||||
damage=15
|
||||
number=2
|
||||
special=magical
|
||||
|
||||
[sound]
|
||||
time=-200
|
||||
sound=fire.wav
|
||||
[/sound]
|
||||
|
||||
[missile_frame]
|
||||
begin=-110
|
||||
end=15
|
||||
image=lightning-bolt.png
|
||||
[/missile_frame]
|
||||
|
||||
[/attack]
|
||||
|
||||
[/unit]
|
51
data/units/Elvish_Scout.cfg
Normal file
|
@ -0,0 +1,51 @@
|
|||
[unit]
|
||||
name=Elvish Scout
|
||||
image=elvish-scout.png
|
||||
race=elf
|
||||
hitpoints=28
|
||||
movement_type=woodland
|
||||
|
||||
#mostly like a foot Elf, but they
|
||||
#aren't good at defending in villages
|
||||
[defense]
|
||||
village=60
|
||||
[/defense]
|
||||
|
||||
#they are weak against piercing attacks
|
||||
[resistance]
|
||||
pierce=120
|
||||
[/resistance]
|
||||
movement=9
|
||||
experience=37
|
||||
level=1
|
||||
alignment=neutral
|
||||
advanceto=Elvish Outrider
|
||||
cost=18
|
||||
usage=scout
|
||||
unit_description="Elvish Scouts move swiftly through forest and grassland alike. Their skill on horseback is virtually unmatched, although they do lack power in combat"
|
||||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=sword
|
||||
type=blade
|
||||
range=short
|
||||
damage=4
|
||||
number=3
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=elvish-scout-attack.png
|
||||
[/frame]
|
||||
[sound]
|
||||
time=-100
|
||||
sound=horse-canter.wav
|
||||
[/sound]
|
||||
[/attack]
|
||||
[attack]
|
||||
name=bow
|
||||
type=pierce
|
||||
range=long
|
||||
damage=4
|
||||
number=2
|
||||
[/attack]
|
||||
[/unit]
|
||||
|
479
depcomp
Executable file
|
@ -0,0 +1,479 @@
|
|||
#! /bin/sh
|
||||
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
# `libtool' can also be set to `yes' or `no'.
|
||||
|
||||
if test -z "$depfile"; then
|
||||
base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
|
||||
dir=`echo "$object" | sed 's,/.*$,/,'`
|
||||
if test "$dir" = "$object"; then
|
||||
dir=
|
||||
fi
|
||||
# FIXME: should be _deps on DOS.
|
||||
depfile="$dir.deps/$base"
|
||||
fi
|
||||
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
|
||||
tmpdepfile="$stripped.u"
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
|
||||
if test -f "$tmpdepfile"; then :
|
||||
else
|
||||
stripped=`echo "$stripped" | sed 's,^.*/,,'`
|
||||
tmpdepfile="$stripped.u"
|
||||
fi
|
||||
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile"; then
|
||||
outname="$stripped.o"
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
icc)
|
||||
# Intel's C compiler understands `-MD -MF file'. However on
|
||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||
# ICC 7.0 will fill foo.d with something like
|
||||
# foo.o: sub/foo.c
|
||||
# foo.o: sub/foo.h
|
||||
# which is wrong. We want:
|
||||
# sub/foo.o: sub/foo.c
|
||||
# sub/foo.o: sub/foo.h
|
||||
# sub/foo.c:
|
||||
# sub/foo.h:
|
||||
# ICC 7.1 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using \ :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||
sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1="$dir.libs/$base.lo.d"
|
||||
tmpdepfile2="$dir.libs/$base.d"
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1="$dir$base.o.d"
|
||||
tmpdepfile2="$dir$base.d"
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile1"; then
|
||||
tmpdepfile="$tmpdepfile1"
|
||||
else
|
||||
tmpdepfile="$tmpdepfile2"
|
||||
fi
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for `:'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E |
|
||||
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
"$@" || exit $?
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
BIN
images/dwarf-runemaster-attack.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
images/dwarf-runemaster-defend.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
images/dwarf-runemaster.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
images/elvish-captain-bow-attack1.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/elvish-captain-bow-attack2.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/elvish-captain-bow.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
images/elvish-scout-attack.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
images/elvish-scout.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
images/item-sceptreoffire.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
images/lightning-bolt.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
images/misc/story8.png
Normal file
After Width: | Height: | Size: 374 KiB |
BIN
images/terrain/flag-neutral-second_watch.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
images/terrain/human-village.gif
Normal file
After Width: | Height: | Size: 3.7 KiB |
294
install-sh
Executable file
|
@ -0,0 +1,294 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
#
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
transformbasename=""
|
||||
transform_arg=""
|
||||
instcmd="$mvprog"
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
dir_arg=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd=$cpprog
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd=$stripprog
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
# this colon is to work around a 386BSD /bin/sh bug
|
||||
:
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "$0: no input file specified" >&2
|
||||
exit 1
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]; then
|
||||
dst=$src
|
||||
src=""
|
||||
|
||||
if [ -d "$dst" ]; then
|
||||
instcmd=:
|
||||
chmodcmd=""
|
||||
else
|
||||
instcmd=$mkdirprog
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
||||
if [ -f "$src" ] || [ -d "$src" ]
|
||||
then
|
||||
:
|
||||
else
|
||||
echo "$0: $src does not exist" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "$0: no destination specified" >&2
|
||||
exit 1
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d "$dst" ]
|
||||
then
|
||||
dst=$dst/`basename "$src"`
|
||||
else
|
||||
:
|
||||
fi
|
||||
fi
|
||||
|
||||
## this sed command emulates the dirname command
|
||||
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if [ ! -d "$dstdir" ]; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-$defaultIFS}"
|
||||
|
||||
oIFS=$IFS
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS=$oIFS
|
||||
|
||||
pathcomp=''
|
||||
|
||||
while [ $# -ne 0 ] ; do
|
||||
pathcomp=$pathcomp$1
|
||||
shift
|
||||
|
||||
if [ ! -d "$pathcomp" ] ;
|
||||
then
|
||||
$mkdirprog "$pathcomp"
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
pathcomp=$pathcomp/
|
||||
done
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]
|
||||
then
|
||||
$doit $instcmd "$dst" &&
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
|
||||
else
|
||||
|
||||
# If we're going to rename the final executable, determine the name now.
|
||||
|
||||
if [ x"$transformarg" = x ]
|
||||
then
|
||||
dstfile=`basename "$dst"`
|
||||
else
|
||||
dstfile=`basename "$dst" $transformbasename |
|
||||
sed $transformarg`$transformbasename
|
||||
fi
|
||||
|
||||
# don't allow the sed command to completely eliminate the filename
|
||||
|
||||
if [ x"$dstfile" = x ]
|
||||
then
|
||||
dstfile=`basename "$dst"`
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up temp files at exit.
|
||||
|
||||
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd "$src" "$dsttmp" &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits
|
||||
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
|
||||
|
||||
# Now remove or move aside any old file at destination location. We try this
|
||||
# two ways since rm can't unlink itself on some systems and the destination
|
||||
# file might be busy for other reasons. In this case, the final cleanup
|
||||
# might fail but the new file should still install successfully.
|
||||
|
||||
{
|
||||
if [ -f "$dstdir/$dstfile" ]
|
||||
then
|
||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
|
||||
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
|
||||
{
|
||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||
(exit 1); exit
|
||||
}
|
||||
else
|
||||
:
|
||||
fi
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||
|
||||
fi &&
|
||||
|
||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||
|
||||
{
|
||||
(exit 0); exit
|
||||
}
|
336
missing
Executable file
|
@ -0,0 +1,336 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing 0.4 - GNU automake"
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aclocal*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||
# We have makeinfo, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
111
mkinstalldirs
Executable file
|
@ -0,0 +1,111 @@
|
|||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
||||
usage="\
|
||||
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||
|
||||
# process command line arguments
|
||||
while test $# -gt 0 ; do
|
||||
case $1 in
|
||||
-h | --help | --h*) # -h for help
|
||||
echo "$usage" 1>&2
|
||||
exit 0
|
||||
;;
|
||||
-m) # -m PERM arg
|
||||
shift
|
||||
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||
dirmode=$1
|
||||
shift
|
||||
;;
|
||||
--) # stop option processing
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*) # unknown option
|
||||
echo "$usage" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
*) # first non-opt arg
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for file
|
||||
do
|
||||
if test -d "$file"; then
|
||||
shift
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
case $# in
|
||||
0) exit 0 ;;
|
||||
esac
|
||||
|
||||
case $dirmode in
|
||||
'')
|
||||
if mkdir -p -- . 2>/dev/null; then
|
||||
echo "mkdir -p -- $*"
|
||||
exec mkdir -p -- "$@"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||
echo "mkdir -m $dirmode -p -- $*"
|
||||
exec mkdir -m "$dirmode" -p -- "$@"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case $pathcomp in
|
||||
-*) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
else
|
||||
if test ! -z "$dirmode"; then
|
||||
echo "chmod $dirmode $pathcomp"
|
||||
lasterr=""
|
||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -z "$lasterr"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# End:
|
||||
# mkinstalldirs ends here
|
206
src/Makefile.am
Normal file
|
@ -0,0 +1,206 @@
|
|||
if SERVER
|
||||
SSUBDIRS = server
|
||||
endif
|
||||
|
||||
if TOOLS
|
||||
TSUBDIRS = tools
|
||||
endif
|
||||
|
||||
if EDITOR
|
||||
EPROGRAMS = wesnoth_editor
|
||||
endif
|
||||
|
||||
SUBDIRS = . $(SSUBDIRS) $(TSUBDIRS)
|
||||
bin_PROGRAMS = wesnoth $(EPROGRAMS)
|
||||
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\"
|
||||
AM_LDFLAGS = @SDL_LIBS@ @SDL_IMAGE_LIBS@ @SDL_MIXER_LIBS@ @SDL_NET_LIBS@ @SDL_TTF_LIBS@
|
||||
|
||||
#############################################################################
|
||||
# Wesnoth #
|
||||
#############################################################################
|
||||
|
||||
wesnoth_SOURCES = about.cpp \
|
||||
actions.cpp \
|
||||
ai.cpp \
|
||||
ai_attack.cpp \
|
||||
ai_move.cpp \
|
||||
config.cpp \
|
||||
dialogs.cpp \
|
||||
display.cpp \
|
||||
events.cpp \
|
||||
filesystem.cpp \
|
||||
font.cpp \
|
||||
game.cpp \
|
||||
game_config.cpp \
|
||||
game_events.cpp \
|
||||
gamestatus.cpp \
|
||||
hotkeys.cpp \
|
||||
image.cpp \
|
||||
intro.cpp \
|
||||
key.cpp \
|
||||
language.cpp \
|
||||
log.cpp \
|
||||
map.cpp \
|
||||
mouse.cpp \
|
||||
multiplayer.cpp \
|
||||
multiplayer_client.cpp \
|
||||
multiplayer_lobby.cpp \
|
||||
network.cpp \
|
||||
pathfind.cpp \
|
||||
playlevel.cpp \
|
||||
playturn.cpp \
|
||||
preferences.cpp \
|
||||
race.cpp \
|
||||
replay.cpp \
|
||||
sdl_utils.cpp \
|
||||
show_dialog.cpp \
|
||||
sound.cpp \
|
||||
team.cpp \
|
||||
terrain.cpp \
|
||||
tooltips.cpp \
|
||||
unit.cpp \
|
||||
unit_types.cpp \
|
||||
video.cpp \
|
||||
widgets/button.cpp \
|
||||
widgets/combo.cpp \
|
||||
widgets/menu.cpp \
|
||||
widgets/slider.cpp \
|
||||
widgets/textbox.cpp \
|
||||
about.hpp \
|
||||
actions.hpp \
|
||||
ai.hpp \
|
||||
ai_attack.hpp \
|
||||
ai_move.hpp \
|
||||
config.hpp \
|
||||
dialogs.hpp \
|
||||
display.hpp \
|
||||
events.hpp \
|
||||
filesystem.hpp \
|
||||
font.hpp \
|
||||
game.hpp \
|
||||
game_config.hpp \
|
||||
game_events.hpp \
|
||||
gamestatus.hpp \
|
||||
hotkeys.hpp \
|
||||
image.hpp \
|
||||
intro.hpp \
|
||||
key.hpp \
|
||||
language.hpp \
|
||||
log.hpp \
|
||||
map.hpp \
|
||||
mouse.hpp \
|
||||
multiplayer.hpp \
|
||||
multiplayer_client.hpp \
|
||||
multiplayer_lobby.hpp \
|
||||
network.hpp \
|
||||
pathfind.hpp \
|
||||
playlevel.hpp \
|
||||
playturn.hpp \
|
||||
preferences.hpp \
|
||||
race.hpp \
|
||||
replay.hpp \
|
||||
scoped_resource.hpp \
|
||||
sdl_utils.hpp \
|
||||
show_dialog.hpp \
|
||||
sound.hpp \
|
||||
team.hpp \
|
||||
terrain.hpp \
|
||||
tooltips.hpp \
|
||||
unit.hpp \
|
||||
unit_types.hpp \
|
||||
util.hpp \
|
||||
video.hpp \
|
||||
widgets/button.hpp \
|
||||
widgets/combo.hpp \
|
||||
widgets/menu.hpp \
|
||||
widgets/slider.hpp \
|
||||
widgets/textbox.hpp
|
||||
|
||||
#############################################################################
|
||||
# Editor #
|
||||
#############################################################################
|
||||
|
||||
wesnoth_editor_SOURCES = editor/editor.cpp \
|
||||
actions.cpp \
|
||||
ai.cpp \
|
||||
ai_attack.cpp \
|
||||
ai_move.cpp \
|
||||
config.cpp \
|
||||
dialogs.cpp \
|
||||
display.cpp \
|
||||
events.cpp \
|
||||
filesystem.cpp \
|
||||
font.cpp \
|
||||
game_config.cpp \
|
||||
game_events.cpp \
|
||||
gamestatus.cpp \
|
||||
hotkeys.cpp \
|
||||
image.cpp \
|
||||
intro.cpp \
|
||||
key.cpp \
|
||||
language.cpp \
|
||||
log.cpp \
|
||||
map.cpp \
|
||||
mouse.cpp \
|
||||
network.cpp \
|
||||
pathfind.cpp \
|
||||
playlevel.cpp \
|
||||
playturn.cpp \
|
||||
preferences.cpp \
|
||||
race.cpp \
|
||||
replay.cpp \
|
||||
sdl_utils.cpp \
|
||||
show_dialog.cpp \
|
||||
sound.cpp \
|
||||
team.cpp \
|
||||
terrain.cpp \
|
||||
tooltips.cpp \
|
||||
unit.cpp \
|
||||
unit_types.cpp \
|
||||
video.cpp \
|
||||
widgets/button.cpp \
|
||||
widgets/menu.cpp \
|
||||
widgets/textbox.cpp \
|
||||
widgets/slider.cpp \
|
||||
actions.hpp \
|
||||
ai.hpp \
|
||||
ai_attack.hpp \
|
||||
ai_move.hpp \
|
||||
config.hpp \
|
||||
dialogs.hpp \
|
||||
display.hpp \
|
||||
events.hpp \
|
||||
filesystem.hpp \
|
||||
font.hpp \
|
||||
game_config.hpp \
|
||||
game_events.hpp \
|
||||
gamestatus.hpp \
|
||||
hotkeys.hpp \
|
||||
image.hpp \
|
||||
intro.hpp \
|
||||
key.hpp \
|
||||
language.hpp \
|
||||
log.hpp \
|
||||
map.hpp \
|
||||
mouse.hpp \
|
||||
network.hpp \
|
||||
pathfind.hpp \
|
||||
playlevel.hpp \
|
||||
playturn.hpp \
|
||||
preferences.hpp \
|
||||
race.hpp \
|
||||
replay.hpp \
|
||||
sdl_utils.hpp \
|
||||
show_dialog.hpp \
|
||||
sound.hpp \
|
||||
team.hpp \
|
||||
terrain.hpp \
|
||||
tooltips.hpp \
|
||||
unit.hpp \
|
||||
unit_types.hpp \
|
||||
video.hpp \
|
||||
widgets/button.hpp \
|
||||
widgets/menu.hpp \
|
||||
widgets/textbox.hpp \
|
||||
widgets/slider.hpp
|
949
src/Makefile.in
Normal file
|
@ -0,0 +1,949 @@
|
|||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATA_FILES = @DATA_FILES@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EDITOR_FALSE = @EDITOR_FALSE@
|
||||
EDITOR_TRUE = @EDITOR_TRUE@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FONT_FILES = @FONT_FILES@
|
||||
IMAGE_FILES = @IMAGE_FILES@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANUAL_FILES = @MANUAL_FILES@
|
||||
MUSIC_FILES = @MUSIC_FILES@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
|
||||
SDL_NET_LIBS = @SDL_NET_LIBS@
|
||||
SDL_TTF_LIBS = @SDL_TTF_LIBS@
|
||||
SERVER_FALSE = @SERVER_FALSE@
|
||||
SERVER_TRUE = @SERVER_TRUE@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SOUND_FILES = @SOUND_FILES@
|
||||
STRIP = @STRIP@
|
||||
TOOLS_FALSE = @TOOLS_FALSE@
|
||||
TOOLS_TRUE = @TOOLS_TRUE@
|
||||
UTIL_FILES = @UTIL_FILES@
|
||||
VERSION = @VERSION@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_STRIP = @ac_ct_STRIP@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
oldincludedir = @oldincludedir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
@SERVER_TRUE@SSUBDIRS = server
|
||||
|
||||
@TOOLS_TRUE@TSUBDIRS = tools
|
||||
|
||||
@EDITOR_TRUE@EPROGRAMS = wesnoth_editor
|
||||
|
||||
SUBDIRS = . $(SSUBDIRS) $(TSUBDIRS)
|
||||
bin_PROGRAMS = wesnoth $(EPROGRAMS)
|
||||
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\"
|
||||
AM_LDFLAGS = @SDL_LIBS@ @SDL_IMAGE_LIBS@ @SDL_MIXER_LIBS@ @SDL_NET_LIBS@ @SDL_TTF_LIBS@
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Wesnoth #
|
||||
#############################################################################
|
||||
wesnoth_SOURCES = about.cpp \
|
||||
actions.cpp \
|
||||
ai.cpp \
|
||||
ai_attack.cpp \
|
||||
ai_move.cpp \
|
||||
config.cpp \
|
||||
dialogs.cpp \
|
||||
display.cpp \
|
||||
events.cpp \
|
||||
filesystem.cpp \
|
||||
font.cpp \
|
||||
game.cpp \
|
||||
game_config.cpp \
|
||||
game_events.cpp \
|
||||
gamestatus.cpp \
|
||||
hotkeys.cpp \
|
||||
image.cpp \
|
||||
intro.cpp \
|
||||
key.cpp \
|
||||
language.cpp \
|
||||
log.cpp \
|
||||
map.cpp \
|
||||
mouse.cpp \
|
||||
multiplayer.cpp \
|
||||
multiplayer_client.cpp \
|
||||
multiplayer_lobby.cpp \
|
||||
network.cpp \
|
||||
pathfind.cpp \
|
||||
playlevel.cpp \
|
||||
playturn.cpp \
|
||||
preferences.cpp \
|
||||
race.cpp \
|
||||
replay.cpp \
|
||||
sdl_utils.cpp \
|
||||
show_dialog.cpp \
|
||||
sound.cpp \
|
||||
team.cpp \
|
||||
terrain.cpp \
|
||||
tooltips.cpp \
|
||||
unit.cpp \
|
||||
unit_types.cpp \
|
||||
video.cpp \
|
||||
widgets/button.cpp \
|
||||
widgets/combo.cpp \
|
||||
widgets/menu.cpp \
|
||||
widgets/slider.cpp \
|
||||
widgets/textbox.cpp \
|
||||
about.hpp \
|
||||
actions.hpp \
|
||||
ai.hpp \
|
||||
ai_attack.hpp \
|
||||
ai_move.hpp \
|
||||
config.hpp \
|
||||
dialogs.hpp \
|
||||
display.hpp \
|
||||
events.hpp \
|
||||
filesystem.hpp \
|
||||
font.hpp \
|
||||
game.hpp \
|
||||
game_config.hpp \
|
||||
game_events.hpp \
|
||||
gamestatus.hpp \
|
||||
hotkeys.hpp \
|
||||
image.hpp \
|
||||
intro.hpp \
|
||||
key.hpp \
|
||||
language.hpp \
|
||||
log.hpp \
|
||||
map.hpp \
|
||||
mouse.hpp \
|
||||
multiplayer.hpp \
|
||||
multiplayer_client.hpp \
|
||||
multiplayer_lobby.hpp \
|
||||
network.hpp \
|
||||
pathfind.hpp \
|
||||
playlevel.hpp \
|
||||
playturn.hpp \
|
||||
preferences.hpp \
|
||||
race.hpp \
|
||||
replay.hpp \
|
||||
scoped_resource.hpp \
|
||||
sdl_utils.hpp \
|
||||
show_dialog.hpp \
|
||||
sound.hpp \
|
||||
team.hpp \
|
||||
terrain.hpp \
|
||||
tooltips.hpp \
|
||||
unit.hpp \
|
||||
unit_types.hpp \
|
||||
util.hpp \
|
||||
video.hpp \
|
||||
widgets/button.hpp \
|
||||
widgets/combo.hpp \
|
||||
widgets/menu.hpp \
|
||||
widgets/slider.hpp \
|
||||
widgets/textbox.hpp
|
||||
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Editor #
|
||||
#############################################################################
|
||||
wesnoth_editor_SOURCES = editor/editor.cpp \
|
||||
actions.cpp \
|
||||
ai.cpp \
|
||||
ai_attack.cpp \
|
||||
ai_move.cpp \
|
||||
config.cpp \
|
||||
dialogs.cpp \
|
||||
display.cpp \
|
||||
events.cpp \
|
||||
filesystem.cpp \
|
||||
font.cpp \
|
||||
game_config.cpp \
|
||||
game_events.cpp \
|
||||
gamestatus.cpp \
|
||||
hotkeys.cpp \
|
||||
image.cpp \
|
||||
intro.cpp \
|
||||
key.cpp \
|
||||
language.cpp \
|
||||
log.cpp \
|
||||
map.cpp \
|
||||
mouse.cpp \
|
||||
network.cpp \
|
||||
pathfind.cpp \
|
||||
playlevel.cpp \
|
||||
playturn.cpp \
|
||||
preferences.cpp \
|
||||
race.cpp \
|
||||
replay.cpp \
|
||||
sdl_utils.cpp \
|
||||
show_dialog.cpp \
|
||||
sound.cpp \
|
||||
team.cpp \
|
||||
terrain.cpp \
|
||||
tooltips.cpp \
|
||||
unit.cpp \
|
||||
unit_types.cpp \
|
||||
video.cpp \
|
||||
widgets/button.cpp \
|
||||
widgets/menu.cpp \
|
||||
widgets/textbox.cpp \
|
||||
widgets/slider.cpp \
|
||||
actions.hpp \
|
||||
ai.hpp \
|
||||
ai_attack.hpp \
|
||||
ai_move.hpp \
|
||||
config.hpp \
|
||||
dialogs.hpp \
|
||||
display.hpp \
|
||||
events.hpp \
|
||||
filesystem.hpp \
|
||||
font.hpp \
|
||||
game_config.hpp \
|
||||
game_events.hpp \
|
||||
gamestatus.hpp \
|
||||
hotkeys.hpp \
|
||||
image.hpp \
|
||||
intro.hpp \
|
||||
key.hpp \
|
||||
language.hpp \
|
||||
log.hpp \
|
||||
map.hpp \
|
||||
mouse.hpp \
|
||||
network.hpp \
|
||||
pathfind.hpp \
|
||||
playlevel.hpp \
|
||||
playturn.hpp \
|
||||
preferences.hpp \
|
||||
race.hpp \
|
||||
replay.hpp \
|
||||
sdl_utils.hpp \
|
||||
show_dialog.hpp \
|
||||
sound.hpp \
|
||||
team.hpp \
|
||||
terrain.hpp \
|
||||
tooltips.hpp \
|
||||
unit.hpp \
|
||||
unit_types.hpp \
|
||||
video.hpp \
|
||||
widgets/button.hpp \
|
||||
widgets/menu.hpp \
|
||||
widgets/textbox.hpp \
|
||||
widgets/slider.hpp
|
||||
|
||||
subdir = src
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
@EDITOR_TRUE@bin_PROGRAMS = wesnoth$(EXEEXT) wesnoth_editor$(EXEEXT)
|
||||
@EDITOR_FALSE@bin_PROGRAMS = wesnoth$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
am_wesnoth_OBJECTS = about.$(OBJEXT) actions.$(OBJEXT) ai.$(OBJEXT) \
|
||||
ai_attack.$(OBJEXT) ai_move.$(OBJEXT) config.$(OBJEXT) \
|
||||
dialogs.$(OBJEXT) display.$(OBJEXT) events.$(OBJEXT) \
|
||||
filesystem.$(OBJEXT) font.$(OBJEXT) game.$(OBJEXT) \
|
||||
game_config.$(OBJEXT) game_events.$(OBJEXT) \
|
||||
gamestatus.$(OBJEXT) hotkeys.$(OBJEXT) image.$(OBJEXT) \
|
||||
intro.$(OBJEXT) key.$(OBJEXT) language.$(OBJEXT) log.$(OBJEXT) \
|
||||
map.$(OBJEXT) mouse.$(OBJEXT) multiplayer.$(OBJEXT) \
|
||||
multiplayer_client.$(OBJEXT) multiplayer_lobby.$(OBJEXT) \
|
||||
network.$(OBJEXT) pathfind.$(OBJEXT) playlevel.$(OBJEXT) \
|
||||
playturn.$(OBJEXT) preferences.$(OBJEXT) race.$(OBJEXT) \
|
||||
replay.$(OBJEXT) sdl_utils.$(OBJEXT) show_dialog.$(OBJEXT) \
|
||||
sound.$(OBJEXT) team.$(OBJEXT) terrain.$(OBJEXT) \
|
||||
tooltips.$(OBJEXT) unit.$(OBJEXT) unit_types.$(OBJEXT) \
|
||||
video.$(OBJEXT) button.$(OBJEXT) combo.$(OBJEXT) menu.$(OBJEXT) \
|
||||
slider.$(OBJEXT) textbox.$(OBJEXT)
|
||||
wesnoth_OBJECTS = $(am_wesnoth_OBJECTS)
|
||||
wesnoth_LDADD = $(LDADD)
|
||||
wesnoth_DEPENDENCIES =
|
||||
wesnoth_LDFLAGS =
|
||||
am_wesnoth_editor_OBJECTS = editor.$(OBJEXT) actions.$(OBJEXT) \
|
||||
ai.$(OBJEXT) ai_attack.$(OBJEXT) ai_move.$(OBJEXT) \
|
||||
config.$(OBJEXT) dialogs.$(OBJEXT) display.$(OBJEXT) \
|
||||
events.$(OBJEXT) filesystem.$(OBJEXT) font.$(OBJEXT) \
|
||||
game_config.$(OBJEXT) game_events.$(OBJEXT) \
|
||||
gamestatus.$(OBJEXT) hotkeys.$(OBJEXT) image.$(OBJEXT) \
|
||||
intro.$(OBJEXT) key.$(OBJEXT) language.$(OBJEXT) log.$(OBJEXT) \
|
||||
map.$(OBJEXT) mouse.$(OBJEXT) network.$(OBJEXT) \
|
||||
pathfind.$(OBJEXT) playlevel.$(OBJEXT) playturn.$(OBJEXT) \
|
||||
preferences.$(OBJEXT) race.$(OBJEXT) replay.$(OBJEXT) \
|
||||
sdl_utils.$(OBJEXT) show_dialog.$(OBJEXT) sound.$(OBJEXT) \
|
||||
team.$(OBJEXT) terrain.$(OBJEXT) tooltips.$(OBJEXT) \
|
||||
unit.$(OBJEXT) unit_types.$(OBJEXT) video.$(OBJEXT) \
|
||||
button.$(OBJEXT) menu.$(OBJEXT) textbox.$(OBJEXT) \
|
||||
slider.$(OBJEXT)
|
||||
wesnoth_editor_OBJECTS = $(am_wesnoth_editor_OBJECTS)
|
||||
wesnoth_editor_LDADD = $(LDADD)
|
||||
wesnoth_editor_DEPENDENCIES =
|
||||
wesnoth_editor_LDFLAGS =
|
||||
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/about.Po ./$(DEPDIR)/actions.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/ai.Po ./$(DEPDIR)/ai_attack.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/ai_move.Po ./$(DEPDIR)/button.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/combo.Po ./$(DEPDIR)/config.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/dialogs.Po ./$(DEPDIR)/display.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/editor.Po ./$(DEPDIR)/events.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/filesystem.Po ./$(DEPDIR)/font.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/game.Po ./$(DEPDIR)/game_config.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/game_events.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/gamestatus.Po ./$(DEPDIR)/hotkeys.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/image.Po ./$(DEPDIR)/intro.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/key.Po ./$(DEPDIR)/language.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/log.Po ./$(DEPDIR)/map.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/menu.Po ./$(DEPDIR)/mouse.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/multiplayer.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/multiplayer_client.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/multiplayer_lobby.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/network.Po ./$(DEPDIR)/pathfind.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/playlevel.Po ./$(DEPDIR)/playturn.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/preferences.Po ./$(DEPDIR)/race.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/replay.Po ./$(DEPDIR)/sdl_utils.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/show_dialog.Po ./$(DEPDIR)/slider.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/sound.Po ./$(DEPDIR)/team.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/terrain.Po ./$(DEPDIR)/textbox.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/tooltips.Po ./$(DEPDIR)/unit.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/unit_types.Po ./$(DEPDIR)/video.Po
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
||||
-o $@
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(wesnoth_SOURCES) $(wesnoth_editor_SOURCES)
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
||||
ps-recursive install-info-recursive uninstall-info-recursive \
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive
|
||||
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||
DIST_SUBDIRS = . server tools
|
||||
SOURCES = $(wesnoth_SOURCES) $(wesnoth_editor_SOURCES)
|
||||
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu src/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
wesnoth$(EXEEXT): $(wesnoth_OBJECTS) $(wesnoth_DEPENDENCIES)
|
||||
@rm -f wesnoth$(EXEEXT)
|
||||
$(CXXLINK) $(wesnoth_LDFLAGS) $(wesnoth_OBJECTS) $(wesnoth_LDADD) $(LIBS)
|
||||
wesnoth_editor$(EXEEXT): $(wesnoth_editor_OBJECTS) $(wesnoth_editor_DEPENDENCIES)
|
||||
@rm -f wesnoth_editor$(EXEEXT)
|
||||
$(CXXLINK) $(wesnoth_editor_LDFLAGS) $(wesnoth_editor_OBJECTS) $(wesnoth_editor_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/about.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/actions.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai_attack.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai_move.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/button.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/combo.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dialogs.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/display.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/editor.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/events.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filesystem.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/font.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_events.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gamestatus.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hotkeys.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intro.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/key.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/language.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/map.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mouse.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiplayer.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiplayer_client.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiplayer_lobby.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/network.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pathfind.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/playlevel.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/playturn.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preferences.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/race.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/replay.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sdl_utils.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/show_dialog.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slider.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sound.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/team.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/terrain.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/textbox.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tooltips.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unit.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unit_types.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video.Po@am__quote@
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||
|
||||
button.o: widgets/button.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT button.o -MD -MP -MF "$(DEPDIR)/button.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o button.o `test -f 'widgets/button.cpp' || echo '$(srcdir)/'`widgets/button.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/button.Tpo" "$(DEPDIR)/button.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/button.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/button.cpp' object='button.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/button.Po' tmpdepfile='$(DEPDIR)/button.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o button.o `test -f 'widgets/button.cpp' || echo '$(srcdir)/'`widgets/button.cpp
|
||||
|
||||
button.obj: widgets/button.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT button.obj -MD -MP -MF "$(DEPDIR)/button.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o button.obj `if test -f 'widgets/button.cpp'; then $(CYGPATH_W) 'widgets/button.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/button.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/button.Tpo" "$(DEPDIR)/button.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/button.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/button.cpp' object='button.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/button.Po' tmpdepfile='$(DEPDIR)/button.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o button.obj `if test -f 'widgets/button.cpp'; then $(CYGPATH_W) 'widgets/button.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/button.cpp'; fi`
|
||||
|
||||
combo.o: widgets/combo.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT combo.o -MD -MP -MF "$(DEPDIR)/combo.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o combo.o `test -f 'widgets/combo.cpp' || echo '$(srcdir)/'`widgets/combo.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/combo.Tpo" "$(DEPDIR)/combo.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/combo.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/combo.cpp' object='combo.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/combo.Po' tmpdepfile='$(DEPDIR)/combo.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o combo.o `test -f 'widgets/combo.cpp' || echo '$(srcdir)/'`widgets/combo.cpp
|
||||
|
||||
combo.obj: widgets/combo.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT combo.obj -MD -MP -MF "$(DEPDIR)/combo.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o combo.obj `if test -f 'widgets/combo.cpp'; then $(CYGPATH_W) 'widgets/combo.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/combo.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/combo.Tpo" "$(DEPDIR)/combo.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/combo.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/combo.cpp' object='combo.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/combo.Po' tmpdepfile='$(DEPDIR)/combo.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o combo.obj `if test -f 'widgets/combo.cpp'; then $(CYGPATH_W) 'widgets/combo.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/combo.cpp'; fi`
|
||||
|
||||
menu.o: widgets/menu.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT menu.o -MD -MP -MF "$(DEPDIR)/menu.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o menu.o `test -f 'widgets/menu.cpp' || echo '$(srcdir)/'`widgets/menu.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/menu.Tpo" "$(DEPDIR)/menu.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/menu.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/menu.cpp' object='menu.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/menu.Po' tmpdepfile='$(DEPDIR)/menu.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o menu.o `test -f 'widgets/menu.cpp' || echo '$(srcdir)/'`widgets/menu.cpp
|
||||
|
||||
menu.obj: widgets/menu.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT menu.obj -MD -MP -MF "$(DEPDIR)/menu.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o menu.obj `if test -f 'widgets/menu.cpp'; then $(CYGPATH_W) 'widgets/menu.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/menu.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/menu.Tpo" "$(DEPDIR)/menu.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/menu.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/menu.cpp' object='menu.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/menu.Po' tmpdepfile='$(DEPDIR)/menu.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o menu.obj `if test -f 'widgets/menu.cpp'; then $(CYGPATH_W) 'widgets/menu.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/menu.cpp'; fi`
|
||||
|
||||
slider.o: widgets/slider.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT slider.o -MD -MP -MF "$(DEPDIR)/slider.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o slider.o `test -f 'widgets/slider.cpp' || echo '$(srcdir)/'`widgets/slider.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/slider.Tpo" "$(DEPDIR)/slider.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/slider.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/slider.cpp' object='slider.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/slider.Po' tmpdepfile='$(DEPDIR)/slider.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o slider.o `test -f 'widgets/slider.cpp' || echo '$(srcdir)/'`widgets/slider.cpp
|
||||
|
||||
slider.obj: widgets/slider.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT slider.obj -MD -MP -MF "$(DEPDIR)/slider.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o slider.obj `if test -f 'widgets/slider.cpp'; then $(CYGPATH_W) 'widgets/slider.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/slider.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/slider.Tpo" "$(DEPDIR)/slider.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/slider.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/slider.cpp' object='slider.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/slider.Po' tmpdepfile='$(DEPDIR)/slider.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o slider.obj `if test -f 'widgets/slider.cpp'; then $(CYGPATH_W) 'widgets/slider.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/slider.cpp'; fi`
|
||||
|
||||
textbox.o: widgets/textbox.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT textbox.o -MD -MP -MF "$(DEPDIR)/textbox.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o textbox.o `test -f 'widgets/textbox.cpp' || echo '$(srcdir)/'`widgets/textbox.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/textbox.Tpo" "$(DEPDIR)/textbox.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/textbox.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/textbox.cpp' object='textbox.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/textbox.Po' tmpdepfile='$(DEPDIR)/textbox.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o textbox.o `test -f 'widgets/textbox.cpp' || echo '$(srcdir)/'`widgets/textbox.cpp
|
||||
|
||||
textbox.obj: widgets/textbox.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT textbox.obj -MD -MP -MF "$(DEPDIR)/textbox.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o textbox.obj `if test -f 'widgets/textbox.cpp'; then $(CYGPATH_W) 'widgets/textbox.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/textbox.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/textbox.Tpo" "$(DEPDIR)/textbox.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/textbox.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='widgets/textbox.cpp' object='textbox.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/textbox.Po' tmpdepfile='$(DEPDIR)/textbox.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o textbox.obj `if test -f 'widgets/textbox.cpp'; then $(CYGPATH_W) 'widgets/textbox.cpp'; else $(CYGPATH_W) '$(srcdir)/widgets/textbox.cpp'; fi`
|
||||
|
||||
editor.o: editor/editor.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT editor.o -MD -MP -MF "$(DEPDIR)/editor.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o editor.o `test -f 'editor/editor.cpp' || echo '$(srcdir)/'`editor/editor.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/editor.Tpo" "$(DEPDIR)/editor.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/editor.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='editor/editor.cpp' object='editor.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/editor.Po' tmpdepfile='$(DEPDIR)/editor.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o editor.o `test -f 'editor/editor.cpp' || echo '$(srcdir)/'`editor/editor.cpp
|
||||
|
||||
editor.obj: editor/editor.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT editor.obj -MD -MP -MF "$(DEPDIR)/editor.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o editor.obj `if test -f 'editor/editor.cpp'; then $(CYGPATH_W) 'editor/editor.cpp'; else $(CYGPATH_W) '$(srcdir)/editor/editor.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/editor.Tpo" "$(DEPDIR)/editor.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/editor.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='editor/editor.cpp' object='editor.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/editor.Po' tmpdepfile='$(DEPDIR)/editor.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o editor.obj `if test -f 'editor/editor.cpp'; then $(CYGPATH_W) 'editor/editor.cpp'; else $(CYGPATH_W) '$(srcdir)/editor/editor.cpp'; fi`
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ETAGS = etags
|
||||
ETAGSFLAGS =
|
||||
|
||||
CTAGS = ctags
|
||||
CTAGSFLAGS =
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if (etags --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = ..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" \
|
||||
distdir=../$(distdir)/$$subdir \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
|
||||
clean-binPROGRAMS clean-generic clean-recursive ctags \
|
||||
ctags-recursive distclean distclean-compile distclean-generic \
|
||||
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||
dvi-recursive info info-am info-recursive install install-am \
|
||||
install-binPROGRAMS install-data install-data-am \
|
||||
install-data-recursive install-exec install-exec-am \
|
||||
install-exec-recursive install-info install-info-am \
|
||||
install-info-recursive install-man install-recursive \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am installdirs-recursive maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-recursive \
|
||||
pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
|
||||
tags-recursive uninstall uninstall-am uninstall-binPROGRAMS \
|
||||
uninstall-info-am uninstall-info-recursive uninstall-recursive
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
170
src/about.cpp
Normal file
|
@ -0,0 +1,170 @@
|
|||
/* $Id$ */
|
||||
/*
|
||||
Copyright (C) 2003 by David White <davidnwhite@optusnet.com.au>
|
||||
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY.
|
||||
|
||||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#include "events.hpp"
|
||||
#include "font.hpp"
|
||||
#include "image.hpp"
|
||||
#include "key.hpp"
|
||||
#include "language.hpp"
|
||||
#include "display.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
#include "widgets/button.hpp"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
namespace about
|
||||
{
|
||||
|
||||
void show_about(display& disp)
|
||||
{
|
||||
SDL_Rect rect = {0, 0, disp.x(), disp.y()};
|
||||
|
||||
const surface_restorer restorer(disp.video().getSurface(), rect);
|
||||
|
||||
// Clear the screen
|
||||
gui::draw_solid_tinted_rectangle(0,0,disp.x()-1,disp.y()-1,
|
||||
0,0,0,1.0,disp.video().getSurface());
|
||||
update_whole_screen();
|
||||
|
||||
SDL_Surface* const map_image = image::get_image("misc/map.png",image::UNSCALED);
|
||||
SDL_Rect map_rect;
|
||||
map_rect.x = disp.x()/2 - map_image->w/2;
|
||||
map_rect.y = disp.y()/2 - map_image->h/2;
|
||||
map_rect.w = map_image->w;
|
||||
map_rect.h = map_image->h;
|
||||
|
||||
gui::button close(disp,string_table["close_button"]);
|
||||
close.set_xy((disp.x()/2)-(close.width()/2), map_rect.y+map_rect.h+15);
|
||||
|
||||
|
||||
std::vector<std::string> text;
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
text.push_back(" ");
|
||||
text.push_back("- ");
|
||||
|
||||
text.push_back("+Core Developers");
|
||||
text.push_back("- ");
|
||||
text.push_back("David White (Sirp)");
|
||||
text.push_back("-main developer");
|
||||
text.push_back("-scenario designer");
|
||||
text.push_back("Francisco Muñoz (fmunoz)");
|
||||
text.push_back("-artwork and graphics designer");
|
||||
text.push_back("- ");
|
||||
text.push_back("- ");
|
||||
text.push_back("- ");
|
||||
text.push_back("+Active Contributors");
|
||||
text.push_back("- ");
|
||||
text.push_back("Alfredo Beaumont (ziberpunk)");
|
||||
text.push_back("-developer");
|
||||
text.push_back("Arndt Muehlenfeld (Arndt)");
|
||||
text.push_back("-translator");
|
||||
text.push_back("Crossbow (miyo)");
|
||||
text.push_back("-wesnoth general purpose administrator");
|
||||
text.push_back("Cyril Bouthors (CyrilB)");
|
||||
text.push_back("-packager");
|
||||
text.push_back("-developer");
|
||||
text.push_back("Federico Tomassetti");
|
||||
text.push_back("-translator");
|
||||
text.push_back("Guillaume Duwelz-Rebert");
|
||||
text.push_back("-translator");
|
||||
text.push_back("-developer");
|
||||
text.push_back("Jaramir");
|
||||
text.push_back("-web developer");
|
||||
text.push_back("Johanna Manninen (lohari)");
|
||||
text.push_back("-artwork and graphics designer");
|
||||
text.push_back("Jordà Polo (ettin)");
|
||||
text.push_back("-web developer");
|
||||
text.push_back("-artwork and graphics designer");
|
||||
text.push_back("Joseph Toscano (zhaymusic.com)");
|
||||
text.push_back("-music and sound designer");
|
||||
text.push_back("Justin Zaun (jzaun)");
|
||||
text.push_back("-developer");
|
||||
text.push_back("-scenario designer");
|
||||
text.push_back("J.R. Blain (Cowboy)");
|
||||
text.push_back("-developer");
|
||||
text.push_back("Marcus Phillips (Sithrandel)");
|
||||
text.push_back("-packager");
|
||||
text.push_back("Mark Joakim Bekker Michelsen (skovbaer)");
|
||||
text.push_back("-internationalization manager");
|
||||
text.push_back("-translator");
|
||||
text.push_back("Pau Congost");
|
||||
text.push_back("-music and sound designer");
|
||||
text.push_back("Slainte");
|
||||
text.push_back("-artwork and graphics designer");
|
||||
text.push_back("Zas");
|
||||
text.push_back("-translator");
|
||||
text.push_back("-developer");
|
||||
text.push_back("- ");
|
||||
text.push_back("- ");
|
||||
text.push_back("- ");
|
||||
text.push_back("+Past Contributors");
|
||||
text.push_back("- ");
|
||||
text.push_back("Jan Zvánovec (jaz)");
|
||||
text.push_back("-developer");
|
||||
text.push_back("Jay Hopping");
|
||||
text.push_back("-artwork and graphics designer");
|
||||
|
||||
int startline = 0;
|
||||
int timer = 0;
|
||||
for(;;) {
|
||||
events::pump();
|
||||
|
||||
int mousex, mousey;
|
||||
const int mouse_flags = SDL_GetMouseState(&mousex,&mousey);
|
||||
const bool left_button = mouse_flags&SDL_BUTTON_LMASK;
|
||||
|
||||
SDL_BlitSurface(map_image,NULL,disp.video().getSurface(),&map_rect);
|
||||
update_rect(map_rect);
|
||||
|
||||
int height = map_rect.y + 60;
|
||||
int line = startline;
|
||||
for(int cur_line=0;cur_line<12;cur_line++)
|
||||
{
|
||||
if(line>text.size()-1)
|
||||
line=0;
|
||||
SDL_Rect tr = font::draw_text(&disp,disp.screen_area(),24,font::BLACK_COLOUR,
|
||||
text[line], -1,height);
|
||||
line++;
|
||||
height += tr.h + 5;
|
||||
}
|
||||
timer++;
|
||||
if(timer == 20)
|
||||
{
|
||||
timer = 0;
|
||||
startline++;
|
||||
}
|
||||
if(startline == text.size())
|
||||
startline = 0;
|
||||
|
||||
if(close.process(mousex,mousey,left_button)) {
|
||||
return;
|
||||
}
|
||||
|
||||
disp.video().flip();
|
||||
SDL_Delay(20);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
26
src/about.hpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* $Id$ */
|
||||
/*
|
||||
Copyright (C) 2003 by David White <davidnwhite@optusnet.com.au>
|
||||
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY.
|
||||
|
||||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#ifndef ABOUT_H_INCLUDED
|
||||
#define ABOUT_H_INCLUDED
|
||||
|
||||
#include "display.hpp"
|
||||
|
||||
namespace about
|
||||
{
|
||||
|
||||
void show_about(display& disp);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
86
src/race.cpp
Normal file
|
@ -0,0 +1,86 @@
|
|||
#include "race.hpp"
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
namespace {
|
||||
|
||||
void add_prefixes(const std::string& str, size_t length, markov_prefix_map& res)
|
||||
{
|
||||
for(size_t i = 0; i <= str.size(); ++i) {
|
||||
const size_t start = i > length ? i - length : 0;
|
||||
const std::string key = str.substr(start,i-start);
|
||||
const char c = i != str.size() ? str[i] : 0;
|
||||
res[key].push_back(c);
|
||||
}
|
||||
}
|
||||
|
||||
markov_prefix_map markov_prefixes(const std::vector<std::string>& items, size_t length)
|
||||
{
|
||||
markov_prefix_map res;
|
||||
|
||||
for(std::vector<std::string>::const_iterator i = items.begin(); i != items.end(); ++i) {
|
||||
add_prefixes(*i,length,res);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
std::string markov_generate_name(const markov_prefix_map& prefixes, size_t chain_size, size_t max_len)
|
||||
{
|
||||
if(chain_size == 0)
|
||||
return "";
|
||||
|
||||
std::string prefix, res;
|
||||
|
||||
while(res.size() < max_len) {
|
||||
const markov_prefix_map::const_iterator i = prefixes.find(prefix);
|
||||
if(i == prefixes.end() || i->second.empty())
|
||||
return res;
|
||||
|
||||
const char c = i->second[rand()%i->second.size()];
|
||||
if(c == 0) {
|
||||
return res;
|
||||
}
|
||||
|
||||
res.resize(res.size()+1);
|
||||
res[res.size()-1] = c;
|
||||
prefix.resize(prefix.size()+1);
|
||||
prefix[prefix.size()-1] = c;
|
||||
while(prefix.size() > chain_size) {
|
||||
prefix.erase(prefix.begin());
|
||||
}
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
unit_race::unit_race() : ntraits_(0), chain_size_(0), not_living_(false)
|
||||
{
|
||||
}
|
||||
|
||||
unit_race::unit_race(const config& cfg) : name_(cfg["name"]), ntraits_(atoi(cfg["num_traits"].c_str())),
|
||||
not_living_(cfg["not_living"] == "yes")
|
||||
{
|
||||
names_[MALE] = config::split(cfg["male_names"]);
|
||||
names_[FEMALE] = config::split(cfg["female_names"]);
|
||||
|
||||
chain_size_ = atoi(cfg["markov_chain_size"].c_str());
|
||||
if(chain_size_ <= 0)
|
||||
chain_size_ = 2;
|
||||
|
||||
next_[MALE] = markov_prefixes(names_[MALE],chain_size_);
|
||||
next_[FEMALE] = markov_prefixes(names_[FEMALE],chain_size_);
|
||||
}
|
||||
|
||||
const std::string& unit_race::name() const { return name_; }
|
||||
|
||||
std::string unit_race::generate_name(unit_race::GENDER gender) const
|
||||
{
|
||||
return markov_generate_name(next_[gender],chain_size_,12);
|
||||
}
|
||||
|
||||
int unit_race::num_traits() const { return ntraits_; }
|
||||
|
||||
bool unit_race::not_living() const { return not_living_; }
|
40
src/race.hpp
Normal file
|
@ -0,0 +1,40 @@
|
|||
#ifndef RACE_HPP_INCLUDED
|
||||
#define RACE_HPP_INCLUDED
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "config.hpp"
|
||||
|
||||
typedef std::map<std::string,std::vector<char> > markov_prefix_map;
|
||||
|
||||
class unit_race
|
||||
{
|
||||
public:
|
||||
enum GENDER { MALE, FEMALE, NUM_GENDERS };
|
||||
|
||||
unit_race();
|
||||
unit_race(const config& cfg);
|
||||
|
||||
const std::string& name() const;
|
||||
|
||||
std::string generate_name(GENDER gender) const;
|
||||
|
||||
int num_traits() const;
|
||||
|
||||
bool not_living() const;
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
int ntraits_;
|
||||
std::vector<std::string> names_[NUM_GENDERS];
|
||||
markov_prefix_map next_[NUM_GENDERS];
|
||||
int chain_size_;
|
||||
|
||||
bool not_living_;
|
||||
};
|
||||
|
||||
typedef std::map<std::string,unit_race> race_map;
|
||||
|
||||
#endif
|
24
src/server/Makefile.am
Normal file
|
@ -0,0 +1,24 @@
|
|||
bin_PROGRAMS = wesnothd
|
||||
|
||||
#############################################################################
|
||||
# Wesnothd Server #
|
||||
#############################################################################
|
||||
|
||||
wesnothd_SOURCES = game.cpp \
|
||||
player.cpp \
|
||||
server.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../network.cpp \
|
||||
game.hpp \
|
||||
player.hpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp \
|
||||
../network.hpp
|
||||
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@
|
||||
AM_LDFLAGS = @SDL_LIBS@ @SDL_NET_LIBS@
|
553
src/server/Makefile.in
Normal file
|
@ -0,0 +1,553 @@
|
|||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ../..
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATA_FILES = @DATA_FILES@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EDITOR_FALSE = @EDITOR_FALSE@
|
||||
EDITOR_TRUE = @EDITOR_TRUE@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FONT_FILES = @FONT_FILES@
|
||||
IMAGE_FILES = @IMAGE_FILES@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANUAL_FILES = @MANUAL_FILES@
|
||||
MUSIC_FILES = @MUSIC_FILES@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
|
||||
SDL_NET_LIBS = @SDL_NET_LIBS@
|
||||
SDL_TTF_LIBS = @SDL_TTF_LIBS@
|
||||
SERVER_FALSE = @SERVER_FALSE@
|
||||
SERVER_TRUE = @SERVER_TRUE@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SOUND_FILES = @SOUND_FILES@
|
||||
STRIP = @STRIP@
|
||||
TOOLS_FALSE = @TOOLS_FALSE@
|
||||
TOOLS_TRUE = @TOOLS_TRUE@
|
||||
UTIL_FILES = @UTIL_FILES@
|
||||
VERSION = @VERSION@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_STRIP = @ac_ct_STRIP@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
oldincludedir = @oldincludedir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
bin_PROGRAMS = wesnothd
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Wesnothd Server #
|
||||
#############################################################################
|
||||
wesnothd_SOURCES = game.cpp \
|
||||
player.cpp \
|
||||
server.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../network.cpp \
|
||||
game.hpp \
|
||||
player.hpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp \
|
||||
../network.hpp
|
||||
|
||||
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@
|
||||
AM_LDFLAGS = @SDL_LIBS@ @SDL_NET_LIBS@
|
||||
subdir = src/server
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = wesnothd$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
am_wesnothd_OBJECTS = game.$(OBJEXT) player.$(OBJEXT) server.$(OBJEXT) \
|
||||
config.$(OBJEXT) filesystem.$(OBJEXT) game_config.$(OBJEXT) \
|
||||
log.$(OBJEXT) network.$(OBJEXT)
|
||||
wesnothd_OBJECTS = $(am_wesnothd_OBJECTS)
|
||||
wesnothd_LDADD = $(LDADD)
|
||||
wesnothd_DEPENDENCIES =
|
||||
wesnothd_LDFLAGS =
|
||||
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/config.Po ./$(DEPDIR)/filesystem.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/game.Po ./$(DEPDIR)/game_config.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/log.Po ./$(DEPDIR)/network.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/player.Po ./$(DEPDIR)/server.Po
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
||||
-o $@
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(wesnothd_SOURCES)
|
||||
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||
SOURCES = $(wesnothd_SOURCES)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu src/server/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
wesnothd$(EXEEXT): $(wesnothd_OBJECTS) $(wesnothd_DEPENDENCIES)
|
||||
@rm -f wesnothd$(EXEEXT)
|
||||
$(CXXLINK) $(wesnothd_LDFLAGS) $(wesnothd_OBJECTS) $(wesnothd_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filesystem.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/network.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Po@am__quote@
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||
|
||||
config.o: ../config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT config.o -MD -MP -MF "$(DEPDIR)/config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o config.o `test -f '../config.cpp' || echo '$(srcdir)/'`../config.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/config.Tpo" "$(DEPDIR)/config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../config.cpp' object='config.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/config.Po' tmpdepfile='$(DEPDIR)/config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o config.o `test -f '../config.cpp' || echo '$(srcdir)/'`../config.cpp
|
||||
|
||||
config.obj: ../config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT config.obj -MD -MP -MF "$(DEPDIR)/config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o config.obj `if test -f '../config.cpp'; then $(CYGPATH_W) '../config.cpp'; else $(CYGPATH_W) '$(srcdir)/../config.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/config.Tpo" "$(DEPDIR)/config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../config.cpp' object='config.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/config.Po' tmpdepfile='$(DEPDIR)/config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o config.obj `if test -f '../config.cpp'; then $(CYGPATH_W) '../config.cpp'; else $(CYGPATH_W) '$(srcdir)/../config.cpp'; fi`
|
||||
|
||||
filesystem.o: ../filesystem.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT filesystem.o -MD -MP -MF "$(DEPDIR)/filesystem.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o filesystem.o `test -f '../filesystem.cpp' || echo '$(srcdir)/'`../filesystem.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/filesystem.Tpo" "$(DEPDIR)/filesystem.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/filesystem.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../filesystem.cpp' object='filesystem.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/filesystem.Po' tmpdepfile='$(DEPDIR)/filesystem.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o filesystem.o `test -f '../filesystem.cpp' || echo '$(srcdir)/'`../filesystem.cpp
|
||||
|
||||
filesystem.obj: ../filesystem.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT filesystem.obj -MD -MP -MF "$(DEPDIR)/filesystem.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o filesystem.obj `if test -f '../filesystem.cpp'; then $(CYGPATH_W) '../filesystem.cpp'; else $(CYGPATH_W) '$(srcdir)/../filesystem.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/filesystem.Tpo" "$(DEPDIR)/filesystem.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/filesystem.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../filesystem.cpp' object='filesystem.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/filesystem.Po' tmpdepfile='$(DEPDIR)/filesystem.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o filesystem.obj `if test -f '../filesystem.cpp'; then $(CYGPATH_W) '../filesystem.cpp'; else $(CYGPATH_W) '$(srcdir)/../filesystem.cpp'; fi`
|
||||
|
||||
game_config.o: ../game_config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT game_config.o -MD -MP -MF "$(DEPDIR)/game_config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o game_config.o `test -f '../game_config.cpp' || echo '$(srcdir)/'`../game_config.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/game_config.Tpo" "$(DEPDIR)/game_config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/game_config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../game_config.cpp' object='game_config.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/game_config.Po' tmpdepfile='$(DEPDIR)/game_config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o game_config.o `test -f '../game_config.cpp' || echo '$(srcdir)/'`../game_config.cpp
|
||||
|
||||
game_config.obj: ../game_config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT game_config.obj -MD -MP -MF "$(DEPDIR)/game_config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o game_config.obj `if test -f '../game_config.cpp'; then $(CYGPATH_W) '../game_config.cpp'; else $(CYGPATH_W) '$(srcdir)/../game_config.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/game_config.Tpo" "$(DEPDIR)/game_config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/game_config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../game_config.cpp' object='game_config.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/game_config.Po' tmpdepfile='$(DEPDIR)/game_config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o game_config.obj `if test -f '../game_config.cpp'; then $(CYGPATH_W) '../game_config.cpp'; else $(CYGPATH_W) '$(srcdir)/../game_config.cpp'; fi`
|
||||
|
||||
log.o: ../log.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT log.o -MD -MP -MF "$(DEPDIR)/log.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o log.o `test -f '../log.cpp' || echo '$(srcdir)/'`../log.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/log.Tpo" "$(DEPDIR)/log.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/log.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../log.cpp' object='log.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/log.Po' tmpdepfile='$(DEPDIR)/log.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o log.o `test -f '../log.cpp' || echo '$(srcdir)/'`../log.cpp
|
||||
|
||||
log.obj: ../log.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT log.obj -MD -MP -MF "$(DEPDIR)/log.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o log.obj `if test -f '../log.cpp'; then $(CYGPATH_W) '../log.cpp'; else $(CYGPATH_W) '$(srcdir)/../log.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/log.Tpo" "$(DEPDIR)/log.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/log.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../log.cpp' object='log.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/log.Po' tmpdepfile='$(DEPDIR)/log.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o log.obj `if test -f '../log.cpp'; then $(CYGPATH_W) '../log.cpp'; else $(CYGPATH_W) '$(srcdir)/../log.cpp'; fi`
|
||||
|
||||
network.o: ../network.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT network.o -MD -MP -MF "$(DEPDIR)/network.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o network.o `test -f '../network.cpp' || echo '$(srcdir)/'`../network.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/network.Tpo" "$(DEPDIR)/network.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/network.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../network.cpp' object='network.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/network.Po' tmpdepfile='$(DEPDIR)/network.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o network.o `test -f '../network.cpp' || echo '$(srcdir)/'`../network.cpp
|
||||
|
||||
network.obj: ../network.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT network.obj -MD -MP -MF "$(DEPDIR)/network.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o network.obj `if test -f '../network.cpp'; then $(CYGPATH_W) '../network.cpp'; else $(CYGPATH_W) '$(srcdir)/../network.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/network.Tpo" "$(DEPDIR)/network.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/network.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../network.cpp' object='network.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/network.Po' tmpdepfile='$(DEPDIR)/network.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o network.obj `if test -f '../network.cpp'; then $(CYGPATH_W) '../network.cpp'; else $(CYGPATH_W) '$(srcdir)/../network.cpp'; fi`
|
||||
uninstall-info-am:
|
||||
|
||||
ETAGS = etags
|
||||
ETAGSFLAGS =
|
||||
|
||||
CTAGS = ctags
|
||||
CTAGSFLAGS =
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = ../..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic ctags distclean distclean-compile \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
37
src/tools/Makefile.am
Normal file
|
@ -0,0 +1,37 @@
|
|||
bin_PROGRAMS = make_translation merge_translations
|
||||
|
||||
#############################################################################
|
||||
# Translation Tools #
|
||||
#############################################################################
|
||||
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@ -I../
|
||||
AM_LDFLAGS = @SDL_LIBS@
|
||||
|
||||
#############################################################################
|
||||
# Make Translation #
|
||||
#############################################################################
|
||||
|
||||
make_translation_SOURCES = make_translation.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Merge Translations #
|
||||
#############################################################################
|
||||
|
||||
merge_translations_SOURCES = merge_translations.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp
|
552
src/tools/Makefile.in
Normal file
|
@ -0,0 +1,552 @@
|
|||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ../..
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATA_FILES = @DATA_FILES@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EDITOR_FALSE = @EDITOR_FALSE@
|
||||
EDITOR_TRUE = @EDITOR_TRUE@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FONT_FILES = @FONT_FILES@
|
||||
IMAGE_FILES = @IMAGE_FILES@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANUAL_FILES = @MANUAL_FILES@
|
||||
MUSIC_FILES = @MUSIC_FILES@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
|
||||
SDL_NET_LIBS = @SDL_NET_LIBS@
|
||||
SDL_TTF_LIBS = @SDL_TTF_LIBS@
|
||||
SERVER_FALSE = @SERVER_FALSE@
|
||||
SERVER_TRUE = @SERVER_TRUE@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SOUND_FILES = @SOUND_FILES@
|
||||
STRIP = @STRIP@
|
||||
TOOLS_FALSE = @TOOLS_FALSE@
|
||||
TOOLS_TRUE = @TOOLS_TRUE@
|
||||
UTIL_FILES = @UTIL_FILES@
|
||||
VERSION = @VERSION@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_STRIP = @ac_ct_STRIP@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
oldincludedir = @oldincludedir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
bin_PROGRAMS = make_translation merge_translations
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Translation Tools #
|
||||
#############################################################################
|
||||
AM_CXXFLAGS = @SDL_CFLAGS@ -I../
|
||||
AM_LDFLAGS = @SDL_LIBS@
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Make Translation #
|
||||
#############################################################################
|
||||
make_translation_SOURCES = make_translation.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp
|
||||
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Merge Translations #
|
||||
#############################################################################
|
||||
merge_translations_SOURCES = merge_translations.cpp \
|
||||
../config.cpp \
|
||||
../filesystem.cpp \
|
||||
../game_config.cpp \
|
||||
../log.cpp \
|
||||
../config.hpp \
|
||||
../filesystem.hpp \
|
||||
../game_config.hpp \
|
||||
../log.hpp
|
||||
|
||||
subdir = src/tools
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
bin_PROGRAMS = make_translation$(EXEEXT) merge_translations$(EXEEXT)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
am_make_translation_OBJECTS = make_translation.$(OBJEXT) \
|
||||
config.$(OBJEXT) filesystem.$(OBJEXT) game_config.$(OBJEXT) \
|
||||
log.$(OBJEXT)
|
||||
make_translation_OBJECTS = $(am_make_translation_OBJECTS)
|
||||
make_translation_LDADD = $(LDADD)
|
||||
make_translation_DEPENDENCIES =
|
||||
make_translation_LDFLAGS =
|
||||
am_merge_translations_OBJECTS = merge_translations.$(OBJEXT) \
|
||||
config.$(OBJEXT) filesystem.$(OBJEXT) game_config.$(OBJEXT) \
|
||||
log.$(OBJEXT)
|
||||
merge_translations_OBJECTS = $(am_merge_translations_OBJECTS)
|
||||
merge_translations_LDADD = $(LDADD)
|
||||
merge_translations_DEPENDENCIES =
|
||||
merge_translations_LDFLAGS =
|
||||
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/config.Po ./$(DEPDIR)/filesystem.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/game_config.Po ./$(DEPDIR)/log.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/make_translation.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/merge_translations.Po
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
||||
-o $@
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES = $(make_translation_SOURCES) $(merge_translations_SOURCES)
|
||||
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||
SOURCES = $(make_translation_SOURCES) $(merge_translations_SOURCES)
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu src/tools/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
make_translation$(EXEEXT): $(make_translation_OBJECTS) $(make_translation_DEPENDENCIES)
|
||||
@rm -f make_translation$(EXEEXT)
|
||||
$(CXXLINK) $(make_translation_LDFLAGS) $(make_translation_OBJECTS) $(make_translation_LDADD) $(LIBS)
|
||||
merge_translations$(EXEEXT): $(merge_translations_OBJECTS) $(merge_translations_DEPENDENCIES)
|
||||
@rm -f merge_translations$(EXEEXT)
|
||||
$(CXXLINK) $(merge_translations_LDFLAGS) $(merge_translations_OBJECTS) $(merge_translations_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filesystem.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_config.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/make_translation.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge_translations.Po@am__quote@
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||
|
||||
config.o: ../config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT config.o -MD -MP -MF "$(DEPDIR)/config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o config.o `test -f '../config.cpp' || echo '$(srcdir)/'`../config.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/config.Tpo" "$(DEPDIR)/config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../config.cpp' object='config.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/config.Po' tmpdepfile='$(DEPDIR)/config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o config.o `test -f '../config.cpp' || echo '$(srcdir)/'`../config.cpp
|
||||
|
||||
config.obj: ../config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT config.obj -MD -MP -MF "$(DEPDIR)/config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o config.obj `if test -f '../config.cpp'; then $(CYGPATH_W) '../config.cpp'; else $(CYGPATH_W) '$(srcdir)/../config.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/config.Tpo" "$(DEPDIR)/config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../config.cpp' object='config.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/config.Po' tmpdepfile='$(DEPDIR)/config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o config.obj `if test -f '../config.cpp'; then $(CYGPATH_W) '../config.cpp'; else $(CYGPATH_W) '$(srcdir)/../config.cpp'; fi`
|
||||
|
||||
filesystem.o: ../filesystem.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT filesystem.o -MD -MP -MF "$(DEPDIR)/filesystem.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o filesystem.o `test -f '../filesystem.cpp' || echo '$(srcdir)/'`../filesystem.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/filesystem.Tpo" "$(DEPDIR)/filesystem.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/filesystem.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../filesystem.cpp' object='filesystem.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/filesystem.Po' tmpdepfile='$(DEPDIR)/filesystem.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o filesystem.o `test -f '../filesystem.cpp' || echo '$(srcdir)/'`../filesystem.cpp
|
||||
|
||||
filesystem.obj: ../filesystem.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT filesystem.obj -MD -MP -MF "$(DEPDIR)/filesystem.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o filesystem.obj `if test -f '../filesystem.cpp'; then $(CYGPATH_W) '../filesystem.cpp'; else $(CYGPATH_W) '$(srcdir)/../filesystem.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/filesystem.Tpo" "$(DEPDIR)/filesystem.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/filesystem.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../filesystem.cpp' object='filesystem.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/filesystem.Po' tmpdepfile='$(DEPDIR)/filesystem.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o filesystem.obj `if test -f '../filesystem.cpp'; then $(CYGPATH_W) '../filesystem.cpp'; else $(CYGPATH_W) '$(srcdir)/../filesystem.cpp'; fi`
|
||||
|
||||
game_config.o: ../game_config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT game_config.o -MD -MP -MF "$(DEPDIR)/game_config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o game_config.o `test -f '../game_config.cpp' || echo '$(srcdir)/'`../game_config.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/game_config.Tpo" "$(DEPDIR)/game_config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/game_config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../game_config.cpp' object='game_config.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/game_config.Po' tmpdepfile='$(DEPDIR)/game_config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o game_config.o `test -f '../game_config.cpp' || echo '$(srcdir)/'`../game_config.cpp
|
||||
|
||||
game_config.obj: ../game_config.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT game_config.obj -MD -MP -MF "$(DEPDIR)/game_config.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o game_config.obj `if test -f '../game_config.cpp'; then $(CYGPATH_W) '../game_config.cpp'; else $(CYGPATH_W) '$(srcdir)/../game_config.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/game_config.Tpo" "$(DEPDIR)/game_config.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/game_config.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../game_config.cpp' object='game_config.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/game_config.Po' tmpdepfile='$(DEPDIR)/game_config.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o game_config.obj `if test -f '../game_config.cpp'; then $(CYGPATH_W) '../game_config.cpp'; else $(CYGPATH_W) '$(srcdir)/../game_config.cpp'; fi`
|
||||
|
||||
log.o: ../log.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT log.o -MD -MP -MF "$(DEPDIR)/log.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o log.o `test -f '../log.cpp' || echo '$(srcdir)/'`../log.cpp; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/log.Tpo" "$(DEPDIR)/log.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/log.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../log.cpp' object='log.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/log.Po' tmpdepfile='$(DEPDIR)/log.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o log.o `test -f '../log.cpp' || echo '$(srcdir)/'`../log.cpp
|
||||
|
||||
log.obj: ../log.cpp
|
||||
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT log.obj -MD -MP -MF "$(DEPDIR)/log.Tpo" \
|
||||
@am__fastdepCXX_TRUE@ -c -o log.obj `if test -f '../log.cpp'; then $(CYGPATH_W) '../log.cpp'; else $(CYGPATH_W) '$(srcdir)/../log.cpp'; fi`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/log.Tpo" "$(DEPDIR)/log.Po"; \
|
||||
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/log.Tpo"; exit 1; \
|
||||
@am__fastdepCXX_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../log.cpp' object='log.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/log.Po' tmpdepfile='$(DEPDIR)/log.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o log.obj `if test -f '../log.cpp'; then $(CYGPATH_W) '../log.cpp'; else $(CYGPATH_W) '$(srcdir)/../log.cpp'; fi`
|
||||
uninstall-info-am:
|
||||
|
||||
ETAGS = etags
|
||||
ETAGSFLAGS =
|
||||
|
||||
CTAGS = ctags
|
||||
CTAGSFLAGS =
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = ../..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic ctags distclean distclean-compile \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am info \
|
||||
info-am install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
55
utils/Makefile
Normal file
|
@ -0,0 +1,55 @@
|
|||
## $Id$
|
||||
|
||||
# default installation directories
|
||||
DESTDIR=/usr/local
|
||||
DATADIR=/usr/local
|
||||
SERVDIR=/usr/local
|
||||
|
||||
CC=g++
|
||||
CXXFLAGS=-g -O2 -Wall -DWESNOTH_PATH=\"$(DESTDIR)/share/games/wesnoth-data\"
|
||||
SDL_CFLAGS=`sdl-config --cflags` `freetype-config --cflags`
|
||||
SDL_LIBS=`sdl-config --libs` `freetype-config --libs` -lSDL_mixer -lSDL_ttf -lSDL_image -lSDL_net
|
||||
LIBS=${SDL_LIBS} -lstdc++
|
||||
INCLUDES=-I. -Isrc -Isrc/tools -Isrc/widgets
|
||||
OBJS=src/actions.o src/ai.o src/ai_attack.o src/ai_move.o src/config.o src/dialogs.o src/display.o src/events.o src/filesystem.o src/font.o src/game.o src/game_config.o src/game_events.o src/gamestatus.o src/hotkeys.o src/image.o src/intro.o src/key.o src/language.o src/log.o src/map.o src/mouse.o src/multiplayer.o src/multiplayer_client.o src/multiplayer_lobby.o src/network.o src/pathfind.o src/playlevel.o src/playturn.o src/preferences.o src/race.o src/replay.o src/sdl_utils.o src/show_dialog.o src/sound.o src/team.o src/terrain.o src/tooltips.o src/unit.o src/unit_types.o src/video.o src/widgets/button.o src/widgets/menu.o src/widgets/slider.o src/widgets/textbox.o src/widgets/combo.o
|
||||
|
||||
MAKE_TRANS_OBJS=src/tools/make_translation.o src/config.o src/filesystem.o src/game_config.o src/log.o
|
||||
MERGE_TRANS_OBJS=src/tools/merge_translations.o src/config.o src/filesystem.o src/game_config.o src/log.o
|
||||
|
||||
all: wesnoth src/server/wesnothd;
|
||||
|
||||
wesnoth: $(OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} ${SDL_CFLAGS} -o $@ ${OBJS} ${LIBS}
|
||||
|
||||
src/server/wesnothd:;
|
||||
$(MAKE) -C $(@D)
|
||||
|
||||
make_translation: $(MAKE_TRANS_OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} -o $@ ${MAKE_TRANS_OBJS} ${LIBS}
|
||||
|
||||
merge_translations: $(MERGE_TRANS_OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} -o $@ ${MERGE_TRANS_OBJS} ${LIBS}
|
||||
|
||||
.cpp.o:
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} ${SDL_CFLAGS} -c $< -o $*.o
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm -f ${OBJS} ${MAKE_TRANS_OBJS} ${MERGE_TRANS_OBJS} wesnoth make_translation merge_translations
|
||||
$(MAKE) -C src/server clean
|
||||
|
||||
install:
|
||||
# main
|
||||
mkdir -p $(DESTDIR)/games
|
||||
cp -p wesnoth $(DESTDIR)/games
|
||||
# mkdir -p $(DESTDIR)/share/man/man6
|
||||
# cp -p doc/man/wesnoth.6 $(DESTDIR)/share/man/man6
|
||||
mkdir -p $(DESTDIR)/share/pixmaps
|
||||
# data
|
||||
mkdir -p $(DATADIR)/share/games/wesnoth-data
|
||||
cp -pr data fonts images music sounds $(DATADIR)/share/games/wesnoth-data
|
||||
# server
|
||||
mkdir -p $(SERVDIR)/games
|
||||
cp -p src/server/wesnothd $(SERVDIR)/games
|
||||
mkdir -p $(SERVDIR)/share/man/man6
|
||||
cp -p doc/man/wesnothd.6 $(SERVDIR)/share/man/man6
|
3
utils/Makefile.README
Normal file
|
@ -0,0 +1,3 @@
|
|||
Makefile and Makefile.nodebug are from wesnoth/
|
||||
Makefile.server is from wesnoth/src/server/
|
||||
Makefile.editor is from wesntoh/src/editor/
|
12
utils/Makefile.editor
Normal file
|
@ -0,0 +1,12 @@
|
|||
SDL_CFLAGS = `sdl-config --cflags` `freetype-config --cflags`
|
||||
SDL_LIBS = `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lSDL_image -lSDL_net `freetype-config --libs`
|
||||
OBJS= editor.o ../actions.o ../ai.o ../ai_attack.o ../ai_move.o ../config.o ../dialogs.o ../display.o ../events.o ../filesystem.o ../font.o ../game_config.o ../game_events.o ../gamestatus.o ../hotkeys.o ../image.o ../intro.o ../key.o ../language.o ../log.o ../map.o ../show_dialog.o ../mouse.o ../network.o ../pathfind.o ../playlevel.o ../playturn.o ../preferences.o ../race.o ../replay.o ../sdl_utils.o ../sound.o ../team.o ../terrain.o ../tooltips.o ../unit.o ../unit_types.o ../video.o ../widgets/button.o ../widgets/menu.o ../widgets/textbox.o ../widgets/slider.o
|
||||
|
||||
editor: $(OBJS)
|
||||
gcc -lstdc++ ${SDL_CFLAGS} -o $@ ${OBJS} ${SDL_LIBS}
|
||||
|
||||
.cpp.o:
|
||||
gcc ${SDL_CFLAGS} -c $< -o $*.o
|
||||
|
||||
clean:
|
||||
-rm -f *.o ../*.o editor
|
53
utils/Makefile.nodebug
Normal file
|
@ -0,0 +1,53 @@
|
|||
# default installation directories
|
||||
DESTDIR=/usr/local
|
||||
DATADIR=/usr/local
|
||||
SERVDIR=/usr/local
|
||||
|
||||
CC=g++
|
||||
CXXFLAGS=-O2 -Wall -DWESNOTH_PATH=\"$(DESTDIR)/share/games/wesnoth-data\"
|
||||
SDL_CFLAGS=`sdl-config --cflags` `freetype-config --cflags`
|
||||
SDL_LIBS=`sdl-config --libs` `freetype-config --libs` -lSDL_mixer -lSDL_ttf -lSDL_image -lSDL_net
|
||||
LIBS=${SDL_LIBS} -lstdc++
|
||||
INCLUDES=-I. -Isrc -Isrc/tools -Isrc/widgets
|
||||
OBJS=src/actions.o src/ai.o src/ai_attack.o src/ai_move.o src/config.o src/dialogs.o src/display.o src/events.o src/filesystem.o src/font.o src/game.o src/game_config.o src/game_events.o src/gamestatus.o src/hotkeys.o src/image.o src/intro.o src/key.o src/language.o src/log.o src/map.o src/mouse.o src/multiplayer.o src/multiplayer_client.o src/multiplayer_lobby.o src/network.o src/pathfind.o src/playlevel.o src/playturn.o src/preferences.o src/replay.o src/sdl_utils.o src/show_dialog.o src/sound.o src/team.o src/terrain.o src/tooltips.o src/unit.o src/unit_types.o src/video.o src/widgets/button.o src/widgets/menu.o src/widgets/slider.o src/widgets/textbox.o src/widgets/combo.o
|
||||
|
||||
MAKE_TRANS_OBJS=src/tools/make_translation.o src/config.o src/filesystem.o src/game_config.o src/log.o
|
||||
MERGE_TRANS_OBJS=src/tools/merge_translations.o src/config.o src/filesystem.o src/game_config.o src/log.o
|
||||
|
||||
all: wesnoth src/server/wesnothd;
|
||||
|
||||
wesnoth: $(OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} ${SDL_CFLAGS} -o $@ ${OBJS} ${LIBS}
|
||||
|
||||
src/server/wesnothd:;
|
||||
$(MAKE) -C $(@D)
|
||||
|
||||
make_translation: $(MAKE_TRANS_OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} -o $@ ${MAKE_TRANS_OBJS} ${LIBS}
|
||||
|
||||
merge_translations: $(MERGE_TRANS_OBJS)
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} -o $@ ${MERGE_TRANS_OBJS} ${LIBS}
|
||||
|
||||
.cpp.o:
|
||||
${CC} ${CXXFLAGS} ${INCLUDES} ${SDL_CFLAGS} -c $< -o $*.o
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm -f ${OBJS} ${MAKE_TRANS_OBJS} ${MERGE_TRANS_OBJS} wesnoth make_translation merge_translations
|
||||
$(MAKE) -C src/server clean
|
||||
|
||||
install:
|
||||
# main
|
||||
mkdir -p $(DESTDIR)/games
|
||||
cp -p wesnoth $(DESTDIR)/games
|
||||
mkdir -p $(DESTDIR)/share/man/man6
|
||||
cp -p doc/man/wesnoth.6 $(DESTDIR)/share/man/man6
|
||||
mkdir -p $(DESTDIR)/share/pixmaps
|
||||
# data
|
||||
mkdir -p $(DATADIR)/share/games/wesnoth-data
|
||||
cp -pr data fonts images music sounds $(DATADIR)/share/games/wesnoth-data
|
||||
# server
|
||||
mkdir -p $(SERVDIR)/games
|
||||
cp -p src/server/wesnothd $(SERVDIR)/games
|
||||
mkdir -p $(SERVDIR)/share/man/man6
|
||||
cp -p doc/man/wesnothd.6 $(SERVDIR)/share/man/man6
|
16
utils/Makefile.server
Normal file
|
@ -0,0 +1,16 @@
|
|||
SDL_CFLAGS = `sdl-config --cflags`
|
||||
SDL_LIBS = `sdl-config --libs` -lSDL_net
|
||||
OBJS= game.o player.o server.o ../config.o ../filesystem.o ../game_config.o ../log.o ../network.o
|
||||
|
||||
server: $(OBJS)
|
||||
# gcc -lstdc++ ${SDL_CFLAGS} -o $@ ${OBJS} ${SDL_LIBS}
|
||||
gcc -lstdc++ ${SDL_CFLAGS} -o wesnothd ${OBJS} ${SDL_LIBS}
|
||||
|
||||
wesnothd: $(OBJS)
|
||||
gcc -lstdc++ ${SDL_CFLAGS} -o $@ ${OBJS} ${SDL_LIBS}
|
||||
|
||||
.cpp.o:
|
||||
gcc ${SDL_CFLAGS} -c $< -o $*.o
|
||||
|
||||
clean:
|
||||
-rm -f *.o ../*.o wesnothd
|