Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2994 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
Nov 26, 2004, 2:02:16 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/osX: switched back to automake-1.7

Location:
orxonox/branches/osX
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/osX/Makefile.in

    r2993 r2994  
    1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
     16
    1617srcdir = @srcdir@
    1718top_srcdir = @top_srcdir@
     
    2122pkgincludedir = $(includedir)/@PACKAGE@
    2223top_builddir = .
     24
    2325am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2426INSTALL = @INSTALL@
     
    3537POST_UNINSTALL = :
    3638host_triplet = @host@
    37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
    38         $(srcdir)/Makefile.in $(srcdir)/config.h.in \
    39         $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
    40         TODO config.guess config.sub depcomp install-sh missing \
    41         mkinstalldirs
    42 subdir = .
    43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    44 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    46         $(ACLOCAL_M4)
    47 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    48  configure.lineno configure.status.lineno
    49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    50 CONFIG_HEADER = config.h
    51 CONFIG_CLEAN_FILES =
    52 SOURCES =
    53 DIST_SOURCES =
    54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    55         html-recursive info-recursive install-data-recursive \
    56         install-exec-recursive install-info-recursive \
    57         install-recursive installcheck-recursive installdirs-recursive \
    58         pdf-recursive ps-recursive uninstall-info-recursive \
    59         uninstall-recursive
    60 ETAGS = etags
    61 CTAGS = ctags
    62 DIST_SUBDIRS = $(SUBDIRS)
    63 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    64 distdir = $(PACKAGE)-$(VERSION)
    65 top_distdir = $(distdir)
    66 am__remove_distdir = \
    67   { test ! -d $(distdir) \
    68     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
    69          && rm -fr $(distdir); }; }
    70 DIST_ARCHIVES = $(distdir).tar.gz
    71 GZIP_ENV = --best
    72 distuninstallcheck_listfiles = find . -type f -print
    73 distcleancheck_listfiles = find . -type f -print
    7439ACLOCAL = @ACLOCAL@
    7540AMDEP_FALSE = @AMDEP_FALSE@
     
    156121localstatedir = @localstatedir@
    157122mandir = @mandir@
    158 mkdir_p = @mkdir_p@
    159123oldincludedir = @oldincludedir@
    160124prefix = @prefix@
     
    169133target_vendor = @target_vendor@
    170134SUBDIRS = src console gui importer
     135subdir = .
     136ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     137mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     138CONFIG_HEADER = config.h
     139CONFIG_CLEAN_FILES =
     140DIST_SOURCES =
     141
     142RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
     143        ps-recursive install-info-recursive uninstall-info-recursive \
     144        all-recursive install-data-recursive install-exec-recursive \
     145        installdirs-recursive install-recursive uninstall-recursive \
     146        check-recursive installcheck-recursive
     147DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
     148        COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \
     149        config.guess config.h.in config.sub configure configure.ac \
     150        depcomp install-sh missing mkinstalldirs
     151DIST_SUBDIRS = $(SUBDIRS)
    171152all: config.h
    172153        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    173154
    174155.SUFFIXES:
    175 am--refresh:
    176         @:
    177 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    178         @for dep in $?; do \
    179           case '$(am__configure_deps)' in \
    180             *$$dep*) \
    181               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
    182               cd $(srcdir) && $(AUTOMAKE) --gnu  \
    183                 && exit 0; \
    184               exit 1;; \
    185           esac; \
    186         done; \
    187         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
     156
     157am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     158 configure.lineno
     159$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    188160        cd $(top_srcdir) && \
    189161          $(AUTOMAKE) --gnu  Makefile
    190 .PRECIOUS: Makefile
    191 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    192         @case '$?' in \
    193           *config.status*) \
    194             echo ' $(SHELL) ./config.status'; \
    195             $(SHELL) ./config.status;; \
    196           *) \
    197             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    198             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    199         esac;
    200 
    201 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     162Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     163        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
     164
     165$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    202166        $(SHELL) ./config.status --recheck
    203 
    204 $(top_srcdir)/configure:  $(am__configure_deps)
     167$(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
    205168        cd $(srcdir) && $(AUTOCONF)
    206 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     169
     170$(ACLOCAL_M4):  configure.ac
    207171        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    208172
     
    216180        @rm -f stamp-h1
    217181        cd $(top_builddir) && $(SHELL) ./config.status config.h
    218 $(srcdir)/config.h.in:  $(am__configure_deps)
     182
     183$(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    219184        cd $(top_srcdir) && $(AUTOHEADER)
    220         rm -f stamp-h1
    221         touch $@
     185        touch $(srcdir)/config.h.in
    222186
    223187distclean-hdr:
     
    284248        done
    285249
     250ETAGS = etags
     251ETAGSFLAGS =
     252
     253CTAGS = ctags
     254CTAGSFLAGS =
     255
     256tags: TAGS
     257
    286258ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    287259        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     
    292264               END { for (i in files) print i; }'`; \
    293265        mkid -fID $$unique
    294 tags: TAGS
    295266
    296267TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    298269        tags=; \
    299270        here=`pwd`; \
    300         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
     271        if (etags --etags-include --version) >/dev/null 2>&1; then \
    301272          include_option=--etags-include; \
    302           empty_fix=.; \
    303273        else \
    304274          include_option=--include; \
    305           empty_fix=; \
    306275        fi; \
    307276        list='$(SUBDIRS)'; for subdir in $$list; do \
    308277          if test "$$subdir" = .; then :; else \
    309             test ! -f $$subdir/TAGS || \
     278            test -f $$subdir/TAGS && \
    310279              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    311280          fi; \
     
    317286          $(AWK) '    { files[$$0] = 1; } \
    318287               END { for (i in files) print i; }'`; \
    319         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    320           test -n "$$unique" || unique=$$empty_fix; \
    321           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    322             $$tags $$unique; \
    323         fi
     288        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     289          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     290             $$tags $$unique
     291
    324292ctags: CTAGS
    325293CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    344312distclean-tags:
    345313        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     314DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     315
     316top_distdir = .
     317distdir = $(PACKAGE)-$(VERSION)
     318
     319am__remove_distdir = \
     320  { test ! -d $(distdir) \
     321    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
     322         && rm -fr $(distdir); }; }
     323
     324GZIP_ENV = --best
     325distuninstallcheck_listfiles = find . -type f -print
     326distcleancheck_listfiles = find . -type f -print
    346327
    347328distdir: $(DISTFILES)
     
    359340          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    360341            dir="/$$dir"; \
    361             $(mkdir_p) "$(distdir)$$dir"; \
     342            $(mkinstalldirs) "$(distdir)$$dir"; \
    362343          else \
    363344            dir=''; \
     
    376357        list='$(SUBDIRS)'; for subdir in $$list; do \
    377358          if test "$$subdir" = .; then :; else \
    378             test -d "$(distdir)/$$subdir" \
    379             || mkdir "$(distdir)/$$subdir" \
     359            test -d $(distdir)/$$subdir \
     360            || mkdir $(distdir)/$$subdir \
    380361            || exit 1; \
    381362            (cd $$subdir && \
    382363              $(MAKE) $(AM_MAKEFLAGS) \
    383                 top_distdir="../$(top_distdir)" \
    384                 distdir="../$(distdir)/$$subdir" \
     364                top_distdir="$(top_distdir)" \
     365                distdir=../$(distdir)/$$subdir \
    385366                distdir) \
    386367              || exit 1; \
     
    396377        $(am__remove_distdir)
    397378
    398 dist-bzip2: distdir
    399         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
    400         $(am__remove_distdir)
    401 
    402 dist-tarZ: distdir
    403         $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
    404         $(am__remove_distdir)
    405 
    406 dist-shar: distdir
    407         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    408         $(am__remove_distdir)
    409 
    410 dist-zip: distdir
    411         -rm -f $(distdir).zip
    412         zip -rq $(distdir).zip $(distdir)
    413         $(am__remove_distdir)
    414 
    415379dist dist-all: distdir
    416380        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     
    421385# tarfile.
    422386distcheck: dist
    423         case '$(DIST_ARCHIVES)' in \
    424         *.tar.gz*) \
    425           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
    426         *.tar.bz2*) \
    427           bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
    428         *.tar.Z*) \
    429           uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
    430         *.shar.gz*) \
    431           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
    432         *.zip*) \
    433           unzip $(distdir).zip ;;\
    434         esac
     387        $(am__remove_distdir)
     388        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
    435389        chmod -R a-w $(distdir); chmod a+w $(distdir)
    436390        mkdir $(distdir)/_build
     
    452406          && chmod -R a-w "$$dc_install_base" \
    453407          && ({ \
    454                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
     408               (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
    455409               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    456410               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
     
    459413              } || { rm -rf "$$dc_destdir"; exit 1; }) \
    460414          && rm -rf "$$dc_destdir" \
    461           && $(MAKE) $(AM_MAKEFLAGS) dist \
    462           && rm -rf $(DIST_ARCHIVES) \
     415          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
     416          && rm -f $(distdir).tar.gz \
    463417          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    464418        $(am__remove_distdir)
    465         @(echo "$(distdir) archives ready for distribution: "; \
    466           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
    467           sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
     419        @echo "$(distdir).tar.gz is ready for distribution" | \
     420          sed 'h;s/./=/g;p;x;p;x'
    468421distuninstallcheck:
    469422        @cd $(distuninstallcheck_dir) \
     
    489442installdirs: installdirs-recursive
    490443installdirs-am:
     444
    491445install: install-recursive
    492446install-exec: install-exec-recursive
     
    526480dvi-am:
    527481
    528 html: html-recursive
    529 
    530482info: info-recursive
    531483
     
    564516uninstall-info: uninstall-info-recursive
    565517
    566 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
    567         check-am clean clean-generic clean-recursive ctags \
    568         ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
    569         dist-tarZ dist-zip distcheck distclean distclean-generic \
    570         distclean-hdr distclean-recursive distclean-tags \
    571         distcleancheck distdir distuninstallcheck dvi dvi-am html \
    572         html-am info info-am install install-am install-data \
    573         install-data-am install-exec install-exec-am install-info \
    574         install-info-am install-man install-strip installcheck \
    575         installcheck-am installdirs installdirs-am maintainer-clean \
    576         maintainer-clean-generic maintainer-clean-recursive \
    577         mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
    578         pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
    579         uninstall-info-am
     518.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
     519        clean-generic clean-recursive ctags ctags-recursive dist \
     520        dist-all dist-gzip distcheck distclean distclean-generic \
     521        distclean-hdr distclean-recursive distclean-tags distcleancheck \
     522        distdir distuninstallcheck dvi dvi-am dvi-recursive info \
     523        info-am info-recursive install install-am install-data \
     524        install-data-am install-data-recursive install-exec \
     525        install-exec-am install-exec-recursive install-info \
     526        install-info-am install-info-recursive install-man \
     527        install-recursive install-strip installcheck installcheck-am \
     528        installdirs installdirs-am installdirs-recursive \
     529        maintainer-clean maintainer-clean-generic \
     530        maintainer-clean-recursive mostlyclean mostlyclean-generic \
     531        mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
     532        ps-recursive tags tags-recursive uninstall uninstall-am \
     533        uninstall-info-am uninstall-info-recursive uninstall-recursive
    580534
    581535# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • orxonox/branches/osX/aclocal.m4

    r2993 r2994  
    1 # generated automatically by aclocal 1.8.5 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     1# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    44# Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
     
    1212# PARTICULAR PURPOSE.
    1313
    14 
    15 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
    16 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
    17 dnl also defines GSTUFF_PKG_ERRORS on error
    18 AC_DEFUN(PKG_CHECK_MODULES, [
    19   succeeded=no
    20 
    21   if test -z "$PKG_CONFIG"; then
    22     AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     14# Do all the work for Automake.                            -*- Autoconf -*-
     15
     16# This macro actually does too much some checks are only needed if
     17# your package does certain things.  But this isn't really a big deal.
     18
     19# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     20# Free Software Foundation, Inc.
     21
     22# This program is free software; you can redistribute it and/or modify
     23# it under the terms of the GNU General Public License as published by
     24# the Free Software Foundation; either version 2, or (at your option)
     25# any later version.
     26
     27# This program is distributed in the hope that it will be useful,
     28# but WITHOUT ANY WARRANTY; without even the implied warranty of
     29# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     30# GNU General Public License for more details.
     31
     32# You should have received a copy of the GNU General Public License
     33# along with this program; if not, write to the Free Software
     34# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     35# 02111-1307, USA.
     36
     37# serial 10
     38
     39AC_PREREQ([2.54])
     40
     41# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
     42# the ones we care about.
     43m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     44
     45# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     46# AM_INIT_AUTOMAKE([OPTIONS])
     47# -----------------------------------------------
     48# The call with PACKAGE and VERSION arguments is the old style
     49# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     50# and VERSION should now be passed to AC_INIT and removed from
     51# the call to AM_INIT_AUTOMAKE.
     52# We support both call styles for the transition.  After
     53# the next Automake release, Autoconf can make the AC_INIT
     54# arguments mandatory, and then we can depend on a new Autoconf
     55# release and drop the old call support.
     56AC_DEFUN([AM_INIT_AUTOMAKE],
     57[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     58 AC_REQUIRE([AC_PROG_INSTALL])dnl
     59# test to see if srcdir already configured
     60if test "`cd $srcdir && pwd`" != "`pwd`" &&
     61   test -f $srcdir/config.status; then
     62  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     63fi
     64
     65# test whether we have cygpath
     66if test -z "$CYGPATH_W"; then
     67  if (cygpath --version) >/dev/null 2>/dev/null; then
     68    CYGPATH_W='cygpath -w'
     69  else
     70    CYGPATH_W=echo
    2371  fi
    24 
    25   if test "$PKG_CONFIG" = "no" ; then
    26      echo "*** The pkg-config script could not be found. Make sure it is"
    27      echo "*** in your path, or set the PKG_CONFIG environment variable"
    28      echo "*** to the full path to pkg-config."
    29      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
    30   else
    31      PKG_CONFIG_MIN_VERSION=0.9.0
    32      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
    33         AC_MSG_CHECKING(for $2)
    34 
    35         if $PKG_CONFIG --exists "$2" ; then
    36             AC_MSG_RESULT(yes)
    37             succeeded=yes
    38 
    39             AC_MSG_CHECKING($1_CFLAGS)
    40             $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
    41             AC_MSG_RESULT($$1_CFLAGS)
    42 
    43             AC_MSG_CHECKING($1_LIBS)
    44             $1_LIBS=`$PKG_CONFIG --libs "$2"`
    45             AC_MSG_RESULT($$1_LIBS)
    46         else
    47             $1_CFLAGS=""
    48             $1_LIBS=""
    49             ## If we have a custom action on failure, don't print errors, but
    50             ## do set a variable so people can do so.
    51             $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
    52             ifelse([$4], ,echo $$1_PKG_ERRORS,)
    53         fi
    54 
    55         AC_SUBST($1_CFLAGS)
    56         AC_SUBST($1_LIBS)
    57      else
    58         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
    59         echo "*** See http://www.freedesktop.org/software/pkgconfig"
    60      fi
    61   fi
    62 
    63   if test $succeeded = yes; then
    64      ifelse([$3], , :, [$3])
    65   else
    66      ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
    67   fi
    68 ])
    69 
    70 
    71 
    72 # Configure paths for SDL
    73 # Sam Lantinga 9/21/99
    74 # stolen from Manish Singh
    75 # stolen back from Frank Belew
    76 # stolen from Manish Singh
    77 # Shamelessly stolen from Owen Taylor
    78 
    79 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    80 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    81 dnl
    82 AC_DEFUN([AM_PATH_SDL],
    83 [dnl
    84 dnl Get the cflags and libraries from the sdl-config script
    85 dnl
    86 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    87             sdl_prefix="$withval", sdl_prefix="")
    88 AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
    89             sdl_exec_prefix="$withval", sdl_exec_prefix="")
    90 AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
    91                     , enable_sdltest=yes)
    92 
    93   if test x$sdl_exec_prefix != x ; then
    94      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
    95      if test x${SDL_CONFIG+set} != xset ; then
    96         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    97      fi
    98   fi
    99   if test x$sdl_prefix != x ; then
    100      sdl_args="$sdl_args --prefix=$sdl_prefix"
    101      if test x${SDL_CONFIG+set} != xset ; then
    102         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    103      fi
    104   fi
    105 
    106   AC_REQUIRE([AC_CANONICAL_TARGET])
    107   PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    108   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    109   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    110   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    111   no_sdl=""
    112   if test "$SDL_CONFIG" = "no" ; then
    113     no_sdl=yes
    114   else
    115     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
    116     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
    117 
    118     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
    119            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    120     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
    121            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    122     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
    123            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    124     if test "x$enable_sdltest" = "xyes" ; then
    125       ac_save_CFLAGS="$CFLAGS"
    126       ac_save_LIBS="$LIBS"
    127       CFLAGS="$CFLAGS $SDL_CFLAGS"
    128       LIBS="$LIBS $SDL_LIBS"
    129 dnl
    130 dnl Now check if the installed SDL is sufficiently new. (Also sanity
    131 dnl checks the results of sdl-config to some extent
    132 dnl
    133       rm -f conf.sdltest
    134       AC_TRY_RUN([
    135 #include <stdio.h>
    136 #include <stdlib.h>
    137 #include <string.h>
    138 #include "SDL.h"
    139 
    140 char*
    141 my_strdup (char *str)
    142 {
    143   char *new_str;
    144  
    145   if (str)
    146     {
    147       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
    148       strcpy (new_str, str);
    149     }
    150   else
    151     new_str = NULL;
    152  
    153   return new_str;
    154 }
    155 
    156 int main (int argc, char *argv[])
    157 {
    158   int major, minor, micro;
    159   char *tmp_version;
    160 
    161   /* This hangs on some systems (?)
    162   system ("touch conf.sdltest");
    163   */
    164   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
    165 
    166   /* HP/UX 9 (%@#!) writes to sscanf strings */
    167   tmp_version = my_strdup("$min_sdl_version");
    168   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
    169      printf("%s, bad version string\n", "$min_sdl_version");
    170      exit(1);
    171    }
    172 
    173    if (($sdl_major_version > major) ||
    174       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
    175       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
    176     {
    177       return 0;
    178     }
    179   else
    180     {
    181       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
    182       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
    183       printf("*** best to upgrade to the required version.\n");
    184       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
    185       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
    186       printf("*** config.cache before re-running configure\n");
    187       return 1;
    188     }
    189 }
    190 
    191 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
    192        CFLAGS="$ac_save_CFLAGS"
    193        LIBS="$ac_save_LIBS"
    194      fi
    195   fi
    196   if test "x$no_sdl" = x ; then
    197      AC_MSG_RESULT(yes)
    198      ifelse([$2], , :, [$2])     
    199   else
    200      AC_MSG_RESULT(no)
    201      if test "$SDL_CONFIG" = "no" ; then
    202        echo "*** The sdl-config script installed by SDL could not be found"
    203        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
    204        echo "*** your path, or set the SDL_CONFIG environment variable to the"
    205        echo "*** full path to sdl-config."
    206      else
    207        if test -f conf.sdltest ; then
    208         :
    209        else
    210           echo "*** Could not run SDL test program, checking why..."
    211           CFLAGS="$CFLAGS $SDL_CFLAGS"
    212           LIBS="$LIBS $SDL_LIBS"
    213           AC_TRY_LINK([
    214 #include <stdio.h>
    215 #include "SDL.h"
    216 
    217 int main(int argc, char *argv[])
    218 { return 0; }
    219 #undef  main
    220 #define main K_and_R_C_main
    221 ],      [ return 0; ],
    222         [ echo "*** The test program compiled, but did not run. This usually means"
    223           echo "*** that the run-time linker is not finding SDL or finding the wrong"
    224           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
    225           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
    226           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
    227           echo "*** is required on your system"
    228           echo "***"
    229           echo "*** If you have an old version installed, it is best to remove it, although"
    230           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
    231         [ echo "*** The test program failed to compile or link. See the file config.log for the"
    232           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
    233           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
    234           echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
    235           CFLAGS="$ac_save_CFLAGS"
    236           LIBS="$ac_save_LIBS"
    237        fi
    238      fi
    239      SDL_CFLAGS=""
    240      SDL_LIBS=""
    241      ifelse([$3], , :, [$3])
    242   fi
    243   AC_SUBST(SDL_CFLAGS)
    244   AC_SUBST(SDL_LIBS)
    245   rm -f conf.sdltest
    246 ])
    247 
    248 #                                                        -*- Autoconf -*-
    249 # Copyright (C) 2002, 2003  Free Software Foundation, Inc.
    250 # Generated from amversion.in; do not edit by hand.
     72fi
     73AC_SUBST([CYGPATH_W])
     74
     75# Define the identity of the package.
     76dnl Distinguish between old-style and new-style calls.
     77m4_ifval([$2],
     78[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     79 AC_SUBST([PACKAGE], [$1])dnl
     80 AC_SUBST([VERSION], [$2])],
     81[_AM_SET_OPTIONS([$1])dnl
     82 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     83 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
     84
     85_AM_IF_OPTION([no-define],,
     86[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     87 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     88
     89# Some tools Automake needs.
     90AC_REQUIRE([AM_SANITY_CHECK])dnl
     91AC_REQUIRE([AC_ARG_PROGRAM])dnl
     92AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     93AM_MISSING_PROG(AUTOCONF, autoconf)
     94AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     95AM_MISSING_PROG(AUTOHEADER, autoheader)
     96AM_MISSING_PROG(MAKEINFO, makeinfo)
     97AM_MISSING_PROG(AMTAR, tar)
     98AM_PROG_INSTALL_SH
     99AM_PROG_INSTALL_STRIP
     100# We need awk for the "check" target.  The system "awk" is bad on
     101# some platforms.
     102AC_REQUIRE([AC_PROG_AWK])dnl
     103AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     104AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     105
     106_AM_IF_OPTION([no-dependencies],,
     107[AC_PROVIDE_IFELSE([AC_PROG_CC],
     108                  [_AM_DEPENDENCIES(CC)],
     109                  [define([AC_PROG_CC],
     110                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     111AC_PROVIDE_IFELSE([AC_PROG_CXX],
     112                  [_AM_DEPENDENCIES(CXX)],
     113                  [define([AC_PROG_CXX],
     114                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     115])
     116])
     117
     118
     119# When config.status generates a header, we must update the stamp-h file.
     120# This file resides in the same directory as the config header
     121# that is generated.  The stamp files are numbered to have different names.
     122
     123# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
     124# loop where config.status creates the headers, so we can generate
     125# our stamp files there.
     126AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     127[# Compute $1's index in $config_headers.
     128_am_stamp_count=1
     129for _am_header in $config_headers :; do
     130  case $_am_header in
     131    $1 | $1:* )
     132      break ;;
     133    * )
     134      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     135  esac
     136done
     137echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     138
     139# Copyright 2002  Free Software Foundation, Inc.
    251140
    252141# This program is free software; you can redistribute it and/or modify
     
    268157# Automake X.Y traces this macro to ensure aclocal.m4 has been
    269158# generated from the m4 files accompanying Automake X.Y.
    270 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
     159AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
    271160
    272161# AM_SET_CURRENT_AUTOMAKE_VERSION
     
    275164# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    276165AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    277          [AM_AUTOMAKE_VERSION([1.8.5])])
     166         [AM_AUTOMAKE_VERSION([1.7.9])])
     167
     168# Helper functions for option handling.                    -*- Autoconf -*-
     169
     170# Copyright 2001, 2002  Free Software Foundation, Inc.
     171
     172# This program is free software; you can redistribute it and/or modify
     173# it under the terms of the GNU General Public License as published by
     174# the Free Software Foundation; either version 2, or (at your option)
     175# any later version.
     176
     177# This program is distributed in the hope that it will be useful,
     178# but WITHOUT ANY WARRANTY; without even the implied warranty of
     179# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     180# GNU General Public License for more details.
     181
     182# You should have received a copy of the GNU General Public License
     183# along with this program; if not, write to the Free Software
     184# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     185# 02111-1307, USA.
     186
     187# serial 2
     188
     189# _AM_MANGLE_OPTION(NAME)
     190# -----------------------
     191AC_DEFUN([_AM_MANGLE_OPTION],
     192[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     193
     194# _AM_SET_OPTION(NAME)
     195# ------------------------------
     196# Set option NAME.  Presently that only means defining a flag for this option.
     197AC_DEFUN([_AM_SET_OPTION],
     198[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     199
     200# _AM_SET_OPTIONS(OPTIONS)
     201# ----------------------------------
     202# OPTIONS is a space-separated list of Automake options.
     203AC_DEFUN([_AM_SET_OPTIONS],
     204[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     205
     206# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     207# -------------------------------------------
     208# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     209AC_DEFUN([_AM_IF_OPTION],
     210[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     211
     212#
     213# Check to make sure that the build environment is sane.
     214#
     215
     216# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
     217
     218# This program is free software; you can redistribute it and/or modify
     219# it under the terms of the GNU General Public License as published by
     220# the Free Software Foundation; either version 2, or (at your option)
     221# any later version.
     222
     223# This program is distributed in the hope that it will be useful,
     224# but WITHOUT ANY WARRANTY; without even the implied warranty of
     225# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     226# GNU General Public License for more details.
     227
     228# You should have received a copy of the GNU General Public License
     229# along with this program; if not, write to the Free Software
     230# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     231# 02111-1307, USA.
     232
     233# serial 3
     234
     235# AM_SANITY_CHECK
     236# ---------------
     237AC_DEFUN([AM_SANITY_CHECK],
     238[AC_MSG_CHECKING([whether build environment is sane])
     239# Just in case
     240sleep 1
     241echo timestamp > conftest.file
     242# Do `set' in a subshell so we don't clobber the current shell's
     243# arguments.  Must try -L first in case configure is actually a
     244# symlink; some systems play weird games with the mod time of symlinks
     245# (eg FreeBSD returns the mod time of the symlink's containing
     246# directory).
     247if (
     248   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     249   if test "$[*]" = "X"; then
     250      # -L didn't work.
     251      set X `ls -t $srcdir/configure conftest.file`
     252   fi
     253   rm -f conftest.file
     254   if test "$[*]" != "X $srcdir/configure conftest.file" \
     255      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     256
     257      # If neither matched, then we have a broken ls.  This can happen
     258      # if, for instance, CONFIG_SHELL is bash and it inherits a
     259      # broken ls alias from the environment.  This has actually
     260      # happened.  Such a system could not be considered "sane".
     261      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     262alias in your environment])
     263   fi
     264
     265   test "$[2]" = conftest.file
     266   )
     267then
     268   # Ok.
     269   :
     270else
     271   AC_MSG_ERROR([newly created file is older than distributed files!
     272Check your system clock])
     273fi
     274AC_MSG_RESULT(yes)])
     275
     276#  -*- Autoconf -*-
     277
     278
     279# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
     280
     281# This program is free software; you can redistribute it and/or modify
     282# it under the terms of the GNU General Public License as published by
     283# the Free Software Foundation; either version 2, or (at your option)
     284# any later version.
     285
     286# This program is distributed in the hope that it will be useful,
     287# but WITHOUT ANY WARRANTY; without even the implied warranty of
     288# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     289# GNU General Public License for more details.
     290
     291# You should have received a copy of the GNU General Public License
     292# along with this program; if not, write to the Free Software
     293# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     294# 02111-1307, USA.
     295
     296# serial 3
     297
     298# AM_MISSING_PROG(NAME, PROGRAM)
     299# ------------------------------
     300AC_DEFUN([AM_MISSING_PROG],
     301[AC_REQUIRE([AM_MISSING_HAS_RUN])
     302$1=${$1-"${am_missing_run}$2"}
     303AC_SUBST($1)])
     304
     305
     306# AM_MISSING_HAS_RUN
     307# ------------------
     308# Define MISSING if not defined so far and test if it supports --run.
     309# If it does, set am_missing_run to use it, otherwise, to nothing.
     310AC_DEFUN([AM_MISSING_HAS_RUN],
     311[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     312test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     313# Use eval to expand $SHELL
     314if eval "$MISSING --run true"; then
     315  am_missing_run="$MISSING --run "
     316else
     317  am_missing_run=
     318  AC_MSG_WARN([`missing' script is too old or missing])
     319fi
     320])
    278321
    279322# AM_AUX_DIR_EXPAND
    280323
    281 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     324# Copyright 2001 Free Software Foundation, Inc.
    282325
    283326# This program is free software; you can redistribute it and/or modify
     
    334377# configured tree to be moved without reconfiguration.
    335378
    336 AC_DEFUN([AM_AUX_DIR_EXPAND],
    337 [dnl Rely on autoconf to set up CDPATH properly.
    338 AC_PREREQ([2.50])dnl
     379# Rely on autoconf to set up CDPATH properly.
     380AC_PREREQ([2.50])
     381
     382AC_DEFUN([AM_AUX_DIR_EXPAND], [
    339383# expand $ac_aux_dir to an absolute path
    340384am_aux_dir=`cd $ac_aux_dir && pwd`
    341385])
    342386
    343 # AM_CONDITIONAL                                              -*- Autoconf -*-
    344 
    345 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    346 
    347 # This program is free software; you can redistribute it and/or modify
    348 # it under the terms of the GNU General Public License as published by
    349 # the Free Software Foundation; either version 2, or (at your option)
    350 # any later version.
    351 
    352 # This program is distributed in the hope that it will be useful,
    353 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    355 # GNU General Public License for more details.
    356 
    357 # You should have received a copy of the GNU General Public License
    358 # along with this program; if not, write to the Free Software
    359 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    360 # 02111-1307, USA.
    361 
    362 # serial 6
    363 
    364 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    365 # -------------------------------------
    366 # Define a conditional.
    367 AC_DEFUN([AM_CONDITIONAL],
    368 [AC_PREREQ(2.52)dnl
    369  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    370         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    371 AC_SUBST([$1_TRUE])
    372 AC_SUBST([$1_FALSE])
    373 if $2; then
    374   $1_TRUE=
    375   $1_FALSE='#'
     387# AM_PROG_INSTALL_SH
     388# ------------------
     389# Define $install_sh.
     390
     391# Copyright 2001 Free Software Foundation, Inc.
     392
     393# This program is free software; you can redistribute it and/or modify
     394# it under the terms of the GNU General Public License as published by
     395# the Free Software Foundation; either version 2, or (at your option)
     396# any later version.
     397
     398# This program is distributed in the hope that it will be useful,
     399# but WITHOUT ANY WARRANTY; without even the implied warranty of
     400# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     401# GNU General Public License for more details.
     402
     403# You should have received a copy of the GNU General Public License
     404# along with this program; if not, write to the Free Software
     405# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     406# 02111-1307, USA.
     407
     408AC_DEFUN([AM_PROG_INSTALL_SH],
     409[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     410install_sh=${install_sh-"$am_aux_dir/install-sh"}
     411AC_SUBST(install_sh)])
     412
     413# AM_PROG_INSTALL_STRIP
     414
     415# Copyright 2001 Free Software Foundation, Inc.
     416
     417# This program is free software; you can redistribute it and/or modify
     418# it under the terms of the GNU General Public License as published by
     419# the Free Software Foundation; either version 2, or (at your option)
     420# any later version.
     421
     422# This program is distributed in the hope that it will be useful,
     423# but WITHOUT ANY WARRANTY; without even the implied warranty of
     424# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     425# GNU General Public License for more details.
     426
     427# You should have received a copy of the GNU General Public License
     428# along with this program; if not, write to the Free Software
     429# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     430# 02111-1307, USA.
     431
     432# One issue with vendor `install' (even GNU) is that you can't
     433# specify the program used to strip binaries.  This is especially
     434# annoying in cross-compiling environments, where the build's strip
     435# is unlikely to handle the host's binaries.
     436# Fortunately install-sh will honor a STRIPPROG variable, so we
     437# always use install-sh in `make install-strip', and initialize
     438# STRIPPROG with the value of the STRIP variable (set by the user).
     439AC_DEFUN([AM_PROG_INSTALL_STRIP],
     440[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     441# Installed binaries are usually stripped using `strip' when the user
     442# run `make install-strip'.  However `strip' might not be the right
     443# tool to use in cross-compilation environments, therefore Automake
     444# will honor the `STRIP' environment variable to overrule this program.
     445dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     446if test "$cross_compiling" != no; then
     447  AC_CHECK_TOOL([STRIP], [strip], :)
     448fi
     449INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     450AC_SUBST([INSTALL_STRIP_PROGRAM])])
     451
     452#                                                          -*- Autoconf -*-
     453# Copyright (C) 2003  Free Software Foundation, Inc.
     454
     455# This program is free software; you can redistribute it and/or modify
     456# it under the terms of the GNU General Public License as published by
     457# the Free Software Foundation; either version 2, or (at your option)
     458# any later version.
     459
     460# This program is distributed in the hope that it will be useful,
     461# but WITHOUT ANY WARRANTY; without even the implied warranty of
     462# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     463# GNU General Public License for more details.
     464
     465# You should have received a copy of the GNU General Public License
     466# along with this program; if not, write to the Free Software
     467# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     468# 02111-1307, USA.
     469
     470# serial 1
     471
     472# Check whether the underlying file-system supports filenames
     473# with a leading dot.  For instance MS-DOS doesn't.
     474AC_DEFUN([AM_SET_LEADING_DOT],
     475[rm -rf .tst 2>/dev/null
     476mkdir .tst 2>/dev/null
     477if test -d .tst; then
     478  am__leading_dot=.
    376479else
    377   $1_TRUE='#'
    378   $1_FALSE=
     480  am__leading_dot=_
    379481fi
    380 AC_CONFIG_COMMANDS_PRE(
    381 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    382   AC_MSG_ERROR([conditional "$1" was never defined.
    383 Usually this means the macro was only invoked conditionally.])
    384 fi])])
    385 
    386 # serial 7                                              -*- Autoconf -*-
    387 
    388 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
    389 # Free Software Foundation, Inc.
     482rmdir .tst 2>/dev/null
     483AC_SUBST([am__leading_dot])])
     484
     485# serial 5                                              -*- Autoconf -*-
     486
     487# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
    390488
    391489# This program is free software; you can redistribute it and/or modify
     
    471569    for i in 1 2 3 4 5 6; do
    472570      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    473       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    474       # Solaris 8's {/usr,}/bin/sh.
    475       touch sub/conftst$i.h
     571      : > sub/conftst$i.h
    476572    done
    477573    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    501597       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    502598      # icc doesn't choke on unknown options, it will just issue warnings
    503       # or remarks (even with -Werror).  So we grep stderr for any message
    504       # that says an option was ignored or not supported.
    505       # When given -MP, icc 7.0 and 7.1 complain thusly:
    506       #   icc: Command line warning: ignoring option '-M'; no argument required
    507       # The diagnosis changed in icc 8.0:
    508       #   icc: Command line remark: option '-MP' not supported
    509       if (grep 'ignoring option' conftest.err ||
    510           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     599      # (even with -Werror).  So we grep stderr for any message
     600      # that says an option was ignored.
     601      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    511602        am_cv_$1_dependencies_compiler_type=$depmode
    512603        break
     
    542633AC_DEFUN([AM_DEP_TRACK],
    543634[AC_ARG_ENABLE(dependency-tracking,
    544 [  --disable-dependency-tracking  speeds up one-time build
    545   --enable-dependency-tracking   do not reject slow dependency extractors])
     635[  --disable-dependency-tracking Speeds up one-time builds
     636  --enable-dependency-tracking  Do not reject slow dependency extractors])
    546637if test "x$enable_dependency_tracking" != xno; then
    547638  am_depcomp="$ac_aux_dir/depcomp"
     
    554645# Generate code to set up dependency tracking.   -*- Autoconf -*-
    555646
    556 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
     647# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    557648
    558649# This program is free software; you can redistribute it and/or modify
     
    593684  # Extract the definition of DEP_FILES from the Makefile without
    594685  # running `make'.
    595   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     686  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    596687  test -z "$DEPDIR" && continue
    597688  # When using ansi2knr, U may be empty or an underscore; expand it
    598   U=`sed -n 's/^U = //p' < "$mf"`
     689  U=`sed -n -e '/^U = / s///p' < "$mf"`
    599690  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    600691  # We invoke sed twice because it is the simplest approach to
    601692  # changing $(DEPDIR) to its actual value in the expansion.
    602   for file in `sed -n '
     693  for file in `sed -n -e '
    603694    /^DEP_FILES = .*\\\\$/ {
    604695      s/^DEP_FILES = //
     
    635726     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    636727])
    637 
    638 # Do all the work for Automake.                            -*- Autoconf -*-
    639 
    640 # This macro actually does too much some checks are only needed if
    641 # your package does certain things.  But this isn't really a big deal.
    642 
    643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    644 # Free Software Foundation, Inc.
    645 
    646 # This program is free software; you can redistribute it and/or modify
    647 # it under the terms of the GNU General Public License as published by
    648 # the Free Software Foundation; either version 2, or (at your option)
    649 # any later version.
    650 
    651 # This program is distributed in the hope that it will be useful,
    652 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    654 # GNU General Public License for more details.
    655 
    656 # You should have received a copy of the GNU General Public License
    657 # along with this program; if not, write to the Free Software
    658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    659 # 02111-1307, USA.
    660 
    661 # serial 11
    662 
    663 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
    664 # AM_INIT_AUTOMAKE([OPTIONS])
    665 # -----------------------------------------------
    666 # The call with PACKAGE and VERSION arguments is the old style
    667 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
    668 # and VERSION should now be passed to AC_INIT and removed from
    669 # the call to AM_INIT_AUTOMAKE.
    670 # We support both call styles for the transition.  After
    671 # the next Automake release, Autoconf can make the AC_INIT
    672 # arguments mandatory, and then we can depend on a new Autoconf
    673 # release and drop the old call support.
    674 AC_DEFUN([AM_INIT_AUTOMAKE],
    675 [AC_PREREQ([2.58])dnl
    676 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    677 dnl the ones we care about.
    678 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
    679 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
    680 AC_REQUIRE([AC_PROG_INSTALL])dnl
    681 # test to see if srcdir already configured
    682 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    683    test -f $srcdir/config.status; then
    684   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
    685 fi
    686 
    687 # test whether we have cygpath
    688 if test -z "$CYGPATH_W"; then
    689   if (cygpath --version) >/dev/null 2>/dev/null; then
    690     CYGPATH_W='cygpath -w'
    691   else
    692     CYGPATH_W=echo
    693   fi
    694 fi
    695 AC_SUBST([CYGPATH_W])
    696 
    697 # Define the identity of the package.
    698 dnl Distinguish between old-style and new-style calls.
    699 m4_ifval([$2],
    700 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    701  AC_SUBST([PACKAGE], [$1])dnl
    702  AC_SUBST([VERSION], [$2])],
    703 [_AM_SET_OPTIONS([$1])dnl
    704  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    705  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    706 
    707 _AM_IF_OPTION([no-define],,
    708 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    709  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    710 
    711 # Some tools Automake needs.
    712 AC_REQUIRE([AM_SANITY_CHECK])dnl
    713 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    714 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    715 AM_MISSING_PROG(AUTOCONF, autoconf)
    716 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    717 AM_MISSING_PROG(AUTOHEADER, autoheader)
    718 AM_MISSING_PROG(MAKEINFO, makeinfo)
    719 AM_MISSING_PROG(AMTAR, tar)
    720 AM_PROG_INSTALL_SH
    721 AM_PROG_INSTALL_STRIP
    722 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    723 # We need awk for the "check" target.  The system "awk" is bad on
    724 # some platforms.
    725 AC_REQUIRE([AC_PROG_AWK])dnl
    726 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    727 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    728 
    729 _AM_IF_OPTION([no-dependencies],,
    730 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    731                   [_AM_DEPENDENCIES(CC)],
    732                   [define([AC_PROG_CC],
    733                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    734 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    735                   [_AM_DEPENDENCIES(CXX)],
    736                   [define([AC_PROG_CXX],
    737                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    738 ])
    739 ])
    740 
    741 
    742 # When config.status generates a header, we must update the stamp-h file.
    743 # This file resides in the same directory as the config header
    744 # that is generated.  The stamp files are numbered to have different names.
    745 
    746 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    747 # loop where config.status creates the headers, so we can generate
    748 # our stamp files there.
    749 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    750 [# Compute $1's index in $config_headers.
    751 _am_stamp_count=1
    752 for _am_header in $config_headers :; do
    753   case $_am_header in
    754     $1 | $1:* )
    755       break ;;
    756     * )
    757       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    758   esac
    759 done
    760 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    761 
    762 # AM_PROG_INSTALL_SH
    763 # ------------------
    764 # Define $install_sh.
    765 
    766 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    767 
    768 # This program is free software; you can redistribute it and/or modify
    769 # it under the terms of the GNU General Public License as published by
    770 # the Free Software Foundation; either version 2, or (at your option)
    771 # any later version.
    772 
    773 # This program is distributed in the hope that it will be useful,
    774 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    775 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    776 # GNU General Public License for more details.
    777 
    778 # You should have received a copy of the GNU General Public License
    779 # along with this program; if not, write to the Free Software
    780 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    781 # 02111-1307, USA.
    782 
    783 AC_DEFUN([AM_PROG_INSTALL_SH],
    784 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    785 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    786 AC_SUBST(install_sh)])
    787 
    788 #                                                          -*- Autoconf -*-
    789 # Copyright (C) 2003  Free Software Foundation, Inc.
    790 
    791 # This program is free software; you can redistribute it and/or modify
    792 # it under the terms of the GNU General Public License as published by
    793 # the Free Software Foundation; either version 2, or (at your option)
    794 # any later version.
    795 
    796 # This program is distributed in the hope that it will be useful,
    797 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    799 # GNU General Public License for more details.
    800 
    801 # You should have received a copy of the GNU General Public License
    802 # along with this program; if not, write to the Free Software
    803 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    804 # 02111-1307, USA.
    805 
    806 # serial 1
    807 
    808 # Check whether the underlying file-system supports filenames
    809 # with a leading dot.  For instance MS-DOS doesn't.
    810 AC_DEFUN([AM_SET_LEADING_DOT],
    811 [rm -rf .tst 2>/dev/null
    812 mkdir .tst 2>/dev/null
    813 if test -d .tst; then
    814   am__leading_dot=.
    815 else
    816   am__leading_dot=_
    817 fi
    818 rmdir .tst 2>/dev/null
    819 AC_SUBST([am__leading_dot])])
    820728
    821729# Check to see how 'make' treats includes.      -*- Autoconf -*-
     
    882790])
    883791
    884 #  -*- Autoconf -*-
    885 
    886 
    887 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
    888 
    889 # This program is free software; you can redistribute it and/or modify
    890 # it under the terms of the GNU General Public License as published by
    891 # the Free Software Foundation; either version 2, or (at your option)
    892 # any later version.
    893 
    894 # This program is distributed in the hope that it will be useful,
    895 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    896 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    897 # GNU General Public License for more details.
    898 
    899 # You should have received a copy of the GNU General Public License
    900 # along with this program; if not, write to the Free Software
    901 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    902 # 02111-1307, USA.
    903 
    904 # serial 3
    905 
    906 # AM_MISSING_PROG(NAME, PROGRAM)
    907 # ------------------------------
    908 AC_DEFUN([AM_MISSING_PROG],
    909 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    910 $1=${$1-"${am_missing_run}$2"}
    911 AC_SUBST($1)])
    912 
    913 
    914 # AM_MISSING_HAS_RUN
    915 # ------------------
    916 # Define MISSING if not defined so far and test if it supports --run.
    917 # If it does, set am_missing_run to use it, otherwise, to nothing.
    918 AC_DEFUN([AM_MISSING_HAS_RUN],
    919 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    921 # Use eval to expand $SHELL
    922 if eval "$MISSING --run true"; then
    923   am_missing_run="$MISSING --run "
     792# AM_CONDITIONAL                                              -*- Autoconf -*-
     793
     794# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
     795
     796# This program is free software; you can redistribute it and/or modify
     797# it under the terms of the GNU General Public License as published by
     798# the Free Software Foundation; either version 2, or (at your option)
     799# any later version.
     800
     801# This program is distributed in the hope that it will be useful,
     802# but WITHOUT ANY WARRANTY; without even the implied warranty of
     803# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     804# GNU General Public License for more details.
     805
     806# You should have received a copy of the GNU General Public License
     807# along with this program; if not, write to the Free Software
     808# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     809# 02111-1307, USA.
     810
     811# serial 5
     812
     813AC_PREREQ(2.52)
     814
     815# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     816# -------------------------------------
     817# Define a conditional.
     818AC_DEFUN([AM_CONDITIONAL],
     819[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     820        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     821AC_SUBST([$1_TRUE])
     822AC_SUBST([$1_FALSE])
     823if $2; then
     824  $1_TRUE=
     825  $1_FALSE='#'
    924826else
    925   am_missing_run=
    926   AC_MSG_WARN([`missing' script is too old or missing])
     827  $1_TRUE='#'
     828  $1_FALSE=
    927829fi
    928 ])
    929 
    930 # AM_PROG_MKDIR_P
    931 # ---------------
    932 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
    933 
    934 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    935 
    936 # This program is free software; you can redistribute it and/or modify
    937 # it under the terms of the GNU General Public License as published by
    938 # the Free Software Foundation; either version 2, or (at your option)
    939 # any later version.
    940 
    941 # This program is distributed in the hope that it will be useful,
    942 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    944 # GNU General Public License for more details.
    945 
    946 # You should have received a copy of the GNU General Public License
    947 # along with this program; if not, write to the Free Software
    948 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    949 # 02111-1307, USA.
    950 
    951 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
    952 # created by `make install' are always world readable, even if the
    953 # installer happens to have an overly restrictive umask (e.g. 077).
    954 # This was a mistake.  There are at least two reasons why we must not
    955 # use `-m 0755':
    956 #   - it causes special bits like SGID to be ignored,
    957 #   - it may be too restrictive (some setups expect 775 directories).
    958 #
    959 # Do not use -m 0755 and let people choose whatever they expect by
    960 # setting umask.
    961 #
    962 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
    963 # Some implementations (such as Solaris 8's) are not thread-safe: if a
    964 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
    965 # concurrently, both version can detect that a/ is missing, but only
    966 # one can create it and the other will error out.  Consequently we
    967 # restrict ourselves to GNU make (using the --version option ensures
    968 # this.)
    969 AC_DEFUN([AM_PROG_MKDIR_P],
    970 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    971   # Keeping the `.' argument allows $(mkdir_p) to be used without
    972   # argument.  Indeed, we sometimes output rules like
    973   #   $(mkdir_p) $(somedir)
    974   # where $(somedir) is conditionally defined.
    975   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    976   # expensive solution, as it forces Make to start a sub-shell.)
    977   mkdir_p='mkdir -p -- .'
    978 else
    979   # On NextStep and OpenStep, the `mkdir' command does not
    980   # recognize any option.  It will interpret all options as
    981   # directories to create, and then abort because `.' already
    982   # exists.
    983   for d in ./-p ./--version;
    984   do
    985     test -d $d && rmdir $d
    986   done
    987   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    988   if test -f "$ac_aux_dir/mkinstalldirs"; then
    989     mkdir_p='$(mkinstalldirs)'
     830AC_CONFIG_COMMANDS_PRE(
     831[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     832  AC_MSG_ERROR([conditional "$1" was never defined.
     833Usually this means the macro was only invoked conditionally.])
     834fi])])
     835
     836# Configure paths for SDL
     837# Sam Lantinga 9/21/99
     838# stolen from Manish Singh
     839# stolen back from Frank Belew
     840# stolen from Manish Singh
     841# Shamelessly stolen from Owen Taylor
     842
     843dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     844dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     845dnl
     846AC_DEFUN([AM_PATH_SDL],
     847[dnl
     848dnl Get the cflags and libraries from the sdl-config script
     849dnl
     850AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
     851            sdl_prefix="$withval", sdl_prefix="")
     852AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
     853            sdl_exec_prefix="$withval", sdl_exec_prefix="")
     854AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
     855                    , enable_sdltest=yes)
     856
     857  if test x$sdl_exec_prefix != x ; then
     858     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
     859     if test x${SDL_CONFIG+set} != xset ; then
     860        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
     861     fi
     862  fi
     863  if test x$sdl_prefix != x ; then
     864     sdl_args="$sdl_args --prefix=$sdl_prefix"
     865     if test x${SDL_CONFIG+set} != xset ; then
     866        SDL_CONFIG=$sdl_prefix/bin/sdl-config
     867     fi
     868  fi
     869
     870  AC_REQUIRE([AC_CANONICAL_TARGET])
     871  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
     872  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
     873  min_sdl_version=ifelse([$1], ,0.11.0,$1)
     874  AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
     875  no_sdl=""
     876  if test "$SDL_CONFIG" = "no" ; then
     877    no_sdl=yes
    990878  else
    991     mkdir_p='$(install_sh) -d'
     879    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
     880    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
     881
     882    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
     883           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
     884    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
     885           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
     886    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
     887           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
     888    if test "x$enable_sdltest" = "xyes" ; then
     889      ac_save_CFLAGS="$CFLAGS"
     890      ac_save_LIBS="$LIBS"
     891      CFLAGS="$CFLAGS $SDL_CFLAGS"
     892      LIBS="$LIBS $SDL_LIBS"
     893dnl
     894dnl Now check if the installed SDL is sufficiently new. (Also sanity
     895dnl checks the results of sdl-config to some extent
     896dnl
     897      rm -f conf.sdltest
     898      AC_TRY_RUN([
     899#include <stdio.h>
     900#include <stdlib.h>
     901#include <string.h>
     902#include "SDL.h"
     903
     904char*
     905my_strdup (char *str)
     906{
     907  char *new_str;
     908 
     909  if (str)
     910    {
     911      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
     912      strcpy (new_str, str);
     913    }
     914  else
     915    new_str = NULL;
     916 
     917  return new_str;
     918}
     919
     920int main (int argc, char *argv[])
     921{
     922  int major, minor, micro;
     923  char *tmp_version;
     924
     925  /* This hangs on some systems (?)
     926  system ("touch conf.sdltest");
     927  */
     928  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
     929
     930  /* HP/UX 9 (%@#!) writes to sscanf strings */
     931  tmp_version = my_strdup("$min_sdl_version");
     932  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     933     printf("%s, bad version string\n", "$min_sdl_version");
     934     exit(1);
     935   }
     936
     937   if (($sdl_major_version > major) ||
     938      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
     939      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
     940    {
     941      return 0;
     942    }
     943  else
     944    {
     945      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
     946      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
     947      printf("*** best to upgrade to the required version.\n");
     948      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
     949      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
     950      printf("*** config.cache before re-running configure\n");
     951      return 1;
     952    }
     953}
     954
     955],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
     956       CFLAGS="$ac_save_CFLAGS"
     957       LIBS="$ac_save_LIBS"
     958     fi
    992959  fi
    993 fi
    994 AC_SUBST([mkdir_p])])
    995 
    996 # Helper functions for option handling.                    -*- Autoconf -*-
    997 
    998 # Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
    999 
    1000 # This program is free software; you can redistribute it and/or modify
    1001 # it under the terms of the GNU General Public License as published by
    1002 # the Free Software Foundation; either version 2, or (at your option)
    1003 # any later version.
    1004 
    1005 # This program is distributed in the hope that it will be useful,
    1006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1008 # GNU General Public License for more details.
    1009 
    1010 # You should have received a copy of the GNU General Public License
    1011 # along with this program; if not, write to the Free Software
    1012 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1013 # 02111-1307, USA.
    1014 
    1015 # serial 2
    1016 
    1017 # _AM_MANGLE_OPTION(NAME)
    1018 # -----------------------
    1019 AC_DEFUN([_AM_MANGLE_OPTION],
    1020 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    1021 
    1022 # _AM_SET_OPTION(NAME)
    1023 # ------------------------------
    1024 # Set option NAME.  Presently that only means defining a flag for this option.
    1025 AC_DEFUN([_AM_SET_OPTION],
    1026 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    1027 
    1028 # _AM_SET_OPTIONS(OPTIONS)
    1029 # ----------------------------------
    1030 # OPTIONS is a space-separated list of Automake options.
    1031 AC_DEFUN([_AM_SET_OPTIONS],
    1032 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    1033 
    1034 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    1035 # -------------------------------------------
    1036 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    1037 AC_DEFUN([_AM_IF_OPTION],
    1038 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    1039 
    1040 #
    1041 # Check to make sure that the build environment is sane.
    1042 #
    1043 
    1044 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    1045 
    1046 # This program is free software; you can redistribute it and/or modify
    1047 # it under the terms of the GNU General Public License as published by
    1048 # the Free Software Foundation; either version 2, or (at your option)
    1049 # any later version.
    1050 
    1051 # This program is distributed in the hope that it will be useful,
    1052 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1054 # GNU General Public License for more details.
    1055 
    1056 # You should have received a copy of the GNU General Public License
    1057 # along with this program; if not, write to the Free Software
    1058 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1059 # 02111-1307, USA.
    1060 
    1061 # serial 3
    1062 
    1063 # AM_SANITY_CHECK
    1064 # ---------------
    1065 AC_DEFUN([AM_SANITY_CHECK],
    1066 [AC_MSG_CHECKING([whether build environment is sane])
    1067 # Just in case
    1068 sleep 1
    1069 echo timestamp > conftest.file
    1070 # Do `set' in a subshell so we don't clobber the current shell's
    1071 # arguments.  Must try -L first in case configure is actually a
    1072 # symlink; some systems play weird games with the mod time of symlinks
    1073 # (eg FreeBSD returns the mod time of the symlink's containing
    1074 # directory).
    1075 if (
    1076    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    1077    if test "$[*]" = "X"; then
    1078       # -L didn't work.
    1079       set X `ls -t $srcdir/configure conftest.file`
    1080    fi
    1081    rm -f conftest.file
    1082    if test "$[*]" != "X $srcdir/configure conftest.file" \
    1083       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    1084 
    1085       # If neither matched, then we have a broken ls.  This can happen
    1086       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1087       # broken ls alias from the environment.  This has actually
    1088       # happened.  Such a system could not be considered "sane".
    1089       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    1090 alias in your environment])
    1091    fi
    1092 
    1093    test "$[2]" = conftest.file
    1094    )
    1095 then
    1096    # Ok.
    1097    :
    1098 else
    1099    AC_MSG_ERROR([newly created file is older than distributed files!
    1100 Check your system clock])
    1101 fi
    1102 AC_MSG_RESULT(yes)])
    1103 
    1104 # AM_PROG_INSTALL_STRIP
    1105 
    1106 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    1107 
    1108 # This program is free software; you can redistribute it and/or modify
    1109 # it under the terms of the GNU General Public License as published by
    1110 # the Free Software Foundation; either version 2, or (at your option)
    1111 # any later version.
    1112 
    1113 # This program is distributed in the hope that it will be useful,
    1114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1116 # GNU General Public License for more details.
    1117 
    1118 # You should have received a copy of the GNU General Public License
    1119 # along with this program; if not, write to the Free Software
    1120 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1121 # 02111-1307, USA.
    1122 
    1123 # One issue with vendor `install' (even GNU) is that you can't
    1124 # specify the program used to strip binaries.  This is especially
    1125 # annoying in cross-compiling environments, where the build's strip
    1126 # is unlikely to handle the host's binaries.
    1127 # Fortunately install-sh will honor a STRIPPROG variable, so we
    1128 # always use install-sh in `make install-strip', and initialize
    1129 # STRIPPROG with the value of the STRIP variable (set by the user).
    1130 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    1131 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    1132 # Installed binaries are usually stripped using `strip' when the user
    1133 # run `make install-strip'.  However `strip' might not be the right
    1134 # tool to use in cross-compilation environments, therefore Automake
    1135 # will honor the `STRIP' environment variable to overrule this program.
    1136 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    1137 if test "$cross_compiling" != no; then
    1138   AC_CHECK_TOOL([STRIP], [strip], :)
    1139 fi
    1140 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    1141 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    1142 
     960  if test "x$no_sdl" = x ; then
     961     AC_MSG_RESULT(yes)
     962     ifelse([$2], , :, [$2])     
     963  else
     964     AC_MSG_RESULT(no)
     965     if test "$SDL_CONFIG" = "no" ; then
     966       echo "*** The sdl-config script installed by SDL could not be found"
     967       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
     968       echo "*** your path, or set the SDL_CONFIG environment variable to the"
     969       echo "*** full path to sdl-config."
     970     else
     971       if test -f conf.sdltest ; then
     972        :
     973       else
     974          echo "*** Could not run SDL test program, checking why..."
     975          CFLAGS="$CFLAGS $SDL_CFLAGS"
     976          LIBS="$LIBS $SDL_LIBS"
     977          AC_TRY_LINK([
     978#include <stdio.h>
     979#include "SDL.h"
     980
     981int main(int argc, char *argv[])
     982{ return 0; }
     983#undef  main
     984#define main K_and_R_C_main
     985],      [ return 0; ],
     986        [ echo "*** The test program compiled, but did not run. This usually means"
     987          echo "*** that the run-time linker is not finding SDL or finding the wrong"
     988          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
     989          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
     990          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
     991          echo "*** is required on your system"
     992          echo "***"
     993          echo "*** If you have an old version installed, it is best to remove it, although"
     994          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
     995        [ echo "*** The test program failed to compile or link. See the file config.log for the"
     996          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
     997          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
     998          echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
     999          CFLAGS="$ac_save_CFLAGS"
     1000          LIBS="$ac_save_LIBS"
     1001       fi
     1002     fi
     1003     SDL_CFLAGS=""
     1004     SDL_LIBS=""
     1005     ifelse([$3], , :, [$3])
     1006  fi
     1007  AC_SUBST(SDL_CFLAGS)
     1008  AC_SUBST(SDL_LIBS)
     1009  rm -f conf.sdltest
     1010])
     1011
     1012
     1013dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
     1014dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
     1015dnl also defines GSTUFF_PKG_ERRORS on error
     1016AC_DEFUN(PKG_CHECK_MODULES, [
     1017  succeeded=no
     1018
     1019  if test -z "$PKG_CONFIG"; then
     1020    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     1021  fi
     1022
     1023  if test "$PKG_CONFIG" = "no" ; then
     1024     echo "*** The pkg-config script could not be found. Make sure it is"
     1025     echo "*** in your path, or set the PKG_CONFIG environment variable"
     1026     echo "*** to the full path to pkg-config."
     1027     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
     1028  else
     1029     PKG_CONFIG_MIN_VERSION=0.9.0
     1030     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
     1031        AC_MSG_CHECKING(for $2)
     1032
     1033        if $PKG_CONFIG --exists "$2" ; then
     1034            AC_MSG_RESULT(yes)
     1035            succeeded=yes
     1036
     1037            AC_MSG_CHECKING($1_CFLAGS)
     1038            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
     1039            AC_MSG_RESULT($$1_CFLAGS)
     1040
     1041            AC_MSG_CHECKING($1_LIBS)
     1042            $1_LIBS=`$PKG_CONFIG --libs "$2"`
     1043            AC_MSG_RESULT($$1_LIBS)
     1044        else
     1045            $1_CFLAGS=""
     1046            $1_LIBS=""
     1047            ## If we have a custom action on failure, don't print errors, but
     1048            ## do set a variable so people can do so.
     1049            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
     1050            ifelse([$4], ,echo $$1_PKG_ERRORS,)
     1051        fi
     1052
     1053        AC_SUBST($1_CFLAGS)
     1054        AC_SUBST($1_LIBS)
     1055     else
     1056        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
     1057        echo "*** See http://www.freedesktop.org/software/pkgconfig"
     1058     fi
     1059  fi
     1060
     1061  if test $succeeded = yes; then
     1062     ifelse([$3], , :, [$3])
     1063  else
     1064     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
     1065  fi
     1066])
     1067
     1068
     1069
  • orxonox/branches/osX/configure

    r2993 r2994  
    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 SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS 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 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 SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    863863  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    864864  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    865   --disable-dependency-tracking  speeds up one-time build
    866   --enable-dependency-tracking   do not reject slow dependency extractors
     865  --disable-dependency-tracking Speeds up one-time builds
     866  --enable-dependency-tracking  Do not reject slow dependency extractors
    867867  --disable-sdltest       Do not try to compile and run a test SDL program
    868868
     
    14441444
    14451445
    1446 am__api_version="1.8"
     1446am__api_version="1.7"
    14471447# Find a good install program.  We prefer a C program (faster),
    14481448# so one script is as good as another.  But avoid the broken or
     
    15821582rm conftest.sed
    15831583
     1584
    15841585# expand $ac_aux_dir to an absolute path
    15851586am_aux_dir=`cd $ac_aux_dir && pwd`
     
    15931594  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    15941595echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    1595 fi
    1596 
    1597 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    1598   # Keeping the `.' argument allows $(mkdir_p) to be used without
    1599   # argument.  Indeed, we sometimes output rules like
    1600   #   $(mkdir_p) $(somedir)
    1601   # where $(somedir) is conditionally defined.
    1602   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    1603   # expensive solution, as it forces Make to start a sub-shell.)
    1604   mkdir_p='mkdir -p -- .'
    1605 else
    1606   # On NextStep and OpenStep, the `mkdir' command does not
    1607   # recognize any option.  It will interpret all options as
    1608   # directories to create, and then abort because `.' already
    1609   # exists.
    1610   for d in ./-p ./--version;
    1611   do
    1612     test -d $d && rmdir $d
    1613   done
    1614   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    1615   if test -f "$ac_aux_dir/mkinstalldirs"; then
    1616     mkdir_p='$(mkinstalldirs)'
    1617   else
    1618     mkdir_p='$(install_sh) -d'
    1619   fi
    16201596fi
    16211597
     
    16981674rmdir .tst 2>/dev/null
    16991675
    1700 # test to see if srcdir already configured
     1676 # test to see if srcdir already configured
    17011677if test "`cd $srcdir && pwd`" != "`pwd`" &&
    17021678   test -f $srcdir/config.status; then
     
    25132489    for i in 1 2 3 4 5 6; do
    25142490      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2515       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    2516       # Solaris 8's {/usr,}/bin/sh.
    2517       touch sub/conftst$i.h
     2491      : > sub/conftst$i.h
    25182492    done
    25192493    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    25432517       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    25442518      # icc doesn't choke on unknown options, it will just issue warnings
    2545       # or remarks (even with -Werror).  So we grep stderr for any message
    2546       # that says an option was ignored or not supported.
    2547       # When given -MP, icc 7.0 and 7.1 complain thusly:
    2548       #   icc: Command line warning: ignoring option '-M'; no argument required
    2549       # The diagnosis changed in icc 8.0:
    2550       #   icc: Command line remark: option '-MP' not supported
    2551       if (grep 'ignoring option' conftest.err ||
    2552           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     2519      # (even with -Werror).  So we grep stderr for any message
     2520      # that says an option was ignored.
     2521      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    25532522        am_cv_CXX_dependencies_compiler_type=$depmode
    25542523        break
     
    33513320    for i in 1 2 3 4 5 6; do
    33523321      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3353       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3354       # Solaris 8's {/usr,}/bin/sh.
    3355       touch sub/conftst$i.h
     3322      : > sub/conftst$i.h
    33563323    done
    33573324    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    33813348       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    33823349      # icc doesn't choke on unknown options, it will just issue warnings
    3383       # or remarks (even with -Werror).  So we grep stderr for any message
    3384       # that says an option was ignored or not supported.
    3385       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3386       #   icc: Command line warning: ignoring option '-M'; no argument required
    3387       # The diagnosis changed in icc 8.0:
    3388       #   icc: Command line remark: option '-MP' not supported
    3389       if (grep 'ignoring option' conftest.err ||
    3390           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3350      # (even with -Werror).  So we grep stderr for any message
     3351      # that says an option was ignored.
     3352      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    33913353        am_cv_CC_dependencies_compiler_type=$depmode
    33923354        break
     
    77717733s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    77727734s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
    7773 s,@mkdir_p@,$mkdir_p,;t t
    77747735s,@AWK@,$AWK,;t t
    77757736s,@SET_MAKE@,$SET_MAKE,;t t
     
    84358396  # Extract the definition of DEP_FILES from the Makefile without
    84368397  # running `make'.
    8437   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     8398  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    84388399  test -z "$DEPDIR" && continue
    84398400  # When using ansi2knr, U may be empty or an underscore; expand it
    8440   U=`sed -n 's/^U = //p' < "$mf"`
     8401  U=`sed -n -e '/^U = / s///p' < "$mf"`
    84418402  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    84428403  # We invoke sed twice because it is the simplest approach to
    84438404  # changing $(DEPDIR) to its actual value in the expansion.
    8444   for file in `sed -n '
     8405  for file in `sed -n -e '
    84458406    /^DEP_FILES = .*\\\\$/ {
    84468407      s/^DEP_FILES = //
  • orxonox/branches/osX/console/Makefile.in

    r2993 r2994  
    1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
    16 
    17 
    18 SOURCES = $(console_SOURCES)
    1916
    2017srcdir = @srcdir@
     
    2522pkgincludedir = $(includedir)/@PACKAGE@
    2623top_builddir = ..
     24
    2725am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2826INSTALL = @INSTALL@
     
    3937POST_UNINSTALL = :
    4038host_triplet = @host@
    41 bin_PROGRAMS = console$(EXEEXT)
    42 subdir = console
    43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
    44         $(srcdir)/Makefile.in
    45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    48         $(ACLOCAL_M4)
    49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    50 CONFIG_HEADER = $(top_builddir)/config.h
    51 CONFIG_CLEAN_FILES =
    52 am__installdirs = "$(DESTDIR)$(bindir)"
    53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    54 PROGRAMS = $(bin_PROGRAMS)
    55 am_console_OBJECTS = orxonox_console.$(OBJEXT) \
    56         orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
    57 console_OBJECTS = $(am_console_OBJECTS)
    58 console_LDADD = $(LDADD)
    59 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
    60 depcomp = $(SHELL) $(top_srcdir)/depcomp
    61 am__depfiles_maybe = depfiles
    62 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
    63 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
    64 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
    65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    66         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    67 CXXLD = $(CXX)
    68 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    69         -o $@
    70 SOURCES = $(console_SOURCES)
    71 DIST_SOURCES = $(console_SOURCES)
    72 HEADERS = $(noinst_HEADERS)
    73 ETAGS = etags
    74 CTAGS = ctags
    75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    7639ACLOCAL = @ACLOCAL@
    7740AMDEP_FALSE = @AMDEP_FALSE@
     
    158121localstatedir = @localstatedir@
    159122mandir = @mandir@
    160 mkdir_p = @mkdir_p@
    161123oldincludedir = @oldincludedir@
    162124prefix = @prefix@
     
    172134AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS)
    173135AM_LDFLAGS = $(GTK2_LIBS)
     136
     137bin_PROGRAMS = console
    174138console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc
    175139noinst_HEADERS = orxonox_console.h orxonox_console_entry.h orxonox_console_log.h
     140subdir = console
     141ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     142mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     143CONFIG_HEADER = $(top_builddir)/config.h
     144CONFIG_CLEAN_FILES =
     145bin_PROGRAMS = console$(EXEEXT)
     146PROGRAMS = $(bin_PROGRAMS)
     147
     148am_console_OBJECTS = orxonox_console.$(OBJEXT) \
     149        orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
     150console_OBJECTS = $(am_console_OBJECTS)
     151console_LDADD = $(LDADD)
     152console_DEPENDENCIES =
     153console_LDFLAGS =
     154
     155DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     156depcomp = $(SHELL) $(top_srcdir)/depcomp
     157am__depfiles_maybe = depfiles
     158@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
     159@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
     160@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
     161CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     162        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     163CXXLD = $(CXX)
     164CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     165        -o $@
     166DIST_SOURCES = $(console_SOURCES)
     167HEADERS = $(noinst_HEADERS)
     168
     169DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
     170SOURCES = $(console_SOURCES)
     171
    176172all: all-am
    177173
    178174.SUFFIXES:
    179175.SUFFIXES: .cc .o .obj
    180 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    181         @for dep in $?; do \
    182           case '$(am__configure_deps)' in \
    183             *$$dep*) \
    184               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
    185                 && exit 0; \
    186               exit 1;; \
    187           esac; \
    188         done; \
    189         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  console/Makefile'; \
     176$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    190177        cd $(top_srcdir) && \
    191178          $(AUTOMAKE) --gnu  console/Makefile
    192 .PRECIOUS: Makefile
    193 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    194         @case '$?' in \
    195           *config.status*) \
    196             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    197           *) \
    198             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    199             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    200         esac;
    201 
    202 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    203         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    204 
    205 $(top_srcdir)/configure:  $(am__configure_deps)
    206         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    207 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    208         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     179Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     180        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     181binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    209182install-binPROGRAMS: $(bin_PROGRAMS)
    210183        @$(NORMAL_INSTALL)
    211         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
     184        $(mkinstalldirs) $(DESTDIR)$(bindir)
    212185        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    213186          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    215188          ; then \
    216189            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    217            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
    218            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
     190           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     191           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
    219192          else :; fi; \
    220193        done
     
    224197        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    225198          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    226           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
    227           rm -f "$(DESTDIR)$(bindir)/$$f"; \
     199          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     200          rm -f $(DESTDIR)$(bindir)/$$f; \
    228201        done
    229202
     
    235208
    236209mostlyclean-compile:
    237         -rm -f *.$(OBJEXT)
     210        -rm -f *.$(OBJEXT) core *.core
    238211
    239212distclean-compile:
     
    245218
    246219.cc.o:
    247 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    248 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     220@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     221@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     222@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     223@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     224@am__fastdepCXX_TRUE@   fi
    249225@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    250226@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    251227@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    252 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
     228@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
    253229
    254230.cc.obj:
    255 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    256 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     231@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     232@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     233@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     234@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     235@am__fastdepCXX_TRUE@   fi
    257236@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    258237@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    259238@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    260 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     239@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    261240uninstall-info-am:
     241
     242ETAGS = etags
     243ETAGSFLAGS =
     244
     245CTAGS = ctags
     246CTAGSFLAGS =
     247
     248tags: TAGS
    262249
    263250ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    269256               END { for (i in files) print i; }'`; \
    270257        mkid -fID $$unique
    271 tags: TAGS
    272258
    273259TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    281267          $(AWK) '    { files[$$0] = 1; } \
    282268               END { for (i in files) print i; }'`; \
    283         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    284           test -n "$$unique" || unique=$$empty_fix; \
    285           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    286             $$tags $$unique; \
    287         fi
     269        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     270          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     271             $$tags $$unique
     272
    288273ctags: CTAGS
    289274CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    308293distclean-tags:
    309294        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     295DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     296
     297top_distdir = ..
     298distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    310299
    311300distdir: $(DISTFILES)
     
    321310          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    322311            dir="/$$dir"; \
    323             $(mkdir_p) "$(distdir)$$dir"; \
     312            $(mkinstalldirs) "$(distdir)$$dir"; \
    324313          else \
    325314            dir=''; \
     
    339328check: check-am
    340329all-am: Makefile $(PROGRAMS) $(HEADERS)
     330
    341331installdirs:
    342         for dir in "$(DESTDIR)$(bindir)"; do \
    343           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    344         done
     332        $(mkinstalldirs) $(DESTDIR)$(bindir)
    345333install: install-am
    346334install-exec: install-exec-am
     
    381369dvi-am:
    382370
    383 html: html-am
    384 
    385371info: info-am
    386372
     
    418404.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    419405        clean-generic ctags distclean distclean-compile \
    420         distclean-generic distclean-tags distdir dvi dvi-am html \
    421         html-am info info-am install install-am install-binPROGRAMS \
    422         install-data install-data-am install-exec install-exec-am \
    423         install-info install-info-am install-man install-strip \
    424         installcheck installcheck-am installdirs maintainer-clean \
     406        distclean-generic distclean-tags distdir dvi dvi-am info \
     407        info-am install install-am install-binPROGRAMS install-data \
     408        install-data-am install-exec install-exec-am install-info \
     409        install-info-am install-man install-strip installcheck \
     410        installcheck-am installdirs maintainer-clean \
    425411        maintainer-clean-generic mostlyclean mostlyclean-compile \
    426412        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/osX/gui/Makefile.in

    r2993 r2994  
    1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
    16 
    17 
    18 SOURCES = $(gui_SOURCES)
    1916
    2017srcdir = @srcdir@
     
    2522pkgincludedir = $(includedir)/@PACKAGE@
    2623top_builddir = ..
     24
    2725am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2826INSTALL = @INSTALL@
     
    3937POST_UNINSTALL = :
    4038host_triplet = @host@
    41 bin_PROGRAMS = gui$(EXEEXT)
    42 subdir = gui
    43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
    44         $(srcdir)/Makefile.in
    45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    48         $(ACLOCAL_M4)
    49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    50 CONFIG_HEADER = $(top_builddir)/config.h
    51 CONFIG_CLEAN_FILES =
    52 am__installdirs = "$(DESTDIR)$(bindir)"
    53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    54 PROGRAMS = $(bin_PROGRAMS)
    55 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
    56         orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
    57         orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
    58         orxonox_gui_keys.$(OBJEXT)
    59 gui_OBJECTS = $(am_gui_OBJECTS)
    60 gui_LDADD = $(LDADD)
    61 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
    62 depcomp = $(SHELL) $(top_srcdir)/depcomp
    63 am__depfiles_maybe = depfiles
    64 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
    65 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
    66 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
    67 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
    68 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
    69 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
    70 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
    71 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    72         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    73 CXXLD = $(CXX)
    74 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    75         -o $@
    76 SOURCES = $(gui_SOURCES)
    77 DIST_SOURCES = $(gui_SOURCES)
    78 HEADERS = $(noinst_HEADERS)
    79 ETAGS = etags
    80 CTAGS = ctags
    81 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    8239ACLOCAL = @ACLOCAL@
    8340AMDEP_FALSE = @AMDEP_FALSE@
     
    164121localstatedir = @localstatedir@
    165122mandir = @mandir@
    166 mkdir_p = @mkdir_p@
    167123oldincludedir = @oldincludedir@
    168124prefix = @prefix@
     
    178134AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS)
    179135AM_LDFLAGS = $(GTK2_LIBS)
     136
     137bin_PROGRAMS = gui
    180138gui_SOURCES = orxonox_gui.cc orxonox_gui_video.cc       orxonox_gui_audio.cc orxonox_gui_exec.cc orxonox_gui_flags.cc orxonox_gui_banner.cc orxonox_gui_keys.cc
     139
    181140noinst_HEADERS = orxonox_gui.h orxonox_gui_video.h orxonox_gui_audio.h orxonox_gui_exec.h orxonox_gui_flags.h orxonox_gui_banner.h orxonox_gui_keys.h
    182141
     
    190149#TESTS=chk
    191150EXTRA_DIST = rc banner.xpm
     151subdir = gui
     152ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     153mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     154CONFIG_HEADER = $(top_builddir)/config.h
     155CONFIG_CLEAN_FILES =
     156bin_PROGRAMS = gui$(EXEEXT)
     157PROGRAMS = $(bin_PROGRAMS)
     158
     159am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
     160        orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
     161        orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
     162        orxonox_gui_keys.$(OBJEXT)
     163gui_OBJECTS = $(am_gui_OBJECTS)
     164gui_LDADD = $(LDADD)
     165gui_DEPENDENCIES =
     166gui_LDFLAGS =
     167
     168DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     169depcomp = $(SHELL) $(top_srcdir)/depcomp
     170am__depfiles_maybe = depfiles
     171@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
     172@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
     173@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
     174@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
     175@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
     176@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
     177@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
     178CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     179        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     180CXXLD = $(CXX)
     181CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     182        -o $@
     183DIST_SOURCES = $(gui_SOURCES)
     184HEADERS = $(noinst_HEADERS)
     185
     186DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
     187SOURCES = $(gui_SOURCES)
     188
    192189all: all-am
    193190
    194191.SUFFIXES:
    195192.SUFFIXES: .cc .o .obj
    196 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    197         @for dep in $?; do \
    198           case '$(am__configure_deps)' in \
    199             *$$dep*) \
    200               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
    201                 && exit 0; \
    202               exit 1;; \
    203           esac; \
    204         done; \
    205         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gui/Makefile'; \
     193$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    206194        cd $(top_srcdir) && \
    207195          $(AUTOMAKE) --gnu  gui/Makefile
    208 .PRECIOUS: Makefile
    209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    210         @case '$?' in \
    211           *config.status*) \
    212             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    213           *) \
    214             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    215             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    216         esac;
    217 
    218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    219         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    220 
    221 $(top_srcdir)/configure:  $(am__configure_deps)
    222         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    223 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    224         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     196Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     197        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     198binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    225199install-binPROGRAMS: $(bin_PROGRAMS)
    226200        @$(NORMAL_INSTALL)
    227         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
     201        $(mkinstalldirs) $(DESTDIR)$(bindir)
    228202        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    229203          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    231205          ; then \
    232206            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    233            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
    234            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
     207           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     208           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
    235209          else :; fi; \
    236210        done
     
    240214        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    241215          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    242           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
    243           rm -f "$(DESTDIR)$(bindir)/$$f"; \
     216          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     217          rm -f $(DESTDIR)$(bindir)/$$f; \
    244218        done
    245219
     
    251225
    252226mostlyclean-compile:
    253         -rm -f *.$(OBJEXT)
     227        -rm -f *.$(OBJEXT) core *.core
    254228
    255229distclean-compile:
     
    265239
    266240.cc.o:
    267 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    268 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     241@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     242@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     243@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     244@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     245@am__fastdepCXX_TRUE@   fi
    269246@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    270247@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    271248@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    272 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
     249@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
    273250
    274251.cc.obj:
    275 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    276 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     252@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     253@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     254@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     255@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     256@am__fastdepCXX_TRUE@   fi
    277257@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    278258@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    279259@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    280 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     260@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    281261uninstall-info-am:
     262
     263ETAGS = etags
     264ETAGSFLAGS =
     265
     266CTAGS = ctags
     267CTAGSFLAGS =
     268
     269tags: TAGS
    282270
    283271ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    289277               END { for (i in files) print i; }'`; \
    290278        mkid -fID $$unique
    291 tags: TAGS
    292279
    293280TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    301288          $(AWK) '    { files[$$0] = 1; } \
    302289               END { for (i in files) print i; }'`; \
    303         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    304           test -n "$$unique" || unique=$$empty_fix; \
    305           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    306             $$tags $$unique; \
    307         fi
     290        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     291          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     292             $$tags $$unique
     293
    308294ctags: CTAGS
    309295CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    328314distclean-tags:
    329315        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     316DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     317
     318top_distdir = ..
     319distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    330320
    331321distdir: $(DISTFILES)
     
    341331          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    342332            dir="/$$dir"; \
    343             $(mkdir_p) "$(distdir)$$dir"; \
     333            $(mkinstalldirs) "$(distdir)$$dir"; \
    344334          else \
    345335            dir=''; \
     
    359349check: check-am
    360350all-am: Makefile $(PROGRAMS) $(HEADERS)
     351
    361352installdirs:
    362         for dir in "$(DESTDIR)$(bindir)"; do \
    363           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    364         done
     353        $(mkinstalldirs) $(DESTDIR)$(bindir)
    365354install: install-am
    366355install-exec: install-exec-am
     
    401390dvi-am:
    402391
    403 html: html-am
    404 
    405392info: info-am
    406393
     
    438425.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    439426        clean-generic ctags distclean distclean-compile \
    440         distclean-generic distclean-tags distdir dvi dvi-am html \
    441         html-am info info-am install install-am install-binPROGRAMS \
    442         install-data install-data-am install-exec install-exec-am \
    443         install-info install-info-am install-man install-strip \
    444         installcheck installcheck-am installdirs maintainer-clean \
     427        distclean-generic distclean-tags distdir dvi dvi-am info \
     428        info-am install install-am install-binPROGRAMS install-data \
     429        install-data-am install-exec install-exec-am install-info \
     430        install-info-am install-man install-strip installcheck \
     431        installcheck-am installdirs maintainer-clean \
    445432        maintainer-clean-generic mostlyclean mostlyclean-compile \
    446433        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/osX/importer/Makefile.in

    r2993 r2994  
    1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
    16 
    17 
    18 SOURCES = $(importer_SOURCES)
    1916
    2017srcdir = @srcdir@
     
    2522pkgincludedir = $(includedir)/@PACKAGE@
    2623top_builddir = ..
     24
    2725am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2826INSTALL = @INSTALL@
     
    3937POST_UNINSTALL = :
    4038host_triplet = @host@
    41 bin_PROGRAMS = importer$(EXEEXT)
    42 subdir = importer
    43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
    44         $(srcdir)/Makefile.in TODO
    45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    48         $(ACLOCAL_M4)
    49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    50 CONFIG_HEADER = $(top_builddir)/config.h
    51 CONFIG_CLEAN_FILES =
    52 am__installdirs = "$(DESTDIR)$(bindir)"
    53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    54 PROGRAMS = $(bin_PROGRAMS)
    55 am_importer_OBJECTS = framework.$(OBJEXT) windowHandler.$(OBJEXT) \
    56         vector.$(OBJEXT) object.$(OBJEXT) array.$(OBJEXT) \
    57         material.$(OBJEXT)
    58 importer_OBJECTS = $(am_importer_OBJECTS)
    59 importer_LDADD = $(LDADD)
    60 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
    61 depcomp = $(SHELL) $(top_srcdir)/depcomp
    62 am__depfiles_maybe = depfiles
    63 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po ./$(DEPDIR)/framework.Po \
    64 @AMDEP_TRUE@    ./$(DEPDIR)/material.Po ./$(DEPDIR)/object.Po \
    65 @AMDEP_TRUE@    ./$(DEPDIR)/vector.Po ./$(DEPDIR)/windowHandler.Po
    66 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    67         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    68 CXXLD = $(CXX)
    69 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    70         -o $@
    71 SOURCES = $(importer_SOURCES)
    72 DIST_SOURCES = $(importer_SOURCES)
    73 HEADERS = $(noinst_HEADERS)
    74 ETAGS = etags
    75 CTAGS = ctags
    76 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    7739ACLOCAL = @ACLOCAL@
    7840AMDEP_FALSE = @AMDEP_FALSE@
     
    159121localstatedir = @localstatedir@
    160122mandir = @mandir@
    161 mkdir_p = @mkdir_p@
    162123oldincludedir = @oldincludedir@
    163124prefix = @prefix@
     
    173134AM_CXXFLAGS = "-I/usr/X11R6/include"
    174135AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib  -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS)
     136
     137
     138#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
     139bin_PROGRAMS = importer
    175140importer_SOURCES = framework.cc windowHandler.cc vector.cc object.cc array.cc material.cc
     141
    176142noinst_HEADERS = framework.h windowHandler.h  vector.h object.h array.h material.h
     143subdir = importer
     144ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     145mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     146CONFIG_HEADER = $(top_builddir)/config.h
     147CONFIG_CLEAN_FILES =
     148bin_PROGRAMS = importer$(EXEEXT)
     149PROGRAMS = $(bin_PROGRAMS)
     150
     151am_importer_OBJECTS = framework.$(OBJEXT) windowHandler.$(OBJEXT) \
     152        vector.$(OBJEXT) object.$(OBJEXT) array.$(OBJEXT) \
     153        material.$(OBJEXT)
     154importer_OBJECTS = $(am_importer_OBJECTS)
     155importer_LDADD = $(LDADD)
     156importer_DEPENDENCIES =
     157importer_LDFLAGS =
     158
     159DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     160depcomp = $(SHELL) $(top_srcdir)/depcomp
     161am__depfiles_maybe = depfiles
     162@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po ./$(DEPDIR)/framework.Po \
     163@AMDEP_TRUE@    ./$(DEPDIR)/material.Po ./$(DEPDIR)/object.Po \
     164@AMDEP_TRUE@    ./$(DEPDIR)/vector.Po ./$(DEPDIR)/windowHandler.Po
     165CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     166        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     167CXXLD = $(CXX)
     168CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     169        -o $@
     170DIST_SOURCES = $(importer_SOURCES)
     171HEADERS = $(noinst_HEADERS)
     172
     173DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
     174SOURCES = $(importer_SOURCES)
     175
    177176all: all-am
    178177
    179178.SUFFIXES:
    180179.SUFFIXES: .cc .o .obj
    181 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    182         @for dep in $?; do \
    183           case '$(am__configure_deps)' in \
    184             *$$dep*) \
    185               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
    186                 && exit 0; \
    187               exit 1;; \
    188           esac; \
    189         done; \
    190         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  importer/Makefile'; \
     180$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    191181        cd $(top_srcdir) && \
    192182          $(AUTOMAKE) --gnu  importer/Makefile
    193 .PRECIOUS: Makefile
    194 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    195         @case '$?' in \
    196           *config.status*) \
    197             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    198           *) \
    199             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    200             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    201         esac;
    202 
    203 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    204         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    205 
    206 $(top_srcdir)/configure:  $(am__configure_deps)
    207         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    208 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    209         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     183Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     184        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     185binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    210186install-binPROGRAMS: $(bin_PROGRAMS)
    211187        @$(NORMAL_INSTALL)
    212         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
     188        $(mkinstalldirs) $(DESTDIR)$(bindir)
    213189        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    214190          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    216192          ; then \
    217193            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    218            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
    219            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
     194           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     195           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
    220196          else :; fi; \
    221197        done
     
    225201        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    226202          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    227           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
    228           rm -f "$(DESTDIR)$(bindir)/$$f"; \
     203          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     204          rm -f $(DESTDIR)$(bindir)/$$f; \
    229205        done
    230206
     
    236212
    237213mostlyclean-compile:
    238         -rm -f *.$(OBJEXT)
     214        -rm -f *.$(OBJEXT) core *.core
    239215
    240216distclean-compile:
     
    249225
    250226.cc.o:
    251 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    252 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     227@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     228@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     229@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     230@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     231@am__fastdepCXX_TRUE@   fi
    253232@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    254233@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    255234@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    256 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
     235@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
    257236
    258237.cc.obj:
    259 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    260 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     238@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     239@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     240@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     241@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     242@am__fastdepCXX_TRUE@   fi
    261243@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    262244@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    263245@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    264 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     246@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    265247uninstall-info-am:
     248
     249ETAGS = etags
     250ETAGSFLAGS =
     251
     252CTAGS = ctags
     253CTAGSFLAGS =
     254
     255tags: TAGS
    266256
    267257ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    273263               END { for (i in files) print i; }'`; \
    274264        mkid -fID $$unique
    275 tags: TAGS
    276265
    277266TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    285274          $(AWK) '    { files[$$0] = 1; } \
    286275               END { for (i in files) print i; }'`; \
    287         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    288           test -n "$$unique" || unique=$$empty_fix; \
    289           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    290             $$tags $$unique; \
    291         fi
     276        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     277          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     278             $$tags $$unique
     279
    292280ctags: CTAGS
    293281CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    312300distclean-tags:
    313301        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     302DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     303
     304top_distdir = ..
     305distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    314306
    315307distdir: $(DISTFILES)
     
    325317          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    326318            dir="/$$dir"; \
    327             $(mkdir_p) "$(distdir)$$dir"; \
     319            $(mkinstalldirs) "$(distdir)$$dir"; \
    328320          else \
    329321            dir=''; \
     
    343335check: check-am
    344336all-am: Makefile $(PROGRAMS) $(HEADERS)
     337
    345338installdirs:
    346         for dir in "$(DESTDIR)$(bindir)"; do \
    347           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    348         done
     339        $(mkinstalldirs) $(DESTDIR)$(bindir)
    349340install: install-am
    350341install-exec: install-exec-am
     
    385376dvi-am:
    386377
    387 html: html-am
    388 
    389378info: info-am
    390379
     
    422411.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    423412        clean-generic ctags distclean distclean-compile \
    424         distclean-generic distclean-tags distdir dvi dvi-am html \
    425         html-am info info-am install install-am install-binPROGRAMS \
    426         install-data install-data-am install-exec install-exec-am \
    427         install-info install-info-am install-man install-strip \
    428         installcheck installcheck-am installdirs maintainer-clean \
     413        distclean-generic distclean-tags distdir dvi dvi-am info \
     414        info-am install install-am install-binPROGRAMS install-data \
     415        install-data-am install-exec install-exec-am install-info \
     416        install-info-am install-man install-strip installcheck \
     417        installcheck-am installdirs maintainer-clean \
    429418        maintainer-clean-generic mostlyclean mostlyclean-compile \
    430419        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/osX/src/Makefile.in

    r2993 r2994  
    1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
    16 
    17 
    18 SOURCES = $(orxonox_SOURCES)
    1916
    2017srcdir = @srcdir@
     
    2522pkgincludedir = $(includedir)/@PACKAGE@
    2623top_builddir = ..
     24
    2725am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2826INSTALL = @INSTALL@
     
    3937POST_UNINSTALL = :
    4038host_triplet = @host@
    41 bin_PROGRAMS = orxonox$(EXEEXT)
    42 subdir = src
    43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
    44         $(srcdir)/Makefile.in INSTALL
    45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    48         $(ACLOCAL_M4)
    49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    50 CONFIG_HEADER = $(top_builddir)/config.h
    51 CONFIG_CLEAN_FILES =
    52 am__installdirs = "$(DESTDIR)$(bindir)"
    53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    54 PROGRAMS = $(bin_PROGRAMS)
    55 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
    56         player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \
    57         vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \
    58         command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \
    59         track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \
    60         campaign.$(OBJEXT) story_entity.$(OBJEXT) object.$(OBJEXT) \
    61         environment.$(OBJEXT) array.$(OBJEXT) material.$(OBJEXT) \
    62         list.$(OBJEXT)
    63 orxonox_OBJECTS = $(am_orxonox_OBJECTS)
    64 orxonox_LDADD = $(LDADD)
    65 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
    66 depcomp = $(SHELL) $(top_srcdir)/depcomp
    67 am__depfiles_maybe = depfiles
    68 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \
    69 @AMDEP_TRUE@    ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \
    70 @AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \
    71 @AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
    72 @AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po \
    73 @AMDEP_TRUE@    ./$(DEPDIR)/environment.Po \
    74 @AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
    75 @AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
    76 @AMDEP_TRUE@    ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \
    77 @AMDEP_TRUE@    ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \
    78 @AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \
    79 @AMDEP_TRUE@    ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \
    80 @AMDEP_TRUE@    ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po
    81 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    82         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    83 CXXLD = $(CXX)
    84 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    85         -o $@
    86 SOURCES = $(orxonox_SOURCES)
    87 DIST_SOURCES = $(orxonox_SOURCES)
    88 HEADERS = $(noinst_HEADERS)
    89 ETAGS = etags
    90 CTAGS = ctags
    91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    9239ACLOCAL = @ACLOCAL@
    9340AMDEP_FALSE = @AMDEP_FALSE@
     
    174121localstatedir = @localstatedir@
    175122mandir = @mandir@
    176 mkdir_p = @mkdir_p@
    177123oldincludedir = @oldincludedir@
    178124prefix = @prefix@
     
    188134AM_CXXFLAGS = "-I/usr/X11R6/include"
    189135AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib  -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS)
     136
     137
     138#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
     139bin_PROGRAMS = orxonox
     140
    190141orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc object.cc environment.cc array.cc material.cc list.cc
    191142noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h object.h array.h material.h list_template.h
     143subdir = src
     144ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     145mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     146CONFIG_HEADER = $(top_builddir)/config.h
     147CONFIG_CLEAN_FILES =
     148bin_PROGRAMS = orxonox$(EXEEXT)
     149PROGRAMS = $(bin_PROGRAMS)
     150
     151am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \
     152        data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \
     153        camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \
     154        ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \
     155        base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \
     156        story_entity.$(OBJEXT) object.$(OBJEXT) environment.$(OBJEXT) \
     157        array.$(OBJEXT) material.$(OBJEXT) list.$(OBJEXT)
     158orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     159orxonox_LDADD = $(LDADD)
     160orxonox_DEPENDENCIES =
     161orxonox_LDFLAGS =
     162
     163DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     164depcomp = $(SHELL) $(top_srcdir)/depcomp
     165am__depfiles_maybe = depfiles
     166@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \
     167@AMDEP_TRUE@    ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \
     168@AMDEP_TRUE@    ./$(DEPDIR)/collision.Po \
     169@AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
     170@AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/environment.Po \
     171@AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
     172@AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
     173@AMDEP_TRUE@    ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \
     174@AMDEP_TRUE@    ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \
     175@AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \
     176@AMDEP_TRUE@    ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \
     177@AMDEP_TRUE@    ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po
     178CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     179        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     180CXXLD = $(CXX)
     181CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     182        -o $@
     183DIST_SOURCES = $(orxonox_SOURCES)
     184HEADERS = $(noinst_HEADERS)
     185
     186DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in INSTALL \
     187        Makefile.am
     188SOURCES = $(orxonox_SOURCES)
     189
    192190all: all-am
    193191
    194192.SUFFIXES:
    195193.SUFFIXES: .cc .o .obj
    196 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    197         @for dep in $?; do \
    198           case '$(am__configure_deps)' in \
    199             *$$dep*) \
    200               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
    201                 && exit 0; \
    202               exit 1;; \
    203           esac; \
    204         done; \
    205         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
     194$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    206195        cd $(top_srcdir) && \
    207196          $(AUTOMAKE) --gnu  src/Makefile
    208 .PRECIOUS: Makefile
    209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    210         @case '$?' in \
    211           *config.status*) \
    212             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    213           *) \
    214             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    215             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    216         esac;
    217 
    218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    219         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    220 
    221 $(top_srcdir)/configure:  $(am__configure_deps)
    222         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    223 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    224         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     197Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     198        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     199binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
    225200install-binPROGRAMS: $(bin_PROGRAMS)
    226201        @$(NORMAL_INSTALL)
    227         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
     202        $(mkinstalldirs) $(DESTDIR)$(bindir)
    228203        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    229204          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    231206          ; then \
    232207            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    233            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
    234            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
     208           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     209           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
    235210          else :; fi; \
    236211        done
     
    240215        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    241216          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    242           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
    243           rm -f "$(DESTDIR)$(bindir)/$$f"; \
     217          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     218          rm -f $(DESTDIR)$(bindir)/$$f; \
    244219        done
    245220
     
    251226
    252227mostlyclean-compile:
    253         -rm -f *.$(OBJEXT)
     228        -rm -f *.$(OBJEXT) core *.core
    254229
    255230distclean-compile:
     
    279254
    280255.cc.o:
    281 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    282 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     256@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     257@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     258@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     259@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     260@am__fastdepCXX_TRUE@   fi
    283261@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    284262@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    285263@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    286 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
     264@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
    287265
    288266.cc.obj:
    289 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    290 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     267@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     268@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     269@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     270@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     271@am__fastdepCXX_TRUE@   fi
    291272@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    292273@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    293274@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    294 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     275@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    295276uninstall-info-am:
     277
     278ETAGS = etags
     279ETAGSFLAGS =
     280
     281CTAGS = ctags
     282CTAGSFLAGS =
     283
     284tags: TAGS
    296285
    297286ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    303292               END { for (i in files) print i; }'`; \
    304293        mkid -fID $$unique
    305 tags: TAGS
    306294
    307295TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    315303          $(AWK) '    { files[$$0] = 1; } \
    316304               END { for (i in files) print i; }'`; \
    317         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    318           test -n "$$unique" || unique=$$empty_fix; \
    319           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    320             $$tags $$unique; \
    321         fi
     305        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     306          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     307             $$tags $$unique
     308
    322309ctags: CTAGS
    323310CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    342329distclean-tags:
    343330        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     331DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     332
     333top_distdir = ..
     334distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    344335
    345336distdir: $(DISTFILES)
     
    355346          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    356347            dir="/$$dir"; \
    357             $(mkdir_p) "$(distdir)$$dir"; \
     348            $(mkinstalldirs) "$(distdir)$$dir"; \
    358349          else \
    359350            dir=''; \
     
    373364check: check-am
    374365all-am: Makefile $(PROGRAMS) $(HEADERS)
     366
    375367installdirs:
    376         for dir in "$(DESTDIR)$(bindir)"; do \
    377           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    378         done
     368        $(mkinstalldirs) $(DESTDIR)$(bindir)
    379369install: install-am
    380370install-exec: install-exec-am
     
    415405dvi-am:
    416406
    417 html: html-am
    418 
    419407info: info-am
    420408
     
    452440.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    453441        clean-generic ctags distclean distclean-compile \
    454         distclean-generic distclean-tags distdir dvi dvi-am html \
    455         html-am info info-am install install-am install-binPROGRAMS \
    456         install-data install-data-am install-exec install-exec-am \
    457         install-info install-info-am install-man install-strip \
    458         installcheck installcheck-am installdirs maintainer-clean \
     442        distclean-generic distclean-tags distdir dvi dvi-am info \
     443        info-am install install-am install-binPROGRAMS install-data \
     444        install-data-am install-exec install-exec-am install-info \
     445        install-info-am install-man install-strip installcheck \
     446        installcheck-am installdirs maintainer-clean \
    459447        maintainer-clean-generic mostlyclean mostlyclean-compile \
    460448        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
Note: See TracChangeset for help on using the changeset viewer.