@@ -1,13 +1,12 @@ | |||||
.dirstamp | .dirstamp | ||||
configure | configure | ||||
configure-stamp | |||||
config.h | config.h | ||||
config.h.* | config.h.* | ||||
config.log | config.log | ||||
config.cache | config.cache | ||||
config.rpath | config.rpath | ||||
config.status | config.status | ||||
config.guess | |||||
config.sub | |||||
confdefs.h | confdefs.h | ||||
conftest.cc | conftest.cc | ||||
autom4te.cache | autom4te.cache | ||||
@@ -16,8 +15,3 @@ Makefile.in | |||||
build-stamp | build-stamp | ||||
stamp-h* | stamp-h* | ||||
aclocal.m4 | aclocal.m4 | ||||
install-sh | |||||
missing | |||||
mkinstalldirs | |||||
compile | |||||
depcomp |
@@ -3,7 +3,7 @@ | |||||
############################################################################### | ############################################################################### | ||||
SUBDIRS = src | SUBDIRS = src | ||||
DIST_SUBDIRS = $(SUBDIRS) debian | |||||
DIST_SUBDIRS = $(SUBDIRS) autotools debian | |||||
EXTRA_DIST = doc/shapes.txt bootstrap | EXTRA_DIST = doc/shapes.txt bootstrap | ||||
AUTOMAKE_OPTIONS = foreign dist-bzip2 | AUTOMAKE_OPTIONS = foreign dist-bzip2 | ||||
@@ -0,0 +1,10 @@ | |||||
.dirstamp | |||||
Makefile | |||||
Makefile.in | |||||
compile | |||||
config.guess | |||||
config.sub | |||||
depcomp | |||||
install-sh | |||||
missing | |||||
mkinstalldirs |
@@ -1,7 +1,8 @@ | |||||
#! /bin/sh | #! /bin/sh | ||||
set -x | set -x | ||||
rm -f aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh | |||||
rm -f aclocal.m4 configure libtool ltconfig ltmain.sh config.log | |||||
rm -f autotools/compile autotools/config.guess autotools/config.sub autotools/missing autotools/mkinstalldirs autotools/depcomp autotools/install-sh | |||||
# Check for automake | # Check for automake | ||||
amvers="none" | amvers="none" | ||||
@@ -37,7 +38,7 @@ then | |||||
exit 1 | exit 1 | ||||
fi | fi | ||||
aclocal${amvers} || exit 1 | |||||
aclocal${amvers} -I autotools || exit 1 | |||||
autoheader || exit 1 | autoheader || exit 1 | ||||
automake${amvers} --add-missing --copy || exit 1 | automake${amvers} --add-missing --copy || exit 1 | ||||
autoconf || exit 1 | autoconf || exit 1 | ||||
@@ -4,6 +4,7 @@ AC_INIT(ttyvaders,0.0cvs-20021218) | |||||
AC_PREREQ(2.50) | AC_PREREQ(2.50) | ||||
AC_CONFIG_SRCDIR(src/main.c) | AC_CONFIG_SRCDIR(src/main.c) | ||||
AC_CONFIG_AUX_DIR(autotools) | |||||
AC_CANONICAL_SYSTEM | AC_CANONICAL_SYSTEM | ||||
AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20021218) | AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20021218) | ||||
@@ -29,6 +30,7 @@ AM_CONDITIONAL(USE_NCURSES, test "${enable_ncurses}" = "yes") | |||||
AC_OUTPUT([ | AC_OUTPUT([ | ||||
Makefile | Makefile | ||||
src/Makefile | src/Makefile | ||||
autotools/Makefile | |||||
debian/Makefile | debian/Makefile | ||||
]) | ]) | ||||
@@ -1,3 +1,6 @@ | |||||
.dirstamp | .dirstamp | ||||
Makefile | Makefile | ||||
Makefile.in | Makefile.in | ||||
files | |||||
ttyvaders | |||||
ttyvaders.substvars |
@@ -2,7 +2,7 @@ | |||||
# Automake targets and declarations for ttyvaders | # Automake targets and declarations for ttyvaders | ||||
############################################################################### | ############################################################################### | ||||
AM_CFLAGS = -g -O6 -fno-strength-reduce -fomit-frame-pointer | |||||
AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer | |||||
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule | # Code qui fait des warnings == code de porc == deux baffes dans ta gueule | ||||
AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs | AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs | ||||