Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3499 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Mar 11, 2005, 2:55:27 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/levelloader: merged updated trunk structure into levelloader branch

Location:
orxonox/branches/levelloader
Files:
60 deleted
13 edited
138 copied

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/Makefile.am

    r3219 r3499  
    1616## doxygen stuff
    1717if DOXYGEN
    18 DOXYGEN_INPUT = "src src/gui src/importer"
     18DOXYGEN_INPUT = "src src/lib/gui/gui src/lib/graphics/importer"
    1919
    2020## Exclude the application wizard templates, and some file templates
  • orxonox/branches/levelloader/Makefile.in

    r3377 r3499  
    8585CPP = @CPP@
    8686CPPFLAGS = @CPPFLAGS@
     87CURL_CFLAGS = @CURL_CFLAGS@
     88CURL_LIBS = @CURL_LIBS@
    8789CXX = @CXX@
    8890CXXDEPMODE = @CXXDEPMODE@
     
    100102EGREP = @EGREP@
    101103EXEEXT = @EXEEXT@
     104GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
     105GTHREAD_LIBS = @GTHREAD_LIBS@
    102106GTK2_CFLAGS = @GTK2_CFLAGS@
    103107GTK2_LIBS = @GTK2_LIBS@
     108HAVE_CURL_FALSE = @HAVE_CURL_FALSE@
     109HAVE_CURL_TRUE = @HAVE_CURL_TRUE@
     110HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@
     111HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@
    104112HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@
    105113HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@
     
    183191             doc/doxyconf/project
    184192
    185 @DOXYGEN_TRUE@DOXYGEN_INPUT = "src src/gui src/importer"
     193@DOXYGEN_TRUE@DOXYGEN_INPUT = "src src/lib/gui/gui src/lib/graphics/importer"
    186194@DOXYGEN_TRUE@DOXYGEN_EXCLUDE =
    187195@DOXYGEN_TRUE@DOXYGEN_EXAMPLE_PATH =
  • orxonox/branches/levelloader/config.h.in

    r3205 r3499  
    77#undef HAVE_BZERO
    88
     9/* if we have CURL */
     10#undef HAVE_CURL
     11
     12/* Define to 1 if you have the <curl/curl.h> header file. */
     13#undef HAVE_CURL_CURL_H
     14
    915/* Define to 1 if you have the <GL/glu.h> header file. */
    1016#undef HAVE_GL_GLU_H
     
    1218/* Define to 1 if you have the <GL/gl.h> header file. */
    1319#undef HAVE_GL_GL_H
     20
     21/* if we have gThread */
     22#undef HAVE_GTHREAD
    1423
    1524/* if we have GTK2 */
     
    4049/* Define to 1 if you have the <png.h> header file. */
    4150#undef HAVE_PNG_H
     51
     52/* Define to 1 if you have the <pthread.h> header file. */
     53#undef HAVE_PTHREAD_H
    4254
    4355/* Define to 1 if you have the <SDL/SDL.h> header file. */
  • orxonox/branches/levelloader/configure

    r3385 r3499  
    312312#endif"
    313313
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE GTHREAD_LIBS GTHREAD_CFLAGS HAVE_GTHREAD_TRUE HAVE_GTHREAD_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    867867  --enable-debug          compiles in debug mode. Lots of debug info about the
    868868                          game.
    869   --enable-sub-projects   also builds the subProjects by default
     869  --enable-sub-projects   also builds the subProjects while make from srcdir
    870870
    871871Optional Packages:
     
    873873  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    874874  --without-gtk           Prevents GTK from being loaded
     875  --without-gthread       Prevents gThread from being loaded
     876  --without-pthread       Prevents pthread from being loaded
     877  --without-curl          Prevents libcURL from being loaded
    875878  --without-sdl-image     Prevents SDL_image from being loaded
    876879
     
    13361339
    13371340
    1338 # Detect the canonical host and target build environment.
     1341## Detect the canonical host and target build environment.
    13391342ac_aux_dir=
    13401343for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    14441447    NONENONEs,x,x, &&
    14451448  program_prefix=${target_alias}-
    1446 
    14471449
    14481450am__api_version="1.8"
     
    18511853
    18521854
    1853 
    1854 # Checks for programs.
     1855#########################
     1856## Checks for programs ##
     1857#########################
    18551858ac_ext=cc
    18561859ac_cpp='$CXXCPP $CPPFLAGS'
     
    38393842
    38403843
    3841 ### CHECKING  OPTIONAT ARGUMENTS
    3842 ## DEBUG-statement
     3844##################################
     3845## CHECKING  OPTIONAL ARGUMENTS ##
     3846##################################
     3847
     3848#-----------------#
     3849# DEBUG-statement #
     3850#-----------------#
    38433851DEBUG=no
    38443852echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5
     
    38503858fi;
    38513859
    3852 if test "$DEBUG" = "no"; then
     3860if test x$DEBUG = xno; then
    38533861        echo "no"
    3854         echo " -> Setting debuglevel to 1. Like this you can still see errors."
    3855         DEBUG=1
    3856 elif test "$DEBUG" = yes; then
     3862        echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed."
     3863        DEBUG=3
     3864elif test x$DEBUG = xyes; then
    38573865        echo "yes"
    3858         echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."
    3859         DEBUG=3
    3860 else
    3861         echo "yes set to $DEBUG"
     3866        echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
     3867        DEBUG=4
     3868else
     3869        echo "yes: setting debuglevel to to $DEBUG"
    38623870fi
    38633871
     
    38693877
    38703878
    3871 ## GTK-disabled
     3879#--------------#
     3880# GTK-disabled #
     3881#--------------#
    38723882echo "$as_me:$LINENO: checking if gtk should be enabled" >&5
    38733883echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6
     
    38803890  def_gtk=yes
    38813891fi;
    3882 if test "$def_gtk" = yes; then
     3892if test x$def_gtk = xyes; then
    38833893  echo "yes"
    38843894fi
    3885 if test "$def_gtk" = no; then
     3895if test x$def_gtk = xno; then
    38863896  echo "no"
    38873897fi
    3888 ### SDL_image-disable
     3898
     3899#------------------#
     3900# gThread-disabled #
     3901#------------------#
     3902echo "$as_me:$LINENO: checking if gThread should be enabled" >&5
     3903echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6
     3904
     3905# Check whether --with-gthread or --without-gthread was given.
     3906if test "${with_gthread+set}" = set; then
     3907  withval="$with_gthread"
     3908  def_gthread=no
     3909else
     3910  def_gthread=yes
     3911fi;
     3912if test x$def_gthread = xyes; then
     3913  echo "yes"
     3914fi
     3915if test x$def_gthread = xno; then
     3916  echo "no"
     3917fi
     3918
     3919#------------------#
     3920# pthread-disabled #
     3921#------------------#
     3922echo "$as_me:$LINENO: checking if pthread should be enabled" >&5
     3923echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6
     3924
     3925# Check whether --with-pthread or --without-pthread was given.
     3926if test "${with_pthread+set}" = set; then
     3927  withval="$with_pthread"
     3928  def_pthread=no
     3929else
     3930  def_pthread=yes
     3931fi;
     3932if test x$def_pthread = xyes; then
     3933  echo "yes"
     3934fi
     3935if test x$def_pthread = xno; then
     3936  echo "no"
     3937fi
     3938
     3939#------------------#
     3940# libCurl-disabled #
     3941#------------------#
     3942echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5
     3943echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6
     3944
     3945# Check whether --with-curl or --without-curl was given.
     3946if test "${with_curl+set}" = set; then
     3947  withval="$with_curl"
     3948  def_curl=no
     3949else
     3950  def_curl=yes
     3951fi;
     3952if test x$def_curl = xyes; then
     3953  echo "yes"
     3954fi
     3955if test x$def_curl = xno; then
     3956  echo "no"
     3957fi
     3958
     3959#-------------------#
     3960# SDL_image-disable #
     3961#-------------------#
    38893962def_sdl_image=yes
    38903963echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5
     
    38963969  def_sdl_image=no
    38973970fi;
    3898 if test "$def_sdl_image" = yes; then
     3971if test x$def_sdl_image = xyes; then
    38993972  echo "yes"
    39003973fi
    3901 if test "$def_sdl_image" = no; then
     3974if test x$def_sdl_image = xno; then
    39023975  echo "no"
    39033976fi
    3904 
    3905 
    3906 ### SubProject-enable
    3907 def_sdl_image=yes
     3977#-------------------#
     3978# SubProject-enable #
     3979#-------------------#
     3980def_sub_projects=no
    39083981echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5
    39093982echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6
     
    39133986  def_sub_projects=yes
    39143987fi;
    3915 if test "$def_sub_projects" = yes; then
     3988if test x$def_sub_projects = xyes; then
    39163989  echo "yes"
    39173990fi
    3918 if test "$def_sub_projects" = no; then
     3991if test x$def_sub_projects = xno; then
    39193992  echo "no"
    39203993fi
     
    39304003
    39314004
    3932 ## PROGRAMM CHECKING
    3933 # checking for Doxygen
     4005#######################
     4006## PROGRAMM CHECKING ##
     4007## 3. party Programs ##
     4008#######################
     4009
     4010#----------------------#
     4011# checking for Doxygen #
     4012#----------------------#
    39344013# Extract the first word of "doxygen", so it can be a program name with args.
    39354014set dummy doxygen; ac_word=$2
     
    39824061
    39834062
    3984 ### CHECKING FOR SYSTEM ###
     4063#########################
     4064## CHECKING FOR SYSTEM ##
     4065#########################
     4066## here the system is checked, and openGL is included
     4067## also checking for SDL on differen Systems
    39854068
    39864069echo "$as_me:$LINENO: checking for System" >&5
     
    39884071## checking for openGL-environment and other sys-specific parameters
    39894072case "$target" in
    3990 ### WINDOWS ###
     4073#---------#
     4074# WINDOWS #
     4075#---------#
    39914076  *-*-mingw32*)
    39924077echo "mingw-WINDOWS detected"
     
    42914376fi
    42924377
    4293     if test "$FOUND_opengl32" = "yes" ; then
     4378    if test x$FOUND_opengl32 = xyes ; then
    42944379        LIBS="$LIBS -lopengl32"
    42954380    else
     
    45204605fi
    45214606
    4522     if test "$FOUND_glu32" = "yes" ; then
     4607    if test x$FOUND_glu32 = xyes ; then
    45234608        LIBS="$LIBS -lGLU32"
    45244609    else
     
    45934678fi
    45944679
    4595     if test $FOUND_mingw32 = "yes"; then
     4680    if test x$FOUND_mingw32 = xyes; then
    45964681        LIBS="$LIBS -lmingw32"
    45974682    fi
     
    48154900fi
    48164901
    4817     if test "$FOUND_sdlmain" = "yes" ; then
     4902    if test x$FOUND_sdlmain = xyes ; then
    48184903       LIBS="$LIBS -lsdlmain"
    48194904    else
     
    48864971fi
    48874972
    4888     if test "$FOUND_sdl" = "yes" ; then
     4973    if test x$FOUND_sdl = xyes ; then
    48894974       LIBS="$LIBS -lsdl"
    48904975    else
     
    48974982
    48984983    ;;
    4899 
    4900 ### LINUX ###
     4984#-------#
     4985# LINUX #
     4986#-------#
    49014987 *-*-linux*)
    49024988echo "Linux detected"
     
    51315217fi
    51325218
    5133    if test "$FOUND_GL" = "yes" ; then
     5219   if test x$FOUND_GL = xyes ; then
    51345220     LIBS="$LIBS -lGL"
    51355221   else
     
    53655451fi
    53665452
    5367     if test "$FOUND_GLU" = "yes" ; then
     5453    if test x$FOUND_GLU = xyes ; then
    53685454      LIBS="$LIBS -lGLU"
    53695455    else
     
    55945680fi
    55955681
    5596      if test "$FOUND_SDL" = "yes" ; then
     5682     if test x$FOUND_SDL = xyes ; then
    55975683       LIBS="$LIBS -lSDL"
    55985684     else
     
    56145700#    LIBS="$LIBS $SDL_LIBS"
    56155701    ;;
    5616 
    5617 ### OS X ###
     5702#-----------#
     5703# MAC -OS X #
     5704#-----------#
    56185705 *darwin*)
    5619 echo "OS X detected"
     5706 echo "OS X detected"
    56205707
    56215708 osX="yes"
     
    59356022   LIBS="$LIBS -framework OpenGL"
    59366023
     6024       SDL_CFLAGS=`sdl-config --cflags`
     6025       SDL_LIBS=`sdl-config --libs`
     6026       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     6027       LIBS="$LIBS $SDL_LIBS"
     6028
     6029
    59376030# checking for SDL-headers
    59386031#    AC_CHECK_HEADERS(SDL/SDL.h ,,
     
    59466039#      )
    59476040
    5948        SDL_CFLAGS=`sdl-config --cflags`
    5949        SDL_LIBS=`sdl-config --libs`
    5950        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    5951        LIBS="$LIBS $SDL_LIBS"
    59526041
    59536042    ;;
     
    59596048
    59606049
    5961 ## check for SDL_Image
    5962 if test "$def_sdl_image" = "yes"; then
     6050###################################
     6051## CHECKING FOR HEADERS AND LIBS ##
     6052###################################
     6053
     6054#-----------#
     6055# SDL_Image #
     6056#-----------#
     6057if test x$def_sdl_image = xyes; then
    59636058# checking for SDL_image-headers
    59646059
     
    61156210
    61166211fi
    6117 if test "$def_sdl_image" = "yes"; then
     6212if test x$def_sdl_image = xyes; then
    61186213# checking for SDL_image-lib
    61196214  echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5
     
    61796274fi
    61806275
    6181      if test "$FOUND_SDL_image" = "yes" ; then
     6276     if test x$FOUND_SDL_image = xyes ; then
    61826277       LIBS="$LIBS -lSDL_image"
    61836278     else
     
    61906285fi
    61916286
    6192 
    6193 if test "$def_sdl_image" = "no"; then
    6194  ## checking for libjpeg
     6287## case no SDL-image:
     6288if test x$def_sdl_image = xno; then
     6289#---------#
     6290# libjpeg #
     6291#---------#
    61956292
    61966293for ac_header in jpeglib.h
     
    63456442done
    63466443
    6347  if test $jpegHeader = "no"; then
     6444 if test x$jpegHeader = xno; then
    63486445        echo " not including jpeg."
    63496446 else
     
    64106507fi
    64116508
    6412     if test "$FOUND_jpeg" = "yes" ; then
     6509    if test x$FOUND_jpeg = xyes ; then
    64136510      LIBS="$LIBS -ljpeg"
    64146511    else
     
    64216518 fi
    64226519
    6423  ## checking for libpng
     6520#--------#
     6521# libpng #
     6522#--------#
    64246523
    64256524for ac_header in png.h
     
    65746673done
    65756674
    6576  if test $pngHeader = "no"; then
     6675 if test x$pngHeader = xno; then
    65776676        echo " not including png."
    65786677 else
     
    66396738fi
    66406739
    6641     if test "$FOUND_png" = "yes" ; then
     6740    if test x$FOUND_png = xyes ; then
    66426741      LIBS="$LIBS -lpng"
    66436742    else
     
    66516750fi
    66526751
    6653 ## checking for GTK
    6654 if test "$def_gtk" = yes; then
     6752#-----#
     6753# GTK #
     6754#-----#
     6755if test x$def_gtk = xyes; then
    66556756
    66566757        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
     
    66856786
    66866787
    6687 
    6688 
    6689 #checking for pthread libs
    6690 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes)
    6691 # if test "$FOUND_pthread" = "yes" ; then
    6692 #    LIBS="$LIBS -lpthread"
    6693 # fi
    6694 
    6695 
    6696 # FIXME: Replace `main' with a function in `-lm':
    6697 
    6698 echo "$as_me:$LINENO: checking for main in -lm" >&5
    6699 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    6700 if test "${ac_cv_lib_m_main+set}" = set; then
    6701   echo $ECHO_N "(cached) $ECHO_C" >&6
    6702 else
    6703   ac_check_lib_save_LIBS=$LIBS
    6704 LIBS="-lm  $LIBS"
    6705 cat >conftest.$ac_ext <<_ACEOF
    6706 /* confdefs.h.  */
    6707 _ACEOF
    6708 cat confdefs.h >>conftest.$ac_ext
    6709 cat >>conftest.$ac_ext <<_ACEOF
    6710 /* end confdefs.h.  */
    6711 
    6712 
    6713 int
    6714 main ()
    6715 {
    6716 main ();
    6717   ;
    6718   return 0;
    6719 }
    6720 _ACEOF
    6721 rm -f conftest.$ac_objext conftest$ac_exeext
    6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6723   (eval $ac_link) 2>conftest.er1
    6724   ac_status=$?
    6725   grep -v '^ *+' conftest.er1 >conftest.err
    6726   rm -f conftest.er1
    6727   cat conftest.err >&5
    6728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6729   (exit $ac_status); } &&
    6730          { ac_try='test -z "$ac_c_werror_flag"
    6731                          || test ! -s conftest.err'
    6732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6733   (eval $ac_try) 2>&5
    6734   ac_status=$?
    6735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6736   (exit $ac_status); }; } &&
    6737          { ac_try='test -s conftest$ac_exeext'
    6738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6739   (eval $ac_try) 2>&5
    6740   ac_status=$?
    6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6742   (exit $ac_status); }; }; then
    6743   ac_cv_lib_m_main=yes
    6744 else
    6745   echo "$as_me: failed program was:" >&5
    6746 sed 's/^/| /' conftest.$ac_ext >&5
    6747 
    6748 ac_cv_lib_m_main=no
    6749 fi
    6750 rm -f conftest.err conftest.$ac_objext \
    6751       conftest$ac_exeext conftest.$ac_ext
    6752 LIBS=$ac_check_lib_save_LIBS
    6753 fi
    6754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    6755 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    6756 if test $ac_cv_lib_m_main = yes; then
    6757   cat >>confdefs.h <<_ACEOF
    6758 #define HAVE_LIBM 1
    6759 _ACEOF
    6760 
    6761   LIBS="-lm $LIBS"
    6762 
    6763 fi
    6764 
    6765 
    6766 
    6767 # Checks for header files.
    6768 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    6769 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    6770 if test "${ac_cv_header_stdc+set}" = set; then
    6771   echo $ECHO_N "(cached) $ECHO_C" >&6
    6772 else
    6773   cat >conftest.$ac_ext <<_ACEOF
    6774 /* confdefs.h.  */
    6775 _ACEOF
    6776 cat confdefs.h >>conftest.$ac_ext
    6777 cat >>conftest.$ac_ext <<_ACEOF
    6778 /* end confdefs.h.  */
    6779 #include <stdlib.h>
    6780 #include <stdarg.h>
    6781 #include <string.h>
    6782 #include <float.h>
    6783 
    6784 int
    6785 main ()
    6786 {
    6787 
    6788   ;
    6789   return 0;
    6790 }
    6791 _ACEOF
    6792 rm -f conftest.$ac_objext
    6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6794   (eval $ac_compile) 2>conftest.er1
    6795   ac_status=$?
    6796   grep -v '^ *+' conftest.er1 >conftest.err
    6797   rm -f conftest.er1
    6798   cat conftest.err >&5
    6799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6800   (exit $ac_status); } &&
    6801          { ac_try='test -z "$ac_c_werror_flag"
    6802                          || test ! -s conftest.err'
    6803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6804   (eval $ac_try) 2>&5
    6805   ac_status=$?
    6806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6807   (exit $ac_status); }; } &&
    6808          { ac_try='test -s conftest.$ac_objext'
    6809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6810   (eval $ac_try) 2>&5
    6811   ac_status=$?
    6812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6813   (exit $ac_status); }; }; then
    6814   ac_cv_header_stdc=yes
    6815 else
    6816   echo "$as_me: failed program was:" >&5
    6817 sed 's/^/| /' conftest.$ac_ext >&5
    6818 
    6819 ac_cv_header_stdc=no
    6820 fi
    6821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6822 
    6823 if test $ac_cv_header_stdc = yes; then
    6824   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    6825   cat >conftest.$ac_ext <<_ACEOF
    6826 /* confdefs.h.  */
    6827 _ACEOF
    6828 cat confdefs.h >>conftest.$ac_ext
    6829 cat >>conftest.$ac_ext <<_ACEOF
    6830 /* end confdefs.h.  */
    6831 #include <string.h>
    6832 
    6833 _ACEOF
    6834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6835   $EGREP "memchr" >/dev/null 2>&1; then
    6836   :
    6837 else
    6838   ac_cv_header_stdc=no
    6839 fi
    6840 rm -f conftest*
    6841 
    6842 fi
    6843 
    6844 if test $ac_cv_header_stdc = yes; then
    6845   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    6846   cat >conftest.$ac_ext <<_ACEOF
    6847 /* confdefs.h.  */
    6848 _ACEOF
    6849 cat confdefs.h >>conftest.$ac_ext
    6850 cat >>conftest.$ac_ext <<_ACEOF
    6851 /* end confdefs.h.  */
    6852 #include <stdlib.h>
    6853 
    6854 _ACEOF
    6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6856   $EGREP "free" >/dev/null 2>&1; then
    6857   :
    6858 else
    6859   ac_cv_header_stdc=no
    6860 fi
    6861 rm -f conftest*
    6862 
    6863 fi
    6864 
    6865 if test $ac_cv_header_stdc = yes; then
    6866   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    6867   if test "$cross_compiling" = yes; then
    6868   :
    6869 else
    6870   cat >conftest.$ac_ext <<_ACEOF
    6871 /* confdefs.h.  */
    6872 _ACEOF
    6873 cat confdefs.h >>conftest.$ac_ext
    6874 cat >>conftest.$ac_ext <<_ACEOF
    6875 /* end confdefs.h.  */
    6876 #include <ctype.h>
    6877 #if ((' ' & 0x0FF) == 0x020)
    6878 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    6879 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    6880 #else
    6881 # define ISLOWER(c) \
    6882                    (('a' <= (c) && (c) <= 'i') \
    6883                      || ('j' <= (c) && (c) <= 'r') \
    6884                      || ('s' <= (c) && (c) <= 'z'))
    6885 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    6886 #endif
    6887 
    6888 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    6889 int
    6890 main ()
    6891 {
    6892   int i;
    6893   for (i = 0; i < 256; i++)
    6894     if (XOR (islower (i), ISLOWER (i))
    6895         || toupper (i) != TOUPPER (i))
    6896       exit(2);
    6897   exit (0);
    6898 }
    6899 _ACEOF
    6900 rm -f conftest$ac_exeext
    6901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6902   (eval $ac_link) 2>&5
    6903   ac_status=$?
    6904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6905   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6907   (eval $ac_try) 2>&5
    6908   ac_status=$?
    6909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6910   (exit $ac_status); }; }; then
    6911   :
    6912 else
    6913   echo "$as_me: program exited with status $ac_status" >&5
    6914 echo "$as_me: failed program was:" >&5
    6915 sed 's/^/| /' conftest.$ac_ext >&5
    6916 
    6917 ( exit $ac_status )
    6918 ac_cv_header_stdc=no
    6919 fi
    6920 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6921 fi
    6922 fi
    6923 fi
    6924 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    6925 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    6926 if test $ac_cv_header_stdc = yes; then
    6927 
    6928 cat >>confdefs.h <<\_ACEOF
    6929 #define STDC_HEADERS 1
    6930 _ACEOF
    6931 
    6932 fi
    6933 
    6934 
    6935 
    6936 for ac_header in stdlib.h string.h
     6788#---------#
     6789# gThread #
     6790#---------#
     6791if test x$def_gthread = xyes; then
     6792
     6793        echo "$as_me:$LINENO: checking for gthread" >&5
     6794echo $ECHO_N "checking for gthread... $ECHO_C" >&6
     6795        if `pkg-config --exists gthread-2.0`; then
     6796                echo "yes"
     6797                have_gthread=yes
     6798                GTHREAD_LIBS=`pkg-config --libs gthread-2.0`
     6799                GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`
     6800
     6801cat >>confdefs.h <<_ACEOF
     6802#define HAVE_GTHREAD 1
     6803_ACEOF
     6804
     6805        else
     6806                echo "no"
     6807        fi
     6808
     6809fi
     6810
     6811
     6812
     6813
     6814if test x$have_gthread = xyes; then
     6815  HAVE_GTHREAD_TRUE=
     6816  HAVE_GTHREAD_FALSE='#'
     6817else
     6818  HAVE_GTHREAD_TRUE='#'
     6819  HAVE_GTHREAD_FALSE=
     6820fi
     6821
     6822
     6823#---------#
     6824# libcURL #
     6825#---------#
     6826if test x$def_curl = xyes; then
     6827
     6828
     6829for ac_header in curl/curl.h
    69376830do
    69386831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    70786971#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    70796972_ACEOF
    7080 
     6973 curlHeader="yes"
     6974else
     6975  curlHeader="no"
    70816976fi
    70826977
    70836978done
    70846979
    7085 
    7086 # Checks for typedefs, structures, and compiler characteristics.
    7087 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
    7088 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
    7089 if test "${ac_cv_header_stdbool_h+set}" = set; then
     6980 echo "$as_me:$LINENO: checking for main in -lcurl" >&5
     6981echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6
     6982if test "${ac_cv_lib_curl_main+set}" = set; then
    70906983  echo $ECHO_N "(cached) $ECHO_C" >&6
    70916984else
    7092   cat >conftest.$ac_ext <<_ACEOF
     6985  ac_check_lib_save_LIBS=$LIBS
     6986LIBS="-lcurl  $LIBS"
     6987cat >conftest.$ac_ext <<_ACEOF
    70936988/* confdefs.h.  */
    70946989_ACEOF
     
    70976992/* end confdefs.h.  */
    70986993
    7099 #include <stdbool.h>
    7100 #ifndef bool
    7101 # error bool is not defined
    7102 #endif
    7103 #ifndef false
    7104 # error false is not defined
    7105 #endif
    7106 #if false
    7107 # error false is not 0
    7108 #endif
    7109 #ifndef true
    7110 # error true is not defined
    7111 #endif
    7112 #if true != 1
    7113 # error true is not 1
    7114 #endif
    7115 #ifndef __bool_true_false_are_defined
    7116 # error __bool_true_false_are_defined is not defined
    7117 #endif
    7118 
    7119         struct s { _Bool s: 1; _Bool t; } s;
    7120 
    7121         char a[true == 1 ? 1 : -1];
    7122         char b[false == 0 ? 1 : -1];
    7123         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    7124         char d[(bool) -0.5 == true ? 1 : -1];
    7125         bool e = &s;
    7126         char f[(_Bool) -0.0 == false ? 1 : -1];
    7127         char g[true];
    7128         char h[sizeof (_Bool)];
    7129         char i[sizeof s.t];
    71306994
    71316995int
    71326996main ()
    71336997{
    7134  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     6998main ();
    71356999  ;
    71367000  return 0;
    71377001}
    71387002_ACEOF
    7139 rm -f conftest.$ac_objext
    7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7141   (eval $ac_compile) 2>conftest.er1
     7003rm -f conftest.$ac_objext conftest$ac_exeext
     7004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7005  (eval $ac_link) 2>conftest.er1
    71427006  ac_status=$?
    71437007  grep -v '^ *+' conftest.er1 >conftest.err
     
    71537017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71547018  (exit $ac_status); }; } &&
    7155          { ac_try='test -s conftest.$ac_objext'
     7019         { ac_try='test -s conftest$ac_exeext'
    71567020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    71577021  (eval $ac_try) 2>&5
     
    71597023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71607024  (exit $ac_status); }; }; then
    7161   ac_cv_header_stdbool_h=yes
     7025  ac_cv_lib_curl_main=yes
    71627026else
    71637027  echo "$as_me: failed program was:" >&5
    71647028sed 's/^/| /' conftest.$ac_ext >&5
    71657029
    7166 ac_cv_header_stdbool_h=no
    7167 fi
    7168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7169 fi
    7170 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
    7171 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
    7172 echo "$as_me:$LINENO: checking for _Bool" >&5
    7173 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
    7174 if test "${ac_cv_type__Bool+set}" = set; then
    7175   echo $ECHO_N "(cached) $ECHO_C" >&6
    7176 else
    7177   cat >conftest.$ac_ext <<_ACEOF
    7178 /* confdefs.h.  */
    7179 _ACEOF
    7180 cat confdefs.h >>conftest.$ac_ext
    7181 cat >>conftest.$ac_ext <<_ACEOF
    7182 /* end confdefs.h.  */
    7183 $ac_includes_default
    7184 int
    7185 main ()
    7186 {
    7187 if ((_Bool *) 0)
    7188   return 0;
    7189 if (sizeof (_Bool))
    7190   return 0;
    7191   ;
    7192   return 0;
    7193 }
    7194 _ACEOF
    7195 rm -f conftest.$ac_objext
    7196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7197   (eval $ac_compile) 2>conftest.er1
    7198   ac_status=$?
    7199   grep -v '^ *+' conftest.er1 >conftest.err
    7200   rm -f conftest.er1
    7201   cat conftest.err >&5
    7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7203   (exit $ac_status); } &&
    7204          { ac_try='test -z "$ac_c_werror_flag"
    7205                          || test ! -s conftest.err'
    7206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7207   (eval $ac_try) 2>&5
    7208   ac_status=$?
    7209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7210   (exit $ac_status); }; } &&
    7211          { ac_try='test -s conftest.$ac_objext'
    7212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7213   (eval $ac_try) 2>&5
    7214   ac_status=$?
    7215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7216   (exit $ac_status); }; }; then
    7217   ac_cv_type__Bool=yes
    7218 else
    7219   echo "$as_me: failed program was:" >&5
    7220 sed 's/^/| /' conftest.$ac_ext >&5
    7221 
    7222 ac_cv_type__Bool=no
    7223 fi
    7224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7225 fi
    7226 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
    7227 echo "${ECHO_T}$ac_cv_type__Bool" >&6
    7228 if test $ac_cv_type__Bool = yes; then
     7030ac_cv_lib_curl_main=no
     7031fi
     7032rm -f conftest.err conftest.$ac_objext \
     7033      conftest$ac_exeext conftest.$ac_ext
     7034LIBS=$ac_check_lib_save_LIBS
     7035fi
     7036echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
     7037echo "${ECHO_T}$ac_cv_lib_curl_main" >&6
     7038if test $ac_cv_lib_curl_main = yes; then
     7039  FOUND_curl=yes
     7040fi
     7041
     7042 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then
     7043  have_curl=yes
     7044  CURL_LIBS=`curl-config --libs`
     7045  CURLCFLAGS=`curl-config --cflags`
    72297046
    72307047cat >>confdefs.h <<_ACEOF
    7231 #define HAVE__BOOL 1
    7232 _ACEOF
    7233 
    7234 
    7235 fi
    7236 
    7237 if test $ac_cv_header_stdbool_h = yes; then
    7238 
    7239 cat >>confdefs.h <<\_ACEOF
    7240 #define HAVE_STDBOOL_H 1
    7241 _ACEOF
    7242 
    7243 fi
    7244 
    7245 
    7246 # Checks for library functions.
    7247 
    7248 for ac_header in stdlib.h
     7048#define HAVE_CURL 1
     7049_ACEOF
     7050
     7051 else
     7052  have_curl=no
     7053 fi
     7054
     7055fi
     7056
     7057
     7058
     7059
     7060if test x$have_curl = xyes; then
     7061  HAVE_CURL_TRUE=
     7062  HAVE_CURL_FALSE='#'
     7063else
     7064  HAVE_CURL_TRUE='#'
     7065  HAVE_CURL_FALSE=
     7066fi
     7067
     7068
     7069#---------#
     7070# pthread #
     7071#---------#
     7072if test x$def_pthread = xyes ; then
     7073 if test x$have_gthread = xyes ; then
     7074
     7075for ac_header in pthread.h
    72497076do
    72507077as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    73907217#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    73917218_ACEOF
     7219 pthreadHeader="yes"
     7220else
     7221  pthreadHeader="no"
     7222fi
     7223
     7224done
     7225
     7226  echo "$as_me:$LINENO: checking for main in -lpthread" >&5
     7227echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
     7228if test "${ac_cv_lib_pthread_main+set}" = set; then
     7229  echo $ECHO_N "(cached) $ECHO_C" >&6
     7230else
     7231  ac_check_lib_save_LIBS=$LIBS
     7232LIBS="-lpthread  $LIBS"
     7233cat >conftest.$ac_ext <<_ACEOF
     7234/* confdefs.h.  */
     7235_ACEOF
     7236cat confdefs.h >>conftest.$ac_ext
     7237cat >>conftest.$ac_ext <<_ACEOF
     7238/* end confdefs.h.  */
     7239
     7240
     7241int
     7242main ()
     7243{
     7244main ();
     7245  ;
     7246  return 0;
     7247}
     7248_ACEOF
     7249rm -f conftest.$ac_objext conftest$ac_exeext
     7250if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7251  (eval $ac_link) 2>conftest.er1
     7252  ac_status=$?
     7253  grep -v '^ *+' conftest.er1 >conftest.err
     7254  rm -f conftest.er1
     7255  cat conftest.err >&5
     7256  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7257  (exit $ac_status); } &&
     7258         { ac_try='test -z "$ac_c_werror_flag"
     7259                         || test ! -s conftest.err'
     7260  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7261  (eval $ac_try) 2>&5
     7262  ac_status=$?
     7263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7264  (exit $ac_status); }; } &&
     7265         { ac_try='test -s conftest$ac_exeext'
     7266  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7267  (eval $ac_try) 2>&5
     7268  ac_status=$?
     7269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7270  (exit $ac_status); }; }; then
     7271  ac_cv_lib_pthread_main=yes
     7272else
     7273  echo "$as_me: failed program was:" >&5
     7274sed 's/^/| /' conftest.$ac_ext >&5
     7275
     7276ac_cv_lib_pthread_main=no
     7277fi
     7278rm -f conftest.err conftest.$ac_objext \
     7279      conftest$ac_exeext conftest.$ac_ext
     7280LIBS=$ac_check_lib_save_LIBS
     7281fi
     7282echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
     7283echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
     7284if test $ac_cv_lib_pthread_main = yes; then
     7285  FOUND_pthread=yes
     7286fi
     7287
     7288   if test x$FOUND_pthread = xyes ; then
     7289      LIBS="$LIBS -lpthread"
     7290   fi
     7291 fi
     7292fi
     7293
     7294
     7295# FIXME: Replace `main' with a function in `-lm':
     7296
     7297echo "$as_me:$LINENO: checking for main in -lm" >&5
     7298echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     7299if test "${ac_cv_lib_m_main+set}" = set; then
     7300  echo $ECHO_N "(cached) $ECHO_C" >&6
     7301else
     7302  ac_check_lib_save_LIBS=$LIBS
     7303LIBS="-lm  $LIBS"
     7304cat >conftest.$ac_ext <<_ACEOF
     7305/* confdefs.h.  */
     7306_ACEOF
     7307cat confdefs.h >>conftest.$ac_ext
     7308cat >>conftest.$ac_ext <<_ACEOF
     7309/* end confdefs.h.  */
     7310
     7311
     7312int
     7313main ()
     7314{
     7315main ();
     7316  ;
     7317  return 0;
     7318}
     7319_ACEOF
     7320rm -f conftest.$ac_objext conftest$ac_exeext
     7321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7322  (eval $ac_link) 2>conftest.er1
     7323  ac_status=$?
     7324  grep -v '^ *+' conftest.er1 >conftest.err
     7325  rm -f conftest.er1
     7326  cat conftest.err >&5
     7327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7328  (exit $ac_status); } &&
     7329         { ac_try='test -z "$ac_c_werror_flag"
     7330                         || test ! -s conftest.err'
     7331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7332  (eval $ac_try) 2>&5
     7333  ac_status=$?
     7334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7335  (exit $ac_status); }; } &&
     7336         { ac_try='test -s conftest$ac_exeext'
     7337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7338  (eval $ac_try) 2>&5
     7339  ac_status=$?
     7340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7341  (exit $ac_status); }; }; then
     7342  ac_cv_lib_m_main=yes
     7343else
     7344  echo "$as_me: failed program was:" >&5
     7345sed 's/^/| /' conftest.$ac_ext >&5
     7346
     7347ac_cv_lib_m_main=no
     7348fi
     7349rm -f conftest.err conftest.$ac_objext \
     7350      conftest$ac_exeext conftest.$ac_ext
     7351LIBS=$ac_check_lib_save_LIBS
     7352fi
     7353echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     7354echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     7355if test $ac_cv_lib_m_main = yes; then
     7356  cat >>confdefs.h <<_ACEOF
     7357#define HAVE_LIBM 1
     7358_ACEOF
     7359
     7360  LIBS="-lm $LIBS"
     7361
     7362fi
     7363
     7364
     7365
     7366# Checks for header files.
     7367echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     7368echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     7369if test "${ac_cv_header_stdc+set}" = set; then
     7370  echo $ECHO_N "(cached) $ECHO_C" >&6
     7371else
     7372  cat >conftest.$ac_ext <<_ACEOF
     7373/* confdefs.h.  */
     7374_ACEOF
     7375cat confdefs.h >>conftest.$ac_ext
     7376cat >>conftest.$ac_ext <<_ACEOF
     7377/* end confdefs.h.  */
     7378#include <stdlib.h>
     7379#include <stdarg.h>
     7380#include <string.h>
     7381#include <float.h>
     7382
     7383int
     7384main ()
     7385{
     7386
     7387  ;
     7388  return 0;
     7389}
     7390_ACEOF
     7391rm -f conftest.$ac_objext
     7392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7393  (eval $ac_compile) 2>conftest.er1
     7394  ac_status=$?
     7395  grep -v '^ *+' conftest.er1 >conftest.err
     7396  rm -f conftest.er1
     7397  cat conftest.err >&5
     7398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7399  (exit $ac_status); } &&
     7400         { ac_try='test -z "$ac_c_werror_flag"
     7401                         || test ! -s conftest.err'
     7402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7403  (eval $ac_try) 2>&5
     7404  ac_status=$?
     7405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7406  (exit $ac_status); }; } &&
     7407         { ac_try='test -s conftest.$ac_objext'
     7408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7409  (eval $ac_try) 2>&5
     7410  ac_status=$?
     7411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7412  (exit $ac_status); }; }; then
     7413  ac_cv_header_stdc=yes
     7414else
     7415  echo "$as_me: failed program was:" >&5
     7416sed 's/^/| /' conftest.$ac_ext >&5
     7417
     7418ac_cv_header_stdc=no
     7419fi
     7420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7421
     7422if test $ac_cv_header_stdc = yes; then
     7423  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     7424  cat >conftest.$ac_ext <<_ACEOF
     7425/* confdefs.h.  */
     7426_ACEOF
     7427cat confdefs.h >>conftest.$ac_ext
     7428cat >>conftest.$ac_ext <<_ACEOF
     7429/* end confdefs.h.  */
     7430#include <string.h>
     7431
     7432_ACEOF
     7433if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7434  $EGREP "memchr" >/dev/null 2>&1; then
     7435  :
     7436else
     7437  ac_cv_header_stdc=no
     7438fi
     7439rm -f conftest*
     7440
     7441fi
     7442
     7443if test $ac_cv_header_stdc = yes; then
     7444  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     7445  cat >conftest.$ac_ext <<_ACEOF
     7446/* confdefs.h.  */
     7447_ACEOF
     7448cat confdefs.h >>conftest.$ac_ext
     7449cat >>conftest.$ac_ext <<_ACEOF
     7450/* end confdefs.h.  */
     7451#include <stdlib.h>
     7452
     7453_ACEOF
     7454if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7455  $EGREP "free" >/dev/null 2>&1; then
     7456  :
     7457else
     7458  ac_cv_header_stdc=no
     7459fi
     7460rm -f conftest*
     7461
     7462fi
     7463
     7464if test $ac_cv_header_stdc = yes; then
     7465  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     7466  if test "$cross_compiling" = yes; then
     7467  :
     7468else
     7469  cat >conftest.$ac_ext <<_ACEOF
     7470/* confdefs.h.  */
     7471_ACEOF
     7472cat confdefs.h >>conftest.$ac_ext
     7473cat >>conftest.$ac_ext <<_ACEOF
     7474/* end confdefs.h.  */
     7475#include <ctype.h>
     7476#if ((' ' & 0x0FF) == 0x020)
     7477# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     7478# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     7479#else
     7480# define ISLOWER(c) \
     7481                   (('a' <= (c) && (c) <= 'i') \
     7482                     || ('j' <= (c) && (c) <= 'r') \
     7483                     || ('s' <= (c) && (c) <= 'z'))
     7484# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     7485#endif
     7486
     7487#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     7488int
     7489main ()
     7490{
     7491  int i;
     7492  for (i = 0; i < 256; i++)
     7493    if (XOR (islower (i), ISLOWER (i))
     7494        || toupper (i) != TOUPPER (i))
     7495      exit(2);
     7496  exit (0);
     7497}
     7498_ACEOF
     7499rm -f conftest$ac_exeext
     7500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7501  (eval $ac_link) 2>&5
     7502  ac_status=$?
     7503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7504  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     7505  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7506  (eval $ac_try) 2>&5
     7507  ac_status=$?
     7508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7509  (exit $ac_status); }; }; then
     7510  :
     7511else
     7512  echo "$as_me: program exited with status $ac_status" >&5
     7513echo "$as_me: failed program was:" >&5
     7514sed 's/^/| /' conftest.$ac_ext >&5
     7515
     7516( exit $ac_status )
     7517ac_cv_header_stdc=no
     7518fi
     7519rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7520fi
     7521fi
     7522fi
     7523echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     7524echo "${ECHO_T}$ac_cv_header_stdc" >&6
     7525if test $ac_cv_header_stdc = yes; then
     7526
     7527cat >>confdefs.h <<\_ACEOF
     7528#define STDC_HEADERS 1
     7529_ACEOF
     7530
     7531fi
     7532
     7533
     7534
     7535for ac_header in stdlib.h string.h
     7536do
     7537as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7538if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7539  echo "$as_me:$LINENO: checking for $ac_header" >&5
     7540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7541if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7542  echo $ECHO_N "(cached) $ECHO_C" >&6
     7543fi
     7544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7545echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7546else
     7547  # Is the header compilable?
     7548echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7549echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     7550cat >conftest.$ac_ext <<_ACEOF
     7551/* confdefs.h.  */
     7552_ACEOF
     7553cat confdefs.h >>conftest.$ac_ext
     7554cat >>conftest.$ac_ext <<_ACEOF
     7555/* end confdefs.h.  */
     7556$ac_includes_default
     7557#include <$ac_header>
     7558_ACEOF
     7559rm -f conftest.$ac_objext
     7560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7561  (eval $ac_compile) 2>conftest.er1
     7562  ac_status=$?
     7563  grep -v '^ *+' conftest.er1 >conftest.err
     7564  rm -f conftest.er1
     7565  cat conftest.err >&5
     7566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7567  (exit $ac_status); } &&
     7568         { ac_try='test -z "$ac_c_werror_flag"
     7569                         || test ! -s conftest.err'
     7570  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7571  (eval $ac_try) 2>&5
     7572  ac_status=$?
     7573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7574  (exit $ac_status); }; } &&
     7575         { ac_try='test -s conftest.$ac_objext'
     7576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7577  (eval $ac_try) 2>&5
     7578  ac_status=$?
     7579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7580  (exit $ac_status); }; }; then
     7581  ac_header_compiler=yes
     7582else
     7583  echo "$as_me: failed program was:" >&5
     7584sed 's/^/| /' conftest.$ac_ext >&5
     7585
     7586ac_header_compiler=no
     7587fi
     7588rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7589echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7590echo "${ECHO_T}$ac_header_compiler" >&6
     7591
     7592# Is the header present?
     7593echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7594echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     7595cat >conftest.$ac_ext <<_ACEOF
     7596/* confdefs.h.  */
     7597_ACEOF
     7598cat confdefs.h >>conftest.$ac_ext
     7599cat >>conftest.$ac_ext <<_ACEOF
     7600/* end confdefs.h.  */
     7601#include <$ac_header>
     7602_ACEOF
     7603if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     7604  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     7605  ac_status=$?
     7606  grep -v '^ *+' conftest.er1 >conftest.err
     7607  rm -f conftest.er1
     7608  cat conftest.err >&5
     7609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7610  (exit $ac_status); } >/dev/null; then
     7611  if test -s conftest.err; then
     7612    ac_cpp_err=$ac_c_preproc_warn_flag
     7613    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     7614  else
     7615    ac_cpp_err=
     7616  fi
     7617else
     7618  ac_cpp_err=yes
     7619fi
     7620if test -z "$ac_cpp_err"; then
     7621  ac_header_preproc=yes
     7622else
     7623  echo "$as_me: failed program was:" >&5
     7624sed 's/^/| /' conftest.$ac_ext >&5
     7625
     7626  ac_header_preproc=no
     7627fi
     7628rm -f conftest.err conftest.$ac_ext
     7629echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7630echo "${ECHO_T}$ac_header_preproc" >&6
     7631
     7632# So?  What about this header?
     7633case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     7634  yes:no: )
     7635    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7636echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7637    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7638echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7639    ac_header_preproc=yes
     7640    ;;
     7641  no:yes:* )
     7642    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7643echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7644    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7645echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7646    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7647echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7648    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7649echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7650    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7651echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7652    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7653echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7654    (
     7655      cat <<\_ASBOX
     7656## ---------------------------------------------- ##
     7657## Report this to orxonox-dev at mail.datacore.ch ##
     7658## ---------------------------------------------- ##
     7659_ASBOX
     7660    ) |
     7661      sed "s/^/$as_me: WARNING:     /" >&2
     7662    ;;
     7663esac
     7664echo "$as_me:$LINENO: checking for $ac_header" >&5
     7665echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7666if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7667  echo $ECHO_N "(cached) $ECHO_C" >&6
     7668else
     7669  eval "$as_ac_Header=\$ac_header_preproc"
     7670fi
     7671echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7672echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7673
     7674fi
     7675if test `eval echo '${'$as_ac_Header'}'` = yes; then
     7676  cat >>confdefs.h <<_ACEOF
     7677#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7678_ACEOF
     7679
     7680fi
     7681
     7682done
     7683
     7684
     7685# Checks for typedefs, structures, and compiler characteristics.
     7686echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
     7687echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
     7688if test "${ac_cv_header_stdbool_h+set}" = set; then
     7689  echo $ECHO_N "(cached) $ECHO_C" >&6
     7690else
     7691  cat >conftest.$ac_ext <<_ACEOF
     7692/* confdefs.h.  */
     7693_ACEOF
     7694cat confdefs.h >>conftest.$ac_ext
     7695cat >>conftest.$ac_ext <<_ACEOF
     7696/* end confdefs.h.  */
     7697
     7698#include <stdbool.h>
     7699#ifndef bool
     7700# error bool is not defined
     7701#endif
     7702#ifndef false
     7703# error false is not defined
     7704#endif
     7705#if false
     7706# error false is not 0
     7707#endif
     7708#ifndef true
     7709# error true is not defined
     7710#endif
     7711#if true != 1
     7712# error true is not 1
     7713#endif
     7714#ifndef __bool_true_false_are_defined
     7715# error __bool_true_false_are_defined is not defined
     7716#endif
     7717
     7718        struct s { _Bool s: 1; _Bool t; } s;
     7719
     7720        char a[true == 1 ? 1 : -1];
     7721        char b[false == 0 ? 1 : -1];
     7722        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     7723        char d[(bool) -0.5 == true ? 1 : -1];
     7724        bool e = &s;
     7725        char f[(_Bool) -0.0 == false ? 1 : -1];
     7726        char g[true];
     7727        char h[sizeof (_Bool)];
     7728        char i[sizeof s.t];
     7729
     7730int
     7731main ()
     7732{
     7733 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     7734  ;
     7735  return 0;
     7736}
     7737_ACEOF
     7738rm -f conftest.$ac_objext
     7739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7740  (eval $ac_compile) 2>conftest.er1
     7741  ac_status=$?
     7742  grep -v '^ *+' conftest.er1 >conftest.err
     7743  rm -f conftest.er1
     7744  cat conftest.err >&5
     7745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7746  (exit $ac_status); } &&
     7747         { ac_try='test -z "$ac_c_werror_flag"
     7748                         || test ! -s conftest.err'
     7749  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7750  (eval $ac_try) 2>&5
     7751  ac_status=$?
     7752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7753  (exit $ac_status); }; } &&
     7754         { ac_try='test -s conftest.$ac_objext'
     7755  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7756  (eval $ac_try) 2>&5
     7757  ac_status=$?
     7758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7759  (exit $ac_status); }; }; then
     7760  ac_cv_header_stdbool_h=yes
     7761else
     7762  echo "$as_me: failed program was:" >&5
     7763sed 's/^/| /' conftest.$ac_ext >&5
     7764
     7765ac_cv_header_stdbool_h=no
     7766fi
     7767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7768fi
     7769echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     7770echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
     7771echo "$as_me:$LINENO: checking for _Bool" >&5
     7772echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
     7773if test "${ac_cv_type__Bool+set}" = set; then
     7774  echo $ECHO_N "(cached) $ECHO_C" >&6
     7775else
     7776  cat >conftest.$ac_ext <<_ACEOF
     7777/* confdefs.h.  */
     7778_ACEOF
     7779cat confdefs.h >>conftest.$ac_ext
     7780cat >>conftest.$ac_ext <<_ACEOF
     7781/* end confdefs.h.  */
     7782$ac_includes_default
     7783int
     7784main ()
     7785{
     7786if ((_Bool *) 0)
     7787  return 0;
     7788if (sizeof (_Bool))
     7789  return 0;
     7790  ;
     7791  return 0;
     7792}
     7793_ACEOF
     7794rm -f conftest.$ac_objext
     7795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7796  (eval $ac_compile) 2>conftest.er1
     7797  ac_status=$?
     7798  grep -v '^ *+' conftest.er1 >conftest.err
     7799  rm -f conftest.er1
     7800  cat conftest.err >&5
     7801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7802  (exit $ac_status); } &&
     7803         { ac_try='test -z "$ac_c_werror_flag"
     7804                         || test ! -s conftest.err'
     7805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7806  (eval $ac_try) 2>&5
     7807  ac_status=$?
     7808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7809  (exit $ac_status); }; } &&
     7810         { ac_try='test -s conftest.$ac_objext'
     7811  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7812  (eval $ac_try) 2>&5
     7813  ac_status=$?
     7814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7815  (exit $ac_status); }; }; then
     7816  ac_cv_type__Bool=yes
     7817else
     7818  echo "$as_me: failed program was:" >&5
     7819sed 's/^/| /' conftest.$ac_ext >&5
     7820
     7821ac_cv_type__Bool=no
     7822fi
     7823rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7824fi
     7825echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     7826echo "${ECHO_T}$ac_cv_type__Bool" >&6
     7827if test $ac_cv_type__Bool = yes; then
     7828
     7829cat >>confdefs.h <<_ACEOF
     7830#define HAVE__BOOL 1
     7831_ACEOF
     7832
     7833
     7834fi
     7835
     7836if test $ac_cv_header_stdbool_h = yes; then
     7837
     7838cat >>confdefs.h <<\_ACEOF
     7839#define HAVE_STDBOOL_H 1
     7840_ACEOF
     7841
     7842fi
     7843
     7844
     7845# Checks for library functions.
     7846
     7847for ac_header in stdlib.h
     7848do
     7849as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7850if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7851  echo "$as_me:$LINENO: checking for $ac_header" >&5
     7852echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7853if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7854  echo $ECHO_N "(cached) $ECHO_C" >&6
     7855fi
     7856echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7857echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7858else
     7859  # Is the header compilable?
     7860echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7861echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     7862cat >conftest.$ac_ext <<_ACEOF
     7863/* confdefs.h.  */
     7864_ACEOF
     7865cat confdefs.h >>conftest.$ac_ext
     7866cat >>conftest.$ac_ext <<_ACEOF
     7867/* end confdefs.h.  */
     7868$ac_includes_default
     7869#include <$ac_header>
     7870_ACEOF
     7871rm -f conftest.$ac_objext
     7872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7873  (eval $ac_compile) 2>conftest.er1
     7874  ac_status=$?
     7875  grep -v '^ *+' conftest.er1 >conftest.err
     7876  rm -f conftest.er1
     7877  cat conftest.err >&5
     7878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7879  (exit $ac_status); } &&
     7880         { ac_try='test -z "$ac_c_werror_flag"
     7881                         || test ! -s conftest.err'
     7882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7883  (eval $ac_try) 2>&5
     7884  ac_status=$?
     7885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7886  (exit $ac_status); }; } &&
     7887         { ac_try='test -s conftest.$ac_objext'
     7888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7889  (eval $ac_try) 2>&5
     7890  ac_status=$?
     7891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7892  (exit $ac_status); }; }; then
     7893  ac_header_compiler=yes
     7894else
     7895  echo "$as_me: failed program was:" >&5
     7896sed 's/^/| /' conftest.$ac_ext >&5
     7897
     7898ac_header_compiler=no
     7899fi
     7900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7901echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7902echo "${ECHO_T}$ac_header_compiler" >&6
     7903
     7904# Is the header present?
     7905echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7906echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     7907cat >conftest.$ac_ext <<_ACEOF
     7908/* confdefs.h.  */
     7909_ACEOF
     7910cat confdefs.h >>conftest.$ac_ext
     7911cat >>conftest.$ac_ext <<_ACEOF
     7912/* end confdefs.h.  */
     7913#include <$ac_header>
     7914_ACEOF
     7915if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     7916  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     7917  ac_status=$?
     7918  grep -v '^ *+' conftest.er1 >conftest.err
     7919  rm -f conftest.er1
     7920  cat conftest.err >&5
     7921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7922  (exit $ac_status); } >/dev/null; then
     7923  if test -s conftest.err; then
     7924    ac_cpp_err=$ac_c_preproc_warn_flag
     7925    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     7926  else
     7927    ac_cpp_err=
     7928  fi
     7929else
     7930  ac_cpp_err=yes
     7931fi
     7932if test -z "$ac_cpp_err"; then
     7933  ac_header_preproc=yes
     7934else
     7935  echo "$as_me: failed program was:" >&5
     7936sed 's/^/| /' conftest.$ac_ext >&5
     7937
     7938  ac_header_preproc=no
     7939fi
     7940rm -f conftest.err conftest.$ac_ext
     7941echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7942echo "${ECHO_T}$ac_header_preproc" >&6
     7943
     7944# So?  What about this header?
     7945case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     7946  yes:no: )
     7947    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7948echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7949    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7950echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7951    ac_header_preproc=yes
     7952    ;;
     7953  no:yes:* )
     7954    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7955echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7956    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7957echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7958    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7959echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7960    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7961echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7962    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7963echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7964    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7965echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7966    (
     7967      cat <<\_ASBOX
     7968## ---------------------------------------------- ##
     7969## Report this to orxonox-dev at mail.datacore.ch ##
     7970## ---------------------------------------------- ##
     7971_ASBOX
     7972    ) |
     7973      sed "s/^/$as_me: WARNING:     /" >&2
     7974    ;;
     7975esac
     7976echo "$as_me:$LINENO: checking for $ac_header" >&5
     7977echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7978if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7979  echo $ECHO_N "(cached) $ECHO_C" >&6
     7980else
     7981  eval "$as_ac_Header=\$ac_header_preproc"
     7982fi
     7983echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7984echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7985
     7986fi
     7987if test `eval echo '${'$as_ac_Header'}'` = yes; then
     7988  cat >>confdefs.h <<_ACEOF
     7989#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7990_ACEOF
    73927991
    73937992fi
     
    75808179
    75818180
    7582                                                   ac_config_files="$ac_config_files Makefile src/Makefile src/importer/Makefile src/console/Makefile src/gui/Makefile"
     8181######################
     8182## OUTPUT CONFIGURE ##
     8183######################
     8184                                                                                ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/graphics/Makefile src/lib/graphics/importer/Makefile src/lib/gui/Makefile src/lib/gui/console/Makefile src/lib/gui/gui/Makefile"
    75838185
    75848186
     
    77138315Usually this means the macro was only invoked conditionally." >&5
    77148316echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined.
     8317Usually this means the macro was only invoked conditionally." >&2;}
     8318   { (exit 1); exit 1; }; }
     8319fi
     8320if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
     8321  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.
     8322Usually this means the macro was only invoked conditionally." >&5
     8323echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.
     8324Usually this means the macro was only invoked conditionally." >&2;}
     8325   { (exit 1); exit 1; }; }
     8326fi
     8327if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then
     8328  { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined.
     8329Usually this means the macro was only invoked conditionally." >&5
     8330echo "$as_me: error: conditional \"HAVE_CURL\" was never defined.
    77158331Usually this means the macro was only invoked conditionally." >&2;}
    77168332   { (exit 1); exit 1; }; }
     
    81628778  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    81638779  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    8164   "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;;
    8165   "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;;
    8166   "src/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;;
     8780  "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
     8781  "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;;
     8782  "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;;
     8783  "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;;
     8784  "src/lib/gui/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/console/Makefile" ;;
     8785  "src/lib/gui/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/gui/Makefile" ;;
    81678786  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    81688787  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     
    83198938s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t
    83208939s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
     8940s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
     8941s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
     8942s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t
     8943s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t
     8944s,@CURL_LIBS@,$CURL_LIBS,;t t
     8945s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
     8946s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t
     8947s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t
    83218948s,@LIBOBJS@,$LIBOBJS,;t t
    83228949s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  • orxonox/branches/levelloader/configure.ac

    r3385 r3499  
    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
     1##########################################################################
     2#   orxonox - the future of 3D-vertical-scrollers                        #
     3#                                                                        #
     4#   Copyright (C) 2004 orx                                               #
     5#                                                                        #
     6#   This program is free software; you can redistribute it and/or modify #
     7#   it under the terms of the GNU General Public License as published by #
     8#   the Free Software Foundation; either version 2, or (at your option)  #
     9#   any later version.                                                   #
     10#                                                                        #
     11#   ### File Specific:                                                   #
     12#   main-programmer: Benjamin Grauer                                     #
     13#   co-programmer: ...                                                   #
     14#                                                                        #
     15#   This is the main configuration File of autoconf.                     #
     16#   Please edit this file only, if you exactly know what you are doing.  #
     17#   It is quite fragile, and compiling orxonox on different Platforms    #
     18#   is only guarantied, if build with the right config.                  #
     19##########################################################################
     20
     21#########################
     22## AUTOCONF INIT PHASE ##
     23#########################
    424AC_PREREQ(2.56)
    525AC_INIT(orxonox, 0.2.1-pre-alpha, [orxonox-dev at mail.datacore.ch])
    626
    7 # Detect the canonical host and target build environment.
     27## Detect the canonical host and target build environment.
    828AC_CANONICAL_BUILD
    929AC_CANONICAL_HOST
    1030AC_CANONICAL_TARGET
    1131
    12 
    1332AM_INIT_AUTOMAKE
    1433
     
    1635AC_CONFIG_HEADER([config.h])
    1736
    18 
    19 # Checks for programs.
     37#########################
     38## Checks for programs ##
     39#########################
    2040AC_PROG_CXX
    2141AC_HEADER_STDC
    2242
    23 ### CHECKING  OPTIONAT ARGUMENTS
    24 ## DEBUG-statement
     43##################################
     44## CHECKING  OPTIONAL ARGUMENTS ##
     45##################################
     46
     47#-----------------#
     48# DEBUG-statement #
     49#-----------------#
    2550DEBUG=no
    2651AC_MSG_CHECKING([if DEBUG-mode should be enabled])
     
    2954         DEBUG=$enableval)
    3055
    31 if test "$DEBUG" = "no"; then
     56if test x$DEBUG = xno; then
    3257        echo "no"
    33         echo " -> Setting debuglevel to 1. Like this you can still see errors."
    34         DEBUG=1
    35 elif test "$DEBUG" = yes; then
     58        echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed."
     59        DEBUG=3
     60elif test x$DEBUG = xyes; then
    3661        echo "yes"
    37         echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."
    38         DEBUG=3
     62        echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
     63        DEBUG=4
    3964else       
    40         echo "yes set to $DEBUG"
     65        echo "yes: setting debuglevel to to $DEBUG"
    4166fi
    4267        AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are])
     
    4469AC_SUBST(DEBUG)
    4570
    46 ## GTK-disabled
     71#--------------#
     72# GTK-disabled #
     73#--------------#
    4774AC_MSG_CHECKING([if gtk should be enabled])
    4875AC_ARG_WITH([gtk],
    4976        AC_HELP_STRING( [--without-gtk],
    5077        [Prevents GTK from being loaded]), [def_gtk=no], [def_gtk=yes])
    51 if test "$def_gtk" = yes; then
     78if test x$def_gtk = xyes; then
    5279  echo "yes"
    5380fi
    54 if test "$def_gtk" = no; then
     81if test x$def_gtk = xno; then
    5582  echo "no"
    5683fi
    57 ### SDL_image-disable
     84
     85#------------------#
     86# gThread-disabled #
     87#------------------#
     88AC_MSG_CHECKING([if gThread should be enabled])
     89AC_ARG_WITH([gthread],
     90        AC_HELP_STRING( [--without-gthread],
     91        [Prevents gThread from being loaded]), [def_gthread=no], [def_gthread=yes])
     92if test x$def_gthread = xyes; then
     93  echo "yes"
     94fi
     95if test x$def_gthread = xno; then
     96  echo "no"
     97fi
     98
     99#------------------#
     100# pthread-disabled #
     101#------------------#
     102AC_MSG_CHECKING([if pthread should be enabled])
     103AC_ARG_WITH([pthread],
     104        AC_HELP_STRING( [--without-pthread],
     105        [Prevents pthread from being loaded]), [def_pthread=no], [def_pthread=yes])
     106if test x$def_pthread = xyes; then
     107  echo "yes"
     108fi
     109if test x$def_pthread = xno; then
     110  echo "no"
     111fi
     112
     113#------------------#
     114# libCurl-disabled #
     115#------------------#
     116AC_MSG_CHECKING([if libcURL should be enabled])
     117AC_ARG_WITH([curl],
     118        AC_HELP_STRING( [--without-curl],
     119        [Prevents libcURL from being loaded]), [def_curl=no], [def_curl=yes])
     120if test x$def_curl = xyes; then
     121  echo "yes"
     122fi
     123if test x$def_curl = xno; then
     124  echo "no"
     125fi
     126
     127#-------------------#
     128# SDL_image-disable #
     129#-------------------#
    58130def_sdl_image=yes
    59131AC_MSG_CHECKING([if SDL_image should be enabled])
     
    61133        AC_HELP_STRING( [--without-sdl-image],
    62134        [Prevents SDL_image from being loaded]), [def_sdl_image=no])
    63 if test "$def_sdl_image" = yes; then
     135if test x$def_sdl_image = xyes; then
    64136  echo "yes"
    65137fi
    66 if test "$def_sdl_image" = no; then
     138if test x$def_sdl_image = xno; then
    67139  echo "no"
    68140fi
    69 
    70 
    71 ### SubProject-enable
    72 def_sdl_image=yes
     141#-------------------#
     142# SubProject-enable #
     143#-------------------#
     144def_sub_projects=no
    73145AC_MSG_CHECKING([if the SubProjects should be built])
    74146AC_ARG_ENABLE([sub-projects],
    75147        AC_HELP_STRING( [--enable-sub-projects],
    76         [also builds the subProjects by default]), [def_sub_projects=yes])
    77 if test "$def_sub_projects" = yes; then
     148        [also builds the subProjects while make from srcdir]), [def_sub_projects=yes])
     149if test x$def_sub_projects = xyes; then
    78150  echo "yes"
    79151fi
    80 if test "$def_sub_projects" = no; then
     152if test x$def_sub_projects = xno; then
    81153  echo "no"
    82154fi
    83155AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes)
    84156
    85 ## PROGRAMM CHECKING
    86 # checking for Doxygen
     157#######################
     158## PROGRAMM CHECKING ##
     159## 3. party Programs ##
     160#######################
     161
     162#----------------------#
     163# checking for Doxygen #
     164#----------------------#
    87165AC_PATH_PROG(DOXYGEN, doxygen)
    88166AM_CONDITIONAL(DOXYGEN, test $DOXYGEN)
    89167
    90 ### CHECKING FOR SYSTEM ###
     168#########################
     169## CHECKING FOR SYSTEM ##
     170#########################
     171## here the system is checked, and openGL is included
     172## also checking for SDL on differen Systems
    91173
    92174AC_MSG_CHECKING([for System])
    93175## checking for openGL-environment and other sys-specific parameters
    94176case "$target" in
    95 ### WINDOWS ###
     177#---------#
     178# WINDOWS #
     179#---------#
    96180  *-*-mingw32*)
    97181echo "mingw-WINDOWS detected"
     
    109193#   checking for Windows openGl library
    110194    AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h")
    111     if test "$FOUND_opengl32" = "yes" ; then
     195    if test x$FOUND_opengl32 = xyes ; then
    112196        LIBS="$LIBS -lopengl32"
    113197    else
     
    120204
    121205# cheking for GLU-header
    122     AC_CHECK_HEADERS(GL/glu.h ,,
     206    AC_CHECK_HEADERS([GL/glu.h] ,,
    123207      [AC_MSG_ERROR([cannot find opengl headers]) ])
    124208
    125209# checking for libGLU
    126210    AC_CHECK_LIB([glu32], [main], FOUND_glu32=yes)
    127     if test "$FOUND_glu32" = "yes" ; then
     211    if test x$FOUND_glu32 = xyes ; then
    128212        LIBS="$LIBS -lGLU32"
    129213    else
     
    137221# checking for mingw32
    138222    AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes)
    139     if test $FOUND_mingw32 = "yes"; then
     223    if test x$FOUND_mingw32 = xyes; then
    140224        LIBS="$LIBS -lmingw32"
    141225    fi
    142226# checking for SDL-headers
    143     AC_CHECK_HEADERS(SDL/SDL.h ,,
     227    AC_CHECK_HEADERS([SDL/SDL.h] ,,
    144228      [AC_MSG_ERROR([cannot find SDL headers]) ])
    145229
    146230#checking for libSDL
    147231    AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes)
    148     if test "$FOUND_sdlmain" = "yes" ; then
     232    if test x$FOUND_sdlmain = xyes ; then
    149233       LIBS="$LIBS -lsdlmain"
    150234    else
     
    156240    fi
    157241    AC_CHECK_LIB([sdl], [main], FOUND_sdl=yes)
    158     if test "$FOUND_sdl" = "yes" ; then
     242    if test x$FOUND_sdl = xyes ; then
    159243       LIBS="$LIBS -lsdl"
    160244    else
     
    167251
    168252    ;;
    169 
    170 ### LINUX ###
     253#-------#
     254# LINUX #
     255#-------#
    171256 *-*-linux*)
    172257echo "Linux detected"
     
    177262LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
    178263# checking gl header
    179    AC_CHECK_HEADERS(GL/gl.h ,,
     264   AC_CHECK_HEADERS([GL/gl.h] ,,
    180265      [AC_MSG_ERROR([cannot find opengl headers]) ])
    181266
    182267#  checking for Unix GL
    183268   AC_CHECK_LIB([GL], [glLoadIdentity], FOUND_GL=yes)
    184    if test "$FOUND_GL" = "yes" ; then
     269   if test x$FOUND_GL = xyes ; then
    185270     LIBS="$LIBS -lGL"
    186271   else
     
    193278
    194279# cheking for GLU-header
    195     AC_CHECK_HEADERS(GL/glu.h ,,
     280    AC_CHECK_HEADERS([GL/glu.h] ,,
    196281      [AC_MSG_ERROR([cannot find opengl headers]) ])
    197282
    198283    AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes)
    199     if test "$FOUND_GLU" = "yes" ; then
     284    if test x$FOUND_GLU = xyes ; then
    200285      LIBS="$LIBS -lGLU"
    201286    else
     
    208293
    209294# checking for SDL-headers
    210     AC_CHECK_HEADERS(SDL/SDL.h ,,
     295    AC_CHECK_HEADERS([SDL/SDL.h] ,,
    211296      [AC_MSG_ERROR([cannot find SDL headers]) ])
    212297
    213298# checking for SDL-lib
    214299    AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes)
    215      if test "$FOUND_SDL" = "yes" ; then
     300     if test x$FOUND_SDL = xyes ; then
    216301       LIBS="$LIBS -lSDL"
    217302     else
     
    233318#    LIBS="$LIBS $SDL_LIBS"
    234319    ;;
    235 
    236 ### OS X ###
     320#-----------#
     321# MAC -OS X #
     322#-----------#
    237323 *darwin*)
    238 echo "OS X detected"
     324 echo "OS X detected"
    239325
    240326 osX="yes"
     
    242328 CPPFLAGS="-I/sw/include $CPPFLAGS"
    243329# checking gl header
    244    AC_CHECK_HEADERS(OpenGL/gl.h ,,
     330   AC_CHECK_HEADERS([OpenGL/gl.h] ,,
    245331      [AC_MSG_ERROR([cannot find opengl headers]) ])
    246332# cheking for GLU-header
    247     AC_CHECK_HEADERS(OpenGL/glu.h ,,
     333    AC_CHECK_HEADERS([OpenGL/glu.h] ,,
    248334      [AC_MSG_ERROR([cannot find opengl headers]) ])
    249335
    250336   LIBS="$LIBS -framework OpenGL"
     337
     338       SDL_CFLAGS=`sdl-config --cflags`
     339       SDL_LIBS=`sdl-config --libs`
     340       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     341       LIBS="$LIBS $SDL_LIBS"
     342
    251343
    252344# checking for SDL-headers
     
    261353#      )
    262354
    263        SDL_CFLAGS=`sdl-config --cflags`
    264        SDL_LIBS=`sdl-config --libs`
    265        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    266        LIBS="$LIBS $SDL_LIBS"
    267355
    268356    ;;
     
    274362AC_SUBST(MSBITFIELDS)
    275363
    276 ## check for SDL_Image
    277 if test "$def_sdl_image" = "yes"; then
     364###################################
     365## CHECKING FOR HEADERS AND LIBS ##
     366###################################
     367
     368#-----------#
     369# SDL_Image #
     370#-----------#
     371if test x$def_sdl_image = xyes; then
    278372# checking for SDL_image-headers
    279   AC_CHECK_HEADERS(SDL/SDL_image.h ,,
     373  AC_CHECK_HEADERS([SDL/SDL_image.h] ,,
    280374      [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])
    281375fi
    282 if test "$def_sdl_image" = "yes"; then
     376if test x$def_sdl_image = xyes; then
    283377# checking for SDL_image-lib
    284   AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes)
    285      if test "$FOUND_SDL_image" = "yes" ; then
     378  AC_CHECK_LIB([SDL_image], [main], [FOUND_SDL_image=yes])
     379     if test x$FOUND_SDL_image = xyes ; then
    286380       LIBS="$LIBS -lSDL_image"
    287381     else
     
    294388fi
    295389
    296 
    297 if test "$def_sdl_image" = "no"; then
    298  ## checking for libjpeg
    299  AC_CHECK_HEADERS(jpeglib.h ,jpegHeader="yes",
    300         jpegHeader="no")
    301  if test $jpegHeader = "no"; then
     390## case no SDL-image:
     391if test x$def_sdl_image = xno; then
     392#---------#
     393# libjpeg #
     394#---------#
     395 AC_CHECK_HEADERS([jpeglib.h], [jpegHeader="yes"],
     396        [jpegHeader="no"])
     397 if test x$jpegHeader = xno; then
    302398        echo " not including jpeg."
    303399 else
    304   AC_CHECK_LIB([jpeg], [main], FOUND_jpeg=yes)
    305     if test "$FOUND_jpeg" = "yes" ; then
     400  AC_CHECK_LIB([jpeg], [main], [FOUND_jpeg=yes])
     401    if test x$FOUND_jpeg = xyes ; then
    306402      LIBS="$LIBS -ljpeg"
    307403    else
     
    314410 fi
    315411
    316  ## checking for libpng
    317  AC_CHECK_HEADERS(png.h ,pngHeader="yes",
    318         pngHeader="no")
    319  if test $pngHeader = "no"; then
     412#--------#
     413# libpng #
     414#--------#
     415 AC_CHECK_HEADERS([png.h], [pngHeader="yes"],
     416        [pngHeader="no"])
     417 if test x$pngHeader = xno; then
    320418        echo " not including png."
    321419 else
    322420  AC_CHECK_LIB([png], [main], FOUND_png=yes)
    323     if test "$FOUND_png" = "yes" ; then
     421    if test x$FOUND_png = xyes ; then
    324422      LIBS="$LIBS -lpng"
    325423    else
     
    333431fi
    334432
    335 ## checking for GTK
    336 if test "$def_gtk" = yes; then
     433#-----#
     434# GTK #
     435#-----#
     436if test x$def_gtk = xyes; then
    337437
    338438        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
     
    353453AM_CONDITIONAL(HAVE_GTK2, test x$have_gtk2 = xyes)
    354454
    355 
    356 
    357 #checking for pthread libs
    358 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes)
    359 # if test "$FOUND_pthread" = "yes" ; then
    360 #    LIBS="$LIBS -lpthread"
    361 # fi
     455#---------#
     456# gThread #
     457#---------#
     458if test x$def_gthread = xyes; then
     459
     460        AC_MSG_CHECKING([for gthread])
     461        if `pkg-config --exists gthread-2.0`; then
     462                echo "yes"
     463                have_gthread=yes
     464                GTHREAD_LIBS=`pkg-config --libs gthread-2.0`
     465                GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`
     466                AC_DEFINE_UNQUOTED(HAVE_GTHREAD, 1, [if we have gThread])
     467        else
     468                echo "no"
     469        fi
     470
     471fi
     472AC_SUBST(GTHREAD_LIBS)
     473AC_SUBST(GTHREAD_CFLAGS)
     474AM_CONDITIONAL(HAVE_GTHREAD, test x$have_gthread = xyes)
     475
     476#---------#
     477# libcURL #
     478#---------#
     479if test x$def_curl = xyes; then
     480
     481 AC_CHECK_HEADERS([curl/curl.h], [curlHeader="yes"], [curlHeader="no"])
     482 AC_CHECK_LIB([curl], [main], [FOUND_curl=yes])
     483 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then
     484  have_curl=yes
     485  CURL_LIBS=`curl-config --libs`
     486  CURLCFLAGS=`curl-config --cflags`
     487  AC_DEFINE_UNQUOTED(HAVE_CURL, 1, [if we have CURL])
     488 else
     489  have_curl=no
     490 fi
     491
     492fi
     493AC_SUBST(CURL_LIBS)
     494AC_SUBST(CURL_CFLAGS)
     495AM_CONDITIONAL(HAVE_CURL, test x$have_curl = xyes)
     496
     497#---------#
     498# pthread #
     499#---------#
     500if test x$def_pthread = xyes ; then
     501 if test x$have_gthread = xyes ; then
     502  AC_CHECK_HEADERS([pthread.h], [pthreadHeader="yes"], [pthreadHeader="no"])
     503  AC_CHECK_LIB([pthread], [main], [FOUND_pthread=yes])
     504   if test x$FOUND_pthread = xyes ; then
     505      LIBS="$LIBS -lpthread"
     506   fi
     507 fi
     508fi
    362509
    363510
     
    377524AC_CHECK_FUNCS([bzero sqrt])
    378525
     526######################
     527## OUTPUT CONFIGURE ##
     528######################
    379529AC_CONFIG_FILES([Makefile
    380530                 src/Makefile
    381                  src/importer/Makefile
    382                  src/console/Makefile
    383                  src/gui/Makefile])
     531                 src/lib/Makefile
     532                 src/lib/graphics/Makefile
     533                 src/lib/graphics/importer/Makefile
     534                 src/lib/gui/Makefile
     535                 src/lib/gui/console/Makefile
     536                 src/lib/gui/gui/Makefile])
    384537
    385538AC_OUTPUT
  • orxonox/branches/levelloader/src/Makefile.am

    r3396 r3499  
    1 #AM_CXXFLAGS=""
     1MAINSRCDIR=.
     2AM_CXXFLAGS=-I$(MAINSRCDIR)
     3AM_CXXFLAGS+=-I$(MAINSRCDIR)/world_entities
     4AM_CXXFLAGS+=-I$(MAINSRCDIR)/story_entities
     5AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib
     6AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/coord
     7AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/data
     8AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gaphics
     9AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/font
     10AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer
     11AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui
     12AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang
     13AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util
     14AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/math
     15AM_CXXFLAGS+=-I$(MAINSRCDIR)/defs
     16AM_CXXFLAGS+=-I$(MAINSRCDIR)/font
     17AM_CXXFLAGS+=-I$(MAINSRCDIR)/network
     18AM_CXXFLAGS+=-I$(MAINSRCDIR)/glmenu
     19AM_CXXFLAGS+=-I$(MAINSRCDIR)/ai
     20
     21
    222AM_LDFLAGS= $(MWINDOWS)
    323
     
    828
    929orxonox_SOURCES= orxonox.cc \
    10                  world.cc \
    11                  player.cc \
    12                  collision.cc \
    13                  data_tank.cc \
    14                  world_entity.cc \
    15                  vector.cc \
     30                 game_loader.cc \
     31                 command_node.cc \
     32                 keynames.cc \
    1633                 camera.cc \
    17                  command_node.cc \
    18                  ini_parser.cc \
    19                  keynames.cc \
    20                  track.cc \
    21                  base_entity.cc \
    22                  game_loader.cc \
    23                  campaign.cc \
    24                  story_entity.cc \
    25                  environment.cc \
    26                  importer/model.cc \
    27                  importer/objModel.cc \
    28                  importer/array.cc \
    29                  importer/material.cc \
    30                  importer/texture.cc \
    31                  list.cc \
    32                  p_node.cc \
    33                  null_parent.cc \
    34                  base_object.cc \
    35                  helper_parent.cc \
    3634                 track_manager.cc \
    37                  matrix.cc \
    38                  curve.cc \
    39                  glmenu_imagescreen.cc
     35                 light.cc \
     36                 story_entities/story_entity.cc \
     37                 story_entities/campaign.cc \
     38                 story_entities/world.cc \
     39                 world_entities/world_entity.cc \
     40                 world_entities/player.cc \
     41                 world_entities/environment.cc \
     42                 world_entities/skysphere.cc \
     43                 ai/ai.cc \
     44                 lib/coord/p_node.cc \
     45                 lib/coord/null_parent.cc \
     46                 lib/coord/helper_parent.cc \
     47                 lib/data/data_tank.cc \
     48                 lib/graphics/font/fontset.cc \
     49                 lib/graphics/importer/array.cc \
     50                 lib/graphics/importer/objModel.cc \
     51                 lib/graphics/importer/model.cc \
     52                 lib/graphics/importer/material.cc \
     53                 lib/graphics/importer/texture.cc \
     54                 lib/lang/base_entity.cc \
     55                 lib/lang/base_object.cc \
     56                 lib/util/ini_parser.cc \
     57                 lib/util/list.cc \
     58                 lib/math/vector.cc \
     59                 lib/math/matrix.cc \
     60                 lib/math/curve.cc \
     61                 glmenu/glmenu_imagescreen.cc
    4062
    41 
    42 noinst_HEADERS = ability.h \
    43                  data_tank.h \
    44                  collision.h \
    45                  npc.h \
    46                  stdincl.h \
    47                  ai.h \
    48                  environment.h \
    49                  orxonox.h \
    50                  synchronisable.h \
    51                  base_entity.h \
    52                  error.h \
    53                  player.h \
    54                  track.h \
     63noinst_HEADERS = orxonox.h \
     64                 game_loader.h \
     65                 track_manager.h \
     66                 ability.h \
    5567                 camera.h \
    56                  ini_parser.h \
    57                  power_up.h \
    58                  vector.h \
    5968                 keynames.h \
    6069                 proto_class.h \
    61                  world.h \
    6270                 command_node.h \
    63                  list.h \
    64                  shoot_laser.h \
    65                  world_entity.h \
    6671                 message_structures.h \
    67                  shoot_rocket.h \
    68                  list_template.h \
    69                  story_entity.h \
    70                  story_def.h \
    71                  game_loader.h \
    72                  campaign.h \
    73                  p_node.h \
    74                  null_parent.h \
    75                  base_object.h \
    76                  helper_parent.h \
    77                  track_manager.h \
    78                  matrix.h \
    79                  curve.h \
    80                  glmenu_imagescreen.h \
    81                  debug.h
     72                 light.h \
     73                 story_entities/story_entity.h \
     74                 story_entities/story_def.h \
     75                 story_entities/campaign.h \
     76                 story_entities/world.h \
     77                 world_entities/world_entity.h \
     78                 world_entities/player.h \
     79                 world_entities/npc.h \
     80                 world_entities/environment.h \
     81                 world_entities/skysphere.h \
     82                 world_entities/shoot_laser.h \
     83                 world_entities/shoot_rocket.h \
     84                 world_entities/power_up.h \
     85                 ai/ai.h \
     86                 network/synchronisable.h \
     87                 defs/stdincl.h \
     88                 defs/glincl.h \
     89                 defs/error.h \
     90                 defs/debug.h \
     91                 lib/coord/p_node.h \
     92                 lib/coord/null_parent.h \
     93                 lib/coord/helper_parent.h \
     94                 lib/graphics/font/fontset.h \
     95                 lib/data/data_tank.h \
     96                 lib/lang/base_entity.h \
     97                 lib/lang/base_object.h \
     98                 lib/util/list.h \
     99                 lib/util/list_template.h \
     100                 lib/util/ini_parser.h \
     101                 lib/math/vector.h \
     102                 lib/math/matrix.h \
     103                 lib/math/curve.h \
     104                 glmenu/glmenu_imagescreen.h
    82105
    83106
     
    85108EXTRA_DIST = orxonox.conf
    86109
    87 ### GTK_RELATED
    88 if HAVE_GTK2
    89   GTK_PROGS =console
    90 else
    91   GTK_PROGS =
    92 endif
    93110if SUB_PROJECTS
    94   SUB_PROGS = importer \
    95               gui \
    96               $(GTK_PROGS)
     111  SUB_PROGS = lib
    97112else
    98113  SUB_PROGS =
  • orxonox/branches/levelloader/src/Makefile.in

    r3396 r3499  
    5353binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    5454PROGRAMS = $(bin_PROGRAMS)
    55 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
    56         player.$(OBJEXT) collision.$(OBJEXT) data_tank.$(OBJEXT) \
    57         world_entity.$(OBJEXT) vector.$(OBJEXT) camera.$(OBJEXT) \
    58         command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \
    59         track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \
    60         campaign.$(OBJEXT) story_entity.$(OBJEXT) \
    61         environment.$(OBJEXT) model.$(OBJEXT) objModel.$(OBJEXT) \
    62         array.$(OBJEXT) material.$(OBJEXT) texture.$(OBJEXT) \
    63         list.$(OBJEXT) p_node.$(OBJEXT) null_parent.$(OBJEXT) \
    64         base_object.$(OBJEXT) helper_parent.$(OBJEXT) \
    65         track_manager.$(OBJEXT) matrix.$(OBJEXT) curve.$(OBJEXT) \
     55am_orxonox_OBJECTS = orxonox.$(OBJEXT) game_loader.$(OBJEXT) \
     56        command_node.$(OBJEXT) keynames.$(OBJEXT) camera.$(OBJEXT) \
     57        track_manager.$(OBJEXT) light.$(OBJEXT) story_entity.$(OBJEXT) \
     58        campaign.$(OBJEXT) world.$(OBJEXT) world_entity.$(OBJEXT) \
     59        player.$(OBJEXT) environment.$(OBJEXT) skysphere.$(OBJEXT) \
     60        ai.$(OBJEXT) p_node.$(OBJEXT) null_parent.$(OBJEXT) \
     61        helper_parent.$(OBJEXT) data_tank.$(OBJEXT) fontset.$(OBJEXT) \
     62        array.$(OBJEXT) objModel.$(OBJEXT) model.$(OBJEXT) \
     63        material.$(OBJEXT) texture.$(OBJEXT) base_entity.$(OBJEXT) \
     64        base_object.$(OBJEXT) ini_parser.$(OBJEXT) list.$(OBJEXT) \
     65        vector.$(OBJEXT) matrix.$(OBJEXT) curve.$(OBJEXT) \
    6666        glmenu_imagescreen.$(OBJEXT)
    6767orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     
    7070depcomp = $(SHELL) $(top_srcdir)/depcomp
    7171am__depfiles_maybe = depfiles
    72 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \
     72@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ai.Po ./$(DEPDIR)/array.Po \
    7373@AMDEP_TRUE@    ./$(DEPDIR)/base_entity.Po \
    7474@AMDEP_TRUE@    ./$(DEPDIR)/base_object.Po ./$(DEPDIR)/camera.Po \
    75 @AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \
     75@AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po \
    7676@AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po ./$(DEPDIR)/curve.Po \
    7777@AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po \
    78 @AMDEP_TRUE@    ./$(DEPDIR)/environment.Po \
     78@AMDEP_TRUE@    ./$(DEPDIR)/environment.Po ./$(DEPDIR)/fontset.Po \
    7979@AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
    8080@AMDEP_TRUE@    ./$(DEPDIR)/glmenu_imagescreen.Po \
    8181@AMDEP_TRUE@    ./$(DEPDIR)/helper_parent.Po \
    8282@AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
    83 @AMDEP_TRUE@    ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \
    84 @AMDEP_TRUE@    ./$(DEPDIR)/matrix.Po ./$(DEPDIR)/model.Po \
    85 @AMDEP_TRUE@    ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \
    86 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \
    87 @AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \
    88 @AMDEP_TRUE@    ./$(DEPDIR)/texture.Po ./$(DEPDIR)/track.Po \
     83@AMDEP_TRUE@    ./$(DEPDIR)/light.Po ./$(DEPDIR)/list.Po \
     84@AMDEP_TRUE@    ./$(DEPDIR)/material.Po ./$(DEPDIR)/matrix.Po \
     85@AMDEP_TRUE@    ./$(DEPDIR)/model.Po ./$(DEPDIR)/null_parent.Po \
     86@AMDEP_TRUE@    ./$(DEPDIR)/objModel.Po ./$(DEPDIR)/orxonox.Po \
     87@AMDEP_TRUE@    ./$(DEPDIR)/p_node.Po ./$(DEPDIR)/player.Po \
     88@AMDEP_TRUE@    ./$(DEPDIR)/skysphere.Po \
     89@AMDEP_TRUE@    ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/texture.Po \
    8990@AMDEP_TRUE@    ./$(DEPDIR)/track_manager.Po ./$(DEPDIR)/vector.Po \
    9091@AMDEP_TRUE@    ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po
     
    105106ETAGS = etags
    106107CTAGS = ctags
    107 DIST_SUBDIRS = . importer gui console
     108DIST_SUBDIRS = . lib
    108109DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    109110ACLOCAL = @ACLOCAL@
     
    120121CPP = @CPP@
    121122CPPFLAGS = @CPPFLAGS@
     123CURL_CFLAGS = @CURL_CFLAGS@
     124CURL_LIBS = @CURL_LIBS@
    122125CXX = @CXX@
    123126CXXDEPMODE = @CXXDEPMODE@
     
    135138EGREP = @EGREP@
    136139EXEEXT = @EXEEXT@
     140GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
     141GTHREAD_LIBS = @GTHREAD_LIBS@
    137142GTK2_CFLAGS = @GTK2_CFLAGS@
    138143GTK2_LIBS = @GTK2_LIBS@
     144HAVE_CURL_FALSE = @HAVE_CURL_FALSE@
     145HAVE_CURL_TRUE = @HAVE_CURL_TRUE@
     146HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@
     147HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@
    139148HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@
    140149HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@
     
    205214target_os = @target_os@
    206215target_vendor = @target_vendor@
    207 
    208 #AM_CXXFLAGS=""
     216MAINSRCDIR = .
     217AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/gaphics -I$(MAINSRCDIR)/lib/graphics/font -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai
    209218AM_LDFLAGS = $(MWINDOWS)
    210219orxonox_SOURCES = orxonox.cc \
    211                  world.cc \
    212                  player.cc \
    213                  collision.cc \
    214                  data_tank.cc \
    215                  world_entity.cc \
    216                  vector.cc \
     220                 game_loader.cc \
     221                 command_node.cc \
     222                 keynames.cc \
    217223                 camera.cc \
    218                  command_node.cc \
    219                  ini_parser.cc \
    220                  keynames.cc \
    221                  track.cc \
    222                  base_entity.cc \
    223                  game_loader.cc \
    224                  campaign.cc \
    225                  story_entity.cc \
    226                  environment.cc \
    227                  importer/model.cc \
    228                  importer/objModel.cc \
    229                  importer/array.cc \
    230                  importer/material.cc \
    231                  importer/texture.cc \
    232                  list.cc \
    233                  p_node.cc \
    234                  null_parent.cc \
    235                  base_object.cc \
    236                  helper_parent.cc \
    237224                 track_manager.cc \
    238                  matrix.cc \
    239                  curve.cc \
    240                  glmenu_imagescreen.cc
    241 
    242 noinst_HEADERS = ability.h \
    243                  data_tank.h \
    244                  collision.h \
    245                  npc.h \
    246                  stdincl.h \
    247                  ai.h \
    248                  environment.h \
    249                  orxonox.h \
    250                  synchronisable.h \
    251                  base_entity.h \
    252                  error.h \
    253                  player.h \
    254                  track.h \
     225                 light.cc \
     226                 story_entities/story_entity.cc \
     227                 story_entities/campaign.cc \
     228                 story_entities/world.cc \
     229                 world_entities/world_entity.cc \
     230                 world_entities/player.cc \
     231                 world_entities/environment.cc \
     232                 world_entities/skysphere.cc \
     233                 ai/ai.cc \
     234                 lib/coord/p_node.cc \
     235                 lib/coord/null_parent.cc \
     236                 lib/coord/helper_parent.cc \
     237                 lib/data/data_tank.cc \
     238                 lib/graphics/font/fontset.cc \
     239                 lib/graphics/importer/array.cc \
     240                 lib/graphics/importer/objModel.cc \
     241                 lib/graphics/importer/model.cc \
     242                 lib/graphics/importer/material.cc \
     243                 lib/graphics/importer/texture.cc \
     244                 lib/lang/base_entity.cc \
     245                 lib/lang/base_object.cc \
     246                 lib/util/ini_parser.cc \
     247                 lib/util/list.cc \
     248                 lib/math/vector.cc \
     249                 lib/math/matrix.cc \
     250                 lib/math/curve.cc \
     251                 glmenu/glmenu_imagescreen.cc
     252
     253noinst_HEADERS = orxonox.h \
     254                 game_loader.h \
     255                 track_manager.h \
     256                 ability.h \
    255257                 camera.h \
    256                  ini_parser.h \
    257                  power_up.h \
    258                  vector.h \
    259258                 keynames.h \
    260259                 proto_class.h \
    261                  world.h \
    262260                 command_node.h \
    263                  list.h \
    264                  shoot_laser.h \
    265                  world_entity.h \
    266261                 message_structures.h \
    267                  shoot_rocket.h \
    268                  list_template.h \
    269                  story_entity.h \
    270                  story_def.h \
    271                  game_loader.h \
    272                  campaign.h \
    273                  p_node.h \
    274                  null_parent.h \
    275                  base_object.h \
    276                  helper_parent.h \
    277                  track_manager.h \
    278                  matrix.h \
    279                  curve.h \
    280                  glmenu_imagescreen.h \
    281                  debug.h
     262                 light.h \
     263                 story_entities/story_entity.h \
     264                 story_entities/story_def.h \
     265                 story_entities/campaign.h \
     266                 story_entities/world.h \
     267                 world_entities/world_entity.h \
     268                 world_entities/player.h \
     269                 world_entities/npc.h \
     270                 world_entities/environment.h \
     271                 world_entities/skysphere.h \
     272                 world_entities/shoot_laser.h \
     273                 world_entities/shoot_rocket.h \
     274                 world_entities/power_up.h \
     275                 ai/ai.h \
     276                 network/synchronisable.h \
     277                 defs/stdincl.h \
     278                 defs/glincl.h \
     279                 defs/error.h \
     280                 defs/debug.h \
     281                 lib/coord/p_node.h \
     282                 lib/coord/null_parent.h \
     283                 lib/coord/helper_parent.h \
     284                 lib/graphics/font/fontset.h \
     285                 lib/data/data_tank.h \
     286                 lib/lang/base_entity.h \
     287                 lib/lang/base_object.h \
     288                 lib/util/list.h \
     289                 lib/util/list_template.h \
     290                 lib/util/ini_parser.h \
     291                 lib/math/vector.h \
     292                 lib/math/matrix.h \
     293                 lib/math/curve.h \
     294                 glmenu/glmenu_imagescreen.h
    282295
    283296EXTRA_DIST = orxonox.conf
    284 @HAVE_GTK2_FALSE@GTK_PROGS =
    285 
    286 ### GTK_RELATED
    287 @HAVE_GTK2_TRUE@GTK_PROGS = console
    288297@SUB_PROJECTS_FALSE@SUB_PROGS =
    289 @SUB_PROJECTS_TRUE@SUB_PROGS = importer \
    290 @SUB_PROJECTS_TRUE@           gui \
    291 @SUB_PROJECTS_TRUE@           $(GTK_PROGS)
    292 
     298@SUB_PROJECTS_TRUE@SUB_PROGS = lib
    293299SUBDIRS = . \
    294300          $(SUB_PROGS)
     
    307313          esac; \
    308314        done; \
    309         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
     315        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
    310316        cd $(top_srcdir) && \
    311           $(AUTOMAKE) --foreign  src/Makefile
     317          $(AUTOMAKE) --gnu  src/Makefile
    312318.PRECIOUS: Makefile
    313319Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     
    360366        -rm -f *.tab.c
    361367
     368@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai.Po@am__quote@
    362369@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@
    363370@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_entity.Po@am__quote@
     
    365372@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/camera.Po@am__quote@
    366373@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/campaign.Po@am__quote@
    367 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/collision.Po@am__quote@
    368374@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command_node.Po@am__quote@
    369375@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curve.Po@am__quote@
    370376@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data_tank.Po@am__quote@
    371377@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/environment.Po@am__quote@
     378@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontset.Po@am__quote@
    372379@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_loader.Po@am__quote@
    373380@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glmenu_imagescreen.Po@am__quote@
     
    375382@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ini_parser.Po@am__quote@
    376383@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keynames.Po@am__quote@
     384@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/light.Po@am__quote@
    377385@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@
    378386@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@
     
    384392@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@
    385393@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@
     394@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skysphere.Po@am__quote@
    386395@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/story_entity.Po@am__quote@
    387396@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/texture.Po@am__quote@
    388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/track.Po@am__quote@
    389397@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/track_manager.Po@am__quote@
    390398@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@
     
    408416@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    409417
    410 model.o: importer/model.cc
    411 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.o -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.o `test -f 'importer/model.cc' || echo '$(srcdir)/'`importer/model.cc; \
     418story_entity.o: story_entities/story_entity.cc
     419@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT story_entity.o -MD -MP -MF "$(DEPDIR)/story_entity.Tpo" -c -o story_entity.o `test -f 'story_entities/story_entity.cc' || echo '$(srcdir)/'`story_entities/story_entity.cc; \
     420@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/story_entity.Tpo" "$(DEPDIR)/story_entity.Po"; else rm -f "$(DEPDIR)/story_entity.Tpo"; exit 1; fi
     421@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/story_entity.cc' object='story_entity.o' libtool=no @AMDEPBACKSLASH@
     422@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/story_entity.Po' tmpdepfile='$(DEPDIR)/story_entity.TPo' @AMDEPBACKSLASH@
     423@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     424@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o story_entity.o `test -f 'story_entities/story_entity.cc' || echo '$(srcdir)/'`story_entities/story_entity.cc
     425
     426story_entity.obj: story_entities/story_entity.cc
     427@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT story_entity.obj -MD -MP -MF "$(DEPDIR)/story_entity.Tpo" -c -o story_entity.obj `if test -f 'story_entities/story_entity.cc'; then $(CYGPATH_W) 'story_entities/story_entity.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/story_entity.cc'; fi`; \
     428@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/story_entity.Tpo" "$(DEPDIR)/story_entity.Po"; else rm -f "$(DEPDIR)/story_entity.Tpo"; exit 1; fi
     429@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/story_entity.cc' object='story_entity.obj' libtool=no @AMDEPBACKSLASH@
     430@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/story_entity.Po' tmpdepfile='$(DEPDIR)/story_entity.TPo' @AMDEPBACKSLASH@
     431@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     432@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o story_entity.obj `if test -f 'story_entities/story_entity.cc'; then $(CYGPATH_W) 'story_entities/story_entity.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/story_entity.cc'; fi`
     433
     434campaign.o: story_entities/campaign.cc
     435@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT campaign.o -MD -MP -MF "$(DEPDIR)/campaign.Tpo" -c -o campaign.o `test -f 'story_entities/campaign.cc' || echo '$(srcdir)/'`story_entities/campaign.cc; \
     436@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/campaign.Tpo" "$(DEPDIR)/campaign.Po"; else rm -f "$(DEPDIR)/campaign.Tpo"; exit 1; fi
     437@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/campaign.cc' object='campaign.o' libtool=no @AMDEPBACKSLASH@
     438@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/campaign.Po' tmpdepfile='$(DEPDIR)/campaign.TPo' @AMDEPBACKSLASH@
     439@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     440@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o campaign.o `test -f 'story_entities/campaign.cc' || echo '$(srcdir)/'`story_entities/campaign.cc
     441
     442campaign.obj: story_entities/campaign.cc
     443@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT campaign.obj -MD -MP -MF "$(DEPDIR)/campaign.Tpo" -c -o campaign.obj `if test -f 'story_entities/campaign.cc'; then $(CYGPATH_W) 'story_entities/campaign.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/campaign.cc'; fi`; \
     444@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/campaign.Tpo" "$(DEPDIR)/campaign.Po"; else rm -f "$(DEPDIR)/campaign.Tpo"; exit 1; fi
     445@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/campaign.cc' object='campaign.obj' libtool=no @AMDEPBACKSLASH@
     446@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/campaign.Po' tmpdepfile='$(DEPDIR)/campaign.TPo' @AMDEPBACKSLASH@
     447@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     448@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o campaign.obj `if test -f 'story_entities/campaign.cc'; then $(CYGPATH_W) 'story_entities/campaign.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/campaign.cc'; fi`
     449
     450world.o: story_entities/world.cc
     451@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT world.o -MD -MP -MF "$(DEPDIR)/world.Tpo" -c -o world.o `test -f 'story_entities/world.cc' || echo '$(srcdir)/'`story_entities/world.cc; \
     452@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/world.Tpo" "$(DEPDIR)/world.Po"; else rm -f "$(DEPDIR)/world.Tpo"; exit 1; fi
     453@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/world.cc' object='world.o' libtool=no @AMDEPBACKSLASH@
     454@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/world.Po' tmpdepfile='$(DEPDIR)/world.TPo' @AMDEPBACKSLASH@
     455@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     456@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world.o `test -f 'story_entities/world.cc' || echo '$(srcdir)/'`story_entities/world.cc
     457
     458world.obj: story_entities/world.cc
     459@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT world.obj -MD -MP -MF "$(DEPDIR)/world.Tpo" -c -o world.obj `if test -f 'story_entities/world.cc'; then $(CYGPATH_W) 'story_entities/world.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/world.cc'; fi`; \
     460@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/world.Tpo" "$(DEPDIR)/world.Po"; else rm -f "$(DEPDIR)/world.Tpo"; exit 1; fi
     461@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='story_entities/world.cc' object='world.obj' libtool=no @AMDEPBACKSLASH@
     462@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/world.Po' tmpdepfile='$(DEPDIR)/world.TPo' @AMDEPBACKSLASH@
     463@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     464@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world.obj `if test -f 'story_entities/world.cc'; then $(CYGPATH_W) 'story_entities/world.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/world.cc'; fi`
     465
     466world_entity.o: world_entities/world_entity.cc
     467@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT world_entity.o -MD -MP -MF "$(DEPDIR)/world_entity.Tpo" -c -o world_entity.o `test -f 'world_entities/world_entity.cc' || echo '$(srcdir)/'`world_entities/world_entity.cc; \
     468@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/world_entity.Tpo" "$(DEPDIR)/world_entity.Po"; else rm -f "$(DEPDIR)/world_entity.Tpo"; exit 1; fi
     469@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/world_entity.cc' object='world_entity.o' libtool=no @AMDEPBACKSLASH@
     470@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/world_entity.Po' tmpdepfile='$(DEPDIR)/world_entity.TPo' @AMDEPBACKSLASH@
     471@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     472@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world_entity.o `test -f 'world_entities/world_entity.cc' || echo '$(srcdir)/'`world_entities/world_entity.cc
     473
     474world_entity.obj: world_entities/world_entity.cc
     475@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT world_entity.obj -MD -MP -MF "$(DEPDIR)/world_entity.Tpo" -c -o world_entity.obj `if test -f 'world_entities/world_entity.cc'; then $(CYGPATH_W) 'world_entities/world_entity.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/world_entity.cc'; fi`; \
     476@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/world_entity.Tpo" "$(DEPDIR)/world_entity.Po"; else rm -f "$(DEPDIR)/world_entity.Tpo"; exit 1; fi
     477@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/world_entity.cc' object='world_entity.obj' libtool=no @AMDEPBACKSLASH@
     478@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/world_entity.Po' tmpdepfile='$(DEPDIR)/world_entity.TPo' @AMDEPBACKSLASH@
     479@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     480@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world_entity.obj `if test -f 'world_entities/world_entity.cc'; then $(CYGPATH_W) 'world_entities/world_entity.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/world_entity.cc'; fi`
     481
     482player.o: world_entities/player.cc
     483@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT player.o -MD -MP -MF "$(DEPDIR)/player.Tpo" -c -o player.o `test -f 'world_entities/player.cc' || echo '$(srcdir)/'`world_entities/player.cc; \
     484@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/player.Tpo" "$(DEPDIR)/player.Po"; else rm -f "$(DEPDIR)/player.Tpo"; exit 1; fi
     485@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/player.cc' object='player.o' libtool=no @AMDEPBACKSLASH@
     486@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/player.Po' tmpdepfile='$(DEPDIR)/player.TPo' @AMDEPBACKSLASH@
     487@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     488@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o player.o `test -f 'world_entities/player.cc' || echo '$(srcdir)/'`world_entities/player.cc
     489
     490player.obj: world_entities/player.cc
     491@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT player.obj -MD -MP -MF "$(DEPDIR)/player.Tpo" -c -o player.obj `if test -f 'world_entities/player.cc'; then $(CYGPATH_W) 'world_entities/player.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/player.cc'; fi`; \
     492@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/player.Tpo" "$(DEPDIR)/player.Po"; else rm -f "$(DEPDIR)/player.Tpo"; exit 1; fi
     493@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/player.cc' object='player.obj' libtool=no @AMDEPBACKSLASH@
     494@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/player.Po' tmpdepfile='$(DEPDIR)/player.TPo' @AMDEPBACKSLASH@
     495@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     496@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o player.obj `if test -f 'world_entities/player.cc'; then $(CYGPATH_W) 'world_entities/player.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/player.cc'; fi`
     497
     498environment.o: world_entities/environment.cc
     499@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT environment.o -MD -MP -MF "$(DEPDIR)/environment.Tpo" -c -o environment.o `test -f 'world_entities/environment.cc' || echo '$(srcdir)/'`world_entities/environment.cc; \
     500@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/environment.Tpo" "$(DEPDIR)/environment.Po"; else rm -f "$(DEPDIR)/environment.Tpo"; exit 1; fi
     501@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/environment.cc' object='environment.o' libtool=no @AMDEPBACKSLASH@
     502@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/environment.Po' tmpdepfile='$(DEPDIR)/environment.TPo' @AMDEPBACKSLASH@
     503@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     504@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o environment.o `test -f 'world_entities/environment.cc' || echo '$(srcdir)/'`world_entities/environment.cc
     505
     506environment.obj: world_entities/environment.cc
     507@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT environment.obj -MD -MP -MF "$(DEPDIR)/environment.Tpo" -c -o environment.obj `if test -f 'world_entities/environment.cc'; then $(CYGPATH_W) 'world_entities/environment.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/environment.cc'; fi`; \
     508@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/environment.Tpo" "$(DEPDIR)/environment.Po"; else rm -f "$(DEPDIR)/environment.Tpo"; exit 1; fi
     509@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/environment.cc' object='environment.obj' libtool=no @AMDEPBACKSLASH@
     510@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/environment.Po' tmpdepfile='$(DEPDIR)/environment.TPo' @AMDEPBACKSLASH@
     511@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     512@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o environment.obj `if test -f 'world_entities/environment.cc'; then $(CYGPATH_W) 'world_entities/environment.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/environment.cc'; fi`
     513
     514skysphere.o: world_entities/skysphere.cc
     515@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT skysphere.o -MD -MP -MF "$(DEPDIR)/skysphere.Tpo" -c -o skysphere.o `test -f 'world_entities/skysphere.cc' || echo '$(srcdir)/'`world_entities/skysphere.cc; \
     516@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/skysphere.Tpo" "$(DEPDIR)/skysphere.Po"; else rm -f "$(DEPDIR)/skysphere.Tpo"; exit 1; fi
     517@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/skysphere.cc' object='skysphere.o' libtool=no @AMDEPBACKSLASH@
     518@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/skysphere.Po' tmpdepfile='$(DEPDIR)/skysphere.TPo' @AMDEPBACKSLASH@
     519@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     520@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skysphere.o `test -f 'world_entities/skysphere.cc' || echo '$(srcdir)/'`world_entities/skysphere.cc
     521
     522skysphere.obj: world_entities/skysphere.cc
     523@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT skysphere.obj -MD -MP -MF "$(DEPDIR)/skysphere.Tpo" -c -o skysphere.obj `if test -f 'world_entities/skysphere.cc'; then $(CYGPATH_W) 'world_entities/skysphere.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/skysphere.cc'; fi`; \
     524@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/skysphere.Tpo" "$(DEPDIR)/skysphere.Po"; else rm -f "$(DEPDIR)/skysphere.Tpo"; exit 1; fi
     525@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/skysphere.cc' object='skysphere.obj' libtool=no @AMDEPBACKSLASH@
     526@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/skysphere.Po' tmpdepfile='$(DEPDIR)/skysphere.TPo' @AMDEPBACKSLASH@
     527@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     528@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skysphere.obj `if test -f 'world_entities/skysphere.cc'; then $(CYGPATH_W) 'world_entities/skysphere.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/skysphere.cc'; fi`
     529
     530ai.o: ai/ai.cc
     531@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ai.o -MD -MP -MF "$(DEPDIR)/ai.Tpo" -c -o ai.o `test -f 'ai/ai.cc' || echo '$(srcdir)/'`ai/ai.cc; \
     532@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/ai.Tpo" "$(DEPDIR)/ai.Po"; else rm -f "$(DEPDIR)/ai.Tpo"; exit 1; fi
     533@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='ai/ai.cc' object='ai.o' libtool=no @AMDEPBACKSLASH@
     534@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/ai.Po' tmpdepfile='$(DEPDIR)/ai.TPo' @AMDEPBACKSLASH@
     535@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     536@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ai.o `test -f 'ai/ai.cc' || echo '$(srcdir)/'`ai/ai.cc
     537
     538ai.obj: ai/ai.cc
     539@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ai.obj -MD -MP -MF "$(DEPDIR)/ai.Tpo" -c -o ai.obj `if test -f 'ai/ai.cc'; then $(CYGPATH_W) 'ai/ai.cc'; else $(CYGPATH_W) '$(srcdir)/ai/ai.cc'; fi`; \
     540@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/ai.Tpo" "$(DEPDIR)/ai.Po"; else rm -f "$(DEPDIR)/ai.Tpo"; exit 1; fi
     541@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='ai/ai.cc' object='ai.obj' libtool=no @AMDEPBACKSLASH@
     542@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/ai.Po' tmpdepfile='$(DEPDIR)/ai.TPo' @AMDEPBACKSLASH@
     543@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     544@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ai.obj `if test -f 'ai/ai.cc'; then $(CYGPATH_W) 'ai/ai.cc'; else $(CYGPATH_W) '$(srcdir)/ai/ai.cc'; fi`
     545
     546p_node.o: lib/coord/p_node.cc
     547@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.o -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.o `test -f 'lib/coord/p_node.cc' || echo '$(srcdir)/'`lib/coord/p_node.cc; \
     548@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi
     549@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/p_node.cc' object='p_node.o' libtool=no @AMDEPBACKSLASH@
     550@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@
     551@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     552@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.o `test -f 'lib/coord/p_node.cc' || echo '$(srcdir)/'`lib/coord/p_node.cc
     553
     554p_node.obj: lib/coord/p_node.cc
     555@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.obj -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.obj `if test -f 'lib/coord/p_node.cc'; then $(CYGPATH_W) 'lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/p_node.cc'; fi`; \
     556@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi
     557@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/p_node.cc' object='p_node.obj' libtool=no @AMDEPBACKSLASH@
     558@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@
     559@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     560@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.obj `if test -f 'lib/coord/p_node.cc'; then $(CYGPATH_W) 'lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/p_node.cc'; fi`
     561
     562null_parent.o: lib/coord/null_parent.cc
     563@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.o -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.o `test -f 'lib/coord/null_parent.cc' || echo '$(srcdir)/'`lib/coord/null_parent.cc; \
     564@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi
     565@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/null_parent.cc' object='null_parent.o' libtool=no @AMDEPBACKSLASH@
     566@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@
     567@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     568@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.o `test -f 'lib/coord/null_parent.cc' || echo '$(srcdir)/'`lib/coord/null_parent.cc
     569
     570null_parent.obj: lib/coord/null_parent.cc
     571@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.obj -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.obj `if test -f 'lib/coord/null_parent.cc'; then $(CYGPATH_W) 'lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/null_parent.cc'; fi`; \
     572@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi
     573@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/null_parent.cc' object='null_parent.obj' libtool=no @AMDEPBACKSLASH@
     574@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@
     575@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     576@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.obj `if test -f 'lib/coord/null_parent.cc'; then $(CYGPATH_W) 'lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/null_parent.cc'; fi`
     577
     578helper_parent.o: lib/coord/helper_parent.cc
     579@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT helper_parent.o -MD -MP -MF "$(DEPDIR)/helper_parent.Tpo" -c -o helper_parent.o `test -f 'lib/coord/helper_parent.cc' || echo '$(srcdir)/'`lib/coord/helper_parent.cc; \
     580@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/helper_parent.Tpo" "$(DEPDIR)/helper_parent.Po"; else rm -f "$(DEPDIR)/helper_parent.Tpo"; exit 1; fi
     581@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/helper_parent.cc' object='helper_parent.o' libtool=no @AMDEPBACKSLASH@
     582@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/helper_parent.Po' tmpdepfile='$(DEPDIR)/helper_parent.TPo' @AMDEPBACKSLASH@
     583@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     584@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o helper_parent.o `test -f 'lib/coord/helper_parent.cc' || echo '$(srcdir)/'`lib/coord/helper_parent.cc
     585
     586helper_parent.obj: lib/coord/helper_parent.cc
     587@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT helper_parent.obj -MD -MP -MF "$(DEPDIR)/helper_parent.Tpo" -c -o helper_parent.obj `if test -f 'lib/coord/helper_parent.cc'; then $(CYGPATH_W) 'lib/coord/helper_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/helper_parent.cc'; fi`; \
     588@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/helper_parent.Tpo" "$(DEPDIR)/helper_parent.Po"; else rm -f "$(DEPDIR)/helper_parent.Tpo"; exit 1; fi
     589@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/coord/helper_parent.cc' object='helper_parent.obj' libtool=no @AMDEPBACKSLASH@
     590@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/helper_parent.Po' tmpdepfile='$(DEPDIR)/helper_parent.TPo' @AMDEPBACKSLASH@
     591@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     592@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o helper_parent.obj `if test -f 'lib/coord/helper_parent.cc'; then $(CYGPATH_W) 'lib/coord/helper_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/helper_parent.cc'; fi`
     593
     594data_tank.o: lib/data/data_tank.cc
     595@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT data_tank.o -MD -MP -MF "$(DEPDIR)/data_tank.Tpo" -c -o data_tank.o `test -f 'lib/data/data_tank.cc' || echo '$(srcdir)/'`lib/data/data_tank.cc; \
     596@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/data_tank.Tpo" "$(DEPDIR)/data_tank.Po"; else rm -f "$(DEPDIR)/data_tank.Tpo"; exit 1; fi
     597@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/data/data_tank.cc' object='data_tank.o' libtool=no @AMDEPBACKSLASH@
     598@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/data_tank.Po' tmpdepfile='$(DEPDIR)/data_tank.TPo' @AMDEPBACKSLASH@
     599@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     600@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o data_tank.o `test -f 'lib/data/data_tank.cc' || echo '$(srcdir)/'`lib/data/data_tank.cc
     601
     602data_tank.obj: lib/data/data_tank.cc
     603@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT data_tank.obj -MD -MP -MF "$(DEPDIR)/data_tank.Tpo" -c -o data_tank.obj `if test -f 'lib/data/data_tank.cc'; then $(CYGPATH_W) 'lib/data/data_tank.cc'; else $(CYGPATH_W) '$(srcdir)/lib/data/data_tank.cc'; fi`; \
     604@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/data_tank.Tpo" "$(DEPDIR)/data_tank.Po"; else rm -f "$(DEPDIR)/data_tank.Tpo"; exit 1; fi
     605@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/data/data_tank.cc' object='data_tank.obj' libtool=no @AMDEPBACKSLASH@
     606@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/data_tank.Po' tmpdepfile='$(DEPDIR)/data_tank.TPo' @AMDEPBACKSLASH@
     607@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     608@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o data_tank.obj `if test -f 'lib/data/data_tank.cc'; then $(CYGPATH_W) 'lib/data/data_tank.cc'; else $(CYGPATH_W) '$(srcdir)/lib/data/data_tank.cc'; fi`
     609
     610fontset.o: lib/graphics/font/fontset.cc
     611@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT fontset.o -MD -MP -MF "$(DEPDIR)/fontset.Tpo" -c -o fontset.o `test -f 'lib/graphics/font/fontset.cc' || echo '$(srcdir)/'`lib/graphics/font/fontset.cc; \
     612@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/fontset.Tpo" "$(DEPDIR)/fontset.Po"; else rm -f "$(DEPDIR)/fontset.Tpo"; exit 1; fi
     613@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/font/fontset.cc' object='fontset.o' libtool=no @AMDEPBACKSLASH@
     614@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/fontset.Po' tmpdepfile='$(DEPDIR)/fontset.TPo' @AMDEPBACKSLASH@
     615@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     616@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o fontset.o `test -f 'lib/graphics/font/fontset.cc' || echo '$(srcdir)/'`lib/graphics/font/fontset.cc
     617
     618fontset.obj: lib/graphics/font/fontset.cc
     619@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT fontset.obj -MD -MP -MF "$(DEPDIR)/fontset.Tpo" -c -o fontset.obj `if test -f 'lib/graphics/font/fontset.cc'; then $(CYGPATH_W) 'lib/graphics/font/fontset.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/font/fontset.cc'; fi`; \
     620@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/fontset.Tpo" "$(DEPDIR)/fontset.Po"; else rm -f "$(DEPDIR)/fontset.Tpo"; exit 1; fi
     621@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/font/fontset.cc' object='fontset.obj' libtool=no @AMDEPBACKSLASH@
     622@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/fontset.Po' tmpdepfile='$(DEPDIR)/fontset.TPo' @AMDEPBACKSLASH@
     623@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     624@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o fontset.obj `if test -f 'lib/graphics/font/fontset.cc'; then $(CYGPATH_W) 'lib/graphics/font/fontset.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/font/fontset.cc'; fi`
     625
     626array.o: lib/graphics/importer/array.cc
     627@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.o -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.o `test -f 'lib/graphics/importer/array.cc' || echo '$(srcdir)/'`lib/graphics/importer/array.cc; \
     628@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi
     629@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/array.cc' object='array.o' libtool=no @AMDEPBACKSLASH@
     630@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@
     631@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     632@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.o `test -f 'lib/graphics/importer/array.cc' || echo '$(srcdir)/'`lib/graphics/importer/array.cc
     633
     634array.obj: lib/graphics/importer/array.cc
     635@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.obj -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.obj `if test -f 'lib/graphics/importer/array.cc'; then $(CYGPATH_W) 'lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/array.cc'; fi`; \
     636@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi
     637@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/array.cc' object='array.obj' libtool=no @AMDEPBACKSLASH@
     638@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@
     639@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     640@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.obj `if test -f 'lib/graphics/importer/array.cc'; then $(CYGPATH_W) 'lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/array.cc'; fi`
     641
     642objModel.o: lib/graphics/importer/objModel.cc
     643@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.o -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.o `test -f 'lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`lib/graphics/importer/objModel.cc; \
     644@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi
     645@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/objModel.cc' object='objModel.o' libtool=no @AMDEPBACKSLASH@
     646@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@
     647@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     648@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.o `test -f 'lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`lib/graphics/importer/objModel.cc
     649
     650objModel.obj: lib/graphics/importer/objModel.cc
     651@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.obj -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.obj `if test -f 'lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) 'lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/objModel.cc'; fi`; \
     652@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi
     653@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/objModel.cc' object='objModel.obj' libtool=no @AMDEPBACKSLASH@
     654@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@
     655@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     656@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f 'lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) 'lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/objModel.cc'; fi`
     657
     658model.o: lib/graphics/importer/model.cc
     659@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.o -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.o `test -f 'lib/graphics/importer/model.cc' || echo '$(srcdir)/'`lib/graphics/importer/model.cc; \
    412660@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi
    413 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/model.cc' object='model.o' libtool=no @AMDEPBACKSLASH@
     661@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/model.cc' object='model.o' libtool=no @AMDEPBACKSLASH@
    414662@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@
    415663@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    416 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.o `test -f 'importer/model.cc' || echo '$(srcdir)/'`importer/model.cc
    417 
    418 model.obj: importer/model.cc
    419 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.obj -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.obj `if test -f 'importer/model.cc'; then $(CYGPATH_W) 'importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/importer/model.cc'; fi`; \
     664@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.o `test -f 'lib/graphics/importer/model.cc' || echo '$(srcdir)/'`lib/graphics/importer/model.cc
     665
     666model.obj: lib/graphics/importer/model.cc
     667@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.obj -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.obj `if test -f 'lib/graphics/importer/model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/model.cc'; fi`; \
    420668@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi
    421 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/model.cc' object='model.obj' libtool=no @AMDEPBACKSLASH@
     669@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/model.cc' object='model.obj' libtool=no @AMDEPBACKSLASH@
    422670@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@
    423671@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    424 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.obj `if test -f 'importer/model.cc'; then $(CYGPATH_W) 'importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/importer/model.cc'; fi`
    425 
    426 objModel.o: importer/objModel.cc
    427 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.o -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.o `test -f 'importer/objModel.cc' || echo '$(srcdir)/'`importer/objModel.cc; \
    428 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi
    429 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/objModel.cc' object='objModel.o' libtool=no @AMDEPBACKSLASH@
    430 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@
    431 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    432 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.o `test -f 'importer/objModel.cc' || echo '$(srcdir)/'`importer/objModel.cc
    433 
    434 objModel.obj: importer/objModel.cc
    435 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.obj -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.obj `if test -f 'importer/objModel.cc'; then $(CYGPATH_W) 'importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/importer/objModel.cc'; fi`; \
    436 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi
    437 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/objModel.cc' object='objModel.obj' libtool=no @AMDEPBACKSLASH@
    438 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@
    439 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    440 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f 'importer/objModel.cc'; then $(CYGPATH_W) 'importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/importer/objModel.cc'; fi`
    441 
    442 array.o: importer/array.cc
    443 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.o -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.o `test -f 'importer/array.cc' || echo '$(srcdir)/'`importer/array.cc; \
    444 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi
    445 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/array.cc' object='array.o' libtool=no @AMDEPBACKSLASH@
    446 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@
    447 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    448 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.o `test -f 'importer/array.cc' || echo '$(srcdir)/'`importer/array.cc
    449 
    450 array.obj: importer/array.cc
    451 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.obj -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.obj `if test -f 'importer/array.cc'; then $(CYGPATH_W) 'importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/importer/array.cc'; fi`; \
    452 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi
    453 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/array.cc' object='array.obj' libtool=no @AMDEPBACKSLASH@
    454 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@
    455 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    456 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.obj `if test -f 'importer/array.cc'; then $(CYGPATH_W) 'importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/importer/array.cc'; fi`
    457 
    458 material.o: importer/material.cc
    459 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.o -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.o `test -f 'importer/material.cc' || echo '$(srcdir)/'`importer/material.cc; \
     672@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.obj `if test -f 'lib/graphics/importer/model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/model.cc'; fi`
     673
     674material.o: lib/graphics/importer/material.cc
     675@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.o -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.o `test -f 'lib/graphics/importer/material.cc' || echo '$(srcdir)/'`lib/graphics/importer/material.cc; \
    460676@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi
    461 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/material.cc' object='material.o' libtool=no @AMDEPBACKSLASH@
     677@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/material.cc' object='material.o' libtool=no @AMDEPBACKSLASH@
    462678@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@
    463679@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    464 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.o `test -f 'importer/material.cc' || echo '$(srcdir)/'`importer/material.cc
    465 
    466 material.obj: importer/material.cc
    467 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.obj -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.obj `if test -f 'importer/material.cc'; then $(CYGPATH_W) 'importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/importer/material.cc'; fi`; \
     680@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.o `test -f 'lib/graphics/importer/material.cc' || echo '$(srcdir)/'`lib/graphics/importer/material.cc
     681
     682material.obj: lib/graphics/importer/material.cc
     683@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.obj -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.obj `if test -f 'lib/graphics/importer/material.cc'; then $(CYGPATH_W) 'lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/material.cc'; fi`; \
    468684@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi
    469 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/material.cc' object='material.obj' libtool=no @AMDEPBACKSLASH@
     685@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/material.cc' object='material.obj' libtool=no @AMDEPBACKSLASH@
    470686@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@
    471687@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    472 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.obj `if test -f 'importer/material.cc'; then $(CYGPATH_W) 'importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/importer/material.cc'; fi`
    473 
    474 texture.o: importer/texture.cc
    475 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.o -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.o `test -f 'importer/texture.cc' || echo '$(srcdir)/'`importer/texture.cc; \
     688@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.obj `if test -f 'lib/graphics/importer/material.cc'; then $(CYGPATH_W) 'lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/material.cc'; fi`
     689
     690texture.o: lib/graphics/importer/texture.cc
     691@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.o -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.o `test -f 'lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`lib/graphics/importer/texture.cc; \
    476692@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi
    477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/texture.cc' object='texture.o' libtool=no @AMDEPBACKSLASH@
     693@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/texture.cc' object='texture.o' libtool=no @AMDEPBACKSLASH@
    478694@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@
    479695@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    480 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.o `test -f 'importer/texture.cc' || echo '$(srcdir)/'`importer/texture.cc
    481 
    482 texture.obj: importer/texture.cc
    483 @am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.obj -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.obj `if test -f 'importer/texture.cc'; then $(CYGPATH_W) 'importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/importer/texture.cc'; fi`; \
     696@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.o `test -f 'lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`lib/graphics/importer/texture.cc
     697
     698texture.obj: lib/graphics/importer/texture.cc
     699@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.obj -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.obj `if test -f 'lib/graphics/importer/texture.cc'; then $(CYGPATH_W) 'lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/texture.cc'; fi`; \
    484700@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi
    485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='importer/texture.cc' object='texture.obj' libtool=no @AMDEPBACKSLASH@
     701@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/graphics/importer/texture.cc' object='texture.obj' libtool=no @AMDEPBACKSLASH@
    486702@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@
    487703@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    488 @am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f 'importer/texture.cc'; then $(CYGPATH_W) 'importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/importer/texture.cc'; fi`
     704@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f 'lib/graphics/importer/texture.cc'; then $(CYGPATH_W) 'lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/texture.cc'; fi`
     705
     706base_entity.o: lib/lang/base_entity.cc
     707@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_entity.o -MD -MP -MF "$(DEPDIR)/base_entity.Tpo" -c -o base_entity.o `test -f 'lib/lang/base_entity.cc' || echo '$(srcdir)/'`lib/lang/base_entity.cc; \
     708@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi
     709@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/lang/base_entity.cc' object='base_entity.o' libtool=no @AMDEPBACKSLASH@
     710@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@
     711@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     712@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_entity.o `test -f 'lib/lang/base_entity.cc' || echo '$(srcdir)/'`lib/lang/base_entity.cc
     713
     714base_entity.obj: lib/lang/base_entity.cc
     715@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_entity.obj -MD -MP -MF "$(DEPDIR)/base_entity.Tpo" -c -o base_entity.obj `if test -f 'lib/lang/base_entity.cc'; then $(CYGPATH_W) 'lib/lang/base_entity.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_entity.cc'; fi`; \
     716@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi
     717@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/lang/base_entity.cc' object='base_entity.obj' libtool=no @AMDEPBACKSLASH@
     718@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@
     719@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     720@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_entity.obj `if test -f 'lib/lang/base_entity.cc'; then $(CYGPATH_W) 'lib/lang/base_entity.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_entity.cc'; fi`
     721
     722base_object.o: lib/lang/base_object.cc
     723@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.o -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.o `test -f 'lib/lang/base_object.cc' || echo '$(srcdir)/'`lib/lang/base_object.cc; \
     724@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi
     725@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/lang/base_object.cc' object='base_object.o' libtool=no @AMDEPBACKSLASH@
     726@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@
     727@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     728@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.o `test -f 'lib/lang/base_object.cc' || echo '$(srcdir)/'`lib/lang/base_object.cc
     729
     730base_object.obj: lib/lang/base_object.cc
     731@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.obj -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.obj `if test -f 'lib/lang/base_object.cc'; then $(CYGPATH_W) 'lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_object.cc'; fi`; \
     732@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi
     733@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/lang/base_object.cc' object='base_object.obj' libtool=no @AMDEPBACKSLASH@
     734@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@
     735@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     736@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.obj `if test -f 'lib/lang/base_object.cc'; then $(CYGPATH_W) 'lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_object.cc'; fi`
     737
     738ini_parser.o: lib/util/ini_parser.cc
     739@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ini_parser.o -MD -MP -MF "$(DEPDIR)/ini_parser.Tpo" -c -o ini_parser.o `test -f 'lib/util/ini_parser.cc' || echo '$(srcdir)/'`lib/util/ini_parser.cc; \
     740@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi
     741@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/util/ini_parser.cc' object='ini_parser.o' libtool=no @AMDEPBACKSLASH@
     742@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@
     743@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     744@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.o `test -f 'lib/util/ini_parser.cc' || echo '$(srcdir)/'`lib/util/ini_parser.cc
     745
     746ini_parser.obj: lib/util/ini_parser.cc
     747@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ini_parser.obj -MD -MP -MF "$(DEPDIR)/ini_parser.Tpo" -c -o ini_parser.obj `if test -f 'lib/util/ini_parser.cc'; then $(CYGPATH_W) 'lib/util/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/util/ini_parser.cc'; fi`; \
     748@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi
     749@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/util/ini_parser.cc' object='ini_parser.obj' libtool=no @AMDEPBACKSLASH@
     750@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@
     751@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     752@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.obj `if test -f 'lib/util/ini_parser.cc'; then $(CYGPATH_W) 'lib/util/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/util/ini_parser.cc'; fi`
     753
     754list.o: lib/util/list.cc
     755@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT list.o -MD -MP -MF "$(DEPDIR)/list.Tpo" -c -o list.o `test -f 'lib/util/list.cc' || echo '$(srcdir)/'`lib/util/list.cc; \
     756@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi
     757@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/util/list.cc' object='list.o' libtool=no @AMDEPBACKSLASH@
     758@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@
     759@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     760@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.o `test -f 'lib/util/list.cc' || echo '$(srcdir)/'`lib/util/list.cc
     761
     762list.obj: lib/util/list.cc
     763@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT list.obj -MD -MP -MF "$(DEPDIR)/list.Tpo" -c -o list.obj `if test -f 'lib/util/list.cc'; then $(CYGPATH_W) 'lib/util/list.cc'; else $(CYGPATH_W) '$(srcdir)/lib/util/list.cc'; fi`; \
     764@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi
     765@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/util/list.cc' object='list.obj' libtool=no @AMDEPBACKSLASH@
     766@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@
     767@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     768@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.obj `if test -f 'lib/util/list.cc'; then $(CYGPATH_W) 'lib/util/list.cc'; else $(CYGPATH_W) '$(srcdir)/lib/util/list.cc'; fi`
     769
     770vector.o: lib/math/vector.cc
     771@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.o -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.o `test -f 'lib/math/vector.cc' || echo '$(srcdir)/'`lib/math/vector.cc; \
     772@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi
     773@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/vector.cc' object='vector.o' libtool=no @AMDEPBACKSLASH@
     774@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@
     775@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     776@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.o `test -f 'lib/math/vector.cc' || echo '$(srcdir)/'`lib/math/vector.cc
     777
     778vector.obj: lib/math/vector.cc
     779@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.obj -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.obj `if test -f 'lib/math/vector.cc'; then $(CYGPATH_W) 'lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/vector.cc'; fi`; \
     780@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi
     781@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/vector.cc' object='vector.obj' libtool=no @AMDEPBACKSLASH@
     782@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@
     783@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     784@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f 'lib/math/vector.cc'; then $(CYGPATH_W) 'lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/vector.cc'; fi`
     785
     786matrix.o: lib/math/matrix.cc
     787@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT matrix.o -MD -MP -MF "$(DEPDIR)/matrix.Tpo" -c -o matrix.o `test -f 'lib/math/matrix.cc' || echo '$(srcdir)/'`lib/math/matrix.cc; \
     788@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/matrix.Tpo" "$(DEPDIR)/matrix.Po"; else rm -f "$(DEPDIR)/matrix.Tpo"; exit 1; fi
     789@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/matrix.cc' object='matrix.o' libtool=no @AMDEPBACKSLASH@
     790@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/matrix.Po' tmpdepfile='$(DEPDIR)/matrix.TPo' @AMDEPBACKSLASH@
     791@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     792@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o matrix.o `test -f 'lib/math/matrix.cc' || echo '$(srcdir)/'`lib/math/matrix.cc
     793
     794matrix.obj: lib/math/matrix.cc
     795@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT matrix.obj -MD -MP -MF "$(DEPDIR)/matrix.Tpo" -c -o matrix.obj `if test -f 'lib/math/matrix.cc'; then $(CYGPATH_W) 'lib/math/matrix.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/matrix.cc'; fi`; \
     796@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/matrix.Tpo" "$(DEPDIR)/matrix.Po"; else rm -f "$(DEPDIR)/matrix.Tpo"; exit 1; fi
     797@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/matrix.cc' object='matrix.obj' libtool=no @AMDEPBACKSLASH@
     798@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/matrix.Po' tmpdepfile='$(DEPDIR)/matrix.TPo' @AMDEPBACKSLASH@
     799@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     800@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o matrix.obj `if test -f 'lib/math/matrix.cc'; then $(CYGPATH_W) 'lib/math/matrix.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/matrix.cc'; fi`
     801
     802curve.o: lib/math/curve.cc
     803@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT curve.o -MD -MP -MF "$(DEPDIR)/curve.Tpo" -c -o curve.o `test -f 'lib/math/curve.cc' || echo '$(srcdir)/'`lib/math/curve.cc; \
     804@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/curve.Tpo" "$(DEPDIR)/curve.Po"; else rm -f "$(DEPDIR)/curve.Tpo"; exit 1; fi
     805@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/curve.cc' object='curve.o' libtool=no @AMDEPBACKSLASH@
     806@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/curve.Po' tmpdepfile='$(DEPDIR)/curve.TPo' @AMDEPBACKSLASH@
     807@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     808@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o curve.o `test -f 'lib/math/curve.cc' || echo '$(srcdir)/'`lib/math/curve.cc
     809
     810curve.obj: lib/math/curve.cc
     811@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT curve.obj -MD -MP -MF "$(DEPDIR)/curve.Tpo" -c -o curve.obj `if test -f 'lib/math/curve.cc'; then $(CYGPATH_W) 'lib/math/curve.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/curve.cc'; fi`; \
     812@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/curve.Tpo" "$(DEPDIR)/curve.Po"; else rm -f "$(DEPDIR)/curve.Tpo"; exit 1; fi
     813@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='lib/math/curve.cc' object='curve.obj' libtool=no @AMDEPBACKSLASH@
     814@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/curve.Po' tmpdepfile='$(DEPDIR)/curve.TPo' @AMDEPBACKSLASH@
     815@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     816@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o curve.obj `if test -f 'lib/math/curve.cc'; then $(CYGPATH_W) 'lib/math/curve.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/curve.cc'; fi`
     817
     818glmenu_imagescreen.o: glmenu/glmenu_imagescreen.cc
     819@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT glmenu_imagescreen.o -MD -MP -MF "$(DEPDIR)/glmenu_imagescreen.Tpo" -c -o glmenu_imagescreen.o `test -f 'glmenu/glmenu_imagescreen.cc' || echo '$(srcdir)/'`glmenu/glmenu_imagescreen.cc; \
     820@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/glmenu_imagescreen.Tpo" "$(DEPDIR)/glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/glmenu_imagescreen.Tpo"; exit 1; fi
     821@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='glmenu/glmenu_imagescreen.cc' object='glmenu_imagescreen.o' libtool=no @AMDEPBACKSLASH@
     822@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/glmenu_imagescreen.TPo' @AMDEPBACKSLASH@
     823@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     824@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glmenu_imagescreen.o `test -f 'glmenu/glmenu_imagescreen.cc' || echo '$(srcdir)/'`glmenu/glmenu_imagescreen.cc
     825
     826glmenu_imagescreen.obj: glmenu/glmenu_imagescreen.cc
     827@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT glmenu_imagescreen.obj -MD -MP -MF "$(DEPDIR)/glmenu_imagescreen.Tpo" -c -o glmenu_imagescreen.obj `if test -f 'glmenu/glmenu_imagescreen.cc'; then $(CYGPATH_W) 'glmenu/glmenu_imagescreen.cc'; else $(CYGPATH_W) '$(srcdir)/glmenu/glmenu_imagescreen.cc'; fi`; \
     828@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/glmenu_imagescreen.Tpo" "$(DEPDIR)/glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/glmenu_imagescreen.Tpo"; exit 1; fi
     829@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='glmenu/glmenu_imagescreen.cc' object='glmenu_imagescreen.obj' libtool=no @AMDEPBACKSLASH@
     830@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/glmenu_imagescreen.TPo' @AMDEPBACKSLASH@
     831@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     832@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glmenu_imagescreen.obj `if test -f 'glmenu/glmenu_imagescreen.cc'; then $(CYGPATH_W) 'glmenu/glmenu_imagescreen.cc'; else $(CYGPATH_W) '$(srcdir)/glmenu/glmenu_imagescreen.cc'; fi`
    489833uninstall-info-am:
    490834
     
    610954
    611955distdir: $(DISTFILES)
     956        $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics/font $(distdir)/lib/lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/story_entities $(distdir)/world_entities
    612957        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    613958        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  • orxonox/branches/levelloader/src/collision.h

    r3237 r3499  
    88
    99#include "vector.h"
    10 #include "coordinates.h"
    1110#include <stdlib.h>
    1211#include <stdio.h>
  • orxonox/branches/levelloader/src/game_loader.cc

    r3225 r3499  
    2525#include "command_node.h"
    2626#include "vector.h"
    27 #include "track.h"
    2827
    2928#include <string.h>
  • orxonox/branches/levelloader/src/orxonox.cc

    r3398 r3499  
    5656
    5757
    58 /* this is a singleton class to prevent duplicates */
     58/** \brief this is a singleton class to prevent duplicates */
    5959Orxonox* Orxonox::singletonRef = 0;
    6060
     61/**
     62   \returns reference or new Object of Orxonox if not existent.
     63*/
    6164Orxonox* Orxonox::getInstance (void)
    6265{
     
    173176  glClearColor (0.0, 0.0, 0.0, 0.0);
    174177  glEnable (GL_DEPTH_TEST);
    175  
    176   // LIGHTING
    177   GLfloat lmodelAmbient[] = {.1, .1, .1, 1.0};
    178   GLfloat whiteLight[] = {1.0, 1.0, 1.0,1.0};
    179   GLfloat lightPosition[] = {10.0, 10, 19.0, 0.0};
    180 
    181   glLightfv (GL_LIGHT0, GL_DIFFUSE, whiteLight);
    182   glLightfv (GL_LIGHT0, GL_SPECULAR, whiteLight);
    183   glEnable (GL_LIGHTING);
    184   glEnable (GL_LIGHT0);
    185   glEnable (GL_DEPTH_TEST);
    186   glLightfv (GL_LIGHT0, GL_POSITION, lightPosition);
    187   glLightfv (GL_LIGHT0, GL_DIFFUSE, whiteLight);
    188178   
    189   //glEnable (GL_TEXTURE_2D);
    190   //  glEnable(GL_COLOR);
    191   //  glShadeModel(GL_SMOOTH);
    192  
    193   // create camera
    194   //localcamera = new Camera(world); /* \todo camera/input node not used anymore*/
    195  
    196179  return 0;
    197180}
     
    342325}
    343326
    344 
     327/**
     328   \return The reference of the SDL-screen of orxonox
     329*/
    345330SDL_Surface* Orxonox::getScreen ()
    346331{
     
    348333}
    349334
    350 
     335/**
     336   \brief main function
     337
     338   here the journey begins
     339*/
    351340int main(int argc, char** argv)
    352341
  • orxonox/branches/levelloader/src/orxonox.h

    r3365 r3499  
    2626  ~Orxonox ();
    2727 
    28   char configfilename[256];
    29   World* world;
    30   DataTank* resources;
    31   CommandNode* localinput;
    32   Camera* localcamera;
    33   SDL_Surface* screen;
    34   GameLoader* gameLoader;
     28  char configfilename[256];   //!< Filename of the configuration-file.
     29  World* world;               //!< Reference to the current running world.
     30  DataTank* resources;        //!< DataContainer
     31  CommandNode* localinput;    //!< Command Handler
     32  Camera* localcamera;        //!< The current Camera
     33  SDL_Surface* screen;        //!< The current Screen
     34  GameLoader* gameLoader;     //!< The gameLoader
    3535 
    36   bool bQuitOrxonox;
    37   bool pause;
    38   Uint32 lastframe;
     36  bool bQuitOrxonox;          //!< If Orxonox should Quit
     37  bool pause;                 //!< Pause mode
     38  Uint32 lastframe;           //!< Time of the last Frame
    3939 
    4040  void getConfigFile (int argc, char** argv);
  • orxonox/branches/levelloader/src/track_manager.cc

    r3365 r3499  
    1 
    2 
    31/*
    42   orxonox - the future of 3D-vertical-scrollers
     
    1210
    1311   ### File Specific:
    14    main-programmer: Patrick Boenzli
     12   main-programmer: Benjamin Grauer
    1513   co-programmer: ...
    1614*/
     
    1816
    1917#include "track_manager.h"
     18
     19#include "p_node.h"
     20
    2021#include <stdarg.h>
    21 
    2222
    2323using namespace std;
     
    3838  this->startingTime = 0; //!< \todo eventually set this to the max time of TrackManager.
    3939  this->duration = 1;
     40  this->endTime = 1;
     41  this->jumpTime = 0;
    4042  this->curveType = BEZIERCURVE;
    4143  this->nodeCount = 0;
    4244  this->childCount = 0;
    4345  this->name = NULL;
    44   this->startPoint = Vector(0,0,0);
    45   this->startTangentPoint = Vector(0,0,0);
    4646  this->curve = NULL;
    4747  this->children = NULL;
     
    111111  this->maxTime = 0;
    112112  this->trackElemCount = 1;
     113  this->bindSlave = NULL;
    113114}
    114115
     
    151152{
    152153  this->currentTrackElem->childCount = childCount;
     154  this->currentTrackElem->mainJoin = true;
    153155  this->currentTrackElem->children = new TrackElement*[childCount];
    154156  for (int i=0; i<childCount; i++)
     
    156158      this->currentTrackElem->children[i] = new TrackElement();
    157159      this->currentTrackElem->children[i]->ID = ++trackElemCount;
    158       this->currentTrackElem->children[i]->startingTime = this->currentTrackElem->startingTime+this->currentTrackElem->duration;
    159       this->currentTrackElem->children[i]->startPoint = this->currentTrackElem->curve->getNode(this->currentTrackElem->curve->getNodeCount());
    160       this->currentTrackElem->children[i]->startTangentPoint = (this->currentTrackElem->children[i]->startPoint *2) - this->currentTrackElem->curve->getNode(this->currentTrackElem->curve->getNodeCount()-1);
     160      this->currentTrackElem->children[i]->startingTime = this->currentTrackElem->endTime + this->currentTrackElem->jumpTime;
     161      this->addPoint(this->currentTrackElem->curve->getNode(this->currentTrackElem->curve->getNodeCount()), this->currentTrackElem->children[i]);
    161162    }
    162163}
     
    193194   \brief curveType The Type to set
    194195*/
    195 void TrackManager::setCurveType(CurveType curveType)
    196 {
    197   if (!this->currentTrackElem->isFresh)
     196void TrackManager::setCurveType(CurveType curveType, TrackElement* trackElem)
     197{
     198  if (!trackElem->isFresh)
    198199    {
    199200      PRINTF(2)("It is not possible to change the type of a Curve after you have have appended some points to it\n");
    200201      return;
    201202    }
    202   this->currentTrackElem->curveType = curveType;
     203  trackElem->curveType = curveType;
    203204  switch (curveType)
    204205    {
    205206    case BEZIERCURVE:
    206       this->currentTrackElem->curve = new BezierCurve();
     207      trackElem->curve = new BezierCurve();
    207208      break;
    208209    case UPOINTCURVE:
    209       this->currentTrackElem->curve = new UPointCurve();
     210      trackElem->curve = new UPointCurve();
    210211      break;
    211212    }
     
    220221{
    221222  this->currentTrackElem->duration = time;
     223  this->currentTrackElem->endTime = this->currentTrackElem->startingTime + time;
    222224}
    223225
     
    240242  if (trackElem->isFresh)
    241243    {
    242       this->setCurveType(BEZIERCURVE);
     244      this->setCurveType(BEZIERCURVE, trackElem);
    243245      trackElem->isFresh = false;
    244       if(trackElem != this->firstTrackElem)
    245         {
    246           this->addPoint(trackElem->startPoint);
    247           this->addPoint(trackElem->startTangentPoint);
    248         }
    249246    }
    250247  trackElem->curve->addNode(newPoint);
     
    374371void TrackManager::joinV(unsigned int count, int* trackIDs)
    375372{
    376   printf("Joining %d tracks to Track %d\n", count, trackIDs[0]);
     373  printf("Joining %d tracks and merging to Track %d\n", count, trackIDs[0]);
    377374
    378375  // chanching work-on to temporary value. going back at the end.
    379376  int tmpCurrentWorkingID = this->currentTrackElem->ID;
    380377  this->workOn(trackIDs[0]);
    381 
    382378  TrackElement* firstJoint = this->currentTrackElem;
     379  float tmpLatestTime = firstJoint->endTime;
     380
    383381  Vector tmpEndPoint = firstJoint->curve->getNode(firstJoint->curve->getNodeCount());
    384   Vector tmpTangentPoint = firstJoint->curve->getNode(firstJoint->curve->getNodeCount()-1);
     382  Vector tmpTangentPoint = firstJoint->curve->getNode(firstJoint->curve->getNodeCount()-1);
     383  Vector tmpc2Point = firstJoint->curve->getNode(firstJoint->curve->getNodeCount()-2);
    385384  firstJoint->isJoined = true;
    386   firstJoint->mainJoin = true;
     385  //  firstJoint->mainJoin = true;
    387386  if(!firstJoint->isHotPoint)
    388387    this->setSavePoint();
    389 
     388  // Timing:
     389  for (int i = 0; i < count; i++)
     390    {
     391      TrackElement* tmpJoinElem = this->findTrackElementByID(trackIDs[i]);
     392      if (tmpJoinElem->childCount == 0
     393          && tmpJoinElem->endTime > tmpLatestTime)
     394        tmpLatestTime = tmpJoinElem->endTime;
     395    }
     396  // time the main Join.
     397  firstJoint->jumpTime = tmpLatestTime - firstJoint->endTime;
     398 
     399  // Joining:
    390400  for (int i = 1; i < count; i++)
    391401    {
     
    395405      else
    396406        {
     407          this->addPoint(tmpc2Point, tmpJoinElem);
    397408          this->addPoint(tmpTangentPoint, tmpJoinElem);
    398409          this->addPoint(tmpEndPoint, tmpJoinElem);
     410          // time all other Joins
     411          tmpJoinElem->jumpTime = tmpLatestTime - tmpJoinElem->endTime;
    399412         
    400413          //Copying Joint-Info
     
    403416          tmpJoinElem->isSavePoint = firstJoint->isSavePoint;
    404417          tmpJoinElem->isFork = firstJoint->isFork;
    405          
     418
    406419          tmpJoinElem->isJoined = true;
    407420        }
    408421    }
     422  if(firstJoint->childCount > 0)
     423    for(int i = 0; i < firstJoint->childCount; i++)
     424      {
     425        printf("Setting startingTime of %d to %f.\n", firstJoint->children[i]->ID, tmpLatestTime);
     426        firstJoint->children[i]->startingTime = tmpLatestTime;
     427        firstJoint->children[i]->endTime = tmpLatestTime+firstJoint->children[i]->duration;
     428      }
     429
    409430  // returning to the TrackElement we were working on.
    410431  this->workOn(tmpCurrentWorkingID);
    411432}
    412433
     434/**
     435   \brief finalizes the TrackSystem. after this it will not be editable anymore
     436
     437   \todo check for any inconsistencies, output errors
     438*/
     439void TrackManager::finalize(void)
     440{
     441  for (int i = 1; i<= trackElemCount ;i++)
     442    {
     443      TrackElement* tmpElem = findTrackElementByID(i);
     444      if (tmpElem->childCount>0 && tmpElem->mainJoin)
     445        {
     446          for (int j = 0; j < tmpElem->childCount; j++)
     447            {
     448             
     449              // c1-continuity
     450              tmpElem->children[j]->curve->addNode(tmpElem->children[j]->curve->getNode(0) +
     451                                                   ((tmpElem->children[j]->curve->getNode(0) -
     452                                                    tmpElem->curve->getNode(tmpElem->curve->getNodeCount()-1))
     453                                                    ),2);
     454              tmpElem->children[j]->nodeCount++;
     455              // c2-continuity
     456              tmpElem->children[j]->curve->addNode((tmpElem->curve->getNode(tmpElem->curve->getNodeCount())-
     457                                                    tmpElem->curve->getNode(tmpElem->curve->getNodeCount()-1)) * 4 +
     458                                                   tmpElem->curve->getNode(tmpElem->curve->getNodeCount()-2), 3);
     459              tmpElem->children[j]->nodeCount++;                                                   
     460              printf("accelerations: %d-in: count: %d, %f, %f, %f\n                  %d-out: count: %d %f, %f, %f\n",
     461                     tmpElem->ID, tmpElem->nodeCount,
     462                     tmpElem->curve->calcAcc(0.999).x, tmpElem->curve->calcAcc(0.999).y, tmpElem->curve->calcAcc(0.999).z,
     463                     tmpElem->children[j]->ID, tmpElem->children[j]->nodeCount,
     464                     tmpElem->children[j]->curve->calcAcc(0).x, tmpElem->children[j]->curve->calcAcc(0).y, tmpElem->children[j]->curve->calcAcc(0).z);
     465            }
     466        }
     467    }
     468}
     469
     470
    413471// RUNTIME //
    414472
     
    429487Vector TrackManager::calcDir() const
    430488{
    431   return this->currentTrackElem->curve->calcDir((this->localTime-this->currentTrackElem->startingTime)/this->currentTrackElem->duration);
     489  return this->currentTrackElem->curve->calcDir((this->localTime - this->currentTrackElem->startingTime)/this->currentTrackElem->duration);
    432490}
    433491
     
    440498void TrackManager::tick(float dt)
    441499{
     500  dt /= 1000;
     501  printf("CurrentTrackID: %d, LocalTime is: %f, timestep is: %f\n", this->currentTrackElem->ID, this->localTime, dt);
    442502  if (this->localTime <= this->firstTrackElem->duration)
    443503    this->jumpTo(this->localTime);
    444504  this->localTime += dt;
    445   if (this->localTime > this->currentTrackElem->startingTime + this->currentTrackElem->duration && this->currentTrackElem->childCount > 0)
    446     this->currentTrackElem = this->currentTrackElem->children[0];
     505  if (this->localTime > this->currentTrackElem->endTime
     506      && this->currentTrackElem->children)
     507    {
     508      if (this->currentTrackElem->jumpTime > 0)
     509        this->jumpTo(this->localTime + this->currentTrackElem->jumpTime);
     510      this->currentTrackElem = this->currentTrackElem->children[0];
     511    }
     512  if (this->bindSlave)
     513    {
     514      Vector tmp = this->calcPos();
     515      Quaternion quat = Quaternion(this->calcDir(), Vector(this->currentTrackElem->curve->calcAcc((localTime-this->currentTrackElem->startingTime)/this->currentTrackElem->duration).x,1,this->currentTrackElem->curve->calcAcc((localTime-this->currentTrackElem->startingTime)/this->currentTrackElem->duration).z));
     516      this->bindSlave->setAbsCoor(&tmp);
     517      this->bindSlave->setAbsDir(&quat);
     518    }
    447519}
    448520
     
    471543}
    472544
     545/**
     546   \brief Sets the PNode, that should be moved along the Tack
     547   \param bindSlave the PNode to set
     548*/
     549void TrackManager::setBindSlave(PNode* bindSlave)
     550{
     551  if (!this->bindSlave)
     552    this->bindSlave = bindSlave;
     553}
    473554
    474555
     
    500581}
    501582
     583/**
     584   \brief outputs debug information about the trackManager
     585   \param level how much debug
     586*/
    502587void TrackManager::debug(unsigned int level) const
    503588{
     
    516601          if(tmpElem->isFresh)
    517602            printf("   has not jet eddited in any way\n");
    518           printf("\n   TimeTable: starting at = %f; ends at = %f; duration = %f\n", tmpElem->startingTime, tmpElem->startingTime+tmpElem->duration, tmpElem->duration);
     603          printf("\n   TimeTable: startingTime=%f; endTime=%f; duration=%f; jumpTime=%f\n", tmpElem->startingTime, tmpElem->endTime, tmpElem->duration, tmpElem->jumpTime);
    519604          printf("   consists of %d Points\n", tmpElem->nodeCount);
    520605          if (tmpElem->childCount == 0)
     
    536621          if(tmpElem->isFork)
    537622            {
    538               printf("    is A Fork with with %d children.", tmpElem->childCount);
     623              printf("    is A Fork with with %d children.\n", tmpElem->childCount);
    539624            }
    540625          if(tmpElem->isJoined)
  • orxonox/branches/levelloader/src/track_manager.h

    r3365 r3499  
    1313
    1414#include "stdincl.h"
     15#include "curve.h"
    1516
     17class PNode;
    1618
    1719//! condition for choosing a certain Path. \todo implement a useful way.
     
    4547  float startingTime;        //!< The time at which this Track begins.
    4648  float duration;            //!< The time used to cross this TrackElement (curve).
     49  float endTime;             //!< The time at which this Track ends.
     50  float jumpTime;            //!< The Time this Track has to jump to its preceding Track (only >0 if Track isJoined==true)
    4751  CurveType curveType;       //!< The CurveType this will have.
    4852  int nodeCount;             //!< The count of points this TrackElement has.
    4953  char* name;                //!< A name for the Trac.
    50   Vector startPoint;         //!< A Vector that Points to the first point of the containing Curve. (for c1-steadiness)
    51   Vector startTangentPoint;  //!< A Vector that points into the direction of the previous Curve. (for c1-steadiness)
    5254  Curve* curve;              //!< The Curve of this TrackElement
    5355  int childCount;            //!< The number of Children This TrackElement has.
     
    5961//! The TrackManager handles the flow of the Players through the game.
    6062/**
    61    \todo write the methodes
    6263
    6364   <b>The TrackManager works as followed:</b> \n
     
    104105  float maxTime;                      //!< The maximal time the track has.
    105106  int trackElemCount;                 //!< The count of TrackElements that exist.
     107  PNode* bindSlave;
    106108 
    107109  void initChildren(unsigned int childCount);
     
    115117  // Methods to change the Path (initialisation)
    116118  void workOn(unsigned int trackID);
    117   void setCurveType(CurveType curveType);
     119  inline void setCurveType(CurveType curveType) { this->setCurveType (curveType, this->currentTrackElem);}
     120  void setCurveType(CurveType curveType, TrackElement* trackElem);
    118121  void setDuration(float time);
    119122  bool addPoint(Vector newPoint);
     
    126129  void join(unsigned int count, ...);
    127130  void joinV(unsigned int count, int* trackIDs);
     131  void finalize(void);
    128132
    129133  // Methods to calculate the position on the Path (runtime)
     
    134138  void choosePath(int graphID);
    135139
     140  void setBindSlave(PNode* bindSlave);
     141
    136142  // DEBUG //
    137143  void drawGraph(float dt) const;
Note: See TracChangeset for help on using the changeset viewer.