Changeset 4063 in orxonox.OLD for orxonox/branches
- Timestamp:
- May 5, 2005, 2:37:08 PM (20 years ago)
- Location:
- orxonox/branches/md2_loader
- Files:
-
- 20 deleted
- 24 edited
- 22 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/Makefile.in
r3789 r4063 105 105 EXEEXT = @EXEEXT@ 106 106 GPROF = @GPROF@ 107 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@108 GTHREAD_LIBS = @GTHREAD_LIBS@109 107 GTK2_CFLAGS = @GTK2_CFLAGS@ 110 108 GTK2_LIBS = @GTK2_LIBS@ 111 109 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 112 110 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 113 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@114 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@115 111 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 116 112 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 133 129 PACKAGE_VERSION = @PACKAGE_VERSION@ 134 130 PATH_SEPARATOR = @PATH_SEPARATOR@ 131 RANLIB = @RANLIB@ 135 132 SET_MAKE = @SET_MAKE@ 136 133 SHELL = @SHELL@ … … 141 138 ac_ct_CC = @ac_ct_CC@ 142 139 ac_ct_CXX = @ac_ct_CXX@ 140 ac_ct_RANLIB = @ac_ct_RANLIB@ 143 141 ac_ct_STRIP = @ac_ct_STRIP@ 144 142 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/aclocal.m4
r4010 r4063 1 # generated automatically by aclocal 1.8. 2-*- Autoconf -*-1 # generated automatically by aclocal 1.8.5 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 … … 41 41 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 42 42 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 43 [AM_AUTOMAKE_VERSION([1.8. 2])])43 [AM_AUTOMAKE_VERSION([1.8.5])]) 44 44 45 45 # AM_AUX_DIR_EXPAND … … 150 150 fi])]) 151 151 152 # serial 6-*- Autoconf -*-152 # serial 7 -*- Autoconf -*- 153 153 154 154 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 … … 237 237 for i in 1 2 3 4 5 6; do 238 238 echo '#include "conftst'$i'.h"' >> sub/conftest.c 239 : > sub/conftst$i.h 239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 240 # Solaris 8's {/usr,}/bin/sh. 241 touch sub/conftst$i.h 240 242 done 241 243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 265 267 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 266 268 # icc doesn't choke on unknown options, it will just issue warnings 267 # (even with -Werror). So we grep stderr for any message 268 # that says an option was ignored. 269 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 269 # or remarks (even with -Werror). So we grep stderr for any message 270 # that says an option was ignored or not supported. 271 # When given -MP, icc 7.0 and 7.1 complain thusly: 272 # icc: Command line warning: ignoring option '-M'; no argument required 273 # The diagnosis changed in icc 8.0: 274 # icc: Command line remark: option '-MP' not supported 275 if (grep 'ignoring option' conftest.err || 276 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 270 277 am_cv_$1_dependencies_compiler_type=$depmode 271 278 break … … 313 320 # Generate code to set up dependency tracking. -*- Autoconf -*- 314 321 315 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.322 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 316 323 317 324 # This program is free software; you can redistribute it and/or modify … … 352 359 # Extract the definition of DEP_FILES from the Makefile without 353 360 # running `make'. 354 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`361 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 355 362 test -z "$DEPDIR" && continue 356 363 # When using ansi2knr, U may be empty or an underscore; expand it 357 U=`sed -n -e '/^U = / s///p' < "$mf"`364 U=`sed -n 's/^U = //p' < "$mf"` 358 365 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 359 366 # We invoke sed twice because it is the simplest approach to 360 367 # changing $(DEPDIR) to its actual value in the expansion. 361 for file in `sed -n -e'368 for file in `sed -n ' 362 369 /^DEP_FILES = .*\\\\$/ { 363 370 s/^DEP_FILES = // … … 718 725 # Do not use -m 0755 and let people choose whatever they expect by 719 726 # setting umask. 727 # 728 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 729 # Some implementations (such as Solaris 8's) are not thread-safe: if a 730 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 731 # concurrently, both version can detect that a/ is missing, but only 732 # one can create it and the other will error out. Consequently we 733 # restrict ourselves to GNU make (using the --version option ensures 734 # this.) 720 735 AC_DEFUN([AM_PROG_MKDIR_P], 721 [if mkdir -p -- . 2>/dev/null; then736 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 722 737 # Keeping the `.' argument allows $(mkdir_p) to be used without 723 738 # argument. Indeed, we sometimes output rules like … … 732 747 # directories to create, and then abort because `.' already 733 748 # exists. 734 for d in ./-p ./-- ;749 for d in ./-p ./--version; 735 750 do 736 751 test -d $d && rmdir $d -
orxonox/branches/md2_loader/configure
r4010 r4063 312 312 #endif" 313 313 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 DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF 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'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 RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 879 879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 880 880 --without-gtk Prevents GTK from being loaded 881 --without-gthread Prevents gThread from being loaded882 --without-pthread Prevents pthread from being loaded883 881 --without-curl Prevents libcURL from being loaded 884 882 … … 1604 1602 fi 1605 1603 1606 if mkdir -p -- . 2>/dev/null; then1604 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1607 1605 # Keeping the `.' argument allows $(mkdir_p) to be used without 1608 1606 # argument. Indeed, we sometimes output rules like … … 1617 1615 # directories to create, and then abort because `.' already 1618 1616 # exists. 1619 for d in ./-p ./-- ;1617 for d in ./-p ./--version; 1620 1618 do 1621 1619 test -d $d && rmdir $d … … 2523 2521 for i in 1 2 3 4 5 6; do 2524 2522 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2525 : > sub/conftst$i.h 2523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2524 # Solaris 8's {/usr,}/bin/sh. 2525 touch sub/conftst$i.h 2526 2526 done 2527 2527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2551 2551 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2552 2552 # icc doesn't choke on unknown options, it will just issue warnings 2553 # (even with -Werror). So we grep stderr for any message 2554 # that says an option was ignored. 2555 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2553 # or remarks (even with -Werror). So we grep stderr for any message 2554 # that says an option was ignored or not supported. 2555 # When given -MP, icc 7.0 and 7.1 complain thusly: 2556 # icc: Command line warning: ignoring option '-M'; no argument required 2557 # The diagnosis changed in icc 8.0: 2558 # icc: Command line remark: option '-MP' not supported 2559 if (grep 'ignoring option' conftest.err || 2560 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2556 2561 am_cv_CXX_dependencies_compiler_type=$depmode 2557 2562 break … … 2583 2588 fi 2584 2589 2590 2591 if test -n "$ac_tool_prefix"; then 2592 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2593 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2594 echo "$as_me:$LINENO: checking for $ac_word" >&5 2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2596 if test "${ac_cv_prog_RANLIB+set}" = set; then 2597 echo $ECHO_N "(cached) $ECHO_C" >&6 2598 else 2599 if test -n "$RANLIB"; then 2600 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2601 else 2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2603 for as_dir in $PATH 2604 do 2605 IFS=$as_save_IFS 2606 test -z "$as_dir" && as_dir=. 2607 for ac_exec_ext in '' $ac_executable_extensions; do 2608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2609 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2611 break 2 2612 fi 2613 done 2614 done 2615 2616 fi 2617 fi 2618 RANLIB=$ac_cv_prog_RANLIB 2619 if test -n "$RANLIB"; then 2620 echo "$as_me:$LINENO: result: $RANLIB" >&5 2621 echo "${ECHO_T}$RANLIB" >&6 2622 else 2623 echo "$as_me:$LINENO: result: no" >&5 2624 echo "${ECHO_T}no" >&6 2625 fi 2626 2627 fi 2628 if test -z "$ac_cv_prog_RANLIB"; then 2629 ac_ct_RANLIB=$RANLIB 2630 # Extract the first word of "ranlib", so it can be a program name with args. 2631 set dummy ranlib; ac_word=$2 2632 echo "$as_me:$LINENO: checking for $ac_word" >&5 2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2634 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2635 echo $ECHO_N "(cached) $ECHO_C" >&6 2636 else 2637 if test -n "$ac_ct_RANLIB"; then 2638 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2639 else 2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2641 for as_dir in $PATH 2642 do 2643 IFS=$as_save_IFS 2644 test -z "$as_dir" && as_dir=. 2645 for ac_exec_ext in '' $ac_executable_extensions; do 2646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2647 ac_cv_prog_ac_ct_RANLIB="ranlib" 2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2649 break 2 2650 fi 2651 done 2652 done 2653 2654 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2655 fi 2656 fi 2657 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2658 if test -n "$ac_ct_RANLIB"; then 2659 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2660 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2661 else 2662 echo "$as_me:$LINENO: result: no" >&5 2663 echo "${ECHO_T}no" >&6 2664 fi 2665 2666 RANLIB=$ac_ct_RANLIB 2667 else 2668 RANLIB="$ac_cv_prog_RANLIB" 2669 fi 2585 2670 2586 2671 ac_ext=c … … 3354 3439 for i in 1 2 3 4 5 6; do 3355 3440 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3356 : > sub/conftst$i.h 3441 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3442 # Solaris 8's {/usr,}/bin/sh. 3443 touch sub/conftst$i.h 3357 3444 done 3358 3445 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3382 3469 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3383 3470 # icc doesn't choke on unknown options, it will just issue warnings 3384 # (even with -Werror). So we grep stderr for any message 3385 # that says an option was ignored. 3386 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3471 # or remarks (even with -Werror). So we grep stderr for any message 3472 # that says an option was ignored or not supported. 3473 # When given -MP, icc 7.0 and 7.1 complain thusly: 3474 # icc: Command line warning: ignoring option '-M'; no argument required 3475 # The diagnosis changed in icc 8.0: 3476 # icc: Command line remark: option '-MP' not supported 3477 if (grep 'ignoring option' conftest.err || 3478 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3387 3479 am_cv_CC_dependencies_compiler_type=$depmode 3388 3480 break … … 3908 4000 fi 3909 4001 if test x$def_gtk = xno; then 3910 echo "no"3911 fi3912 3913 #------------------#3914 # gThread-disabled #3915 #------------------#3916 echo "$as_me:$LINENO: checking if gThread should be enabled" >&53917 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&63918 3919 # Check whether --with-gthread or --without-gthread was given.3920 if test "${with_gthread+set}" = set; then3921 withval="$with_gthread"3922 def_gthread=no3923 else3924 def_gthread=yes3925 fi;3926 if test x$def_gthread = xyes; then3927 echo "yes"3928 fi3929 if test x$def_gthread = xno; then3930 echo "no"3931 fi3932 3933 #------------------#3934 # pthread-disabled #3935 #------------------#3936 echo "$as_me:$LINENO: checking if pthread should be enabled" >&53937 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&63938 3939 # Check whether --with-pthread or --without-pthread was given.3940 if test "${with_pthread+set}" = set; then3941 withval="$with_pthread"3942 def_pthread=no3943 else3944 def_pthread=yes3945 fi;3946 if test x$def_pthread = xyes; then3947 echo "yes"3948 fi3949 if test x$def_pthread = xno; then3950 4002 echo "no" 3951 4003 fi … … 6655 6707 6656 6708 #---------# 6657 # gThread #6658 #---------#6659 if test x$def_gthread = xyes; then6660 6661 echo "$as_me:$LINENO: checking for gthread" >&56662 echo $ECHO_N "checking for gthread... $ECHO_C" >&66663 if `pkg-config --exists gthread-2.0`; then6664 echo "yes"6665 have_gthread=yes6666 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`6667 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`6668 6669 cat >>confdefs.h <<_ACEOF6670 #define HAVE_GTHREAD 16671 _ACEOF6672 6673 else6674 echo "no"6675 fi6676 6677 fi6678 6679 6680 6681 6682 if test x$have_gthread = xyes; then6683 HAVE_GTHREAD_TRUE=6684 HAVE_GTHREAD_FALSE='#'6685 else6686 HAVE_GTHREAD_TRUE='#'6687 HAVE_GTHREAD_FALSE=6688 fi6689 6690 6691 #---------#6692 6709 # libcURL # 6693 6710 #---------# … … 6935 6952 6936 6953 6937 #---------# 6938 # pthread # 6939 #---------# 6940 if test x$def_pthread = xyes ; then 6941 if test x$have_gthread = xyes ; then 6942 6943 for ac_header in pthread.h 6954 #--------# 6955 # efence # 6956 #--------# 6957 if test x$def_efence = xyes ; then 6958 echo "$as_me:$LINENO: checking for main in -lefence" >&5 6959 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 6960 if test "${ac_cv_lib_efence_main+set}" = set; then 6961 echo $ECHO_N "(cached) $ECHO_C" >&6 6962 else 6963 ac_check_lib_save_LIBS=$LIBS 6964 LIBS="-lefence $LIBS" 6965 cat >conftest.$ac_ext <<_ACEOF 6966 /* confdefs.h. */ 6967 _ACEOF 6968 cat confdefs.h >>conftest.$ac_ext 6969 cat >>conftest.$ac_ext <<_ACEOF 6970 /* end confdefs.h. */ 6971 6972 6973 int 6974 main () 6975 { 6976 main (); 6977 ; 6978 return 0; 6979 } 6980 _ACEOF 6981 rm -f conftest.$ac_objext conftest$ac_exeext 6982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6983 (eval $ac_link) 2>conftest.er1 6984 ac_status=$? 6985 grep -v '^ *+' conftest.er1 >conftest.err 6986 rm -f conftest.er1 6987 cat conftest.err >&5 6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6989 (exit $ac_status); } && 6990 { ac_try='test -z "$ac_c_werror_flag" 6991 || test ! -s conftest.err' 6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6993 (eval $ac_try) 2>&5 6994 ac_status=$? 6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 (exit $ac_status); }; } && 6997 { ac_try='test -s conftest$ac_exeext' 6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6999 (eval $ac_try) 2>&5 7000 ac_status=$? 7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7002 (exit $ac_status); }; }; then 7003 ac_cv_lib_efence_main=yes 7004 else 7005 echo "$as_me: failed program was:" >&5 7006 sed 's/^/| /' conftest.$ac_ext >&5 7007 7008 ac_cv_lib_efence_main=no 7009 fi 7010 rm -f conftest.err conftest.$ac_objext \ 7011 conftest$ac_exeext conftest.$ac_ext 7012 LIBS=$ac_check_lib_save_LIBS 7013 fi 7014 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 7015 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 7016 if test $ac_cv_lib_efence_main = yes; then 7017 FOUND_efence=yes 7018 fi 7019 7020 if test x$FOUND_efence = xyes ; then 7021 LIBS="$LIBS -lefence" 7022 fi 7023 7024 fi 7025 7026 # FIXME: Replace `main' with a function in `-lm': 7027 7028 echo "$as_me:$LINENO: checking for main in -lm" >&5 7029 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7030 if test "${ac_cv_lib_m_main+set}" = set; then 7031 echo $ECHO_N "(cached) $ECHO_C" >&6 7032 else 7033 ac_check_lib_save_LIBS=$LIBS 7034 LIBS="-lm $LIBS" 7035 cat >conftest.$ac_ext <<_ACEOF 7036 /* confdefs.h. */ 7037 _ACEOF 7038 cat confdefs.h >>conftest.$ac_ext 7039 cat >>conftest.$ac_ext <<_ACEOF 7040 /* end confdefs.h. */ 7041 7042 7043 int 7044 main () 7045 { 7046 main (); 7047 ; 7048 return 0; 7049 } 7050 _ACEOF 7051 rm -f conftest.$ac_objext conftest$ac_exeext 7052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7053 (eval $ac_link) 2>conftest.er1 7054 ac_status=$? 7055 grep -v '^ *+' conftest.er1 >conftest.err 7056 rm -f conftest.er1 7057 cat conftest.err >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7059 (exit $ac_status); } && 7060 { ac_try='test -z "$ac_c_werror_flag" 7061 || test ! -s conftest.err' 7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7063 (eval $ac_try) 2>&5 7064 ac_status=$? 7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7066 (exit $ac_status); }; } && 7067 { ac_try='test -s conftest$ac_exeext' 7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7069 (eval $ac_try) 2>&5 7070 ac_status=$? 7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7072 (exit $ac_status); }; }; then 7073 ac_cv_lib_m_main=yes 7074 else 7075 echo "$as_me: failed program was:" >&5 7076 sed 's/^/| /' conftest.$ac_ext >&5 7077 7078 ac_cv_lib_m_main=no 7079 fi 7080 rm -f conftest.err conftest.$ac_objext \ 7081 conftest$ac_exeext conftest.$ac_ext 7082 LIBS=$ac_check_lib_save_LIBS 7083 fi 7084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7085 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7086 if test $ac_cv_lib_m_main = yes; then 7087 cat >>confdefs.h <<_ACEOF 7088 #define HAVE_LIBM 1 7089 _ACEOF 7090 7091 LIBS="-lm $LIBS" 7092 7093 fi 7094 7095 7096 7097 # Checks for header files. 7098 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7099 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7100 if test "${ac_cv_header_stdc+set}" = set; then 7101 echo $ECHO_N "(cached) $ECHO_C" >&6 7102 else 7103 cat >conftest.$ac_ext <<_ACEOF 7104 /* confdefs.h. */ 7105 _ACEOF 7106 cat confdefs.h >>conftest.$ac_ext 7107 cat >>conftest.$ac_ext <<_ACEOF 7108 /* end confdefs.h. */ 7109 #include <stdlib.h> 7110 #include <stdarg.h> 7111 #include <string.h> 7112 #include <float.h> 7113 7114 int 7115 main () 7116 { 7117 7118 ; 7119 return 0; 7120 } 7121 _ACEOF 7122 rm -f conftest.$ac_objext 7123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7124 (eval $ac_compile) 2>conftest.er1 7125 ac_status=$? 7126 grep -v '^ *+' conftest.er1 >conftest.err 7127 rm -f conftest.er1 7128 cat conftest.err >&5 7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7130 (exit $ac_status); } && 7131 { ac_try='test -z "$ac_c_werror_flag" 7132 || test ! -s conftest.err' 7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7134 (eval $ac_try) 2>&5 7135 ac_status=$? 7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7137 (exit $ac_status); }; } && 7138 { ac_try='test -s conftest.$ac_objext' 7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7140 (eval $ac_try) 2>&5 7141 ac_status=$? 7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7143 (exit $ac_status); }; }; then 7144 ac_cv_header_stdc=yes 7145 else 7146 echo "$as_me: failed program was:" >&5 7147 sed 's/^/| /' conftest.$ac_ext >&5 7148 7149 ac_cv_header_stdc=no 7150 fi 7151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7152 7153 if test $ac_cv_header_stdc = yes; then 7154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7155 cat >conftest.$ac_ext <<_ACEOF 7156 /* confdefs.h. */ 7157 _ACEOF 7158 cat confdefs.h >>conftest.$ac_ext 7159 cat >>conftest.$ac_ext <<_ACEOF 7160 /* end confdefs.h. */ 7161 #include <string.h> 7162 7163 _ACEOF 7164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7165 $EGREP "memchr" >/dev/null 2>&1; then 7166 : 7167 else 7168 ac_cv_header_stdc=no 7169 fi 7170 rm -f conftest* 7171 7172 fi 7173 7174 if test $ac_cv_header_stdc = yes; then 7175 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7176 cat >conftest.$ac_ext <<_ACEOF 7177 /* confdefs.h. */ 7178 _ACEOF 7179 cat confdefs.h >>conftest.$ac_ext 7180 cat >>conftest.$ac_ext <<_ACEOF 7181 /* end confdefs.h. */ 7182 #include <stdlib.h> 7183 7184 _ACEOF 7185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7186 $EGREP "free" >/dev/null 2>&1; then 7187 : 7188 else 7189 ac_cv_header_stdc=no 7190 fi 7191 rm -f conftest* 7192 7193 fi 7194 7195 if test $ac_cv_header_stdc = yes; then 7196 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7197 if test "$cross_compiling" = yes; then 7198 : 7199 else 7200 cat >conftest.$ac_ext <<_ACEOF 7201 /* confdefs.h. */ 7202 _ACEOF 7203 cat confdefs.h >>conftest.$ac_ext 7204 cat >>conftest.$ac_ext <<_ACEOF 7205 /* end confdefs.h. */ 7206 #include <ctype.h> 7207 #if ((' ' & 0x0FF) == 0x020) 7208 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7209 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7210 #else 7211 # define ISLOWER(c) \ 7212 (('a' <= (c) && (c) <= 'i') \ 7213 || ('j' <= (c) && (c) <= 'r') \ 7214 || ('s' <= (c) && (c) <= 'z')) 7215 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7216 #endif 7217 7218 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7219 int 7220 main () 7221 { 7222 int i; 7223 for (i = 0; i < 256; i++) 7224 if (XOR (islower (i), ISLOWER (i)) 7225 || toupper (i) != TOUPPER (i)) 7226 exit(2); 7227 exit (0); 7228 } 7229 _ACEOF 7230 rm -f conftest$ac_exeext 7231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7232 (eval $ac_link) 2>&5 7233 ac_status=$? 7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7235 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7237 (eval $ac_try) 2>&5 7238 ac_status=$? 7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7240 (exit $ac_status); }; }; then 7241 : 7242 else 7243 echo "$as_me: program exited with status $ac_status" >&5 7244 echo "$as_me: failed program was:" >&5 7245 sed 's/^/| /' conftest.$ac_ext >&5 7246 7247 ( exit $ac_status ) 7248 ac_cv_header_stdc=no 7249 fi 7250 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7251 fi 7252 fi 7253 fi 7254 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7255 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7256 if test $ac_cv_header_stdc = yes; then 7257 7258 cat >>confdefs.h <<\_ACEOF 7259 #define STDC_HEADERS 1 7260 _ACEOF 7261 7262 fi 7263 7264 7265 7266 for ac_header in stdlib.h string.h 6944 7267 do 6945 7268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7085 7408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7086 7409 _ACEOF 7087 pthreadHeader="yes" 7088 else 7089 pthreadHeader="no" 7410 7090 7411 fi 7091 7412 7092 7413 done 7093 7414 7094 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 7095 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 7096 if test "${ac_cv_lib_pthread_main+set}" = set; then 7415 7416 # Checks for typedefs, structures, and compiler characteristics. 7417 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7418 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7419 if test "${ac_cv_header_stdbool_h+set}" = set; then 7097 7420 echo $ECHO_N "(cached) $ECHO_C" >&6 7098 7421 else 7099 ac_check_lib_save_LIBS=$LIBS 7100 LIBS="-lpthread $LIBS" 7101 cat >conftest.$ac_ext <<_ACEOF 7422 cat >conftest.$ac_ext <<_ACEOF 7102 7423 /* confdefs.h. */ 7103 7424 _ACEOF … … 7106 7427 /* end confdefs.h. */ 7107 7428 7429 #include <stdbool.h> 7430 #ifndef bool 7431 # error bool is not defined 7432 #endif 7433 #ifndef false 7434 # error false is not defined 7435 #endif 7436 #if false 7437 # error false is not 0 7438 #endif 7439 #ifndef true 7440 # error true is not defined 7441 #endif 7442 #if true != 1 7443 # error true is not 1 7444 #endif 7445 #ifndef __bool_true_false_are_defined 7446 # error __bool_true_false_are_defined is not defined 7447 #endif 7448 7449 struct s { _Bool s: 1; _Bool t; } s; 7450 7451 char a[true == 1 ? 1 : -1]; 7452 char b[false == 0 ? 1 : -1]; 7453 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7454 char d[(bool) -0.5 == true ? 1 : -1]; 7455 bool e = &s; 7456 char f[(_Bool) -0.0 == false ? 1 : -1]; 7457 char g[true]; 7458 char h[sizeof (_Bool)]; 7459 char i[sizeof s.t]; 7108 7460 7109 7461 int 7110 7462 main () 7111 7463 { 7112 main ();7464 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7113 7465 ; 7114 7466 return 0; 7115 7467 } 7116 7468 _ACEOF 7117 rm -f conftest.$ac_objext conftest$ac_exeext7118 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57119 (eval $ac_ link) 2>conftest.er17469 rm -f conftest.$ac_objext 7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7471 (eval $ac_compile) 2>conftest.er1 7120 7472 ac_status=$? 7121 7473 grep -v '^ *+' conftest.er1 >conftest.err … … 7131 7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 7484 (exit $ac_status); }; } && 7133 { ac_try='test -s conftest $ac_exeext'7485 { ac_try='test -s conftest.$ac_objext' 7134 7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7135 7487 (eval $ac_try) 2>&5 … … 7137 7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7138 7490 (exit $ac_status); }; }; then 7139 ac_cv_ lib_pthread_main=yes7491 ac_cv_header_stdbool_h=yes 7140 7492 else 7141 7493 echo "$as_me: failed program was:" >&5 7142 7494 sed 's/^/| /' conftest.$ac_ext >&5 7143 7495 7144 ac_cv_lib_pthread_main=no 7145 fi 7146 rm -f conftest.err conftest.$ac_objext \ 7147 conftest$ac_exeext conftest.$ac_ext 7148 LIBS=$ac_check_lib_save_LIBS 7149 fi 7150 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 7151 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 7152 if test $ac_cv_lib_pthread_main = yes; then 7153 FOUND_pthread=yes 7154 fi 7155 7156 if test x$FOUND_pthread = xyes ; then 7157 LIBS="$LIBS -lpthread" 7158 fi 7159 fi 7160 fi 7161 7162 7163 #--------# 7164 # efence # 7165 #--------# 7166 if test x$def_efence = xyes ; then 7167 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7168 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7169 if test "${ac_cv_lib_efence_main+set}" = set; then 7496 ac_cv_header_stdbool_h=no 7497 fi 7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7499 fi 7500 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7501 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7502 echo "$as_me:$LINENO: checking for _Bool" >&5 7503 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7504 if test "${ac_cv_type__Bool+set}" = set; then 7170 7505 echo $ECHO_N "(cached) $ECHO_C" >&6 7171 7506 else 7172 ac_check_lib_save_LIBS=$LIBS 7173 LIBS="-lefence $LIBS" 7174 cat >conftest.$ac_ext <<_ACEOF 7507 cat >conftest.$ac_ext <<_ACEOF 7175 7508 /* confdefs.h. */ 7176 7509 _ACEOF … … 7178 7511 cat >>conftest.$ac_ext <<_ACEOF 7179 7512 /* end confdefs.h. */ 7180 7181 7513 $ac_includes_default 7182 7514 int 7183 7515 main () 7184 7516 { 7185 main (); 7517 if ((_Bool *) 0) 7518 return 0; 7519 if (sizeof (_Bool)) 7520 return 0; 7186 7521 ; 7187 7522 return 0; 7188 7523 } 7189 7524 _ACEOF 7190 rm -f conftest.$ac_objext conftest$ac_exeext7191 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57192 (eval $ac_ link) 2>conftest.er17525 rm -f conftest.$ac_objext 7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7527 (eval $ac_compile) 2>conftest.er1 7193 7528 ac_status=$? 7194 7529 grep -v '^ *+' conftest.er1 >conftest.err … … 7204 7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 7540 (exit $ac_status); }; } && 7206 { ac_try='test -s conftest$ac_exeext'7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57208 (eval $ac_try) 2>&57209 ac_status=$?7210 echo "$as_me:$LINENO: \$? = $ac_status" >&57211 (exit $ac_status); }; }; then7212 ac_cv_lib_efence_main=yes7213 else7214 echo "$as_me: failed program was:" >&57215 sed 's/^/| /' conftest.$ac_ext >&57216 7217 ac_cv_lib_efence_main=no7218 fi7219 rm -f conftest.err conftest.$ac_objext \7220 conftest$ac_exeext conftest.$ac_ext7221 LIBS=$ac_check_lib_save_LIBS7222 fi7223 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&57224 echo "${ECHO_T}$ac_cv_lib_efence_main" >&67225 if test $ac_cv_lib_efence_main = yes; then7226 FOUND_efence=yes7227 fi7228 7229 if test x$FOUND_efence = xyes ; then7230 LIBS="$LIBS -lefence"7231 fi7232 7233 fi7234 7235 # FIXME: Replace `main' with a function in `-lm':7236 7237 echo "$as_me:$LINENO: checking for main in -lm" >&57238 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&67239 if test "${ac_cv_lib_m_main+set}" = set; then7240 echo $ECHO_N "(cached) $ECHO_C" >&67241 else7242 ac_check_lib_save_LIBS=$LIBS7243 LIBS="-lm $LIBS"7244 cat >conftest.$ac_ext <<_ACEOF7245 /* confdefs.h. */7246 _ACEOF7247 cat confdefs.h >>conftest.$ac_ext7248 cat >>conftest.$ac_ext <<_ACEOF7249 /* end confdefs.h. */7250 7251 7252 int7253 main ()7254 {7255 main ();7256 ;7257 return 0;7258 }7259 _ACEOF7260 rm -f conftest.$ac_objext conftest$ac_exeext7261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57262 (eval $ac_link) 2>conftest.er17263 ac_status=$?7264 grep -v '^ *+' conftest.er1 >conftest.err7265 rm -f conftest.er17266 cat conftest.err >&57267 echo "$as_me:$LINENO: \$? = $ac_status" >&57268 (exit $ac_status); } &&7269 { ac_try='test -z "$ac_c_werror_flag"7270 || test ! -s conftest.err'7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57272 (eval $ac_try) 2>&57273 ac_status=$?7274 echo "$as_me:$LINENO: \$? = $ac_status" >&57275 (exit $ac_status); }; } &&7276 { ac_try='test -s conftest$ac_exeext'7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57278 (eval $ac_try) 2>&57279 ac_status=$?7280 echo "$as_me:$LINENO: \$? = $ac_status" >&57281 (exit $ac_status); }; }; then7282 ac_cv_lib_m_main=yes7283 else7284 echo "$as_me: failed program was:" >&57285 sed 's/^/| /' conftest.$ac_ext >&57286 7287 ac_cv_lib_m_main=no7288 fi7289 rm -f conftest.err conftest.$ac_objext \7290 conftest$ac_exeext conftest.$ac_ext7291 LIBS=$ac_check_lib_save_LIBS7292 fi7293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&57294 echo "${ECHO_T}$ac_cv_lib_m_main" >&67295 if test $ac_cv_lib_m_main = yes; then7296 cat >>confdefs.h <<_ACEOF7297 #define HAVE_LIBM 17298 _ACEOF7299 7300 LIBS="-lm $LIBS"7301 7302 fi7303 7304 7305 7306 # Checks for header files.7307 echo "$as_me:$LINENO: checking for ANSI C header files" >&57308 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&67309 if test "${ac_cv_header_stdc+set}" = set; then7310 echo $ECHO_N "(cached) $ECHO_C" >&67311 else7312 cat >conftest.$ac_ext <<_ACEOF7313 /* confdefs.h. */7314 _ACEOF7315 cat confdefs.h >>conftest.$ac_ext7316 cat >>conftest.$ac_ext <<_ACEOF7317 /* end confdefs.h. */7318 #include <stdlib.h>7319 #include <stdarg.h>7320 #include <string.h>7321 #include <float.h>7322 7323 int7324 main ()7325 {7326 7327 ;7328 return 0;7329 }7330 _ACEOF7331 rm -f conftest.$ac_objext7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57333 (eval $ac_compile) 2>conftest.er17334 ac_status=$?7335 grep -v '^ *+' conftest.er1 >conftest.err7336 rm -f conftest.er17337 cat conftest.err >&57338 echo "$as_me:$LINENO: \$? = $ac_status" >&57339 (exit $ac_status); } &&7340 { ac_try='test -z "$ac_c_werror_flag"7341 || test ! -s conftest.err'7342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57343 (eval $ac_try) 2>&57344 ac_status=$?7345 echo "$as_me:$LINENO: \$? = $ac_status" >&57346 (exit $ac_status); }; } &&7347 7541 { ac_try='test -s conftest.$ac_objext' 7348 7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 … … 7351 7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7352 7546 (exit $ac_status); }; }; then 7353 ac_cv_ header_stdc=yes7547 ac_cv_type__Bool=yes 7354 7548 else 7355 7549 echo "$as_me: failed program was:" >&5 7356 7550 sed 's/^/| /' conftest.$ac_ext >&5 7357 7551 7358 ac_cv_ header_stdc=no7552 ac_cv_type__Bool=no 7359 7553 fi 7360 7554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7361 7362 if test $ac_cv_header_stdc = yes; then 7363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7364 cat >conftest.$ac_ext <<_ACEOF 7365 /* confdefs.h. */ 7366 _ACEOF 7367 cat confdefs.h >>conftest.$ac_ext 7368 cat >>conftest.$ac_ext <<_ACEOF 7369 /* end confdefs.h. */ 7370 #include <string.h> 7371 7372 _ACEOF 7373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7374 $EGREP "memchr" >/dev/null 2>&1; then 7375 : 7376 else 7377 ac_cv_header_stdc=no 7378 fi 7379 rm -f conftest* 7380 7381 fi 7382 7383 if test $ac_cv_header_stdc = yes; then 7384 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7385 cat >conftest.$ac_ext <<_ACEOF 7386 /* confdefs.h. */ 7387 _ACEOF 7388 cat confdefs.h >>conftest.$ac_ext 7389 cat >>conftest.$ac_ext <<_ACEOF 7390 /* end confdefs.h. */ 7391 #include <stdlib.h> 7392 7393 _ACEOF 7394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7395 $EGREP "free" >/dev/null 2>&1; then 7396 : 7397 else 7398 ac_cv_header_stdc=no 7399 fi 7400 rm -f conftest* 7401 7402 fi 7403 7404 if test $ac_cv_header_stdc = yes; then 7405 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7406 if test "$cross_compiling" = yes; then 7407 : 7408 else 7409 cat >conftest.$ac_ext <<_ACEOF 7410 /* confdefs.h. */ 7411 _ACEOF 7412 cat confdefs.h >>conftest.$ac_ext 7413 cat >>conftest.$ac_ext <<_ACEOF 7414 /* end confdefs.h. */ 7415 #include <ctype.h> 7416 #if ((' ' & 0x0FF) == 0x020) 7417 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7418 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7419 #else 7420 # define ISLOWER(c) \ 7421 (('a' <= (c) && (c) <= 'i') \ 7422 || ('j' <= (c) && (c) <= 'r') \ 7423 || ('s' <= (c) && (c) <= 'z')) 7424 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7425 #endif 7426 7427 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7428 int 7429 main () 7430 { 7431 int i; 7432 for (i = 0; i < 256; i++) 7433 if (XOR (islower (i), ISLOWER (i)) 7434 || toupper (i) != TOUPPER (i)) 7435 exit(2); 7436 exit (0); 7437 } 7438 _ACEOF 7439 rm -f conftest$ac_exeext 7440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7441 (eval $ac_link) 2>&5 7442 ac_status=$? 7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7446 (eval $ac_try) 2>&5 7447 ac_status=$? 7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7449 (exit $ac_status); }; }; then 7450 : 7451 else 7452 echo "$as_me: program exited with status $ac_status" >&5 7453 echo "$as_me: failed program was:" >&5 7454 sed 's/^/| /' conftest.$ac_ext >&5 7455 7456 ( exit $ac_status ) 7457 ac_cv_header_stdc=no 7458 fi 7459 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7460 fi 7461 fi 7462 fi 7463 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7464 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7465 if test $ac_cv_header_stdc = yes; then 7555 fi 7556 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7557 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7558 if test $ac_cv_type__Bool = yes; then 7559 7560 cat >>confdefs.h <<_ACEOF 7561 #define HAVE__BOOL 1 7562 _ACEOF 7563 7564 7565 fi 7566 7567 if test $ac_cv_header_stdbool_h = yes; then 7466 7568 7467 7569 cat >>confdefs.h <<\_ACEOF 7468 #define STDC_HEADERS 1 7469 _ACEOF 7470 7471 fi 7472 7473 7474 7475 for ac_header in stdlib.h string.h 7570 #define HAVE_STDBOOL_H 1 7571 _ACEOF 7572 7573 fi 7574 7575 7576 # Checks for library functions. 7577 7578 for ac_header in stdlib.h 7476 7579 do 7477 7580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7622 7725 done 7623 7726 7624 7625 # Checks for typedefs, structures, and compiler characteristics.7626 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&57627 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&67628 if test "${ac_cv_header_stdbool_h+set}" = set; then7629 echo $ECHO_N "(cached) $ECHO_C" >&67630 else7631 cat >conftest.$ac_ext <<_ACEOF7632 /* confdefs.h. */7633 _ACEOF7634 cat confdefs.h >>conftest.$ac_ext7635 cat >>conftest.$ac_ext <<_ACEOF7636 /* end confdefs.h. */7637 7638 #include <stdbool.h>7639 #ifndef bool7640 # error bool is not defined7641 #endif7642 #ifndef false7643 # error false is not defined7644 #endif7645 #if false7646 # error false is not 07647 #endif7648 #ifndef true7649 # error true is not defined7650 #endif7651 #if true != 17652 # error true is not 17653 #endif7654 #ifndef __bool_true_false_are_defined7655 # error __bool_true_false_are_defined is not defined7656 #endif7657 7658 struct s { _Bool s: 1; _Bool t; } s;7659 7660 char a[true == 1 ? 1 : -1];7661 char b[false == 0 ? 1 : -1];7662 char c[__bool_true_false_are_defined == 1 ? 1 : -1];7663 char d[(bool) -0.5 == true ? 1 : -1];7664 bool e = &s;7665 char f[(_Bool) -0.0 == false ? 1 : -1];7666 char g[true];7667 char h[sizeof (_Bool)];7668 char i[sizeof s.t];7669 7670 int7671 main ()7672 {7673 return !a + !b + !c + !d + !e + !f + !g + !h + !i;7674 ;7675 return 0;7676 }7677 _ACEOF7678 rm -f conftest.$ac_objext7679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57680 (eval $ac_compile) 2>conftest.er17681 ac_status=$?7682 grep -v '^ *+' conftest.er1 >conftest.err7683 rm -f conftest.er17684 cat conftest.err >&57685 echo "$as_me:$LINENO: \$? = $ac_status" >&57686 (exit $ac_status); } &&7687 { ac_try='test -z "$ac_c_werror_flag"7688 || test ! -s conftest.err'7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57690 (eval $ac_try) 2>&57691 ac_status=$?7692 echo "$as_me:$LINENO: \$? = $ac_status" >&57693 (exit $ac_status); }; } &&7694 { ac_try='test -s conftest.$ac_objext'7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57696 (eval $ac_try) 2>&57697 ac_status=$?7698 echo "$as_me:$LINENO: \$? = $ac_status" >&57699 (exit $ac_status); }; }; then7700 ac_cv_header_stdbool_h=yes7701 else7702 echo "$as_me: failed program was:" >&57703 sed 's/^/| /' conftest.$ac_ext >&57704 7705 ac_cv_header_stdbool_h=no7706 fi7707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7708 fi7709 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&57710 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&67711 echo "$as_me:$LINENO: checking for _Bool" >&57712 echo $ECHO_N "checking for _Bool... $ECHO_C" >&67713 if test "${ac_cv_type__Bool+set}" = set; then7714 echo $ECHO_N "(cached) $ECHO_C" >&67715 else7716 cat >conftest.$ac_ext <<_ACEOF7717 /* confdefs.h. */7718 _ACEOF7719 cat confdefs.h >>conftest.$ac_ext7720 cat >>conftest.$ac_ext <<_ACEOF7721 /* end confdefs.h. */7722 $ac_includes_default7723 int7724 main ()7725 {7726 if ((_Bool *) 0)7727 return 0;7728 if (sizeof (_Bool))7729 return 0;7730 ;7731 return 0;7732 }7733 _ACEOF7734 rm -f conftest.$ac_objext7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57736 (eval $ac_compile) 2>conftest.er17737 ac_status=$?7738 grep -v '^ *+' conftest.er1 >conftest.err7739 rm -f conftest.er17740 cat conftest.err >&57741 echo "$as_me:$LINENO: \$? = $ac_status" >&57742 (exit $ac_status); } &&7743 { ac_try='test -z "$ac_c_werror_flag"7744 || test ! -s conftest.err'7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57746 (eval $ac_try) 2>&57747 ac_status=$?7748 echo "$as_me:$LINENO: \$? = $ac_status" >&57749 (exit $ac_status); }; } &&7750 { ac_try='test -s conftest.$ac_objext'7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57752 (eval $ac_try) 2>&57753 ac_status=$?7754 echo "$as_me:$LINENO: \$? = $ac_status" >&57755 (exit $ac_status); }; }; then7756 ac_cv_type__Bool=yes7757 else7758 echo "$as_me: failed program was:" >&57759 sed 's/^/| /' conftest.$ac_ext >&57760 7761 ac_cv_type__Bool=no7762 fi7763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7764 fi7765 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&57766 echo "${ECHO_T}$ac_cv_type__Bool" >&67767 if test $ac_cv_type__Bool = yes; then7768 7769 cat >>confdefs.h <<_ACEOF7770 #define HAVE__BOOL 17771 _ACEOF7772 7773 7774 fi7775 7776 if test $ac_cv_header_stdbool_h = yes; then7777 7778 cat >>confdefs.h <<\_ACEOF7779 #define HAVE_STDBOOL_H 17780 _ACEOF7781 7782 fi7783 7784 7785 # Checks for library functions.7786 7787 for ac_header in stdlib.h7788 do7789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7790 if eval "test \"\${$as_ac_Header+set}\" = set"; then7791 echo "$as_me:$LINENO: checking for $ac_header" >&57792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67793 if eval "test \"\${$as_ac_Header+set}\" = set"; then7794 echo $ECHO_N "(cached) $ECHO_C" >&67795 fi7796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67798 else7799 # Is the header compilable?7800 echo "$as_me:$LINENO: checking $ac_header usability" >&57801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67802 cat >conftest.$ac_ext <<_ACEOF7803 /* confdefs.h. */7804 _ACEOF7805 cat confdefs.h >>conftest.$ac_ext7806 cat >>conftest.$ac_ext <<_ACEOF7807 /* end confdefs.h. */7808 $ac_includes_default7809 #include <$ac_header>7810 _ACEOF7811 rm -f conftest.$ac_objext7812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57813 (eval $ac_compile) 2>conftest.er17814 ac_status=$?7815 grep -v '^ *+' conftest.er1 >conftest.err7816 rm -f conftest.er17817 cat conftest.err >&57818 echo "$as_me:$LINENO: \$? = $ac_status" >&57819 (exit $ac_status); } &&7820 { ac_try='test -z "$ac_c_werror_flag"7821 || test ! -s conftest.err'7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57823 (eval $ac_try) 2>&57824 ac_status=$?7825 echo "$as_me:$LINENO: \$? = $ac_status" >&57826 (exit $ac_status); }; } &&7827 { ac_try='test -s conftest.$ac_objext'7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57829 (eval $ac_try) 2>&57830 ac_status=$?7831 echo "$as_me:$LINENO: \$? = $ac_status" >&57832 (exit $ac_status); }; }; then7833 ac_header_compiler=yes7834 else7835 echo "$as_me: failed program was:" >&57836 sed 's/^/| /' conftest.$ac_ext >&57837 7838 ac_header_compiler=no7839 fi7840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57842 echo "${ECHO_T}$ac_header_compiler" >&67843 7844 # Is the header present?7845 echo "$as_me:$LINENO: checking $ac_header presence" >&57846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67847 cat >conftest.$ac_ext <<_ACEOF7848 /* confdefs.h. */7849 _ACEOF7850 cat confdefs.h >>conftest.$ac_ext7851 cat >>conftest.$ac_ext <<_ACEOF7852 /* end confdefs.h. */7853 #include <$ac_header>7854 _ACEOF7855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17857 ac_status=$?7858 grep -v '^ *+' conftest.er1 >conftest.err7859 rm -f conftest.er17860 cat conftest.err >&57861 echo "$as_me:$LINENO: \$? = $ac_status" >&57862 (exit $ac_status); } >/dev/null; then7863 if test -s conftest.err; then7864 ac_cpp_err=$ac_c_preproc_warn_flag7865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7866 else7867 ac_cpp_err=7868 fi7869 else7870 ac_cpp_err=yes7871 fi7872 if test -z "$ac_cpp_err"; then7873 ac_header_preproc=yes7874 else7875 echo "$as_me: failed program was:" >&57876 sed 's/^/| /' conftest.$ac_ext >&57877 7878 ac_header_preproc=no7879 fi7880 rm -f conftest.err conftest.$ac_ext7881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57882 echo "${ECHO_T}$ac_header_preproc" >&67883 7884 # So? What about this header?7885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7886 yes:no: )7887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7891 ac_header_preproc=yes7892 ;;7893 no:yes:* )7894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7906 (7907 cat <<\_ASBOX7908 ## ---------------------------------------------- ##7909 ## Report this to orxonox-dev at mail.datacore.ch ##7910 ## ---------------------------------------------- ##7911 _ASBOX7912 ) |7913 sed "s/^/$as_me: WARNING: /" >&27914 ;;7915 esac7916 echo "$as_me:$LINENO: checking for $ac_header" >&57917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67918 if eval "test \"\${$as_ac_Header+set}\" = set"; then7919 echo $ECHO_N "(cached) $ECHO_C" >&67920 else7921 eval "$as_ac_Header=\$ac_header_preproc"7922 fi7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67925 7926 fi7927 if test `eval echo '${'$as_ac_Header'}'` = yes; then7928 cat >>confdefs.h <<_ACEOF7929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17930 _ACEOF7931 7932 fi7933 7934 done7935 7936 7727 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 7937 7728 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 … … 8262 8053 Usually this means the macro was only invoked conditionally." >&5 8263 8054 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 8264 Usually this means the macro was only invoked conditionally." >&2;}8265 { (exit 1); exit 1; }; }8266 fi8267 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then8268 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.8269 Usually this means the macro was only invoked conditionally." >&58270 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.8271 8055 Usually this means the macro was only invoked conditionally." >&2;} 8272 8056 { (exit 1); exit 1; }; } … … 8868 8652 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 8869 8653 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 8654 s,@RANLIB@,$RANLIB,;t t 8655 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8870 8656 s,@CC@,$CC,;t t 8871 8657 s,@CFLAGS@,$CFLAGS,;t t … … 8890 8676 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8891 8677 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 8892 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t8893 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t8894 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t8895 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t8896 8678 s,@CURL_LIBS@,$CURL_LIBS,;t t 8897 8679 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t … … 9525 9307 # Extract the definition of DEP_FILES from the Makefile without 9526 9308 # running `make'. 9527 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`9309 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9528 9310 test -z "$DEPDIR" && continue 9529 9311 # When using ansi2knr, U may be empty or an underscore; expand it 9530 U=`sed -n -e '/^U = / s///p' < "$mf"`9312 U=`sed -n 's/^U = //p' < "$mf"` 9531 9313 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 9532 9314 # We invoke sed twice because it is the simplest approach to 9533 9315 # changing $(DEPDIR) to its actual value in the expansion. 9534 for file in `sed -n -e'9316 for file in `sed -n ' 9535 9317 /^DEP_FILES = .*\\\\$/ { 9536 9318 s/^DEP_FILES = // -
orxonox/branches/md2_loader/configure.ac
r3995 r4063 39 39 ######################### 40 40 AC_PROG_CXX 41 AC_PROG_RANLIB 41 42 AC_HEADER_STDC 42 43 … … 96 97 fi 97 98 if test x$def_gtk = xno; then 98 echo "no"99 fi100 101 #------------------#102 # gThread-disabled #103 #------------------#104 AC_MSG_CHECKING([if gThread should be enabled])105 AC_ARG_WITH([gthread],106 AC_HELP_STRING( [--without-gthread],107 [Prevents gThread from being loaded]), [def_gthread=no], [def_gthread=yes])108 if test x$def_gthread = xyes; then109 echo "yes"110 fi111 if test x$def_gthread = xno; then112 echo "no"113 fi114 115 #------------------#116 # pthread-disabled #117 #------------------#118 AC_MSG_CHECKING([if pthread should be enabled])119 AC_ARG_WITH([pthread],120 AC_HELP_STRING( [--without-pthread],121 [Prevents pthread from being loaded]), [def_pthread=no], [def_pthread=yes])122 if test x$def_pthread = xyes; then123 echo "yes"124 fi125 if test x$def_pthread = xno; then126 99 echo "no" 127 100 fi … … 481 454 482 455 #---------# 483 # gThread #484 #---------#485 if test x$def_gthread = xyes; then486 487 AC_MSG_CHECKING([for gthread])488 if `pkg-config --exists gthread-2.0`; then489 echo "yes"490 have_gthread=yes491 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`492 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`493 AC_DEFINE_UNQUOTED(HAVE_GTHREAD, 1, [if we have gThread])494 else495 echo "no"496 fi497 498 fi499 AC_SUBST(GTHREAD_LIBS)500 AC_SUBST(GTHREAD_CFLAGS)501 AM_CONDITIONAL(HAVE_GTHREAD, test x$have_gthread = xyes)502 503 #---------#504 456 # libcURL # 505 457 #---------# … … 521 473 AC_SUBST(CURL_CFLAGS) 522 474 AM_CONDITIONAL(HAVE_CURL, test x$have_curl = xyes) 523 524 #---------#525 # pthread #526 #---------#527 if test x$def_pthread = xyes ; then528 if test x$have_gthread = xyes ; then529 AC_CHECK_HEADERS([pthread.h], [pthreadHeader="yes"], [pthreadHeader="no"])530 AC_CHECK_LIB([pthread], [main], [FOUND_pthread=yes])531 if test x$FOUND_pthread = xyes ; then532 LIBS="$LIBS -lpthread"533 fi534 fi535 fi536 537 475 538 476 #--------# -
orxonox/branches/md2_loader/src/Makefile.am
r4010 r4063 10 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/particles 11 11 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui 12 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gui 12 13 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang 13 14 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util … … 23 24 24 25 25 AM_LDFLAGS= $(MWINDOWS)26 26 27 27 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include" 28 28 29 29 30 bin_PROGRAMS=orxonox 31 30 bin_PROGRAMS=orxonox 31 noinst_LIBRARIES = libORXgui.a 32 33 orxonox_DEPENDENCIES = libORXgui.a 34 orxonox_LDADD = libORXgui.a 32 35 orxonox_SOURCES= orxonox.cc \ 33 36 game_loader.cc \ … … 85 88 lib/xmlparser/tinystr.cc \ 86 89 lib/xmlparser/tinyxmlerror.cc \ 87 lib/xmlparser/tinyxmlparser.cc 88 90 lib/xmlparser/tinyxmlparser.cc 89 91 90 92 noinst_HEADERS = orxonox.h \ … … 147 149 lib/math/vector.h \ 148 150 lib/math/curve.h \ 149 glmenu/glmenu_imagescreen.h 151 glmenu/glmenu_imagescreen.h \ 152 lib/gui/gui/gui.h \ 153 lib/gui/gui/gui_gtk.h \ 154 lib/gui/gui/gui_element.h \ 155 lib/gui/gui/gui_video.h \ 156 lib/gui/gui/gui_audio.h \ 157 lib/gui/gui/gui_exec.h \ 158 lib/gui/gui/gui_flags.h \ 159 lib/gui/gui/gui_banner.h \ 160 lib/gui/gui/gui_keys.h \ 161 lib/gui/gui/gui_update.h 162 163 libORXgui_a_CPPFLAGS=$(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 164 AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 165 166 libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ 167 lib/gui/gui/gui_gtk.cc \ 168 lib/gui/gui/gui_element.cc \ 169 lib/gui/gui/gui_video.cc \ 170 lib/gui/gui/gui_audio.cc \ 171 lib/gui/gui/gui_exec.cc \ 172 lib/gui/gui/gui_flags.cc \ 173 lib/gui/gui/gui_banner.cc \ 174 lib/gui/gui/gui_keys.cc \ 175 lib/gui/gui/gui_update.cc 150 176 151 177 -
orxonox/branches/md2_loader/src/Makefile.in
r4010 r4063 16 16 17 17 18 SOURCES = $(orxonox_SOURCES) 18 19 SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 19 20 20 21 srcdir = @srcdir@ … … 50 51 CONFIG_HEADER = $(top_builddir)/config.h 51 52 CONFIG_CLEAN_FILES = 53 LIBRARIES = $(noinst_LIBRARIES) 54 AR = ar 55 ARFLAGS = cru 56 libORXgui_a_AR = $(AR) $(ARFLAGS) 57 libORXgui_a_LIBADD = 58 am_libORXgui_a_OBJECTS = libORXgui_a-gui.$(OBJEXT) \ 59 libORXgui_a-gui_gtk.$(OBJEXT) \ 60 libORXgui_a-gui_element.$(OBJEXT) \ 61 libORXgui_a-gui_video.$(OBJEXT) \ 62 libORXgui_a-gui_audio.$(OBJEXT) libORXgui_a-gui_exec.$(OBJEXT) \ 63 libORXgui_a-gui_flags.$(OBJEXT) \ 64 libORXgui_a-gui_banner.$(OBJEXT) \ 65 libORXgui_a-gui_keys.$(OBJEXT) \ 66 libORXgui_a-gui_update.$(OBJEXT) 67 libORXgui_a_OBJECTS = $(am_libORXgui_a_OBJECTS) 52 68 am__installdirs = "$(DESTDIR)$(bindir)" 53 69 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) … … 76 92 tinyxmlparser.$(OBJEXT) 77 93 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 78 orxonox_LDADD = $(LDADD)79 94 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 80 95 depcomp = $(SHELL) $(top_srcdir)/depcomp … … 96 111 @AMDEP_TRUE@ ./$(DEPDIR)/helper_parent.Po \ 97 112 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 113 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui.Po \ 114 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_audio.Po \ 115 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_banner.Po \ 116 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_element.Po \ 117 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_exec.Po \ 118 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_flags.Po \ 119 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_gtk.Po \ 120 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_keys.Po \ 121 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_update.Po \ 122 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_video.Po \ 98 123 @AMDEP_TRUE@ ./$(DEPDIR)/light.Po ./$(DEPDIR)/list.Po \ 99 124 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ … … 124 149 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 125 150 -o $@ 126 SOURCES = $( orxonox_SOURCES)127 DIST_SOURCES = $( orxonox_SOURCES)151 SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 152 DIST_SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 128 153 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 129 154 html-recursive info-recursive install-data-recursive \ … … 170 195 EXEEXT = @EXEEXT@ 171 196 GPROF = @GPROF@ 172 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@173 GTHREAD_LIBS = @GTHREAD_LIBS@174 197 GTK2_CFLAGS = @GTK2_CFLAGS@ 175 198 GTK2_LIBS = @GTK2_LIBS@ 176 199 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 177 200 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 178 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@179 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@180 201 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 181 202 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 198 219 PACKAGE_VERSION = @PACKAGE_VERSION@ 199 220 PATH_SEPARATOR = @PATH_SEPARATOR@ 221 RANLIB = @RANLIB@ 200 222 SET_MAKE = @SET_MAKE@ 201 223 SHELL = @SHELL@ … … 206 228 ac_ct_CC = @ac_ct_CC@ 207 229 ac_ct_CXX = @ac_ct_CXX@ 230 ac_ct_RANLIB = @ac_ct_RANLIB@ 208 231 ac_ct_STRIP = @ac_ct_STRIP@ 209 232 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 247 270 target_vendor = @target_vendor@ 248 271 MAINSRCDIR = . 249 AM_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/graphics -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/graphics/particles -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 -I$(MAINSRCDIR)/util -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common 250 AM_LDFLAGS = $(MWINDOWS) 272 AM_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/graphics -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/graphics/particles -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/gui/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 -I$(MAINSRCDIR)/util -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common 273 noinst_LIBRARIES = libORXgui.a 274 orxonox_DEPENDENCIES = libORXgui.a 275 orxonox_LDADD = libORXgui.a 251 276 orxonox_SOURCES = orxonox.cc \ 252 277 game_loader.cc \ … … 304 329 lib/xmlparser/tinystr.cc \ 305 330 lib/xmlparser/tinyxmlerror.cc \ 306 lib/xmlparser/tinyxmlparser.cc 331 lib/xmlparser/tinyxmlparser.cc 307 332 308 333 noinst_HEADERS = orxonox.h \ … … 365 390 lib/math/vector.h \ 366 391 lib/math/curve.h \ 367 glmenu/glmenu_imagescreen.h 392 glmenu/glmenu_imagescreen.h \ 393 lib/gui/gui/gui.h \ 394 lib/gui/gui/gui_gtk.h \ 395 lib/gui/gui/gui_element.h \ 396 lib/gui/gui/gui_video.h \ 397 lib/gui/gui/gui_audio.h \ 398 lib/gui/gui/gui_exec.h \ 399 lib/gui/gui/gui_flags.h \ 400 lib/gui/gui/gui_banner.h \ 401 lib/gui/gui/gui_keys.h \ 402 lib/gui/gui/gui_update.h 403 404 libORXgui_a_CPPFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 405 AM_LDFLAGS = $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 406 libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ 407 lib/gui/gui/gui_gtk.cc \ 408 lib/gui/gui/gui_element.cc \ 409 lib/gui/gui/gui_video.cc \ 410 lib/gui/gui/gui_audio.cc \ 411 lib/gui/gui/gui_exec.cc \ 412 lib/gui/gui/gui_flags.cc \ 413 lib/gui/gui/gui_banner.cc \ 414 lib/gui/gui/gui_keys.cc \ 415 lib/gui/gui/gui_update.cc 368 416 369 417 EXTRA_DIST = orxonox.conf \ … … 413 461 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 414 462 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 463 464 clean-noinstLIBRARIES: 465 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) 466 libORXgui.a: $(libORXgui_a_OBJECTS) $(libORXgui_a_DEPENDENCIES) 467 -rm -f libORXgui.a 468 $(libORXgui_a_AR) libORXgui.a $(libORXgui_a_OBJECTS) $(libORXgui_a_LIBADD) 469 $(RANLIB) libORXgui.a 415 470 install-binPROGRAMS: $(bin_PROGRAMS) 416 471 @$(NORMAL_INSTALL) … … 468 523 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ini_parser.Po@am__quote@ 469 524 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keynames.Po@am__quote@ 525 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui.Po@am__quote@ 526 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_audio.Po@am__quote@ 527 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_banner.Po@am__quote@ 528 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_element.Po@am__quote@ 529 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_exec.Po@am__quote@ 530 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_flags.Po@am__quote@ 531 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_gtk.Po@am__quote@ 532 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_keys.Po@am__quote@ 533 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_update.Po@am__quote@ 534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_video.Po@am__quote@ 470 535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/light.Po@am__quote@ 471 536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ … … 518 583 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 519 584 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 585 586 libORXgui_a-gui.o: lib/gui/gui/gui.cc 587 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui.Tpo" -c -o libORXgui_a-gui.o `test -f 'lib/gui/gui/gui.cc' || echo '$(srcdir)/'`lib/gui/gui/gui.cc; \ 588 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui.Tpo" "$(DEPDIR)/libORXgui_a-gui.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui.Tpo"; exit 1; fi 589 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui.cc' object='libORXgui_a-gui.o' libtool=no @AMDEPBACKSLASH@ 590 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui.TPo' @AMDEPBACKSLASH@ 591 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 592 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui.o `test -f 'lib/gui/gui/gui.cc' || echo '$(srcdir)/'`lib/gui/gui/gui.cc 593 594 libORXgui_a-gui.obj: lib/gui/gui/gui.cc 595 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui.Tpo" -c -o libORXgui_a-gui.obj `if test -f 'lib/gui/gui/gui.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui.cc'; fi`; \ 596 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui.Tpo" "$(DEPDIR)/libORXgui_a-gui.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui.Tpo"; exit 1; fi 597 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui.cc' object='libORXgui_a-gui.obj' libtool=no @AMDEPBACKSLASH@ 598 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui.TPo' @AMDEPBACKSLASH@ 599 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 600 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui.obj `if test -f 'lib/gui/gui/gui.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui.cc'; fi` 601 602 libORXgui_a-gui_gtk.o: lib/gui/gui/gui_gtk.cc 603 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_gtk.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" -c -o libORXgui_a-gui_gtk.o `test -f 'lib/gui/gui/gui_gtk.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_gtk.cc; \ 604 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" "$(DEPDIR)/libORXgui_a-gui_gtk.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo"; exit 1; fi 605 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_gtk.cc' object='libORXgui_a-gui_gtk.o' libtool=no @AMDEPBACKSLASH@ 606 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_gtk.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_gtk.TPo' @AMDEPBACKSLASH@ 607 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 608 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_gtk.o `test -f 'lib/gui/gui/gui_gtk.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_gtk.cc 609 610 libORXgui_a-gui_gtk.obj: lib/gui/gui/gui_gtk.cc 611 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_gtk.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" -c -o libORXgui_a-gui_gtk.obj `if test -f 'lib/gui/gui/gui_gtk.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_gtk.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_gtk.cc'; fi`; \ 612 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" "$(DEPDIR)/libORXgui_a-gui_gtk.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo"; exit 1; fi 613 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_gtk.cc' object='libORXgui_a-gui_gtk.obj' libtool=no @AMDEPBACKSLASH@ 614 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_gtk.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_gtk.TPo' @AMDEPBACKSLASH@ 615 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 616 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_gtk.obj `if test -f 'lib/gui/gui/gui_gtk.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_gtk.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_gtk.cc'; fi` 617 618 libORXgui_a-gui_element.o: lib/gui/gui/gui_element.cc 619 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_element.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_element.Tpo" -c -o libORXgui_a-gui_element.o `test -f 'lib/gui/gui/gui_element.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_element.cc; \ 620 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo" "$(DEPDIR)/libORXgui_a-gui_element.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo"; exit 1; fi 621 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_element.cc' object='libORXgui_a-gui_element.o' libtool=no @AMDEPBACKSLASH@ 622 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_element.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_element.TPo' @AMDEPBACKSLASH@ 623 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 624 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_element.o `test -f 'lib/gui/gui/gui_element.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_element.cc 625 626 libORXgui_a-gui_element.obj: lib/gui/gui/gui_element.cc 627 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_element.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_element.Tpo" -c -o libORXgui_a-gui_element.obj `if test -f 'lib/gui/gui/gui_element.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_element.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_element.cc'; fi`; \ 628 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo" "$(DEPDIR)/libORXgui_a-gui_element.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo"; exit 1; fi 629 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_element.cc' object='libORXgui_a-gui_element.obj' libtool=no @AMDEPBACKSLASH@ 630 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_element.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_element.TPo' @AMDEPBACKSLASH@ 631 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 632 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_element.obj `if test -f 'lib/gui/gui/gui_element.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_element.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_element.cc'; fi` 633 634 libORXgui_a-gui_video.o: lib/gui/gui/gui_video.cc 635 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_video.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_video.Tpo" -c -o libORXgui_a-gui_video.o `test -f 'lib/gui/gui/gui_video.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_video.cc; \ 636 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo" "$(DEPDIR)/libORXgui_a-gui_video.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo"; exit 1; fi 637 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_video.cc' object='libORXgui_a-gui_video.o' libtool=no @AMDEPBACKSLASH@ 638 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_video.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_video.TPo' @AMDEPBACKSLASH@ 639 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 640 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_video.o `test -f 'lib/gui/gui/gui_video.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_video.cc 641 642 libORXgui_a-gui_video.obj: lib/gui/gui/gui_video.cc 643 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_video.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_video.Tpo" -c -o libORXgui_a-gui_video.obj `if test -f 'lib/gui/gui/gui_video.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_video.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_video.cc'; fi`; \ 644 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo" "$(DEPDIR)/libORXgui_a-gui_video.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo"; exit 1; fi 645 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_video.cc' object='libORXgui_a-gui_video.obj' libtool=no @AMDEPBACKSLASH@ 646 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_video.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_video.TPo' @AMDEPBACKSLASH@ 647 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 648 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_video.obj `if test -f 'lib/gui/gui/gui_video.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_video.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_video.cc'; fi` 649 650 libORXgui_a-gui_audio.o: lib/gui/gui/gui_audio.cc 651 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_audio.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" -c -o libORXgui_a-gui_audio.o `test -f 'lib/gui/gui/gui_audio.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_audio.cc; \ 652 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" "$(DEPDIR)/libORXgui_a-gui_audio.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo"; exit 1; fi 653 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_audio.cc' object='libORXgui_a-gui_audio.o' libtool=no @AMDEPBACKSLASH@ 654 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_audio.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_audio.TPo' @AMDEPBACKSLASH@ 655 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 656 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_audio.o `test -f 'lib/gui/gui/gui_audio.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_audio.cc 657 658 libORXgui_a-gui_audio.obj: lib/gui/gui/gui_audio.cc 659 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_audio.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" -c -o libORXgui_a-gui_audio.obj `if test -f 'lib/gui/gui/gui_audio.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_audio.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_audio.cc'; fi`; \ 660 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" "$(DEPDIR)/libORXgui_a-gui_audio.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo"; exit 1; fi 661 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_audio.cc' object='libORXgui_a-gui_audio.obj' libtool=no @AMDEPBACKSLASH@ 662 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_audio.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_audio.TPo' @AMDEPBACKSLASH@ 663 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 664 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_audio.obj `if test -f 'lib/gui/gui/gui_audio.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_audio.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_audio.cc'; fi` 665 666 libORXgui_a-gui_exec.o: lib/gui/gui/gui_exec.cc 667 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_exec.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" -c -o libORXgui_a-gui_exec.o `test -f 'lib/gui/gui/gui_exec.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_exec.cc; \ 668 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" "$(DEPDIR)/libORXgui_a-gui_exec.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo"; exit 1; fi 669 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_exec.cc' object='libORXgui_a-gui_exec.o' libtool=no @AMDEPBACKSLASH@ 670 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_exec.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_exec.TPo' @AMDEPBACKSLASH@ 671 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 672 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_exec.o `test -f 'lib/gui/gui/gui_exec.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_exec.cc 673 674 libORXgui_a-gui_exec.obj: lib/gui/gui/gui_exec.cc 675 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_exec.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" -c -o libORXgui_a-gui_exec.obj `if test -f 'lib/gui/gui/gui_exec.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_exec.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_exec.cc'; fi`; \ 676 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" "$(DEPDIR)/libORXgui_a-gui_exec.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo"; exit 1; fi 677 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_exec.cc' object='libORXgui_a-gui_exec.obj' libtool=no @AMDEPBACKSLASH@ 678 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_exec.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_exec.TPo' @AMDEPBACKSLASH@ 679 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 680 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_exec.obj `if test -f 'lib/gui/gui/gui_exec.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_exec.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_exec.cc'; fi` 681 682 libORXgui_a-gui_flags.o: lib/gui/gui/gui_flags.cc 683 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_flags.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" -c -o libORXgui_a-gui_flags.o `test -f 'lib/gui/gui/gui_flags.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_flags.cc; \ 684 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" "$(DEPDIR)/libORXgui_a-gui_flags.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo"; exit 1; fi 685 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_flags.cc' object='libORXgui_a-gui_flags.o' libtool=no @AMDEPBACKSLASH@ 686 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_flags.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_flags.TPo' @AMDEPBACKSLASH@ 687 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 688 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_flags.o `test -f 'lib/gui/gui/gui_flags.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_flags.cc 689 690 libORXgui_a-gui_flags.obj: lib/gui/gui/gui_flags.cc 691 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_flags.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" -c -o libORXgui_a-gui_flags.obj `if test -f 'lib/gui/gui/gui_flags.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_flags.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_flags.cc'; fi`; \ 692 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" "$(DEPDIR)/libORXgui_a-gui_flags.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo"; exit 1; fi 693 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_flags.cc' object='libORXgui_a-gui_flags.obj' libtool=no @AMDEPBACKSLASH@ 694 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_flags.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_flags.TPo' @AMDEPBACKSLASH@ 695 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 696 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_flags.obj `if test -f 'lib/gui/gui/gui_flags.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_flags.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_flags.cc'; fi` 697 698 libORXgui_a-gui_banner.o: lib/gui/gui/gui_banner.cc 699 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_banner.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" -c -o libORXgui_a-gui_banner.o `test -f 'lib/gui/gui/gui_banner.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_banner.cc; \ 700 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" "$(DEPDIR)/libORXgui_a-gui_banner.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo"; exit 1; fi 701 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_banner.cc' object='libORXgui_a-gui_banner.o' libtool=no @AMDEPBACKSLASH@ 702 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_banner.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_banner.TPo' @AMDEPBACKSLASH@ 703 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 704 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_banner.o `test -f 'lib/gui/gui/gui_banner.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_banner.cc 705 706 libORXgui_a-gui_banner.obj: lib/gui/gui/gui_banner.cc 707 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_banner.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" -c -o libORXgui_a-gui_banner.obj `if test -f 'lib/gui/gui/gui_banner.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_banner.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_banner.cc'; fi`; \ 708 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" "$(DEPDIR)/libORXgui_a-gui_banner.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo"; exit 1; fi 709 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_banner.cc' object='libORXgui_a-gui_banner.obj' libtool=no @AMDEPBACKSLASH@ 710 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_banner.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_banner.TPo' @AMDEPBACKSLASH@ 711 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 712 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_banner.obj `if test -f 'lib/gui/gui/gui_banner.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_banner.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_banner.cc'; fi` 713 714 libORXgui_a-gui_keys.o: lib/gui/gui/gui_keys.cc 715 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_keys.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" -c -o libORXgui_a-gui_keys.o `test -f 'lib/gui/gui/gui_keys.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_keys.cc; \ 716 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" "$(DEPDIR)/libORXgui_a-gui_keys.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo"; exit 1; fi 717 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_keys.cc' object='libORXgui_a-gui_keys.o' libtool=no @AMDEPBACKSLASH@ 718 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_keys.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_keys.TPo' @AMDEPBACKSLASH@ 719 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 720 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_keys.o `test -f 'lib/gui/gui/gui_keys.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_keys.cc 721 722 libORXgui_a-gui_keys.obj: lib/gui/gui/gui_keys.cc 723 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_keys.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" -c -o libORXgui_a-gui_keys.obj `if test -f 'lib/gui/gui/gui_keys.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_keys.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_keys.cc'; fi`; \ 724 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" "$(DEPDIR)/libORXgui_a-gui_keys.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo"; exit 1; fi 725 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_keys.cc' object='libORXgui_a-gui_keys.obj' libtool=no @AMDEPBACKSLASH@ 726 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_keys.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_keys.TPo' @AMDEPBACKSLASH@ 727 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 728 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_keys.obj `if test -f 'lib/gui/gui/gui_keys.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_keys.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_keys.cc'; fi` 729 730 libORXgui_a-gui_update.o: lib/gui/gui/gui_update.cc 731 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_update.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_update.Tpo" -c -o libORXgui_a-gui_update.o `test -f 'lib/gui/gui/gui_update.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_update.cc; \ 732 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo" "$(DEPDIR)/libORXgui_a-gui_update.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo"; exit 1; fi 733 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_update.cc' object='libORXgui_a-gui_update.o' libtool=no @AMDEPBACKSLASH@ 734 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_update.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_update.TPo' @AMDEPBACKSLASH@ 735 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 736 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_update.o `test -f 'lib/gui/gui/gui_update.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_update.cc 737 738 libORXgui_a-gui_update.obj: lib/gui/gui/gui_update.cc 739 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_update.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_update.Tpo" -c -o libORXgui_a-gui_update.obj `if test -f 'lib/gui/gui/gui_update.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_update.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_update.cc'; fi`; \ 740 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo" "$(DEPDIR)/libORXgui_a-gui_update.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo"; exit 1; fi 741 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_update.cc' object='libORXgui_a-gui_update.obj' libtool=no @AMDEPBACKSLASH@ 742 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_update.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_update.TPo' @AMDEPBACKSLASH@ 743 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 744 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_update.obj `if test -f 'lib/gui/gui/gui_update.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_update.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_update.cc'; fi` 520 745 521 746 camera.o: world_entities/camera.cc … … 1409 1634 1410 1635 distdir: $(DISTFILES) 1411 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/particles $(distdir)/lib/ lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities1636 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/particles $(distdir)/lib/gui/gui $(distdir)/lib/lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities 1412 1637 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 1413 1638 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 1451 1676 check-am: all-am 1452 1677 check: check-recursive 1453 all-am: Makefile $( PROGRAMS) $(HEADERS)1678 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) 1454 1679 installdirs: installdirs-recursive 1455 1680 installdirs-am: … … 1483 1708 clean: clean-recursive 1484 1709 1485 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am 1710 clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ 1711 mostlyclean-am 1486 1712 1487 1713 distclean: distclean-recursive … … 1533 1759 1534 1760 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ 1535 clean clean-binPROGRAMS clean-generic clean- recursive ctags\1536 c tags-recursive distclean distclean-compile distclean-generic\1537 distclean- recursive distclean-tags distdir dvi dvi-am html\1538 html-am info info-am install install-am install-binPROGRAMS\1539 install -data install-data-am install-exec install-exec-am\1540 install- info install-info-am install-man install-strip\1541 install check installcheck-am installdirs installdirs-am\1542 maintainer-clean maintainer-clean-generic\1543 maintainer-clean- recursive mostlyclean mostlyclean-compile \1544 mostlyclean -generic mostlyclean-recursive pdf pdf-am ps ps-am\1545 tags tags-recursive uninstall uninstall-am\1546 uninstall -binPROGRAMS uninstall-info-am1761 clean clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ 1762 clean-recursive ctags ctags-recursive distclean \ 1763 distclean-compile distclean-generic distclean-recursive \ 1764 distclean-tags distdir dvi dvi-am html html-am info info-am \ 1765 install install-am install-binPROGRAMS install-data \ 1766 install-data-am install-exec install-exec-am install-info \ 1767 install-info-am install-man install-strip installcheck \ 1768 installcheck-am installdirs installdirs-am maintainer-clean \ 1769 maintainer-clean-generic maintainer-clean-recursive \ 1770 mostlyclean mostlyclean-compile mostlyclean-generic \ 1771 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 1772 uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am 1547 1773 1548 1774 -
orxonox/branches/md2_loader/src/lib/Makefile.in
r3789 r4063 89 89 EXEEXT = @EXEEXT@ 90 90 GPROF = @GPROF@ 91 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@92 GTHREAD_LIBS = @GTHREAD_LIBS@93 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 94 92 GTK2_LIBS = @GTK2_LIBS@ 95 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 96 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 97 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@98 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@99 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 100 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 117 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 118 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 119 116 SET_MAKE = @SET_MAKE@ 120 117 SHELL = @SHELL@ … … 125 122 ac_ct_CC = @ac_ct_CC@ 126 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 127 125 ac_ct_STRIP = @ac_ct_STRIP@ 128 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/lib/graphics/Makefile.in
r3789 r4063 89 89 EXEEXT = @EXEEXT@ 90 90 GPROF = @GPROF@ 91 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@92 GTHREAD_LIBS = @GTHREAD_LIBS@93 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 94 92 GTK2_LIBS = @GTK2_LIBS@ 95 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 96 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 97 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@98 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@99 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 100 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 117 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 118 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 119 116 SET_MAKE = @SET_MAKE@ 120 117 SHELL = @SHELL@ … … 125 122 ac_ct_CC = @ac_ct_CC@ 126 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 127 125 ac_ct_STRIP = @ac_ct_STRIP@ 128 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/lib/graphics/importer/Makefile.in
r3907 r4063 119 119 EXEEXT = @EXEEXT@ 120 120 GPROF = @GPROF@ 121 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@122 GTHREAD_LIBS = @GTHREAD_LIBS@123 121 GTK2_CFLAGS = @GTK2_CFLAGS@ 124 122 GTK2_LIBS = @GTK2_LIBS@ 125 123 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 126 124 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 127 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@128 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@129 125 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 130 126 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 147 143 PACKAGE_VERSION = @PACKAGE_VERSION@ 148 144 PATH_SEPARATOR = @PATH_SEPARATOR@ 145 RANLIB = @RANLIB@ 149 146 SET_MAKE = @SET_MAKE@ 150 147 SHELL = @SHELL@ … … 155 152 ac_ct_CC = @ac_ct_CC@ 156 153 ac_ct_CXX = @ac_ct_CXX@ 154 ac_ct_RANLIB = @ac_ct_RANLIB@ 157 155 ac_ct_STRIP = @ac_ct_STRIP@ 158 156 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/lib/graphics/importer/model.cc
r4023 r4063 35 35 */ 36 36 ModelFaceElement::ModelFaceElement() 37 {} 37 { 38 this->next = NULL; 39 } 38 40 39 41 /** … … 42 44 ModelFaceElement::~ModelFaceElement() 43 45 { 46 if (this->next) 47 delete this->next; 48 } 49 50 /** 51 \brief creates a new ModelFace 52 */ 53 ModelFace::ModelFace() 54 { 55 this->vertexCount = 0; 56 57 this->firstElem = NULL; 58 59 this->material = NULL; 60 61 this->next = NULL; 62 63 } 64 65 /** 66 \brief deletes a ModelFace 67 */ 68 ModelFace::~ModelFace() 69 { 70 PRINTF(5)("Cleaning up Face\n"); 71 72 if (this->firstElem != NULL) 73 delete this->firstElem; 74 44 75 if (this->next != NULL) 45 76 delete this->next; 46 }47 48 /**49 \brief creates a new ModelFace50 */51 ModelFace::ModelFace()52 {53 this->vertexCount = 0;54 55 this->firstElem = NULL;56 57 this->material = NULL;58 59 this->next = NULL;60 61 }62 63 /**64 \brief deletes a ModelFace65 */66 ModelFace::~ModelFace()67 {68 PRINTF(5)("Cleaning up Face\n");69 70 if (this->firstElem != NULL)71 {72 delete this->firstElem;73 }74 75 if (this->next != NULL)76 {77 delete this->next;78 }79 80 77 } 81 78 … … 102 99 PRINTF(5)("Cleaning up group\n"); 103 100 if (this->firstFace != NULL) 104 { 105 delete this->firstFace; 106 } 101 delete this->firstFace; 107 102 108 103 if (this->next !=NULL) … … 175 170 176 171 PRINTF(5)("Deleting display Lists.\n"); 177 ModelGroup* walker = this->firstGroup; 178 while (walker != NULL) 179 { 180 glDeleteLists (walker->listNumber, 1); 181 ModelGroup* delWalker = walker; 182 walker = walker->next; 183 delete delWalker; 184 } 172 delete this->firstGroup; 185 173 186 174 // deleting Arrays … … 191 179 tIterator<Material>* tmpIt = this->materialList->getIterator(); 192 180 Material* material = tmpIt->nextElement(); 181 182 //! \todo do we really have to delete this material?? 193 183 while(material) 194 184 { … … 227 217 { 228 218 PRINTF(4)("drawing the 3D-Models\n"); 229 ModelGroup* walker= this->firstGroup;230 while ( walker!= NULL)231 { 232 PRINTF(5)("Drawing model %s\n", walker->name);233 glCallList ( walker->listNumber);234 walker = walker->next;219 ModelGroup* tmpGroup = this->firstGroup; 220 while (tmpGroup != NULL) 221 { 222 PRINTF(5)("Drawing model %s\n", tmpGroup->name); 223 glCallList (tmpGroup->listNumber); 224 tmpGroup = tmpGroup->next; 235 225 } 236 226 } … … 250 240 } 251 241 PRINTF(4)("drawing the requested 3D-Models if found.\n"); 252 ModelGroup* walker= this->firstGroup;242 ModelGroup* tmpGroup = this->firstGroup; 253 243 int counter = 0; 254 while ( walker!= NULL)244 while (tmpGroup != NULL) 255 245 { 256 246 if (counter == groupNumber) 257 247 { 258 PRINTF(4)("Drawing model number %i named %s\n", counter, walker->name);259 glCallList ( walker->listNumber);248 PRINTF(4)("Drawing model number %i named %s\n", counter, tmpGroup->name); 249 glCallList (tmpGroup->listNumber); 260 250 return; 261 251 } 262 252 ++counter; 263 walker = walker->next;253 tmpGroup = tmpGroup->next; 264 254 } 265 255 PRINTF(2)("Model number %i in %s not Found.\n", groupNumber, this->name); … … 277 267 { 278 268 PRINTF(4)("drawing the requested 3D-Models if found.\n"); 279 ModelGroup* walker= this->firstGroup;280 while ( walker!= NULL)281 { 282 if (!strcmp( walker->name, groupName))269 ModelGroup* tmpGroup = this->firstGroup; 270 while (tmpGroup != NULL) 271 { 272 if (!strcmp(tmpGroup->name, groupName)) 283 273 { 284 PRINTF(4)("Drawing model %s\n", walker->name);285 glCallList ( walker->listNumber);274 PRINTF(4)("Drawing model %s\n", tmpGroup->name); 275 glCallList (tmpGroup->listNumber); 286 276 return; 287 277 } 288 walker = walker->next;278 tmpGroup = tmpGroup->next; 289 279 } 290 280 PRINTF(2)("Model Named %s in %s not Found.\n", groupName, this->name); 291 281 return; 292 }293 294 /**295 \returns Count of the Models in this File296 */297 int Model::getGroupCount (void) const298 {299 return this->groupCount;300 282 } 301 283 … … 331 313 if (this->normals) 332 314 delete this->normals; 315 333 316 this->vertices = NULL; 334 317 this->vTexture = NULL; … … 410 393 With it you should be able to create Models with more than one SubModel inside 411 394 */ 412 bool Model::addGroup 395 bool Model::addGroup(const char* groupString) 413 396 { 414 397 PRINTF(5)("Read Group: %s.\n", groupString); … … 594 577 595 578 ModelFaceElement* tmpElem = this->currentGroup->currentFace->firstElem = new ModelFaceElement; 596 tmpElem->next = NULL;597 579 598 580 va_list itemlist; … … 603 585 if (this->currentGroup->currentFace->vertexCount>0) 604 586 tmpElem = tmpElem->next = new ModelFaceElement; 605 tmpElem->next = NULL;606 587 607 588 tmpElem->vertexNumber = va_arg (itemlist, int) -1; … … 834 815 glNormalPointer(3, 0, this->normals->getArray()); 835 816 glTexCoordPointer(2, GL_FLOAT, 0, this->vTexture->getArray()); 836 837 817 } 838 818 … … 859 839 if (elem->vertexNumber != -1) 860 840 glVertex3fv(this->vertices->getArray() + elem->vertexNumber * 3); 861 862 841 } 863 842 -
orxonox/branches/md2_loader/src/lib/graphics/importer/model.h
r4023 r4063 139 139 void draw(int groupNumber) const; 140 140 void draw(char* groupName) const; 141 int getGroupCount() const; 141 142 /** \returns Count of the Models (Groups) in this File */ 143 inline int getGroupCount(void) const {return this->groupCount;} 142 144 143 145 Material* addMaterial(Material* material); -
orxonox/branches/md2_loader/src/lib/graphics/importer/objModel.cc
r3916 r4063 196 196 this->mtlFileName = new char [strlen(mtlFile)+1]; 197 197 strcpy(this->mtlFileName, mtlFile); 198 char* fileName = new char [strlen(objPath) + strlen(this->mtlFileName)+1]; 199 strcpy(fileName, this->objPath); 200 strcat(fileName, this->mtlFileName); 198 char* fileName = new char [strlen(this->objPath) + strlen(this->mtlFileName)+1]; 199 sprintf(fileName, "%s%s", this->objPath, this->mtlFileName); 201 200 202 201 -
orxonox/branches/md2_loader/src/lib/gui/Makefile.in
r3789 r4063 89 89 EXEEXT = @EXEEXT@ 90 90 GPROF = @GPROF@ 91 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@92 GTHREAD_LIBS = @GTHREAD_LIBS@93 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 94 92 GTK2_LIBS = @GTK2_LIBS@ 95 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 96 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 97 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@98 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@99 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 100 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 117 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 118 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 119 116 SET_MAKE = @SET_MAKE@ 120 117 SHELL = @SHELL@ … … 125 122 ac_ct_CC = @ac_ct_CC@ 126 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 127 125 ac_ct_STRIP = @ac_ct_STRIP@ 128 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/lib/gui/console/Makefile.in
r3789 r4063 107 107 EXEEXT = @EXEEXT@ 108 108 GPROF = @GPROF@ 109 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@110 GTHREAD_LIBS = @GTHREAD_LIBS@111 109 GTK2_CFLAGS = @GTK2_CFLAGS@ 112 110 GTK2_LIBS = @GTK2_LIBS@ 113 111 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 114 112 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 115 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@116 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@117 113 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 118 114 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 136 132 PACKAGE_VERSION = @PACKAGE_VERSION@ 137 133 PATH_SEPARATOR = @PATH_SEPARATOR@ 134 RANLIB = @RANLIB@ 138 135 SET_MAKE = @SET_MAKE@ 139 136 SHELL = @SHELL@ … … 144 141 ac_ct_CC = @ac_ct_CC@ 145 142 ac_ct_CXX = @ac_ct_CXX@ 143 ac_ct_RANLIB = @ac_ct_RANLIB@ 146 144 ac_ct_STRIP = @ac_ct_STRIP@ 147 145 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/lib/gui/gui/Makefile.am
r4024 r4063 11 11 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer 12 12 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui 13 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gui 13 14 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang 14 15 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util … … 24 25 25 26 bin_PROGRAMS=gui 26 gui_SOURCES=orxonox_gui.cc \ 27 orxonox_gui_gtk.cc \ 28 orxonox_gui_element.cc \ 29 orxonox_gui_video.cc \ 30 orxonox_gui_audio.cc \ 31 orxonox_gui_exec.cc \ 32 orxonox_gui_flags.cc \ 33 orxonox_gui_banner.cc \ 34 orxonox_gui_keys.cc \ 35 orxonox_gui_update.cc 27 gui_SOURCES=gui_main.cc \ 28 gui.cc \ 29 gui_gtk.cc \ 30 gui_element.cc \ 31 gui_video.cc \ 32 gui_audio.cc \ 33 gui_exec.cc \ 34 gui_flags.cc \ 35 gui_banner.cc \ 36 gui_keys.cc \ 37 gui_update.cc 36 38 37 noinst_HEADERS= orxonox_gui.h \38 orxonox_gui_gtk.h \39 orxonox_gui_element.h \40 orxonox_gui_video.h \41 orxonox_gui_audio.h \42 orxonox_gui_exec.h \43 orxonox_gui_flags.h \44 orxonox_gui_banner.h \45 orxonox_gui_keys.h \46 orxonox_gui_update.h39 noinst_HEADERS=gui.h \ 40 gui_gtk.h \ 41 gui_element.h \ 42 gui_video.h \ 43 gui_audio.h \ 44 gui_exec.h \ 45 gui_flags.h \ 46 gui_banner.h \ 47 gui_keys.h \ 48 gui_update.h 47 49 48 50 # uncomment the following if orxonox requires the mathlibrary -
orxonox/branches/md2_loader/src/lib/gui/gui/Makefile.in
r4024 r4063 53 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 54 54 PROGRAMS = $(bin_PROGRAMS) 55 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_gtk.$(OBJEXT) \ 56 orxonox_gui_element.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \ 57 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \ 58 orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \ 59 orxonox_gui_keys.$(OBJEXT) orxonox_gui_update.$(OBJEXT) 55 am_gui_OBJECTS = gui_main.$(OBJEXT) gui.$(OBJEXT) gui_gtk.$(OBJEXT) \ 56 gui_element.$(OBJEXT) gui_video.$(OBJEXT) gui_audio.$(OBJEXT) \ 57 gui_exec.$(OBJEXT) gui_flags.$(OBJEXT) gui_banner.$(OBJEXT) \ 58 gui_keys.$(OBJEXT) gui_update.$(OBJEXT) 60 59 gui_OBJECTS = $(am_gui_OBJECTS) 61 60 gui_LDADD = $(LDADD) … … 63 62 depcomp = $(SHELL) $(top_srcdir)/depcomp 64 63 am__depfiles_maybe = depfiles 65 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \ 66 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \ 67 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_banner.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_element.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_flags.Po \ 71 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_gtk.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_keys.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_update.Po \ 74 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po 64 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/gui.Po ./$(DEPDIR)/gui_audio.Po \ 65 @AMDEP_TRUE@ ./$(DEPDIR)/gui_banner.Po \ 66 @AMDEP_TRUE@ ./$(DEPDIR)/gui_element.Po ./$(DEPDIR)/gui_exec.Po \ 67 @AMDEP_TRUE@ ./$(DEPDIR)/gui_flags.Po ./$(DEPDIR)/gui_gtk.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/gui_keys.Po ./$(DEPDIR)/gui_main.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/gui_update.Po ./$(DEPDIR)/gui_video.Po 75 70 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 76 71 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 117 112 EXEEXT = @EXEEXT@ 118 113 GPROF = @GPROF@ 119 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@120 GTHREAD_LIBS = @GTHREAD_LIBS@121 114 GTK2_CFLAGS = @GTK2_CFLAGS@ 122 115 GTK2_LIBS = @GTK2_LIBS@ 123 116 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 124 117 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 125 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@126 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@127 118 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 128 119 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 145 136 PACKAGE_VERSION = @PACKAGE_VERSION@ 146 137 PATH_SEPARATOR = @PATH_SEPARATOR@ 138 RANLIB = @RANLIB@ 147 139 SET_MAKE = @SET_MAKE@ 148 140 SHELL = @SHELL@ … … 153 145 ac_ct_CC = @ac_ct_CC@ 154 146 ac_ct_CXX = @ac_ct_CXX@ 147 ac_ct_RANLIB = @ac_ct_RANLIB@ 155 148 ac_ct_STRIP = @ac_ct_STRIP@ 156 149 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 194 187 target_vendor = @target_vendor@ 195 188 MAINSRCDIR = ../../.. 196 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) -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)/ai189 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) -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/gui/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 197 190 198 191 #AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) 199 192 AM_LDFLAGS = $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 200 gui_SOURCES = orxonox_gui.cc \ 201 orxonox_gui_gtk.cc \ 202 orxonox_gui_element.cc \ 203 orxonox_gui_video.cc \ 204 orxonox_gui_audio.cc \ 205 orxonox_gui_exec.cc \ 206 orxonox_gui_flags.cc \ 207 orxonox_gui_banner.cc \ 208 orxonox_gui_keys.cc \ 209 orxonox_gui_update.cc 210 211 noinst_HEADERS = orxonox_gui.h \ 212 orxonox_gui_gtk.h \ 213 orxonox_gui_element.h \ 214 orxonox_gui_video.h \ 215 orxonox_gui_audio.h \ 216 orxonox_gui_exec.h \ 217 orxonox_gui_flags.h \ 218 orxonox_gui_banner.h \ 219 orxonox_gui_keys.h \ 220 orxonox_gui_update.h 193 gui_SOURCES = gui_main.cc \ 194 gui.cc \ 195 gui_gtk.cc \ 196 gui_element.cc \ 197 gui_video.cc \ 198 gui_audio.cc \ 199 gui_exec.cc \ 200 gui_flags.cc \ 201 gui_banner.cc \ 202 gui_keys.cc \ 203 gui_update.cc 204 205 noinst_HEADERS = gui.h \ 206 gui_gtk.h \ 207 gui_element.h \ 208 gui_video.h \ 209 gui_audio.h \ 210 gui_exec.h \ 211 gui_flags.h \ 212 gui_banner.h \ 213 gui_keys.h \ 214 gui_update.h 221 215 222 216 … … 296 290 -rm -f *.tab.c 297 291 298 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui.Po@am__quote@ 299 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_audio.Po@am__quote@ 300 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_banner.Po@am__quote@ 301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_element.Po@am__quote@ 302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_exec.Po@am__quote@ 303 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_flags.Po@am__quote@ 304 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_gtk.Po@am__quote@ 305 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_keys.Po@am__quote@ 306 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_update.Po@am__quote@ 307 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_video.Po@am__quote@ 292 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ 293 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_audio.Po@am__quote@ 294 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_banner.Po@am__quote@ 295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_element.Po@am__quote@ 296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_exec.Po@am__quote@ 297 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_flags.Po@am__quote@ 298 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_gtk.Po@am__quote@ 299 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_keys.Po@am__quote@ 300 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_main.Po@am__quote@ 301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_update.Po@am__quote@ 302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_video.Po@am__quote@ 308 303 309 304 .cc.o: -
orxonox/branches/md2_loader/src/lib/gui/gui/rc
r3423 r4063 1 # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..." 2 # 3 pixmap_path "/usr/include/X11R6/pixmaps:/home/imain/pixmaps" 4 # 5 # style <name> [= <name>] 6 # { 7 # <option> 8 # } 9 # 10 # widget <widget_set> style <style_name> 11 # widget_class <widget_class_set> style <style_name> 1 static const gchar* rc_string = 2 ( 3 "style'window'" 4 "{" 5 "bg[NORMAL] = { 0, 0, 0 }" 6 "fg[NORMAL] = { 0, 1.0, 0 }" 7 "base[NORMAL] = { 0, 0, 0 }" 8 "base[INSENSITIVE] = { 0, 0, 0 }" 9 "}" 12 10 13 # Here is a list of all the possible states. Note that some do not apply to 14 # certain widgets. 15 # 16 # NORMAL - The normal state of a widget, without the mouse over top of 17 # it, and not being pressed, etc. 18 # 19 # PRELIGHT - When the mouse is over top of the widget, colors defined 20 # using this state will be in effect. 21 # 22 # ACTIVE - When the widget is pressed or clicked it will be active, and 23 # the attributes assigned by this tag will be in effect. 24 # 25 # INSENSITIVE - When a widget is set insensitive, and cannot be 26 # activated, it will take these attributes. 27 # 28 # SELECTED - When an object is selected, it takes these attributes. 29 # 30 # Given these states, we can set the attributes of the widgets in each of 31 # these states using the following directives. 32 # 33 # fg - Sets the foreground color of a widget. 34 # bg - Sets the background color of a widget. 35 # bg_pixmap - Sets the background of a widget to a tiled pixmap. 36 # font - Sets the font to be used with the given widget. 37 # 11 "style'scale'" 12 "{" 13 "fg[NORMAL] = { 0, 1.0, 0 }" 14 "bg[NORMAL] = { 0, 1.0, 0 }" 15 "bg[INSENSITIVE] = { 0, 1.0, 0 }" 16 "bg[PRELIGHT] = { 0, 1.0, 0 }" 17 "bg[ACTIVE] = {0.2, 0.2, 0.2 }" 18 "}" 38 19 39 # This sets a style called "button". The name is not really important, as 40 # it is assigned to the actual widgets at the bottom of the file. 20 "style'button'" 21 "{" 22 "fg[PRELIGHT] = { 0, 0, 0 }" 23 "bg[PRELIGHT] = { 0, 1.0, 0 }" 24 "bg[ACTIVE] = { 0, 1.0, 0 }" 25 "fg[ACTIVE] = { 0, 1.0, 0 }" 26 "bg[NORMAL] = { 0, 0, 0 }" 27 "fg[NORMAL] = { 0, 1.0, 0 }" 28 "bg[INSENSITIVE] = { 1.0, 0, 1.0 }" 29 "fg[INSENSITIVE] = { 1.0, 0, 1.0 }" 30 "base[NORMAL] = { 0, 1.0, 0 }" 31 "base[PRELIGHT] = { 0, 1.0, 0 }" 32 "}" 41 33 42 style "window" 43 { 44 #This sets the padding around the window to the pixmap specified. 45 #bg_pixmap[<STATE>] = "<pixmap filename>" 46 #bg_pixmap[NORMAL] = "warning.xpm" 47 bg[NORMAL] = { 0, 0, 0 } 48 fg[NORMAL] = { 0, 1.0, 0 } 49 base[NORMAL] = { 0, 0, 0 } 50 base[INSENSITIVE] = { 0, 0, 0 } 51 } 34 "style'main_button' = 'button'" 35 "{" 36 "font = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'" 37 "bg[PRELIGHT] = { 0, 0.75, 0 }" 38 "}" 52 39 53 style "scale" 54 { 55 #Sets the foreground color (font color) to red when in the "NORMAL" 56 #state. 57 58 fg[NORMAL] = { 0, 1.0, 0 } 59 bg[NORMAL] = { 0, 1.0, 0 } 60 bg[INSENSITIVE] = { 0, 1.0, 0 } 61 bg[PRELIGHT] = { 0, 1.0, 0 } 62 bg[ACTIVE] = {0.2, 0.2, 0.2 } 63 64 #Sets the background pixmap of this widget to that of its parent. 65 bg_pixmap[NORMAL] = "<parent>" 66 } 40 "style'toggle_button' = 'button'" 41 "{" 42 "fg[NORMAL] = { 0, 1.0, 0 }" 43 "fg[ACTIVE] = { 0, 1.0, 0 }" 44 "text[NORMAL] = { 0, 0, 0}" 45 "}" 67 46 68 style "button" 69 { 70 # This shows all the possible states for a button. The only one that 71 # doesn't apply is the SELECTED state. 72 73 fg[PRELIGHT] = { 0, 0, 0 } 74 bg[PRELIGHT] = { 0, 1.0, 0 } 75 bg[ACTIVE] = { 0, 1.0, 0 } 76 fg[ACTIVE] = { 0, 1.0, 0 } 77 bg[NORMAL] = { 0, 0, 0 } 78 fg[NORMAL] = { 0, 1.0, 0 } 79 bg[INSENSITIVE] = { 1.0, 0, 1.0 } 80 fg[INSENSITIVE] = { 1.0, 0, 1.0 } 81 base[NORMAL] = { 0, 1.0, 0 } 82 base[PRELIGHT] = { 0, 1.0, 0 } 83 } 47 "style'text'" 48 "{" 49 "fg[NORMAL] = { 0, 1.0, 0 }" 50 "}" 84 51 85 # In this example, we inherit the attributes of the "button" style and then 86 # override the font and background color when prelit to create a new 87 # "main_button" style. 52 "style'ruler'" 53 "{" 54 "font = '-adobe-helvetica-medium-r-normal--*-20-*-*-*-*-*-*'" 55 "}" 88 56 89 style "main_button" = "button" 90 { 91 font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" 92 bg[PRELIGHT] = { 0, 0.75, 0 } 93 } 57 "widget'GtkWindow' style'window'" 58 "widget'GtkFrame' style'window'" 59 "widget'Gtk*EventBox' style'window'" 60 "widget'GtkDialog' style'window'" 61 "widget'GtkFileSelection' style'window'" 62 "widget'*Gtk*Scale' style'scale'" 63 "widget'*GtkCheckButton*' style'toggle_button'" 64 "widget'*Gtk*Menu*' style'toggle_button'" 65 "widget'*GtkRadioButton*' style'toggle_button'" 66 "widget'*GtkButton*' style'button'" 67 "widget'*Ruler' style'ruler'" 68 "widget'*GtkText' style'text'" 69 "widget'*GtkLabel' style'text'" 94 70 95 style "toggle_button" = "button" 96 { 97 fg[NORMAL] = { 0, 1.0, 0 } 98 fg[ACTIVE] = { 0, 1.0, 0 } 99 text[NORMAL] = { 0, 0, 0} 100 # This sets the background pixmap of the toggle_button to that of its 101 # parent widget (as defined in the application). 102 #bg_pixmap[NORMAL] = "<parent>" 103 } 104 105 style "text" 106 { 107 #bg_pixmap[NORMAL] = "marble.xpm" 108 fg[NORMAL] = { 0, 1.0, 0 } 109 } 110 111 style "ruler" 112 { 113 font = "-adobe-helvetica-medium-r-normal--*-20-*-*-*-*-*-*" 114 } 115 116 # pixmap_path "~/.pixmaps" 117 118 # These set the widget types to use the styles defined above. 119 # The widget types are listed in the class hierarchy, but could probably be 120 # just listed in this document for the users reference. 121 122 widget_class "GtkWindow" style "window" 123 widget_class "GtkFrame" style "window" 124 widget_class "Gtk*EventBox" style "window" 125 widget_class "GtkDialog" style "window" 126 widget_class "GtkFileSelection" style "window" 127 widget_class "*Gtk*Scale" style "scale" 128 widget_class "*GtkCheckButton*" style "toggle_button" 129 widget_class "*Gtk*Menu*" style "toggle_button" 130 widget_class "*GtkRadioButton*" style "toggle_button" 131 widget_class "*GtkButton*" style "button" 132 widget_class "*Ruler" style "ruler" 133 widget_class "*GtkText" style "text" 134 widget_class "*GtkLabel" style "text" 71 "widget'main window.*GtkButton*' style 'main_button'" 135 72 136 73 137 # This sets all the buttons that are children of the "main window" to 138 # the main_button style. These must be documented to be taken advantage of. 139 widget "main window.*GtkButton*" style "main_button" 74 ); -
orxonox/branches/md2_loader/src/lib/util/ini_parser.cc
r3484 r4063 23 23 \param filename: the path and name of the file to parse 24 24 */ 25 IniParser::IniParser (c har* filename)25 IniParser::IniParser (const char* filename) 26 26 { 27 27 stream = NULL; … … 43 43 \return zero on success or -1 if an error occured; 44 44 */ 45 int IniParser::openFile( char* filename)45 int IniParser::openFile(const char* filename) 46 46 { 47 47 if( filename == NULL) return -1; … … 144 144 lead to unwanted behaviour. 145 145 */ 146 char* IniParser::getVar( char* name, char* section, char* defvalue = "")146 char* IniParser::getVar(const char* name, char* section, char* defvalue = "") 147 147 { 148 148 strcpy (internbuf, defvalue); -
orxonox/branches/md2_loader/src/lib/util/ini_parser.h
r3484 r4063 26 26 27 27 public: 28 IniParser (c har* filename);28 IniParser (const char* filename); 29 29 ~IniParser (); 30 30 31 char* getVar( char* name, char* section, char* defvalue);32 int openFile(char* name);31 char* getVar(const char* name, char* section, char* defvalue); 32 int openFile(const char* name); 33 33 int getSection( char* section); 34 34 int nextVar( char* name, char* value); -
orxonox/branches/md2_loader/src/orxonox.cc
r4010 r4063 22 22 main-programmer: Patrick Boenzli 23 23 co-programmer: Christian Meyer 24 co-programmer: Benjamin Grauer: injected ResourceManager/GraphicsEngine 24 co-programmer: Benjamin Grauer: injected ResourceManager/GraphicsEngine/GUI 25 25 */ 26 26 27 27 #include "orxonox.h" 28 29 #include "gui.h" 28 30 29 31 #include "world.h" … … 37 39 38 40 #include <string.h> 41 39 42 int verbose = 4; 40 43 … … 46 49 Orxonox::Orxonox () 47 50 { 48 pause = false; 51 this->pause = false; 52 53 this->world = NULL; 54 this->resources = NULL; 55 this->localinput = NULL; 49 56 } 50 57 … … 54 61 Orxonox::~Orxonox () 55 62 { 63 int i =0; 56 64 Orxonox::singletonRef = NULL; 57 65 if( world != NULL) delete world; 58 if( localinput != NULL) delete world;66 if( localinput != NULL) delete localinput; 59 67 if( resources != NULL) delete resources; 60 68 delete GraphicsEngine::getInstance(); // deleting the Graphics … … 168 176 PRINT(3)("initializing ResourceManager\n"); 169 177 resourceManager = ResourceManager::getInstance(); 170 !resourceManager->setDataDir("../data/"); 178 if (!resourceManager->setDataDir("../data/")) 179 { 180 PRINTF(1)("Data Could not be located\n"); 181 exit(-1); 182 } 171 183 172 184 PRINT(3)("initializing TextEngine\n"); … … 281 293 282 294 295 bool showGui = false; 283 296 284 297 /** … … 302 315 303 316 int i; 304 for(i = 0; i < argc; ++i)317 for(i = 1; i < argc; ++i) 305 318 { 306 319 if(! strcmp( "--help", argv[i])) return startHelp(); 307 320 else if(! strcmp( "--benchmark", argv[i])) return startBenchmarks(); 308 } 309 310 PRINTF(2)("Orxonox does not understand the arguments"); 321 else if(! strcmp( "--gui", argv[i]) || !strcmp("-g", argv[i])) showGui = true; 322 else PRINTF(2)("Orxonox does not understand the arguments %s\n", argv[i]); 323 } 324 311 325 return startOrxonox(argc, argv); 312 326 } … … 316 330 int startHelp() 317 331 { 318 printf("orxonox: starts the orxonox game - rules\n"); 319 printf("usage: orxonox [arg]\n\n"); 320 printf("valid options:\n"); 321 printf(" --benchmark\tstarts the orxonox benchmark\n"); 322 printf(" --help \tshows this menu\n"); 332 PRINT(0)("orxonox: starts the orxonox game - rules\n"); 333 PRINT(0)("usage: orxonox [arg]\n\n"); 334 PRINT(0)("valid options:\n"); 335 PRINT(0)(" --benchmark\tstarts the orxonox benchmark\n"); 336 PRINT(0)(" --help \tshows this menu\n"); 337 PRINT(0)(" --gui/-g \tDisplays the Gui on startup\n"); 323 338 } 324 339 … … 326 341 int startOrxonox(int argc, char** argv) 327 342 { 328 printf(">>> Starting Orxonox <<<\n"); 343 // checking for existence of the configuration-files 344 if (showGui || 345 !ResourceManager::isFile("~/.orxonox/orxonox.conf") || 346 ResourceManager::isFile("~/.orxonox/orxonox.lock")) 347 { 348 if (ResourceManager::isFile("~/.orxonox/orxonox.lock")) 349 ResourceManager::deleteFile("~/.orxonox/orxonox.lock"); 350 // char* guiExec = new char[strlen(argv[0])+20]; 351 // sprintf(guiExec,"%sGui --gui", argv[0]); 352 Gui* gui = new Gui(argc, argv); 353 if (! gui->startOrxonox) 354 return 0; 355 356 delete gui; 357 } 358 359 PRINT(0)(">>> Starting Orxonox <<<\n"); 360 361 ResourceManager::touchFile("~/.orxonox/orxonox.lock"); 362 329 363 Orxonox *orx = Orxonox::getInstance(); 330 364 331 365 if((*orx).init(argc, argv) == -1) 332 366 { 333 printf("! Orxonox initialization failed\n");367 PRINTF(1)("! Orxonox initialization failed\n"); 334 368 return -1; 335 369 } … … 338 372 339 373 delete orx; 374 ResourceManager::deleteFile("~/.orxonox/orxonox.lock"); 340 375 341 376 } -
orxonox/branches/md2_loader/src/subprojects/Makefile.in
r3789 r4063 89 89 EXEEXT = @EXEEXT@ 90 90 GPROF = @GPROF@ 91 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@92 GTHREAD_LIBS = @GTHREAD_LIBS@93 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 94 92 GTK2_LIBS = @GTK2_LIBS@ 95 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 96 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 97 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@98 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@99 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 100 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 117 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 118 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 119 116 SET_MAKE = @SET_MAKE@ 120 117 SHELL = @SHELL@ … … 125 122 ac_ct_CC = @ac_ct_CC@ 126 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 127 125 ac_ct_STRIP = @ac_ct_STRIP@ 128 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/subprojects/testmain/Makefile.in
r3789 r4063 104 104 EXEEXT = @EXEEXT@ 105 105 GPROF = @GPROF@ 106 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@107 GTHREAD_LIBS = @GTHREAD_LIBS@108 106 GTK2_CFLAGS = @GTK2_CFLAGS@ 109 107 GTK2_LIBS = @GTK2_LIBS@ 110 108 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 111 109 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 112 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@113 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@114 110 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 115 111 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 132 128 PACKAGE_VERSION = @PACKAGE_VERSION@ 133 129 PATH_SEPARATOR = @PATH_SEPARATOR@ 130 RANLIB = @RANLIB@ 134 131 SET_MAKE = @SET_MAKE@ 135 132 SHELL = @SHELL@ … … 140 137 ac_ct_CC = @ac_ct_CC@ 141 138 ac_ct_CXX = @ac_ct_CXX@ 139 ac_ct_RANLIB = @ac_ct_RANLIB@ 142 140 ac_ct_STRIP = @ac_ct_STRIP@ 143 141 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -
orxonox/branches/md2_loader/src/util/resource_manager.cc
r3983 r4063 510 510 } 511 511 512 stat(tmpDirName, &status); 513 if (status.st_mode & (S_IFDIR 512 if(!stat(tmpDirName, &status)) 513 { 514 if (status.st_mode & (S_IFDIR 514 515 #ifndef __WIN32__ 515 | S_IFLNK516 | S_IFLNK 516 517 #endif 517 )) 518 { 519 delete tmpDirName; 520 return true; 521 } 522 else 523 { 524 delete tmpDirName; 525 return false; 526 } 518 )) 519 { 520 delete tmpDirName; 521 return true; 522 } 523 else 524 { 525 delete tmpDirName; 526 return false; 527 } 528 } 529 else 530 return false; 527 531 } 528 532 … … 534 538 bool ResourceManager::isFile(const char* fileName) 535 539 { 540 char* tmpFileName = ResourceManager::homeDirCheck(fileName); 541 // actually checks the File 536 542 struct stat status; 537 stat(fileName, &status); 538 if (status.st_mode & (S_IFREG 543 if (!stat(tmpFileName, &status)) 544 { 545 if (status.st_mode & (S_IFREG 539 546 #ifndef __WIN32__ 540 | S_IFLNK547 | S_IFLNK 541 548 #endif 542 )) 543 return true; 544 else 545 return false; 546 } 549 )) 550 { 551 delete tmpFileName; 552 return true; 553 } 554 else 555 { 556 delete tmpFileName; 557 return false; 558 } 559 } 560 else 561 { 562 delete tmpFileName; 563 return false; 564 } 565 } 566 567 bool ResourceManager::touchFile(const char* fileName) 568 { 569 char* tmpName = ResourceManager::homeDirCheck(fileName); 570 571 FILE* stream; 572 if( (stream = fopen (tmpName, "w")) == NULL) 573 { 574 PRINTF(1)("could not open %s fro writing\n", fileName); 575 return false; 576 } 577 fclose(stream); 578 579 delete tmpName; 580 } 581 582 bool ResourceManager::deleteFile(const char* fileName) 583 { 584 char* tmpName = ResourceManager::homeDirCheck(fileName); 585 unlink(tmpName); 586 delete tmpName; 587 } 588 589 char* ResourceManager::homeDirCheck(const char* name) 590 { 591 char* retName; 592 if (!strncmp(name, "~/", 2)) 593 { 594 char tmpFileName[500]; 595 #ifdef __WIN32__ 596 strcpy(tmpFileName, getenv("USERPROFILE")); 597 #else 598 strcpy(tmpFileName, getenv("HOME")); 599 #endif 600 retName = new char[strlen(tmpFileName)+strlen(name)]; 601 sprintf(retName, "%s%s", tmpFileName, name+1); 602 } 603 else 604 { 605 retName = new char[strlen(name)+1]; 606 strcpy(retName, name); 607 } 608 return retName; 609 } 610 611 547 612 548 613 /** -
orxonox/branches/md2_loader/src/util/resource_manager.h
r3983 r4063 78 78 // utility functions of this class 79 79 static bool isDir(const char* directory); 80 static bool isFile(const char* directory); 80 static bool isFile(const char* fileName); 81 static bool touchFile(const char* fileName); 82 static bool deleteFile(const char* fileName); 83 static char* homeDirCheck(const char* name); 81 84 82 85 private:
Note: See TracChangeset
for help on using the changeset viewer.