Remove some more useless autotools files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c225eb6d32
commit
2c1853e54d
10
Makefile.am
10
Makefile.am
@ -1,10 +0,0 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data tools
|
||||
|
||||
pkgdatadir=$(datadir)/doc/$(PACKAGE)
|
||||
dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
|
||||
EXTRA_DIST=autogen.sh m4 CMakeLists.txt
|
||||
|
||||
# NEWS only contains "see changelog"
|
||||
# CHANGES only contains "see NEW"
|
@ -1,8 +0,0 @@
|
||||
AC_DEFUN([MY_EXPAND_DIR], [
|
||||
$1=$2
|
||||
$1=`(
|
||||
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
||||
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
|
||||
eval echo \""[$]$1"\"
|
||||
)`
|
||||
])
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
# [Re]generate autoconf files.
|
||||
|
||||
autoreconf --install "$@"
|
666
config.rpath
666
config.rpath
@ -1,666 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2007 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a `.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
darwin*)
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
case $cc_basename in
|
||||
icc* | ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
pgcc | pgf77 | pgf90)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix3* | aix4* | aix5*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we cannot use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | k*bsd*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if test "$GCC" = yes ; then
|
||||
:
|
||||
else
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
case "$host_os" in
|
||||
freebsd[123]*)
|
||||
library_names_spec='$libname$shrext$versuffix' ;;
|
||||
*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
esac
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
nto-qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
461
configure.ac
461
configure.ac
@ -1,461 +0,0 @@
|
||||
# Process this file with autogen.sh to produce a configure script.
|
||||
|
||||
AC_INIT(supertuxkart,SVN)
|
||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
|
||||
# ================================================
|
||||
# Initialize the automake stuff
|
||||
# set the $host variable based on local machine/os
|
||||
# ================================================
|
||||
AC_CANONICAL_HOST
|
||||
AM_INIT_AUTOMAKE([foreign tar-ustar])
|
||||
|
||||
|
||||
# =====================================================
|
||||
# Set the default CFLAGS/CXXFLAGS
|
||||
# If these were not set, the AC_PROG_CC and AC_PROG_CXX
|
||||
# scripts set them to "-g -O2".
|
||||
# =====================================================
|
||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||
CXXFLAGS="$CXXFLAGS -Wall"
|
||||
|
||||
# ===================
|
||||
# Check for compilers
|
||||
# ===================
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
|
||||
# This macro defines WORDS_BIGENDIAN if building for a big endian machine.
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
|
||||
AC_LANG(C++)
|
||||
|
||||
|
||||
# ===========================
|
||||
# Check for `configure' flags
|
||||
# ===========================
|
||||
SUMMARY="\nSummary of optional components:\n==============================="
|
||||
|
||||
AC_ARG_ENABLE(debug, [AS_HELP_STRING(--enable-debug,
|
||||
[enable debugging info])])
|
||||
if test x$enable_debug = xyes; then
|
||||
AC_DEFINE([DEBUG], [], [enable debugging cheats and shortcuts])
|
||||
CFLAGS="$CFLAGS -g -pg"
|
||||
CXXFLAGS="$CXXFLAGS -g -pg"
|
||||
SUMMARY="$SUMMARY\nEnabled debugging, please disable for a release!!"
|
||||
else
|
||||
CFLAGS="$CFLAGS -DNDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -DNDEBUG"
|
||||
SUMMARY="$SUMMARY\nDisabled debugging, asserts have been turned off"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(optimization, [AS_HELP_STRING(--disable-optimization,
|
||||
[disable compiler optimizations])],,
|
||||
enable_optimization=yes)
|
||||
if test x$enable_optimization = xyes; then
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
CXXFLAGS="$CXXFLAGS -O2"
|
||||
else
|
||||
SUMMARY="$SUMMARY\nDisabled compiler optimizations."
|
||||
fi
|
||||
|
||||
# ===================
|
||||
# Checks for programs.
|
||||
# ===================
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_INSTALL
|
||||
|
||||
# ===============================
|
||||
# Check for MS Windows environment
|
||||
# ================================
|
||||
AC_CHECK_HEADER(windows.h)
|
||||
|
||||
# ==================================
|
||||
# check for OpenGL related libraries
|
||||
# ==================================
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
opengl_LIBS="$LIBS -framework Carbon -framework OpenGL -framework IOKit -framework AGL"
|
||||
;;
|
||||
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
# CygWin under Windoze.
|
||||
|
||||
echo Win32 specific hacks...
|
||||
AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
|
||||
AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
|
||||
|
||||
opengl_LIBS="-lopengl32 -luser32 -lgdi32 -lm -lwinmm"
|
||||
joystick_LIBS="$joystick_LIBS -lwinmm"
|
||||
LDFLAGS="$LDFLAGS -mwindows"
|
||||
|
||||
echo "Will link apps with $LIBS"
|
||||
;;
|
||||
|
||||
*)
|
||||
# X-Windows based machines
|
||||
|
||||
save_LIBS=$LIBS
|
||||
AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
|
||||
opengl_LIBS="$LIBS"
|
||||
LIBS=$save_LIBS
|
||||
if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
|
||||
# if GLcore found, then also check for GL
|
||||
AC_SEARCH_LIBS(glXCreateContext, GL)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# ========================================
|
||||
# check for OpenAL libraries
|
||||
# ========================================
|
||||
save_LIBS=$LIBS
|
||||
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
# search for OpenAL installed in a UNIX way first. This is necessary since OS X 10.4
|
||||
# comes with an OpenAL framework that's too old, so to retain 10.4 support we need to
|
||||
# build OpenAL from source, and can't use Apple's framework.
|
||||
AC_SEARCH_LIBS(alGenBuffers, [openal alut], have_al_lib=yes)
|
||||
|
||||
# We couldn't find OpenAL installed the UNIX way, so fall back to using frameworks
|
||||
if test x$have_al_lib != xyes; then
|
||||
LIBS="-framework OpenAL $LIBS"
|
||||
have_al_lib=yes
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
AC_SEARCH_LIBS(alGenBuffers, [openal alut], have_al_lib=yes)
|
||||
;;
|
||||
esac
|
||||
|
||||
if test x$have_al_lib = xyes; then
|
||||
# Apple has the headers in OpenAL/al.h instead of AL/al.h
|
||||
AC_CHECK_HEADERS([AL/al.h OpenAL/al.h], have_al_hdr=yes)
|
||||
fi
|
||||
|
||||
if test x$have_al_hdr != xyes; then
|
||||
AC_MSG_ERROR([[cannot find useable OpenAL installation. You need to install OpenAL.]])
|
||||
fi
|
||||
|
||||
openal_LIBS="$LIBS"
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
# ====================
|
||||
# check for Ogg Vorbis
|
||||
# ====================
|
||||
|
||||
save_LIBS=$LIBS
|
||||
|
||||
# also check in /usr/local
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
|
||||
# search for the libraries needed to use ogg vorbis
|
||||
AC_SEARCH_LIBS(ov_open, [vorbisfile], have_vorbisfile_lib=yes, have_vorbisfile_lib=no, [-lvorbis])
|
||||
|
||||
if test x$have_vorbisfile_lib = xyes; then
|
||||
# check for the headers needed by ogg vorbis
|
||||
AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes)
|
||||
AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
|
||||
fi
|
||||
SUMMARY="$SUMMARY\n"
|
||||
|
||||
if test x$have_vorbisfile_hdr = xyes -a x$have_ogg_hdr = xyes; then
|
||||
AC_DEFINE([HAVE_OGGVORBIS], 1, [Defined when Ogg Vorbis is available])
|
||||
SUMMARY="$SUMMARY\nWe have Ogg Vorbis support."
|
||||
else
|
||||
AC_MSG_ERROR([[cannot find useable Ogg Vorbis installation. You need to install libogg and libvorbis.]])
|
||||
#SUMMARY="$SUMMARY\nNo Ogg Vorbis support - the game will play with sound effects, but without music."
|
||||
#SUMMARY="$SUMMARY\nPlease install ogg vorbis!"
|
||||
fi
|
||||
|
||||
oggvorbis_LIBS="$LIBS"
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# The following are C++ items that need to be tested for with the c++
|
||||
# compiler
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
|
||||
# ==================
|
||||
# Check for irrlicht
|
||||
# ==================
|
||||
AC_ARG_WITH(irrlicht, [AS_HELP_STRING(--with-irrlicht=PREFIX,
|
||||
[specify the prefix path to irrlicht])])
|
||||
if test "x$with_irrlicht" != "x" ; then
|
||||
CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, have_irrlicht_hdr=yes)
|
||||
if test x$have_irrlicht_hdr != xyes; then
|
||||
AC_MSG_ERROR([Can not find irrlicht in $with_irrlicht.])
|
||||
fi
|
||||
else
|
||||
CPPFLAGS_Save=$CPPFLAGS
|
||||
|
||||
# check in /usr
|
||||
echo " in /usr/ : "
|
||||
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr=yes, irrlicht_found_in_usr=no)
|
||||
|
||||
# if it's not found there, try /usr/local instead
|
||||
if test x$irrlicht_found_in_usr == xyes; then
|
||||
with_irrlicht="/usr"
|
||||
else
|
||||
|
||||
# I'd like to fall back to check /usr/local second, but stupid autotools does not support
|
||||
# checking for a header in 2 directories because it caches results
|
||||
#AC_MSG_ERROR([Can't find irrlicht installation in /usr, use --with-irrlicht...])
|
||||
|
||||
# erase cached result
|
||||
unset ac_cv_header_irrlicht_h
|
||||
|
||||
echo " in /usr/local/ : "
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/local/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr_local=yes, irrlicht_found_in_usr_local=no)
|
||||
|
||||
if test x$irrlicht_found_in_usr_local == xyes; then
|
||||
with_irrlicht="/usr/local"
|
||||
else
|
||||
AC_MSG_ERROR([Can not find irrlicht installation in standard prefixes, use --with-irrlicht...])
|
||||
fi
|
||||
fi
|
||||
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I ${with_irrlicht}/include/irrlicht"
|
||||
|
||||
fi
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht -lX11 -lpthread"
|
||||
;;
|
||||
*darwin*|*macosx*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -framework Cocoa"
|
||||
;;
|
||||
*freebsd*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -lpthread"
|
||||
esac
|
||||
|
||||
# ---- Check these flags do work by building a small irrLicht sample
|
||||
echo "checking for irrlicht libraries..."
|
||||
save_LIBS=$LIBS
|
||||
LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
|
||||
|
||||
irrlicht_sample_built_fine="false"
|
||||
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
irrlicht_sample_built_fine="true",
|
||||
irrlicht_sample_built_fine="false"
|
||||
)
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
# If base irrLicht flags failed, try again with Xxf86vm
|
||||
# FIXME: this program when run prints out two lines (version numbers) to stdout
|
||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
||||
LIBS="$LIBS -lXxf86vm"
|
||||
works_with_Xxf86vm="false"
|
||||
AC_TRY_RUN([
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
works_with_Xxf86vm="true",
|
||||
)
|
||||
|
||||
if test x$works_with_Xxf86vm = xtrue; then
|
||||
irrlicht_LIBS="$irrlicht_LIBS -lXxf86vm"
|
||||
irrlicht_sample_built_fine="true"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
||||
AC_MSG_ERROR([Cann not build test irrLicht program. Check config.log to see the errors])
|
||||
fi
|
||||
|
||||
# ---- Check we have the minimum required irrLicht version
|
||||
echo -n "checking irrlicht version is recent enough... "
|
||||
|
||||
irrlicht_min_version_met="false"
|
||||
|
||||
# Note that irrlicht 1.8 potentially needs additional flags (-lXcursor, or
|
||||
# undefine _IRR_LINUX_XCURSOR_ # in IrrCompileConfig.h). Since there might
|
||||
# be other changes, for now I remove support for irrlicht trunk/1.8
|
||||
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR == 7)
|
||||
#error "STK needs irrlicht 1.8* to work properly (which might be only available"
|
||||
#error "as svn trunk atm"
|
||||
#else
|
||||
// ok
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
irrlicht_min_version_met="true",
|
||||
irrlicht_min_version_met="false"
|
||||
)
|
||||
|
||||
if test x$irrlicht_min_version_met = xfalse; then
|
||||
AC_MSG_ERROR([Your irrLicht is too old, please update irrLicht.
|
||||
You need irrlicht 1.8.
|
||||
While irrlicht 1.8 is not released, we recommend using version 3995 from irrlicht SVN trunk.])
|
||||
else
|
||||
echo "yes"
|
||||
fi
|
||||
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# ==================
|
||||
# Check for Fribidi
|
||||
# ==================
|
||||
|
||||
save_LIBS=$LIBS
|
||||
|
||||
# also check in /usr/local
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
|
||||
# search for the libraries needed to use ogg vorbis
|
||||
AC_SEARCH_LIBS(fribidi_log2vis, [fribidi], have_fribidi=yes, have_fribidi=no)
|
||||
|
||||
if test x$have_fribidi = xyes; then
|
||||
AC_CHECK_HEADER(fribidi/fribidi.h, have_fribidi_hdr=yes)
|
||||
fi
|
||||
SUMMARY="$SUMMARY\n"
|
||||
|
||||
if test x$have_fribidi = xyes -a x$have_fribidi_hdr = xyes; then
|
||||
AC_DEFINE([ENABLE_BIDI], 1, [Defined when Fribidi is available])
|
||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support enabled."
|
||||
fribidi_LIBS="$LIBS"
|
||||
else
|
||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support disabled."
|
||||
fribidi_LIBS=""
|
||||
fi
|
||||
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# Libcurl is needed in all build modes
|
||||
PKG_CHECK_MODULES(LIBCURL, libcurl >= 0.1)
|
||||
|
||||
# ======================================================
|
||||
# Try to supply the SVN revision number for the compiler
|
||||
# ======================================================
|
||||
AC_CHECK_PROGS(have_svnversion,[svnversion],"no")
|
||||
if test x$have_svnversion != xno; then
|
||||
SVNVERSION="`svnversion $srcdir`"
|
||||
AC_DEFINE_UNQUOTED([SVNVERSION],"$SVNVERSION",["SVN revision number"])
|
||||
fi
|
||||
|
||||
# ==============
|
||||
# Bullet physics
|
||||
# ==============
|
||||
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
|
||||
BULLETTREE="lib/bullet"
|
||||
bullet_LIBS="-L../lib/bullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
|
||||
|
||||
|
||||
# ====
|
||||
# enet
|
||||
# ====
|
||||
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
|
||||
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
|
||||
AC_CHECK_FUNC(poll, [AC_DEFINE(HAS_POLL)])
|
||||
AC_CHECK_FUNC(fcntl, [AC_DEFINE(HAS_FCNTL)])
|
||||
AC_CHECK_FUNC(inet_pton, [AC_DEFINE(HAS_INET_PTON)])
|
||||
AC_CHECK_FUNC(inet_ntop, [AC_DEFINE(HAS_INET_NTOP)])
|
||||
|
||||
AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
|
||||
|
||||
AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], ,
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
)
|
||||
|
||||
AC_EGREP_HEADER(MSG_MAXIOVLEN, /usr/include/sys/socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
|
||||
AC_EGREP_HEADER(MSG_MAXIOVLEN, socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
|
||||
|
||||
case "${host}" in
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
enet_LIBS="-Lenet -lenet -lws2_32"
|
||||
;;
|
||||
*)
|
||||
enet_LIBS="-L../lib/enet -lenet"
|
||||
;;
|
||||
esac
|
||||
ENETTREE="lib/enet"
|
||||
|
||||
# ==========================================
|
||||
# Check for a known compiler bug, details in
|
||||
# src/bullet/src/Makefile.am
|
||||
# ==========================================
|
||||
ORIGCXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-elide-constructors"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
||||
AC_MSG_RESULT(yes); NOELIDE=-fno-elide-constructors,
|
||||
AC_MSG_RESULT(no); NOELIDE="")
|
||||
CXXFLAGS="$ORIGCXXFLAGS"
|
||||
AC_SUBST(NOELIDE)
|
||||
|
||||
# =========================
|
||||
# subst bars in Makefile.am
|
||||
# =========================
|
||||
|
||||
AC_SUBST(irrlicht_LIBS)
|
||||
AC_SUBST(fribidi_LIBS)
|
||||
AC_SUBST(bullet_LIBS)
|
||||
AC_SUBST(enet_LIBS)
|
||||
AC_SUBST(opengl_LIBS)
|
||||
AC_SUBST(openal_LIBS)
|
||||
AC_SUBST(oggvorbis_LIBS)
|
||||
AC_SUBST(BULLETTREE)
|
||||
AC_SUBST(ENETTREE)
|
||||
|
||||
# ================
|
||||
# Create makefiles
|
||||
# ================
|
||||
AC_CONFIG_FILES([ \
|
||||
Makefile \
|
||||
data/Makefile \
|
||||
data/challenges/Makefile \
|
||||
data/fonts/Makefile \
|
||||
data/gfx/Makefile \
|
||||
data/grandprix/Makefile \
|
||||
data/gui/Makefile \
|
||||
data/karts/Makefile \
|
||||
data/models/Makefile \
|
||||
data/music/Makefile \
|
||||
data/po/Makefile \
|
||||
data/shaders/Makefile \
|
||||
data/sfx/Makefile \
|
||||
data/textures/Makefile \
|
||||
data/tracks/Makefile \
|
||||
doc/Makefile \
|
||||
src/Makefile \
|
||||
src/ide/Makefile \
|
||||
lib/bullet/Makefile \
|
||||
lib/bullet/src/Makefile \
|
||||
lib/enet/Makefile \
|
||||
tools/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
echo -e $SUMMARY
|
@ -1,25 +0,0 @@
|
||||
# data/
|
||||
|
||||
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks \
|
||||
grandprix shaders
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
|
||||
|
||||
dist_pkgdata_DATA = \
|
||||
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
|
||||
stk_config.xml powerup.xml items.xml \
|
||||
CREDITS run_me.sh
|
||||
|
||||
desktopdir = $(prefix)/share/applications
|
||||
desktop_DATA = supertuxkart.desktop
|
||||
|
||||
icondir = $(prefix)/share/pixmaps
|
||||
dist_icon_DATA = supertuxkart_32.png supertuxkart_128.png
|
||||
|
||||
|
||||
# The desktop file needs the absolute path to the binary
|
||||
# since e.g. /usr/games might not be in the standard path
|
||||
EXTRA_DIST = supertuxkart_desktop.template
|
||||
CLEANFILES = supertuxkart.desktop
|
||||
supertuxkart.desktop: Makefile supertuxkart_desktop.template
|
||||
sed 's#@PREFIX@#$(prefix)#' '$(srcdir)/supertuxkart_desktop.template' >supertuxkart.desktop
|
@ -1,5 +0,0 @@
|
||||
# challenges/
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/challenges
|
||||
|
||||
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.challenge")
|
@ -1,6 +0,0 @@
|
||||
# data/fonts/
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
|
||||
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
|
||||
$(shell find $(srcdir) -name "*.xml")
|
@ -1,5 +0,0 @@
|
||||
#data/gfx
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gfx
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.xml")
|
||||
|
@ -1,7 +0,0 @@
|
||||
# data/music
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
|
||||
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
|
||||
$(shell find $(srcdir) -name "*.challenge") \
|
||||
$(shell find $(srcdir) -name "*.tutorial" )
|
@ -1,12 +0,0 @@
|
||||
# data/gui/
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gui
|
||||
|
||||
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png" ) \
|
||||
$(shell find $(srcdir) -name "*.jpg" ) \
|
||||
$(shell find $(srcdir) -name "*.stkgui" ) \
|
||||
$(shell find $(srcdir) -name "*.xml" ) \
|
||||
$(shell find $(srcdir) -name "License.txt") \
|
||||
$(shell find $(srcdir) -name "*.stkskin" )
|
||||
|
||||
EXTRA_DIST = $(nobase_pkgdata_DATA)
|
@ -1,10 +0,0 @@
|
||||
# data/models/
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/models
|
||||
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.b3d") \
|
||||
$(shell find $(srcdir) -name "*.png") \
|
||||
$(shell find $(srcdir) -name "*.jpg") \
|
||||
$(shell find $(srcdir) -name "*.xml") \
|
||||
License.txt
|
||||
|
@ -1,8 +0,0 @@
|
||||
# data/po/
|
||||
|
||||
pkgdatadir = $(datadir)/games/@PACKAGE@/data/po
|
||||
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.po") \
|
||||
supertuxkart.pot
|
||||
|
||||
EXTRA_DIST = update_pot.sh
|
@ -1,7 +0,0 @@
|
||||
# data/shaders/
|
||||
|
||||
pkgdatadir = $(datadir)/games/@PACKAGE@/data/shaders
|
||||
|
||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.frag") \
|
||||
$(shell find $(srcdir) -name "*.vert")
|
||||
|
10
reconf.sh
10
reconf.sh
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Generating ./configure script"
|
||||
./autogen.sh
|
||||
|
||||
echo "Configuring"
|
||||
./configure
|
||||
|
||||
echo "Make"
|
||||
make | tee config.errors
|
554
src/Makefile.am
554
src/Makefile.am
@ -1,554 +0,0 @@
|
||||
# src/
|
||||
|
||||
SUBDIRS = ide
|
||||
|
||||
bindir=$(prefix)/games
|
||||
bin_PROGRAMS = supertuxkart
|
||||
|
||||
AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
|
||||
-I$(srcdir)/../lib/bullet/src/ -I$(srcdir)/../lib/enet/include/
|
||||
|
||||
supertuxkart_SOURCES = \
|
||||
main.cpp \
|
||||
main_loop.cpp \
|
||||
main_loop.hpp \
|
||||
addons/addon.cpp \
|
||||
addons/addon.hpp \
|
||||
addons/addons_manager.cpp \
|
||||
addons/addons_manager.hpp \
|
||||
addons/dummy_network_http.hpp \
|
||||
addons/inetwork_http.cpp \
|
||||
addons/inetwork_http.hpp \
|
||||
addons/network_http.cpp \
|
||||
addons/network_http.hpp \
|
||||
addons/news_manager.cpp \
|
||||
addons/news_manager.hpp \
|
||||
addons/request.cpp \
|
||||
addons/request.hpp \
|
||||
addons/zip.cpp \
|
||||
addons/zip.hpp \
|
||||
animations/animation_base.hpp \
|
||||
animations/animation_base.cpp \
|
||||
animations/ipo.cpp \
|
||||
animations/ipo.hpp \
|
||||
animations/three_d_animation.cpp \
|
||||
animations/three_d_animation.hpp \
|
||||
audio/dummy_sfx.hpp \
|
||||
audio/music.hpp \
|
||||
audio/music_dummy.hpp \
|
||||
audio/music_information.cpp \
|
||||
audio/music_information.hpp \
|
||||
audio/music_manager.cpp \
|
||||
audio/music_manager.hpp \
|
||||
audio/music_ogg.cpp \
|
||||
audio/music_ogg.hpp \
|
||||
audio/sfx_base.hpp \
|
||||
audio/sfx_buffer.cpp \
|
||||
audio/sfx_buffer.hpp \
|
||||
audio/sfx_openal.cpp \
|
||||
audio/sfx_openal.hpp \
|
||||
audio/sfx_manager.cpp \
|
||||
audio/sfx_manager.hpp \
|
||||
challenges/challenge.cpp \
|
||||
challenges/challenge.hpp \
|
||||
challenges/challenge_data.cpp \
|
||||
challenges/challenge_data.hpp \
|
||||
challenges/game_slot.cpp \
|
||||
challenges/game_slot.hpp \
|
||||
challenges/unlock_manager.cpp \
|
||||
challenges/unlock_manager.hpp \
|
||||
config/player.cpp \
|
||||
config/player.hpp \
|
||||
config/saved_grand_prix.cpp \
|
||||
config/saved_grand_prix.hpp \
|
||||
config/stk_config.cpp \
|
||||
config/stk_config.hpp \
|
||||
config/user_config.cpp \
|
||||
config/user_config.hpp \
|
||||
config/device_config.cpp \
|
||||
config/device_config.hpp \
|
||||
graphics/CBatchingMesh.cpp \
|
||||
graphics/CBatchingMesh.hpp \
|
||||
graphics/callbacks.cpp \
|
||||
graphics/callbacks.hpp \
|
||||
graphics/camera.cpp \
|
||||
graphics/camera.hpp \
|
||||
graphics/explosion.cpp \
|
||||
graphics/explosion.hpp \
|
||||
graphics/glow.cpp \
|
||||
graphics/glow.hpp \
|
||||
graphics/hardware_skinning.cpp \
|
||||
graphics/hardware_skinning.hpp \
|
||||
graphics/hit_effect.hpp \
|
||||
graphics/hit_sfx.cpp \
|
||||
graphics/hit_sfx.hpp \
|
||||
graphics/irr_driver.cpp \
|
||||
graphics/irr_driver.hpp \
|
||||
graphics/large_mesh_buffer.hpp \
|
||||
graphics/lens_flare.cpp \
|
||||
graphics/lens_flare.hpp \
|
||||
graphics/light.hpp \
|
||||
graphics/light.cpp \
|
||||
graphics/lod_node.cpp \
|
||||
graphics/lod_node.hpp \
|
||||
graphics/material.cpp \
|
||||
graphics/material.hpp \
|
||||
graphics/material_manager.cpp \
|
||||
graphics/material_manager.hpp \
|
||||
graphics/mesh_tools.cpp \
|
||||
graphics/mesh_tools.hpp \
|
||||
graphics/moving_texture.cpp \
|
||||
graphics/moving_texture.hpp \
|
||||
graphics/particle_emitter.cpp \
|
||||
graphics/particle_emitter.hpp \
|
||||
graphics/particle_kind.cpp \
|
||||
graphics/particle_kind.hpp \
|
||||
graphics/particle_kind_manager.cpp \
|
||||
graphics/particle_kind_manager.hpp \
|
||||
graphics/per_camera_node.cpp \
|
||||
graphics/per_camera_node.hpp \
|
||||
graphics/post_processing.cpp \
|
||||
graphics/post_processing.hpp \
|
||||
graphics/rain.cpp \
|
||||
graphics/rain.hpp \
|
||||
graphics/render.cpp \
|
||||
graphics/referee.cpp \
|
||||
graphics/referee.hpp \
|
||||
graphics/rtts.hpp \
|
||||
graphics/rtts.cpp \
|
||||
graphics/screenquad.cpp \
|
||||
graphics/screenquad.hpp \
|
||||
graphics/shaders.cpp \
|
||||
graphics/shaders.hpp \
|
||||
graphics/shadow.cpp \
|
||||
graphics/shadow.hpp \
|
||||
graphics/shadow_importance.cpp \
|
||||
graphics/shadow_importance.hpp \
|
||||
graphics/show_curve.cpp \
|
||||
graphics/show_curve.hpp \
|
||||
graphics/skid_marks.cpp \
|
||||
graphics/skid_marks.hpp \
|
||||
graphics/slip_stream.cpp \
|
||||
graphics/slip_stream.hpp \
|
||||
graphics/stars.cpp \
|
||||
graphics/stars.hpp \
|
||||
graphics/sun.hpp \
|
||||
graphics/sun.cpp \
|
||||
graphics/water.hpp \
|
||||
graphics/water.cpp \
|
||||
graphics/wind.hpp \
|
||||
graphics/wind.cpp \
|
||||
guiengine/CGUISpriteBank.cpp \
|
||||
guiengine/CGUISpriteBank.h \
|
||||
guiengine/abstract_state_manager.cpp \
|
||||
guiengine/abstract_state_manager.hpp \
|
||||
guiengine/abstract_top_level_container.cpp \
|
||||
guiengine/abstract_top_level_container.hpp \
|
||||
guiengine/engine.cpp \
|
||||
guiengine/engine.hpp \
|
||||
guiengine/event_handler.cpp \
|
||||
guiengine/event_handler.hpp \
|
||||
guiengine/layout_manager.cpp \
|
||||
guiengine/layout_manager.hpp \
|
||||
guiengine/modaldialog.cpp \
|
||||
guiengine/modaldialog.hpp \
|
||||
guiengine/scalable_font.cpp \
|
||||
guiengine/scalable_font.hpp \
|
||||
guiengine/screen_loader.cpp \
|
||||
guiengine/screen.cpp \
|
||||
guiengine/screen.hpp \
|
||||
guiengine/skin.cpp \
|
||||
guiengine/skin.hpp \
|
||||
guiengine/widget.cpp \
|
||||
guiengine/widget.hpp \
|
||||
guiengine/widgets.hpp \
|
||||
guiengine/widgets/bubble_widget.cpp \
|
||||
guiengine/widgets/bubble_widget.hpp \
|
||||
guiengine/widgets/button_widget.cpp \
|
||||
guiengine/widgets/button_widget.hpp \
|
||||
guiengine/widgets/CGUIEditBox.cpp \
|
||||
guiengine/widgets/CGUIEditBox.h \
|
||||
guiengine/widgets/check_box_widget.cpp \
|
||||
guiengine/widgets/check_box_widget.hpp \
|
||||
guiengine/widgets/dynamic_ribbon_widget.cpp \
|
||||
guiengine/widgets/dynamic_ribbon_widget.hpp \
|
||||
guiengine/widgets/icon_button_widget.cpp \
|
||||
guiengine/widgets/icon_button_widget.hpp \
|
||||
guiengine/widgets/label_widget.cpp \
|
||||
guiengine/widgets/label_widget.hpp \
|
||||
guiengine/widgets/list_widget.cpp \
|
||||
guiengine/widgets/list_widget.hpp \
|
||||
guiengine/widgets/model_view_widget.cpp \
|
||||
guiengine/widgets/model_view_widget.hpp \
|
||||
guiengine/widgets/ribbon_widget.cpp \
|
||||
guiengine/widgets/ribbon_widget.hpp \
|
||||
guiengine/widgets/spinner_widget.cpp \
|
||||
guiengine/widgets/spinner_widget.hpp \
|
||||
guiengine/widgets/text_box_widget.cpp \
|
||||
guiengine/widgets/text_box_widget.hpp \
|
||||
guiengine/widgets/progress_bar_widget.cpp \
|
||||
guiengine/widgets/progress_bar_widget.hpp \
|
||||
guiengine/widgets/rating_bar_widget.cpp \
|
||||
guiengine/widgets/rating_bar_widget.hpp \
|
||||
input/binding.cpp \
|
||||
input/binding.hpp \
|
||||
input/device_manager.cpp \
|
||||
input/device_manager.hpp \
|
||||
input/input.hpp \
|
||||
input/input_device.cpp \
|
||||
input/input_device.hpp \
|
||||
input/input_manager.cpp \
|
||||
input/input_manager.hpp \
|
||||
input/wiimote_manager.cpp \
|
||||
input/wiimote_manager.hpp \
|
||||
io/file_manager.cpp \
|
||||
io/file_manager.hpp \
|
||||
io/xml_node.cpp \
|
||||
io/xml_node.hpp \
|
||||
io/xml_writer.cpp \
|
||||
io/xml_writer.hpp \
|
||||
items/attachment.cpp \
|
||||
items/attachment.hpp \
|
||||
items/attachment_manager.cpp \
|
||||
items/attachment_manager.hpp \
|
||||
items/attachment_plugin.hpp \
|
||||
items/bowling.cpp \
|
||||
items/bowling.hpp \
|
||||
items/cake.cpp \
|
||||
items/cake.hpp \
|
||||
items/flyable.cpp \
|
||||
items/flyable.hpp \
|
||||
items/item.cpp \
|
||||
items/item.hpp \
|
||||
items/item_manager.cpp \
|
||||
items/item_manager.hpp \
|
||||
items/plunger.cpp \
|
||||
items/plunger.hpp \
|
||||
items/powerup.cpp \
|
||||
items/powerup.hpp \
|
||||
items/powerup_manager.cpp \
|
||||
items/powerup_manager.hpp \
|
||||
items/projectile_manager.cpp \
|
||||
items/projectile_manager.hpp \
|
||||
items/rubber_ball.cpp \
|
||||
items/rubber_ball.hpp \
|
||||
items/rubber_band.cpp \
|
||||
items/rubber_band.hpp \
|
||||
items/swatter.cpp \
|
||||
items/swatter.hpp \
|
||||
karts/abstract_kart.cpp \
|
||||
karts/abstract_kart.hpp \
|
||||
karts/abstract_kart_animation.cpp \
|
||||
karts/abstract_kart_animation.hpp \
|
||||
karts/cannon_animation.cpp \
|
||||
karts/cannon_animation.hpp \
|
||||
karts/controller/ai_base_controller.cpp \
|
||||
karts/controller/ai_base_controller.hpp \
|
||||
karts/controller/ai_properties.cpp \
|
||||
karts/controller/ai_properties.hpp \
|
||||
karts/controller/controller.cpp \
|
||||
karts/controller/controller.hpp \
|
||||
karts/controller/end_controller.cpp \
|
||||
karts/controller/end_controller.hpp \
|
||||
karts/controller/kart_control.hpp \
|
||||
karts/controller/player_controller.cpp \
|
||||
karts/controller/player_controller.hpp \
|
||||
karts/controller/skidding_ai.cpp \
|
||||
karts/controller/skidding_ai.hpp \
|
||||
karts/explosion_animation.cpp \
|
||||
karts/explosion_animation.hpp \
|
||||
karts/ghost_kart.cpp \
|
||||
karts/ghost_lart.hpp \
|
||||
karts/kart.cpp \
|
||||
karts/kart.hpp \
|
||||
karts/kart_gfx.cpp \
|
||||
karts/kart_gfx.hpp \
|
||||
karts/kart_with_stats.cpp \
|
||||
karts/kart_with_stats.hpp \
|
||||
karts/kart_model.cpp \
|
||||
karts/kart_model.hpp \
|
||||
karts/kart_properties.cpp \
|
||||
karts/kart_properties.hpp \
|
||||
karts/kart_properties_manager.cpp \
|
||||
karts/kart_properties_manager.hpp \
|
||||
karts/max_speed.cpp \
|
||||
karts/max_speed.hpp \
|
||||
karts/moveable.cpp \
|
||||
karts/moveable.hpp \
|
||||
karts/rescue_animation.cpp \
|
||||
karts/rescue_animation.hpp \
|
||||
karts/skidding.cpp \
|
||||
karts/skidding.hpp \
|
||||
karts/skidding_properties.cpp \
|
||||
karts/skidding_properties.hpp \
|
||||
modes/cutscene_world.cpp \
|
||||
modes/cutscene_world.hpp \
|
||||
modes/demo_world.cpp \
|
||||
modes/demo_world.hpp \
|
||||
modes/easter_egg_hunt.cpp \
|
||||
modes/easter_egg_hunt.hpp \
|
||||
modes/follow_the_leader.cpp \
|
||||
modes/follow_the_leader.hpp \
|
||||
modes/linear_world.cpp \
|
||||
modes/linear_world.hpp \
|
||||
modes/overworld.cpp \
|
||||
modes/overworld.hpp \
|
||||
modes/profile_world.cpp \
|
||||
modes/profile_world.hpp \
|
||||
modes/soccer_world.cpp \
|
||||
modes/soccer_world.hpp \
|
||||
modes/standard_race.cpp \
|
||||
modes/standard_race.hpp \
|
||||
modes/three_strikes_battle.cpp \
|
||||
modes/three_strikes_battle.hpp \
|
||||
modes/tutorial_world.cpp \
|
||||
modes/tutorial_world.hpp \
|
||||
modes/world.cpp \
|
||||
modes/world.hpp \
|
||||
modes/world_status.cpp \
|
||||
modes/world_status.hpp \
|
||||
modes/world_with_rank.cpp \
|
||||
modes/world_with_rank.hpp \
|
||||
network/character_confirm_message.hpp \
|
||||
network/character_info_message.hpp \
|
||||
network/character_selected_message.hpp \
|
||||
network/connect_message.cpp \
|
||||
network/connect_message.hpp \
|
||||
network/connect_message.hpp \
|
||||
network/flyable_info.hpp \
|
||||
network/item_info.hpp \
|
||||
network/kart_control_message.cpp \
|
||||
network/kart_control_message.hpp \
|
||||
network/kart_update_message.cpp \
|
||||
network/kart_update_message.hpp \
|
||||
network/message.cpp \
|
||||
network/message.hpp \
|
||||
network/network_kart.cpp \
|
||||
network/network_kart.hpp \
|
||||
network/network_manager.cpp \
|
||||
network/network_manager.hpp \
|
||||
network/num_players_message.hpp \
|
||||
network/race_info_message.cpp \
|
||||
network/race_info_message.hpp \
|
||||
network/race_result_ack_message.hpp \
|
||||
network/race_result_message.cpp \
|
||||
network/race_result_message.hpp \
|
||||
network/race_start_message.hpp \
|
||||
network/race_state.cpp \
|
||||
network/race_state.hpp \
|
||||
network/remote_kart_info.hpp \
|
||||
network/world_loaded_message.hpp \
|
||||
physics/btKart.cpp \
|
||||
physics/btKart.hpp \
|
||||
physics/btKartRaycast.cpp \
|
||||
physics/btKartRaycast.hpp \
|
||||
physics/btUprightConstraint.cpp \
|
||||
physics/btUprightConstraint.hpp \
|
||||
physics/irr_debug_drawer.cpp \
|
||||
physics/irr_debug_drawer.hpp \
|
||||
physics/kart_motion_state.hpp \
|
||||
physics/physical_object.cpp \
|
||||
physics/physical_object.hpp \
|
||||
physics/physics.cpp \
|
||||
physics/physics.hpp \
|
||||
phsyics/stk_dynamics_world.hpp \
|
||||
physics/triangle_mesh.cpp \
|
||||
physics/triangle_mesh.hpp \
|
||||
physics/user_pointer.hpp \
|
||||
race/grand_prix_data.cpp \
|
||||
race/grand_prix_data.hpp \
|
||||
race/grand_prix_manager.cpp \
|
||||
race/grand_prix_manager.hpp \
|
||||
race/highscore_manager.cpp \
|
||||
race/highscore_manager.hpp \
|
||||
race/highscores.cpp \
|
||||
race/highscores.hpp \
|
||||
race/history.cpp \
|
||||
race/history.hpp \
|
||||
race/race_manager.cpp \
|
||||
race/race_manager.hpp \
|
||||
replay/replay_base.cpp \
|
||||
replay/replay_base.hpp \
|
||||
replay/replay_play.cpp \
|
||||
replay/replay_play.hpp \
|
||||
replay/replay_recorder.cpp \
|
||||
replay/replay_recorder.hpp \
|
||||
states_screens/arenas_screen.cpp \
|
||||
states_screens/arenas_screen.hpp \
|
||||
states_screens/credits.cpp \
|
||||
states_screens/credits.hpp \
|
||||
states_screens/cutscene_gui.cpp \
|
||||
states_screens/cutscene_gui.hpp \
|
||||
states_screens/dialogs/add_device_dialog.cpp \
|
||||
states_screens/dialogs/add_device_dialog.hpp \
|
||||
states_screens/dialogs/confirm_resolution_dialog.cpp \
|
||||
states_screens/dialogs/confirm_resolution_dialog.hpp \
|
||||
states_screens/dialogs/custom_video_settings.cpp \
|
||||
states_screens/dialogs/custom_video_settings.hpp \
|
||||
states_screens/dialogs/enter_player_name_dialog.cpp \
|
||||
states_screens/dialogs/enter_player_name_dialog.hpp \
|
||||
states_screens/dialogs/gp_info_dialog.cpp \
|
||||
states_screens/dialogs/gp_info_dialog.hpp \
|
||||
states_screens/dialogs/message_dialog.cpp \
|
||||
states_screens/dialogs/message_dialog.hpp \
|
||||
states_screens/dialogs/player_info_dialog.hpp \
|
||||
states_screens/dialogs/player_info_dialog.cpp \
|
||||
states_screens/dialogs/press_a_key_dialog.hpp \
|
||||
states_screens/dialogs/press_a_key_dialog.cpp \
|
||||
states_screens/dialogs/race_paused_dialog.hpp \
|
||||
states_screens/dialogs/race_paused_dialog.cpp \
|
||||
states_screens/dialogs/select_challenge.cpp \
|
||||
states_screens/dialogs/select_challenge.hpp \
|
||||
states_screens/dialogs/track_info_dialog.cpp \
|
||||
states_screens/dialogs/track_info_dialog.hpp \
|
||||
states_screens/dialogs/tutorial_message_dialog.cpp \
|
||||
states_screens/dialogs/tutorial_message_dialog.hpp \
|
||||
states_screens/dialogs/addons_loading.cpp \
|
||||
states_screens/dialogs/addons_loading.hpp \
|
||||
states_screens/feature_unlocked.cpp \
|
||||
states_screens/feature_unlocked.hpp \
|
||||
states_screens/grand_prix_lose.cpp \
|
||||
states_screens/grand_prix_lose.hpp \
|
||||
states_screens/grand_prix_win.cpp \
|
||||
states_screens/grand_prix_win.hpp \
|
||||
states_screens/help_screen_1.cpp \
|
||||
states_screens/help_screen_1.hpp \
|
||||
states_screens/help_screen_2.cpp \
|
||||
states_screens/help_screen_2.hpp \
|
||||
states_screens/help_screen_3.cpp \
|
||||
states_screens/help_screen_3.hpp \
|
||||
states_screens/help_screen_4.cpp \
|
||||
states_screens/help_screen_4.hpp \
|
||||
states_screens/kart_selection.cpp \
|
||||
states_screens/kart_selection.hpp \
|
||||
states_screens/main_menu_screen.cpp \
|
||||
states_screens/main_menu_screen.hpp \
|
||||
states_screens/options_screen_audio.cpp \
|
||||
states_screens/options_screen_audio.hpp \
|
||||
states_screens/options_screen_input.cpp \
|
||||
states_screens/options_screen_input.hpp \
|
||||
states_screens/options_screen_input2.cpp \
|
||||
states_screens/options_screen_input2.hpp \
|
||||
states_screens/options_screen_players.cpp \
|
||||
states_screens/options_screen_players.hpp \
|
||||
states_screens/options_screen_ui.cpp \
|
||||
states_screens/options_screen_ui.hpp \
|
||||
states_screens/options_screen_video.cpp \
|
||||
states_screens/options_screen_video.hpp \
|
||||
states_screens/addons_screen.cpp \
|
||||
states_screens/addons_screen.hpp \
|
||||
states_screens/race_gui_base.cpp \
|
||||
states_screens/race_gui_base.hpp \
|
||||
states_screens/race_gui_overworld.cpp \
|
||||
states_screens/race_gui_overworld.hpp \
|
||||
states_screens/race_gui.cpp \
|
||||
states_screens/race_gui.hpp \
|
||||
states_screens/race_result_gui.cpp \
|
||||
states_screens/race_result_gui.hpp \
|
||||
states_screens/race_setup_screen.cpp \
|
||||
states_screens/race_setup_screen.hpp \
|
||||
states_screens/soccer_setup_screen.cpp \
|
||||
states_screens/soccer_setup_screen.hpp \
|
||||
states_screens/state_manager.cpp \
|
||||
states_screens/state_manager.hpp \
|
||||
states_screens/story_mode_lobby.cpp \
|
||||
states_screens/story_mode_lobby.hpp \
|
||||
states_screens/tracks_screen.cpp \
|
||||
states_screens/tracks_screen.hpp \
|
||||
tinygettext/dictionary.cpp \
|
||||
tinygettext/dictionary.hpp \
|
||||
tinygettext/dictionary_manager.cpp \
|
||||
tinygettext/dictionary_manager.hpp \
|
||||
tinygettext/file_system.hpp \
|
||||
tinygettext/iconv.cpp \
|
||||
tinygettext/iconv.hpp \
|
||||
tinygettext/language.cpp \
|
||||
tinygettext/language.hpp \
|
||||
tinygettext/log_stream.hpp \
|
||||
tinygettext/plural_forms.cpp \
|
||||
tinygettext/plural_forms.hpp \
|
||||
tinygettext/po_parser.cpp \
|
||||
tinygettext/po_parser.hpp \
|
||||
tinygettext/stk_file_system.cpp \
|
||||
tinygettext/stk_file_system.hpp \
|
||||
tinygettext/tgt_log.cpp \
|
||||
tinygettext/tgt_log.hpp \
|
||||
tinygettext/tinygettext.cpp \
|
||||
tinygettext/tinygettext.hpp \
|
||||
tracks/ambient_light_sphere.cpp \
|
||||
tracks/ambient_light_sphere.hpp \
|
||||
tracks/bezier_curve.cpp \
|
||||
tracks/bezier_curve.hpp \
|
||||
tracks/check_cannon.cpp \
|
||||
tracks/check_cannon.hpp \
|
||||
tracks/check_goal.cpp \
|
||||
tracks/check_goal.hpp \
|
||||
tracks/check_lap.cpp \
|
||||
tracks/check_lap.hpp \
|
||||
tracks/check_line.cpp \
|
||||
tracks/check_line.hpp \
|
||||
tracks/check_manager.cpp \
|
||||
tracks/check_manager.hpp \
|
||||
tracks/check_sphere.cpp \
|
||||
tracks/check_sphere.hpp \
|
||||
tracks/check_structure.cpp \
|
||||
tracks/check_structure.hpp \
|
||||
tracks/graph_node.cpp\
|
||||
tracks/graph_node.hpp\
|
||||
tracks/lod_node_loader.cpp\
|
||||
tracks/lod_node_loader.hpp\
|
||||
tracks/quad.cpp \
|
||||
tracks/quad.hpp \
|
||||
tracks/quad_graph.cpp \
|
||||
tracks/quad_graph.hpp \
|
||||
tracks/quad_set.cpp \
|
||||
tracks/quad_set.hpp \
|
||||
tracks/terrain_info.cpp \
|
||||
tracks/terrain_info.hpp \
|
||||
tracks/track.cpp \
|
||||
tracks/track.hpp \
|
||||
tracks/track_manager.cpp \
|
||||
tracks/track_manager.hpp \
|
||||
tracks/track_object.cpp \
|
||||
tracks/track_object.hpp \
|
||||
tracks/track_object_manager.cpp \
|
||||
tracks/track_object_manager.hpp \
|
||||
tracks/track_object_presentation.cpp \
|
||||
tracks/track_object_presentation.hpp \
|
||||
tracks/track_sector.cpp \
|
||||
tracks/track_sector.hpp \
|
||||
utils/aligned_array.hpp \
|
||||
utils/constants.hpp \
|
||||
utils/constants.cpp \
|
||||
utils/helpers.hpp \
|
||||
utils/helpers.cpp \
|
||||
utils/leak_check.cpp \
|
||||
utils/leak_check.hpp \
|
||||
utils/log.cpp \
|
||||
utils/log.hpp \
|
||||
utils/no_copy.hpp \
|
||||
utils/profiler.cpp \
|
||||
utils/profiler.hpp \
|
||||
utils/ptr_vector.hpp \
|
||||
utils/random_generator.cpp \
|
||||
utils/random_generator.hpp \
|
||||
utils/string_utils.cpp \
|
||||
utils/string_utils.hpp \
|
||||
utils/synchronised.hpp \
|
||||
utils/time.hpp \
|
||||
utils/time.cpp \
|
||||
utils/translation.cpp \
|
||||
utils/translation.hpp \
|
||||
utils/utf8.h \
|
||||
utils/utf8/checked.h \
|
||||
utils/utf8/core.h \
|
||||
utils/utf8/unchecked.h \
|
||||
utils/vec3.cpp \
|
||||
utils/vec3.hpp \
|
||||
utils/vs.hpp
|
||||
|
||||
# Link in the specific gcc 4.1 bug work around
|
||||
supertuxkart_LDADD = \
|
||||
$(irrlicht_LIBS) $(fribidi_LIBS) $(bullet_LIBS) $(enet_LIBS) \
|
||||
$(opengl_LIBS) $(openal_LIBS) $(oggvorbis_LIBS) \
|
||||
$(INTLLIBS) $(LIBCURL_LIBS) $(LIBCURL_CFLAGS)
|
@ -1,8 +0,0 @@
|
||||
# tools
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(shell find . -maxdepth 2 -name "*.cpp") \
|
||||
$(shell find . -maxdepth 2 -name "*.h") \
|
||||
$(shell find . -maxdepth 2 -name "*.sln") \
|
||||
$(shell find . -maxdepth 2 -name "*.vcproj") \
|
||||
$(shell find . -maxdepth 2 -name "po_list")
|
Loading…
Reference in New Issue
Block a user