diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-08 19:24:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-08 19:24:55 +0000 |
commit | 74031d8f7d91fe70d0ae447d74a12c5206ea9b62 (patch) | |
tree | df6b1f5529aeb746b3547912d7ed1c0f78b20d1e | |
parent | d3477eedc113a2c126f36f41384b8921d610906a (diff) |
minor cleanups
-rw-r--r-- | INSTALL | 6 | ||||
-rw-r--r-- | ROADMAP | 1 | ||||
-rw-r--r-- | configure.in | 35 |
3 files changed, 26 insertions, 16 deletions
@@ -4,8 +4,10 @@ Installation To build the Osirion Project from source code you will need the SDL and OpenGL library and header files. - In theory, it should compile on any platform supported by SDL, - but at the time of writing only linux is supported. + + In theory, it should compile on any POSIX-compatible platform + supported by SDL, but at the time of writing only linux is + supported. I have succesfully compiled it on the following platforms: linux-x86_64, gcc 4.1.2, SDL 1.2.11 @@ -25,6 +25,7 @@ client:: render:: render pipelines + pipeline for Lines AlphaLines Quads AlphaQuads Characters * VERSION 0.1 diff --git a/configure.in b/configure.in index d59ae64..83aa028 100644 --- a/configure.in +++ b/configure.in @@ -141,26 +141,33 @@ dnl Installation paths test "$prefix" = "NONE" && prefix="/opt/games/$PACKAGE" -BINDIR="$prefix" -LIBDIR="$prefix/lib" -AC_DEFINE_UNQUOTED(LIBDIR, "$LIBDIR", - [Define this to the path containing the game libraries.] +PACKAGE_PREFIX="$prefix" +PACKAGE_BINDIR="$prefix/bin" +PACKAGE_DATADIR="$prefix/data" +PACKAGE_LIBDIR="$prefix/lib" + +AC_DEFINE_UNQUOTED(PACKAGE_PREFIX, "$PACKAGE_PREFIX", + [Define this to the path where the game will be installed.] +) + +AC_DEFINE_UNQUOTED(PACKAGE_BINDIR, "$PACKAGE_BINDIR", + [Define this to the path containing the game binaries.] ) -DATADIR="$prefix/data" -AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR", +AC_DEFINE_UNQUOTED(PACKAGE_DATADIR, "$PACKAGE_DATADIR", [Define this to the path containing the game data.] ) -AC_SUBST(BINDIR) -AC_SUBST(LIBDIR) -AC_SUBST(DATATDIR) +AC_DEFINE_UNQUOTED(PACKAGE_LIBDIR, "$PACKAGE_LIBDIR", + [Define this to the path containing the game libraries.] +) dnl --------------------------------------------------------------- dnl Write makefiles and config.h AC_OUTPUT(Makefile src/Makefile src/client/Makefile src/core/Makefile \ - src/filesystem/Makefile src/game/Makefile src/math/Makefile src/render/Makefile src/server/Makefile \ + src/filesystem/Makefile src/game/Makefile src/math/Makefile \ + src/render/Makefile src/server/Makefile \ src/sys/Makefile) dnl --------------------------------------------------------------- @@ -174,9 +181,9 @@ Configuration summary: flags .............. $CXXFLAGS Installation directories: - prefix ............. $prefix - binaries ........... $BINDIR - libraries .......... $LIBDIR - data ............... $DATADIR + prefix ............. $PACKAGE_PREFIX + binaries ........... $PACKAGE_BINDIR + libraries .......... $PACKAGE_LIBDIR + data ............... $PACKAGE_DATADIR ]) |