Removing a bunch of files: Makefiles, CVS ignore files, compiled python files

This commit is contained in:
Enno Rehling 2004-09-04 08:52:10 +00:00
parent d01cccf427
commit fa1ab26cfe
23 changed files with 0 additions and 540 deletions

View File

@ -1,4 +0,0 @@
*.log
*.ncb
*.opt
*.suo

View File

@ -1,12 +0,0 @@
TARGETS = subdirs
SUBDIRS = \
common \
eressea \
mapper
# askalon
include Makefile.include
## more definitions

View File

@ -1,204 +0,0 @@
## include this File in all Makefiles for Eressea
ifndef ERESSEA_SRC
export ERESSEA_SRC=$(PWD)
endif
.PHONY: tags
default: debug
DEPEND = @gcc -MM -MG -r
AR = @ar
CTAGS = ctags-exuberant
CC = @gcc
LD = @gcc
INSTALL = @cp
#INSTALL = install
ARFLAGS = crs
CTAGSFLAGS = --c-types=cdefgmnstuv
CFLAGS = -I$(ERESSEA_SRC) -Wall -Wwrite-strings -Wstrict-prototypes \
-Werror-implicit-function-declaration \
-Wno-char-subscripts $(INCLUDES)
LDFLAGS = $(LIBS)
LIBS = -L$(PUBLISH_DIR)
LINTFLAGS = -booltype boolean -boolops +posixlib +matchanyintegral \
-predboolint -retvalint -retvalother -realcompare -exportlocal \
-DHAVE_READDIR
ARCHITECTURE = Linux
##
## Default-Strings. Können in $(USER).mk überschrieben werden
##
MSG_COMPILE = "---> Compiling $@"
MSG_SUBDIR = "--> Making $@ in $$subdir"
##
## user-defined makefiles
##
MKFILES = $(wildcard $(ERESSEA_SRC)/$(USER)@$(HOST).mk $(ERESSEA_SRC)/$(OSTYPE).mk $(ERESSEA_SRC)/$(HOSTTYPE).mk $(ERESSEA_SRC)/$(ARCH).mk)
ifeq ($(MKFILES), )
else
include $(MKFILES)
endif
##
## Architecture-Dependent Exe and Library Names
##
ifeq ($(ARCHITECTURE), Linux)
ifneq ($(LIBNAME), )
LIBRARY = lib$(LIBNAME).a
endif
ifneq ($(EXENAME), )
BINARY = $(EXENAME)
endif
endif
ifeq ($(ARCHITECTURE), Windows)
ifneq ($(LIBNAME), )
LIBRARY = $(LIBNAME).lib
endif
ifneq ($(EXENAME), )
BINARY = $(EXENAME).exe
endif
endif
ifeq ($(CONFIG), debug)
BUILD_DIR = Debug-$(ARCHITECTURE)
CFLAGS += -ggdb
LDFLAGS += -ggdb
endif
ifeq ($(CONFIG), release)
BUILD_DIR = Release-$(ARCHITECTURE)
CFLAGS += -O4 -DNDEBUG -funroll-loops -fomit-frame-pointer -ggdb
LDFLAGS += -ggdb
endif
ifeq ($(CONFIG), profile)
BUILD_DIR = Profile-$(ARCHITECTURE)
CFLAGS += -ggdb -pg -O4 -funroll-loops
LDFLAGS += -ggdb -pg
endif
ifeq ($(CONFIG), dmalloc)
BUILD_DIR = Dmalloc-$(ARCHITECTURE)
CFLAGS += -ggdb -DDMALLOC
LDFLAGS += -ggdb
LIBS += -ldmalloc
endif
ifeq ($(CONFIG), ccmalloc)
BUILD_DIR = Ccmalloc-$(ARCHITECTURE)
CFLAGS += -ggdb
LDFLAGS += -ggdb
LD = ccmalloc gcc
endif
# ifeq ($(CONFIG), lint)
# BUILD_DIR = Lint-$(ARCHITECTURE)
# CC = lint
# CFLAGS = -I$(ERESSEA_SRC) $(INCLUDES) -booltype boolean -boolops
# LDFLAGS =
# LIBS =
# endif
#
## Dependencies
#
ifneq ($(wildcard *.c),)
ifeq (.depend,$(wildcard .depend))
include .depend
endif
# Create dependencies
depend:: $(SOURCES)
@echo "Creating dependencies in `pwd`/.depend";
@$(DEPEND) $(CFLAGS) $(DEFINES) $(INCDIRS) $(SOURCES) >| .depend
@perl -pe 's/(.*\.o)/Debug-$(ARCHITECTURE)\/\1 Release-$(ARCHITECTURE)\/\1/' -i .depend
endif
#
## Tags
#
tags:
@echo "Creating tags in `pwd`/tags";
$(CTAGS) $(CTAGSFLAGS) --recurse=yes -f $(ERESSEA_SRC)/tags $(ERESSEA_SRC)
PUBLISH_DIR = $(ERESSEA_SRC)/$(BUILD_DIR)
env:
@$(MAKEENV)
debug release profile dmalloc ccmalloc:: env $(PUBLISH_DIR) $(PUBLISH_DIR)
$(MAKE) CONFIG=$@ recurse-subdirs-$@
##
## recurse-subdirs-X is called from a Makefile one level up.
##
recurse-subdirs-debug:: subdirs-debug publish-debug
recurse-subdirs-release:: subdirs-release publish-release
recurse-subdirs-profile:: subdirs-profile publish-profile
recurse-subdirs-dmalloc:: subdirs-dmalloc publish-dmalloc
recurse-subdirs-ccmalloc:: subdirs-ccmalloc publish-ccmalloc
recurse-lint:: lint
recurse-clean:: clean
recurse-depend:: depend
subdirs-debug subdirs-release subdirs-profile subdirs-dmalloc subdirs-ccmalloc lint clean depend::
@mkdir -p $(PUBLISH_DIR)
@if [ -n "$(SUBDIRS)" ]; then \
for subdir in x-placeholder-dir $(SUBDIRS); do \
if [ -d $$subdir ]; then \
echo $(MSG_SUBDIR); \
mkdir -p $$subdir/$(BUILD_DIR) ; \
$(MAKE) -C $$subdir -$(MAKEFLAGS) recurse-$@ || exit 1; \
fi \
done \
fi
publish-debug:: subdirs-debug
publish-release:: subdirs-release
publish-profile:: subdirs-profile
publish-dmalloc:: subdirs-dmalloc
publish-ccmalloc:: subdirs-ccmalloc
publish-debug publish-release publish-profile publish-ccmalloc:: $(PUBLISH_DIR)/$(LIBRARY) $(PUBLISH_DIR)/$(BINARY)
clean:: $(BUILD_DIR) $(PUBLISH_DIR)
rm -fr Release-$(ARCHITECTURE)/* Debug-$(ARCHITECTURE)/* Profile-$(ARCHITECTURE)/* Dmalloc-$(ARCHITECTURE)/* Ccmalloc-$(ARCHITECTURE) Lint-$(ARCHITECTURE)/*
lint::
$(LINT) -I$(ERESSEA_SRC) $(INCLUDES) $(LINTFLAGS) *.c
$(BUILD_DIR) $(PUBLISH_DIR):
@mkdir -p $@
# object files:
$(BUILD_DIR)/%:: $(BUILD_DIR)
$(BUILD_DIR)/%.o:: %.c
@echo $(MSG_COMPILE)
$(CC) $(CFLAGS) -o $@ -c $<
@echo
##
## conversion code for old triggers - should only be used for free eressea,
## and only for old datafiles.
##
ifeq ($(CONVERT_TRIGGERS), 1)
CFLAGS += -DCONVERT_TRIGGER
INCLUDES += -I. -I$(ERESSEA_SRC)/eressea/old
endif

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,49 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# Hier definieren, damit nicht '@gcc'
CC = gcc-3.2 -D_GNU_SOURCE -ansi -pedantic
DEPEND = @gcc-3.2 -MM -MG -r
# CC = gcc -D_GNU_SOURCE
AR = ar
CTAGS = ctags-exuberant
LD = gcc-3.2
INSTALL = cp
CFLAGS += -march=athlon -minline-all-stringops
# Ps = 0 -> Normal (default)
# Ps = 1 -> Bold
# Ps = 4 -> Underlined
# Ps = 5 -> Blink (appears as Bold)
# Ps = 7 -> Inverse
# Ps = 8 -> Invisible (hidden)
# Ps = 2 2 -> Normal (neither bold nor faint)
# Ps = 2 4 -> Not underlined
# Ps = 2 5 -> Steady (not blinking)
# Ps = 2 7 -> Positive (not inverse)
# Ps = 2 8 -> Visible (not hidden)
# Ps = 3 0 -> Set foreground color to Black
# Ps = 3 1 -> Set foreground color to Red
# Ps = 3 2 -> Set foreground color to Green
# Ps = 3 3 -> Set foreground color to Yellow
# Ps = 3 4 -> Set foreground color to Blue
# Ps = 3 5 -> Set foreground color to Magenta
# Ps = 3 6 -> Set foreground color to Cyan
# Ps = 3 7 -> Set foreground color to White
# Ps = 3 9 -> Set foreground color to default (original)
# Ps = 4 0 -> Set background color to Black
# Ps = 4 1 -> Set background color to Red
# Ps = 4 2 -> Set background color to Green
# Ps = 4 3 -> Set background color to Yellow
# Ps = 4 4 -> Set background color to Blue
# Ps = 4 5 -> Set background color to Magenta
# Ps = 4 6 -> Set background color to Cyan
# Ps = 4 7 -> Set background color to White
# Ps = 4 9 -> Set background color to default (original).
MSG_COMPILE = "\#\#\#\#\# Compiling $@ \#\#\#\#\#"
MSG_SUBDIR = "\#\#\#\#\# Making $@ in $$subdir \#\#\#\#\#"

View File

@ -1,49 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# Hier definieren, damit nicht '@gcc'
CC = gcc-3.3 -D_GNU_SOURCE -ansi -pedantic
DEPEND = @gcc-3.3 -MM -MG -r
# CC = gcc -D_GNU_SOURCE
AR = ar
CTAGS = ctags-exuberant
LD = gcc-3.3
INSTALL = cp
CFLAGS += -march=athlon -minline-all-stringops
# Ps = 0 -> Normal (default)
# Ps = 1 -> Bold
# Ps = 4 -> Underlined
# Ps = 5 -> Blink (appears as Bold)
# Ps = 7 -> Inverse
# Ps = 8 -> Invisible (hidden)
# Ps = 2 2 -> Normal (neither bold nor faint)
# Ps = 2 4 -> Not underlined
# Ps = 2 5 -> Steady (not blinking)
# Ps = 2 7 -> Positive (not inverse)
# Ps = 2 8 -> Visible (not hidden)
# Ps = 3 0 -> Set foreground color to Black
# Ps = 3 1 -> Set foreground color to Red
# Ps = 3 2 -> Set foreground color to Green
# Ps = 3 3 -> Set foreground color to Yellow
# Ps = 3 4 -> Set foreground color to Blue
# Ps = 3 5 -> Set foreground color to Magenta
# Ps = 3 6 -> Set foreground color to Cyan
# Ps = 3 7 -> Set foreground color to White
# Ps = 3 9 -> Set foreground color to default (original)
# Ps = 4 0 -> Set background color to Black
# Ps = 4 1 -> Set background color to Red
# Ps = 4 2 -> Set background color to Green
# Ps = 4 3 -> Set background color to Yellow
# Ps = 4 4 -> Set background color to Blue
# Ps = 4 5 -> Set background color to Magenta
# Ps = 4 6 -> Set background color to Cyan
# Ps = 4 7 -> Set background color to White
# Ps = 4 9 -> Set background color to default (original).
MSG_COMPILE = "\#\#\#\#\# Compiling $@ \#\#\#\#\#"
MSG_SUBDIR = "\#\#\#\#\# Making $@ in $$subdir \#\#\#\#\#"

View File

@ -1,49 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# Hier definieren, damit nicht '@gcc'
CC = gcc -D_GNU_SOURCE -ansi -pedantic
DEPEND = @gcc -MM -MG -r
# CC = gcc -D_GNU_SOURCE
AR = ar
CTAGS = ctags-exuberant
LD = gcc
INSTALL = cp
# CFLAGS += -march=athlon -minline-all-stringops
# Ps = 0 -> Normal (default)
# Ps = 1 -> Bold
# Ps = 4 -> Underlined
# Ps = 5 -> Blink (appears as Bold)
# Ps = 7 -> Inverse
# Ps = 8 -> Invisible (hidden)
# Ps = 2 2 -> Normal (neither bold nor faint)
# Ps = 2 4 -> Not underlined
# Ps = 2 5 -> Steady (not blinking)
# Ps = 2 7 -> Positive (not inverse)
# Ps = 2 8 -> Visible (not hidden)
# Ps = 3 0 -> Set foreground color to Black
# Ps = 3 1 -> Set foreground color to Red
# Ps = 3 2 -> Set foreground color to Green
# Ps = 3 3 -> Set foreground color to Yellow
# Ps = 3 4 -> Set foreground color to Blue
# Ps = 3 5 -> Set foreground color to Magenta
# Ps = 3 6 -> Set foreground color to Cyan
# Ps = 3 7 -> Set foreground color to White
# Ps = 3 9 -> Set foreground color to default (original)
# Ps = 4 0 -> Set background color to Black
# Ps = 4 1 -> Set background color to Red
# Ps = 4 2 -> Set background color to Green
# Ps = 4 3 -> Set background color to Yellow
# Ps = 4 4 -> Set background color to Blue
# Ps = 4 5 -> Set background color to Magenta
# Ps = 4 6 -> Set background color to Cyan
# Ps = 4 7 -> Set background color to White
# Ps = 4 9 -> Set background color to default (original).
MSG_COMPILE = "\#\#\#\#\# Compiling $@ \#\#\#\#\#"
MSG_SUBDIR = "\#\#\#\#\# Making $@ in $$subdir \#\#\#\#\#"

View File

@ -1,14 +0,0 @@
#
## enable some new features in the source:
#
#CONVERT_TRIGGERS = 1
CFLAGS += -DENNO_ROXXORS
LD=gcc
AR=ar
#CC=@colorgcc
INSTALL=install
#MSG_COMPILE = "---> Compiling $@ "
#MSG_SUBDIR = "--> Making $@ in $$subdir "

View File

@ -1,6 +0,0 @@
Debug
Debug
*.log
*.plg
*.log
Release

View File

@ -1,49 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# Hier definieren, damit nicht '@gcc'
CC = gcc-3.3 -D_GNU_SOURCE -ansi -pedantic -I/usr/include/libxml2
DEPEND = @gcc-3.3 -MM -MG -r
# CC = gcc -D_GNU_SOURCE
AR = ar
CTAGS = ctags-exuberant
LD = gcc-3.3
INSTALL = cp
CFLAGS += -march=athlon -minline-all-stringops
# Ps = 0 -> Normal (default)
# Ps = 1 -> Bold
# Ps = 4 -> Underlined
# Ps = 5 -> Blink (appears as Bold)
# Ps = 7 -> Inverse
# Ps = 8 -> Invisible (hidden)
# Ps = 2 2 -> Normal (neither bold nor faint)
# Ps = 2 4 -> Not underlined
# Ps = 2 5 -> Steady (not blinking)
# Ps = 2 7 -> Positive (not inverse)
# Ps = 2 8 -> Visible (not hidden)
# Ps = 3 0 -> Set foreground color to Black
# Ps = 3 1 -> Set foreground color to Red
# Ps = 3 2 -> Set foreground color to Green
# Ps = 3 3 -> Set foreground color to Yellow
# Ps = 3 4 -> Set foreground color to Blue
# Ps = 3 5 -> Set foreground color to Magenta
# Ps = 3 6 -> Set foreground color to Cyan
# Ps = 3 7 -> Set foreground color to White
# Ps = 3 9 -> Set foreground color to default (original)
# Ps = 4 0 -> Set background color to Black
# Ps = 4 1 -> Set background color to Red
# Ps = 4 2 -> Set background color to Green
# Ps = 4 3 -> Set background color to Yellow
# Ps = 4 4 -> Set background color to Blue
# Ps = 4 5 -> Set background color to Magenta
# Ps = 4 6 -> Set background color to Cyan
# Ps = 4 7 -> Set background color to White
# Ps = 4 9 -> Set background color to default (original).
MSG_COMPILE = "\#\#\#\#\# Compiling $@ \#\#\#\#\#"
MSG_SUBDIR = "\#\#\#\#\# Making $@ in $$subdir \#\#\#\#\#"

View File

@ -1,51 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# Hier definieren, damit nicht '@gcc'
#CC = gcc -DNEW_RESOURCEGROWTH
CC = gcc-3.0 -D_GNU_SOURCE
DEPEND = @gcc-3.0 -MM -MG -r
AR = ar
CTAGS = ctags-exuberant
LD = gcc-3.0
INSTALL = cp
CFLAGS += -minline-all-stringops
# Ps = 0 -> Normal (default)
# Ps = 1 -> Bold
# Ps = 4 -> Underlined
# Ps = 5 -> Blink (appears as Bold)
# Ps = 7 -> Inverse
# Ps = 8 -> Invisible (hidden)
# Ps = 2 2 -> Normal (neither bold nor faint)
# Ps = 2 4 -> Not underlined
# Ps = 2 5 -> Steady (not blinking)
# Ps = 2 7 -> Positive (not inverse)
# Ps = 2 8 -> Visible (not hidden)
# Ps = 3 0 -> Set foreground color to Black
# Ps = 3 1 -> Set foreground color to Red
# Ps = 3 2 -> Set foreground color to Green
# Ps = 3 3 -> Set foreground color to Yellow
# Ps = 3 4 -> Set foreground color to Blue
# Ps = 3 5 -> Set foreground color to Magenta
# Ps = 3 6 -> Set foreground color to Cyan
# Ps = 3 7 -> Set foreground color to White
# Ps = 3 9 -> Set foreground color to default (original)
# Ps = 4 0 -> Set background color to Black
# Ps = 4 1 -> Set background color to Red
# Ps = 4 2 -> Set background color to Green
# Ps = 4 3 -> Set background color to Yellow
# Ps = 4 4 -> Set background color to Blue
# Ps = 4 5 -> Set background color to Magenta
# Ps = 4 6 -> Set background color to Cyan
# Ps = 4 7 -> Set background color to White
# Ps = 4 9 -> Set background color to default (original).
MSG_COMPILE = "\#\#\#\#\# Compiling $@ \#\#\#\#\#"
MSG_SUBDIR = "\#\#\#\#\# Making $@ in $$subdir \#\#\#\#\#"

View File

@ -1,3 +0,0 @@
Debug
Release
Profile

View File

@ -1,23 +0,0 @@
ifndef ERESSEA
export ERESSEA=$(PWD)
endif
# CONVERT_TRIGGERS = 1
NCURSES = 1
# Hier definieren, damit nicht '@gcc'
CC = gcc
AR = ar
CTAGS = ctags
CC = gcc
LD = gcc
INSTALL = cp
# CFLAGS += -Wshadow
MSG_COMPILE = "Compiling $@"
MSG_SUBDIR = "Making $@ in $$subdir"