Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3173 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Dec 15, 2004, 1:02:52 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: debug mode implemented ./configure —with-debug compiles in the Debug flags

Location:
orxonox/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/Makefile.in

    r3167 r3173  
    8989CXXFLAGS = @CXXFLAGS@
    9090CYGPATH_W = @CYGPATH_W@
     91DEBUG = @DEBUG@
    9192DEFS = @DEFS@
    9293DEPDIR = @DEPDIR@
     
    609610\
    610611        $(DX_CONF_DIR)/progress                                         >> $(DX_CONFIG_FILE); \
     612        if test $(DEBUG) = yes ; then \
     613         echo "QUIET                    = \"NO\""                       >> $(DX_CONFIG_FILE); \
     614        else \
     615         echo "QUIET                    = \"YES\""                      >> $(DX_CONFIG_FILE); \
     616        fi ;\
    611617\
    612618        $(DX_CONF_DIR)/input                                            >> $(DX_CONFIG_FILE); \
     
    619625        $(DX_CONF_DIR)/confopts                                         >> $(DX_CONFIG_FILE)
    620626
    621 .PHONY: doc doc-config
     627doc-delete:
     628        @echo "Deleting doxygen Documentation" ; \
     629        rm -rf $(top_srcdir)/doc/html ; \
     630        rm -rf $(top_srcdir)/doc/latex
     631
     632.PHONY: doc doc-config doc-delete
    622633
    623634# Local Variables:
  • orxonox/trunk/config.h.in

    r3140 r3173  
    11/* config.h.in.  Generated from configure.ac by autoheader.  */
     2
     3/* if we ar in Debug Mode */
     4#undef DEBUG
    25
    36/* Define to 1 if you have the `bzero' function. */
  • orxonox/trunk/configure

    r3140 r3173  
    312312#endif"
    313313
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    866866  --enable-dependency-tracking   do not reject slow dependency extractors
    867867  --disable-gtk           Prevents GTK from being loaded
    868   --disabel-sdl-image     Prevents SDL_image from being loaded
     868  --disable-sdl-image     Prevents SDL_image from being loaded
     869
     870Optional Packages:
     871  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     872  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     873  --with-debug            compiles GTK in debug mode. Lots of Debug info about
     874                          the game
    869875
    870876Some influential environment variables:
     
    38333839
    38343840### CHECKING  OPTIONAT ARGUMENTS
     3841## DEBUG-statement
     3842DEBUG=no
     3843echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5
     3844echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6
     3845
     3846# Check whether --with-debug or --without-debug was given.
     3847if test "${with_debug+set}" = set; then
     3848  withval="$with_debug"
     3849  DEBUG=yes
     3850fi;
     3851echo "$DEBUG"
     3852if test "$DEBUG" = yes; then
     3853
     3854cat >>confdefs.h <<_ACEOF
     3855#define DEBUG 1
     3856_ACEOF
     3857
     3858fi
     3859
     3860
     3861
    38353862## GTK-disabled
    38363863def_gtk=yes
     
    82288255s,@CPP@,$CPP,;t t
    82298256s,@EGREP@,$EGREP,;t t
     8257s,@DEBUG@,$DEBUG,;t t
    82308258s,@MSBITFIELDS@,$MSBITFIELDS,;t t
    82318259s,@GTK2_LIBS@,$GTK2_LIBS,;t t
  • orxonox/trunk/configure.ac

    r3140 r3173  
    2222
    2323### CHECKING  OPTIONAT ARGUMENTS
     24## DEBUG-statement
     25DEBUG=no
     26AC_MSG_CHECKING([if DEBUG-mode should be enabled])
     27AC_ARG_WITH([debug],
     28        AC_HELP_STRING( [--with-debug], [compiles GTK in debug mode. Lots of Debug info about the game]),
     29         [DEBUG=yes])
     30echo "$DEBUG"
     31if test "$DEBUG" = yes; then
     32        AC_DEFINE_UNQUOTED(DEBUG, 1, [if we ar in Debug Mode])
     33fi
     34AC_SUBST(DEBUG)
     35
     36
    2437## GTK-disabled
    2538def_gtk=yes
     
    3851AC_MSG_CHECKING([if SDL_image should be enabled])
    3952AC_ARG_ENABLE([sdl_image],
    40         AC_HELP_STRING( [--disabel-sdl-image],
     53        AC_HELP_STRING( [--disable-sdl-image],
    4154        [Prevents SDL_image from being loaded]), [def_sdl_image=no])
    4255if test "$def_sdl_image" = yes; then
  • orxonox/trunk/console/Makefile.in

    r3099 r3173  
    9191CXXFLAGS = @CXXFLAGS@
    9292CYGPATH_W = @CYGPATH_W@
     93DEBUG = @DEBUG@
    9394DEFS = @DEFS@
    9495DEPDIR = @DEPDIR@
     
    183184          esac; \
    184185        done; \
    185         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  console/Makefile'; \
     186        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  console/Makefile'; \
    186187        cd $(top_srcdir) && \
    187           $(AUTOMAKE) --gnu  console/Makefile
     188          $(AUTOMAKE) --foreign  console/Makefile
    188189.PRECIOUS: Makefile
    189190Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/trunk/doc/documentation.am

    r3167 r3173  
    2525\
    2626        $(DX_CONF_DIR)/progress                                         >> $(DX_CONFIG_FILE); \
     27        if test $(DEBUG) = yes ; then \
     28         echo "QUIET                    = \"NO\""                       >> $(DX_CONFIG_FILE); \
     29        else \
     30         echo "QUIET                    = \"YES\""                      >> $(DX_CONFIG_FILE); \
     31        fi ;\
    2732\
    2833        $(DX_CONF_DIR)/input                                            >> $(DX_CONFIG_FILE); \
     
    3540        $(DX_CONF_DIR)/confopts                                         >> $(DX_CONFIG_FILE)
    3641
     42doc-delete:
     43        @echo "Deleting doxygen Documentation" ; \
     44        rm -rf $(top_srcdir)/doc/html ; \
     45        rm -rf $(top_srcdir)/doc/latex
    3746
    3847
    3948
    40 
    41 .PHONY: doc doc-config
     49.PHONY: doc doc-config doc-delete
    4250
    4351# Local Variables:
  • orxonox/trunk/doc/doxyconf/progress

    r3167 r3173  
    33# configuration options related to warning and progress messages
    44#---------------------------------------------------------------------------
    5 QUIET                  = NO
    65WARNINGS               = YES
    76WARN_IF_UNDOCUMENTED   = YES
  • orxonox/trunk/gui/Makefile.in

    r3167 r3173  
    9898CXXFLAGS = @CXXFLAGS@
    9999CYGPATH_W = @CYGPATH_W@
     100DEBUG = @DEBUG@
    100101DEFS = @DEFS@
    101102DEPDIR = @DEPDIR@
  • orxonox/trunk/importer/Makefile.in

    r3099 r3173  
    9292CXXFLAGS = @CXXFLAGS@
    9393CYGPATH_W = @CYGPATH_W@
     94DEBUG = @DEBUG@
    9495DEFS = @DEFS@
    9596DEPDIR = @DEPDIR@
     
    184185          esac; \
    185186        done; \
    186         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  importer/Makefile'; \
     187        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  importer/Makefile'; \
    187188        cd $(top_srcdir) && \
    188           $(AUTOMAKE) --gnu  importer/Makefile
     189          $(AUTOMAKE) --foreign  importer/Makefile
    189190.PRECIOUS: Makefile
    190191Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/trunk/src/Makefile.in

    r3099 r3173  
    107107CXXFLAGS = @CXXFLAGS@
    108108CYGPATH_W = @CYGPATH_W@
     109DEBUG = @DEBUG@
    109110DEFS = @DEFS@
    110111DEPDIR = @DEPDIR@
     
    199200          esac; \
    200201        done; \
    201         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
     202        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
    202203        cd $(top_srcdir) && \
    203           $(AUTOMAKE) --gnu  src/Makefile
     204          $(AUTOMAKE) --foreign  src/Makefile
    204205.PRECIOUS: Makefile
    205206Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Note: See TracChangeset for help on using the changeset viewer.