Update build system after enet & bullet got moved to lib/ directory.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2012-09-20 01:13:32 +00:00
parent 38f75c73a8
commit 38cfc79deb
2 changed files with 8 additions and 8 deletions

View File

@ -370,8 +370,8 @@ fi
# Bullet physics
# ==============
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
BULLETTREE="src/bullet"
bullet_LIBS="-Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
BULLETTREE="lib/bullet"
bullet_LIBS="-L../lib/bullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
# ====
@ -399,10 +399,10 @@ case "${host}" in
enet_LIBS="-Lenet -lenet -lws2_32"
;;
*)
enet_LIBS="-Lenet -lenet"
enet_LIBS="-L../lib/enet -lenet"
;;
esac
ENETTREE="src/enet"
ENETTREE="lib/enet"
# ==========================================
# Check for a known compiler bug, details in
@ -453,9 +453,9 @@ AC_CONFIG_FILES([ \
doc/Makefile \
src/Makefile \
src/ide/Makefile \
src/bullet/Makefile \
src/bullet/src/Makefile \
src/enet/Makefile \
lib/bullet/Makefile \
lib/bullet/src/Makefile \
lib/enet/Makefile \
tools/Makefile
])
AC_OUTPUT

View File

@ -6,7 +6,7 @@ bindir=$(prefix)/games
bin_PROGRAMS = supertuxkart
AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
-I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
-I$(srcdir)/../lib/bullet/src/ -I$(srcdir)/../lib/enet/include/
supertuxkart_SOURCES = \
main.cpp \