Remove awfully outdated (and hence unusuable) files.

This commit is contained in:
Guillaume Melquiond 2005-05-31 20:55:29 +00:00
parent 106c7ecc5e
commit 62737cddea
5 changed files with 0 additions and 139 deletions

View file

@ -1,55 +0,0 @@
## $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

View file

@ -1,3 +0,0 @@
Makefile and Makefile.nodebug are from wesnoth/
Makefile.server is from wesnoth/src/server/
Makefile.editor is from wesntoh/src/editor/

View file

@ -1,12 +0,0 @@
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

View file

@ -1,53 +0,0 @@
# 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

View file

@ -1,16 +0,0 @@
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