Hi,

automake just crashed on me, and it told me to send a mail here, so I do. :-)
This is what it says:
Makefile.am:184: unterminated conditionals: DEBUGGING_TRUE DEPRECATION_TRUE
automake-1.9: ####################
automake-1.9: ## Internal Error ##
automake-1.9: ####################
automake-1.9: undefined condition `TRUE' for `AUTOMAKE_OPTIONS'
automake-1.9: AUTOMAKE_OPTIONS:
automake-1.9:   {
automake-1.9:     DEBUGGING and DEPRECATION => {
automake-1.9:       type: =
automake-1.9:       where: Makefile.am:80:
automake-1.9:       comment:
automake-1.9: # Let object files be generated in their own subdirectories
automake-1.9:
automake-1.9:       value: subdir-objects
automake-1.9:       owner: Makefile
automake-1.9:     }
automake-1.9:   }
automake-1.9:
automake-1.9: Please contact <[email protected]>.
 at /usr/share/automake-1.9/Automake/Channels.pm line 562
        Automake::Channels::msg('automake', '', 'undefined condition `TRUE\'
for `AUTOMAKE_OPTIONS\'\x{a}AUTOMAKE_...') called at
/usr/share/automake-1.9/Automake/ChannelDefs.pm line 191
        Automake::ChannelDefs::prog_error('undefined condition `TRUE\' for
`AUTOMAKE_OPTIONS\'\x{a}AUTOMAKE_...') called at
/usr/share/automake-1.9/Automake/Item.pm line 93
        Automake::Item::rdef('Automake::Variable=HASH(0x861cf08)',
'Automake::Condition=HASH(0x8356b04)') called at /usr/bin/automake-1.9 line
998
        Automake::handle_options() called at /usr/bin/automake-1.9 line 7112
        Automake::generate_makefile('Makefile.am', 'Makefile.in') called at
/usr/bin/automake-1.9 line 7514

The Makefile.am and configure.ac that triggered it are attached.  If you need
any of the included files, you can find them in the pioneers svn repository,
http://svn.sourceforge.net/viewcvs.cgi/pio/trunk/

I'll try to work around the problem by putting the flags in variables.  I
wasn't sure if this was allowed anyway. :-)  Perhaps it isn't, and this is
automake's way to telling me?  I'd suggest a normal error message in that
case. ;-)

Thanks,
Bas Wijnen

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html
# Pioneers - Implementation of the excellent Settlers of Catan board game.
#   Go buy a copy.
#
# Copyright (C) 1999 Dave Cole
# Copyright (C) 2003, 2006 Bas Wijnen <[EMAIL PROTECTED]>
# Copyright (C) 2004-2006 Roland Clobus <[EMAIL PROTECTED]>
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

AC_PREREQ(2.53)
AC_INIT([pioneers],[0.9.65],[EMAIL PROTECTED])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AC_CONFIG_SRCDIR([client])
AM_CONFIG_HEADER(config.h)
 
PROTOCOL_VERSION=0.9
META_PROTOCOL_VERSION=1.3
PIONEERS_DEFAULT_GAME_PORT=5556
PIONEERS_DEFAULT_GAME_HOST=localhost
PIONEERS_DEFAULT_ADMIN_PORT=5555
PIONEERS_DEFAULT_META_PORT=5557
PIONEERS_DEFAULT_META_SERVER=pioneers.debian.net

GLIB_REQUIRED_VERSION=2.6
GTK_REQUIRED_VERSION=2.6
 
AM_MAINTAINER_MODE

AC_PROG_LIBTOOL

AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_MKDIR_P
AC_HEADER_STDC

if test $USE_MAINTAINER_MODE = yes; then
        pioneers_warnings=yes;
        pioneers_debug=yes;
        pioneers_logging=yes;
        pioneers_deprecationChecks=yes;
else
        pioneers_warnings=no;
        pioneers_debug=no;
        pioneers_logging=no;
        pioneers_deprecationChecks=no;
fi

# Try to find a suitable renderer for the svg images
AC_PATH_PROG(svg_renderer_path, rsvg)
AC_SUBST(whitespace_trick, [" "])
if test x$svg_renderer_path != x; then
        AC_SUBST(svg_renderer_width, ["--width \$(whitespace_trick)"])
        AC_SUBST(svg_renderer_height, ["\$(whitespace_trick) --height 
\$(whitespace_trick)"])
else
AC_PATH_PROG(svg_renderer_path, convert)
if test x$svg_renderer_path != x; then
        AC_SUBST(svg_renderer_width, ["-background \"\#000001\" -transparent 
\"\#000001\" -resize \$(whitespace_trick)"])
        AC_SUBST(svg_renderer_height, ["x"])
else 
        # Add other SVG rendering programs here
        # Don't let configure fail, in the distributed tarballs is already
        # a current .png file
        AC_SUBST(svg_renderer_path, [false])
fi
fi

# Is netpbm installed (should be needed only for maintainer builds)
# netpbm will generate the icon for the Windows executables
AC_PATH_PROG(pngtopnm, pngtopnm)
if test "$pngtopnm" = ""; then
        # Don't let configure fail, in the distributed tarballs is already
        # a current .png file
        AC_SUBST(pngtopnm, [false])
fi

AC_ARG_ENABLE([warnings], AC_HELP_STRING([--enable-warnings],
        [Compile with check for compiler warnings (gcc-only).]),
[case "${enableval}" in
  full) pioneers_warnings=full;;
  yes)  pioneers_warnings=yes ;;
  "")   pioneers_warnings=yes ;;
  *)    pioneers_warnings=no  ;;
esac])

AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug],
        [Enable debug information.]),
[case "${enableval}" in
  yes)  pioneers_debug=yes ;;
  "")   pioneers_debug=yes ;;
  *)    pioneers_debug=no  ;;
esac])

AC_ARG_ENABLE([logging], AC_HELP_STRING([--enable-logging],
        [Enable network logging.]),
[case "${enableval}" in
  yes)  pioneers_logging=yes ;;
  "")   pioneers_logging=yes ;;
  *)    pioneers_logging=no  ;;
esac])

AC_ARG_ENABLE([deprecation-checks],
        AC_HELP_STRING([--enable-deprecation-checks],
                [Enable strict deprecation checks.]),
[case "${enableval}" in
  yes)  pioneers_deprecationChecks=yes ;;
  "")   pioneers_deprecationChecks=yes ;;
  *)    pioneers_deprecationChecks=no  ;;
esac])

## The warnings are in the same order as in 'man gcc'
if test "x$GCC" = xyes; then
        if test "$pioneers_warnings" = yes -o "$pioneers_warnings" = full; then
                AM_CONDITIONAL(WARNINGS, true)
        fi
        if test "$pioneers_warnings" = full; then
                flags="-Wfloat-equal"
                flags="$flags -Wdeclaration-after-statement"
                flags="$flags -Wundef"
                flags="$flags -Wendif-labels"
                flags="$flags -Wshadow"
                flags="$flags -Wbad-function-cast"
                flags="$flags -Wconversion"
                flags="$flags -Wold-style-definition"
                flags="$flags -Wunreachable-code"
                flags="$flags -pedantic"

                # This for loop comes from gnome-compiler-flags.m4
                AC_SUBST(EXTRA_WARNING_FLAGS)
                for option in $flags; do
                        SAVE_CFLAGS="$CFLAGS"
                        CFLAGS="$CFLAGS $option"
                        AC_MSG_CHECKING([whether gcc understands $option])
                        AC_TRY_COMPILE([], [],
                                has_option=yes,
                                has_option=no,)
                        CFLAGS="$SAVE_CFLAGS"
                        AC_MSG_RESULT($has_option)
                        if test $has_option = yes; then
                                AC_SUBST(EXTRA_WARNING_FLAGS,
                                         "$EXTRA_WARNING_FLAGS $option")
                        fi
                        unset has_option
                        unset SAVE_CFLAGS
                done
                unset option
                unset flags
        fi
fi

if test "$pioneers_debug" = yes; then
        AM_CONDITIONAL(DEBUGGING, true)
else
        AM_CONDITIONAL(DEBUGGING, false)
fi

if test "$pioneers_logging" = yes; then
        AC_DEFINE_UNQUOTED(DEBUG, [1], [Defined when logging is enabled])
fi

if test "$pioneers_deprecationChecks" = yes; then
        AM_CONDITIONAL(DEPRECATION, true)
else
        AM_CONDITIONAL(DEPRECATION, false)
fi

## Scrollkeeper dependency test taken from gnome-games 2.6.2
## Begin tests for scrollkeeper
# SCROLLKEEPER_REQUIRED is never used?
SCROLLKEEPER_REQUIRED=0.3.8
AC_SUBST(SCROLLKEEPER_REQUIRED)

AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
if test x$SCROLLKEEPER_CONFIG = xno; then 
        have_scrollkeeper=no;
else
        have_scrollkeeper=yes;
fi

# glib is always needed
PKG_CHECK_MODULES(GLIB2, glib-2.0 >= $GLIB_REQUIRED_VERSION)

# Gtk+ support
if test x$with_gtk = xno; then
        have_gtk2="no, disabled in configure"
else
        PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= $GTK_REQUIRED_VERSION,
        have_gtk2=yes, 
        [PKG_CHECK_MODULES(OLD_GTK2, gtk+-2.0,
                [have_gtk2="no, Gtk+ version too old"],
                [have_gtk2="no, Gtk+ not installed"])
        ])
fi
AM_CONDITIONAL(HAVE_GTK2, [test "$have_gtk2" = "yes"])

# Gtk ScrollKeeper -> Test     Build
#                     libgnome Help
#  N       X           N        N
#  Y       N           N        N
#  Y       Y           Y        if have libgnome
# libgnome is only needed for help
if test "$have_gtk2" = "yes"; then
        test_libgnome=$have_scrollkeeper;
else
        test_libgnome=no;
fi

have_graphical=$have_gtk2;
if test "$test_libgnome" = "yes"; then
        # libgnome-2.0 support
        PKG_CHECK_MODULES(GNOME2, libgnome-2.0,
                [have_gnome="yes"],
                [have_gnome="no, libgnome-2.0 not installed"])
        if test "$have_gnome" = "yes"; then
                AC_DEFINE(HAVE_LIBGNOME, 1,
                        [Defined if libgnome is present and needed])
        fi
        if test "$have_scrollkeeper" = "yes"; then
                # Turn off the help if libgnome not installed
                have_scrollkeeper=$have_gnome;
        fi
fi
AM_CONDITIONAL(HAVE_GNOME, [test "$have_graphical" = "yes"])

AM_CONDITIONAL(HAVE_SCROLLKEEPER, [test "$have_scrollkeeper" = "yes"])

AC_ARG_ENABLE([admin-gtk], AC_HELP_STRING([--enable-admin-gtk],
        [Turn on (unstable) network administration support.]),
[case "${enableval}" in
  yes) admin_gtk_support=yes  ;;
  "")  admin_gtk_support=yes  ;;
  *)   admin_gtk_support=no ;;
esac], [admin_gtk_support=no])
AM_CONDITIONAL(ADMIN_GTK_SUPPORT, [test x$admin_gtk_support = xyes])

AC_CHECK_HEADERS([getopt.h])
AC_CHECK_HEADERS([netdb.h fcntl.h netinet/in.h sys/socket.h])
AC_CHECK_HEADERS([limits.h])
AC_CHECK_HEADERS([syslog.h],
        [pioneers_have_syslog=yes;],
        [pioneers_have_syslog=no;])
AC_CHECK_HEADERS([sys/param.h])
AC_HEADER_SYS_WAIT
AC_HEADER_TIME

AC_C_CONST

# Functions
AC_FUNC_FORK
AC_FUNC_SELECT_ARGTYPES

# Mathematics
AC_CHECK_FUNCS([rint sqrt])
# String functions
AC_CHECK_FUNCS([strrchr strspn strstr strcspn])
AC_CHECK_FUNCS([memmove memset])
# Network and I/O functions
AC_CHECK_FUNCS([gethostname select socket])
getsockopt_arg3="void *";
# getaddrinfo and friends
AC_CHECK_FUNCS([getaddrinfo gai_strerror freeaddrinfo], 
        AC_DEFINE_UNQUOTED(HAVE_GETADDRINFO_ET_AL, [1],
                [Defined when getaddrinfo. gai_strerror and freeaddrinfo are 
present]))

# The Windows ports (Cygwin and MinGW) are client-only
pioneers_is_mingw_port=no;
case $host in
        *-*-cygwin*)
                pioneers_is_windows_port=yes;;
        *-*-mingw*)
                pioneers_is_windows_port=yes;
                pioneers_is_mingw_port=yes;;
        *)
                pioneers_is_windows_port=no;;
esac

# Can a non-blocking socket be created?
pioneers_have_non_blocking_sockets=no;
AC_CHECK_FUNCS([fcntl],[pioneers_have_non_blocking_sockets=yes])
if test "$pioneers_have_non_blocking_sockets" = "no"; then
        # Only check for ws2tcpip now,
        # because it will cause problems under Cygwin
        AC_CHECK_HEADERS([ws2tcpip.h],
                [pioneers_have_non_blocking_sockets=yes;
                 getsockopt_arg3="char *";
                ])
fi
AC_DEFINE_UNQUOTED(GETSOCKOPT_ARG3, $getsockopt_arg3, [The type of the third 
argument of getsockopt])

if test $pioneers_is_mingw_port = yes; then
        # The check for WSACleanup in ws2_32 needs an include of ws2tcpip.h
        # This is not possible with the AC_CHECK_LIB macro
        # AC_CHECK_LIB(ws2_32, WSACleanup)
        # Just add ws2_32 to the list of libraries
        AC_SUBST(LIBS, "-lws2_32 $LIBS")
        AC_SUBST(AM_CFLAGS, "-mms-bitfields $AM_CFLAGS")
        AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -DWIN32_LEAN_AND_MEAN")
        if test $pioneers_logging = no; then
                # No console window for the graphical applications
                AC_SUBST(GTK2_LIBS, "$GTK2_LIBS -mwindows")
        fi
        # Don't use bin, lib and share subdirectories
        datadir='${prefix}'
        bindir='${prefix}'
        libdir='${prefix}'
        pioneers_datadir=.
        pioneers_themedir_install=$datadir/themes
        pioneers_themedir=themes
        pioneers_localedir=locale
else
        pioneers_datadir=$datadir
        pioneers_themedir_install=$datadir/games/pioneers/themes
        pioneers_themedir=$pioneers_themedir_install
        pioneers_localedir=$datadir/locale
fi
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -DDATADIR=\\\""$pioneers_datadir"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -DTHEMEDIR=\\\""$pioneers_themedir"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -DLOCALEDIR=\\\""$pioneers_localedir"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS 
-DPIONEERS_DIR_DEFAULT=\\\""$pioneers_datadir/games/pioneers"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS 
-DPIONEERS_SERVER_CONSOLE_PATH=\\\""$bindir/pioneers-server-console"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS 
-DPIONEERS_SERVER_GTK_PATH=\\\""$bindir/pioneers-server-gtk"\\\"")
AC_SUBST(AM_CFLAGS, "$AM_CFLAGS 
-DPIONEERS_AI_PATH=\\\""$bindir/pioneersai"\\\"")
AC_SUBST(pioneers_themedir, $pioneers_themedir_install)

AM_CONDITIONAL(WINDOWS_ICON, [test $pioneers_is_windows_port = yes])

# Time out
AC_CHECK_FUNCS([alarm])
# Functions needed for the hack to override the language
AC_CHECK_FUNCS([setlocale])

# Data types
AC_STRUCT_TM
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
# Check if socklen_t is present
TYPE_SOCKLEN_T

AC_SUBST(CFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(MT_RAND_OBJ)
# Defines, accessible for all source files
AC_DEFINE_UNQUOTED(PROTOCOL_VERSION, "$PROTOCOL_VERSION",
                   [Protocol version used by the program])
AC_DEFINE_UNQUOTED(META_PROTOCOL_VERSION, "$META_PROTOCOL_VERSION",
                   [Protocol version used by the meta server])
AC_DEFINE_UNQUOTED(PIONEERS_DEFAULT_GAME_PORT, "$PIONEERS_DEFAULT_GAME_PORT",
        [The default port for a new game])
AC_DEFINE_UNQUOTED(PIONEERS_DEFAULT_GAME_HOST, "$PIONEERS_DEFAULT_GAME_HOST",
        [The default host for a new game])
AC_DEFINE_UNQUOTED(PIONEERS_DEFAULT_ADMIN_PORT, "$PIONEERS_DEFAULT_ADMIN_PORT",
        [The default port for the admin interface])
AC_DEFINE_UNQUOTED(PIONEERS_DEFAULT_META_PORT, "$PIONEERS_DEFAULT_META_PORT",
        [The port for the meta server])
AC_DEFINE_UNQUOTED(PIONEERS_DEFAULT_META_SERVER, 
        "$PIONEERS_DEFAULT_META_SERVER", [The default meta server])

## internationalization support
ALL_LINGUAS="de es fr hu nl it sv"

GETTEXT_PACKAGE=pioneers
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package 
name])
AM_GLIB_GNU_GETTEXT
AC_DEFINE_UNQUOTED(ALL_LINGUAS, "$ALL_LINGUAS", [Available languages])

# All checks are completed.
# Determine which executables cannot be built
pioneers_build_client_ai=yes;
pioneers_build_client_gtk=yes;
pioneers_build_editor=yes;
pioneers_build_server_console=yes;
pioneers_build_server_gtk=yes;
pioneers_build_metaserver=yes;

if test "$pioneers_have_syslog" = "no"; then
        pioneers_build_metaserver=no;
fi
if test "$have_graphical" != "yes"; then
        pioneers_build_client_gtk=$have_graphical;
        pioneers_build_editor=$have_graphical;
        pioneers_build_server_gtk=$have_graphical;
fi
if test "$pioneers_have_non_blocking_sockets" = "no"; then
        pioneers_build_client_ai=no;
        pioneers_build_client_gtk=no;
        pioneers_build_server_console=no;
        pioneers_build_server_gtk=no;
        pioneers_build_metaserver=no;
fi

# The server functionality is not ported to MS Windows
if test "$pioneers_is_windows_port" = "yes"; then
        pioneers_build_server_console="no, not implemented for MS Windows";
        pioneers_build_server_gtk="no, not implemented for MS Windows";
        pioneers_build_metaserver="no, not implemented for MS Windows";
fi

AM_CONDITIONAL(BUILD_CLIENT, [test "$pioneers_build_client_gtk" = "yes" -o 
"$pioneers_build_client_ai" = yes])
AM_CONDITIONAL(BUILD_EDITOR, [test "$pioneers_build_editor" = "yes"])
AM_CONDITIONAL(BUILD_SERVER, [test "$pioneers_build_server_gtk" = "yes" -o 
"$pioneers_build_server_console" = "yes"])
AM_CONDITIONAL(BUILD_META_SERVER, [test "$pioneers_build_metaserver" = "yes"])

pioneers_have_help=$have_scrollkeeper;
if test "$have_scrollkeeper" = "yes"; then
        AC_DEFINE(HAVE_HELP, 1,
                [Defined when online help is present])
        pioneers_have_help="yes, scrollkeeper";
fi

AC_CONFIG_FILES([ \
        Makefile \
        pioneers.spec \
        pioneers.nsi \
        po/Makefile.in \
        client/help/C/Makefile \
        ])

AC_OUTPUT

AC_MSG_NOTICE([
$PACKAGE v$VERSION configuration:

        Source code location:              ${srcdir}
        Compiler:                          ${CC}
        Build graphical client             $pioneers_build_client_gtk
        Build computer player              $pioneers_build_client_ai
        Build game editor                  $pioneers_build_editor
        Build graphical server             $pioneers_build_server_gtk
        Build console server               $pioneers_build_server_console
        Build metaserver                   $pioneers_build_metaserver
        Build help                         $pioneers_have_help
    Developers only:
        Use compiler warnings              $pioneers_warnings
        Add debug information              $pioneers_debug
        Enable network logging             $pioneers_logging
        Enable deprecation checks          $pioneers_deprecationChecks
])
# Pioneers - Implementation of the excellent Settlers of Catan board game.
#   Go buy a copy.
#
# Copyright (C) 1999 Dave Cole
# Copyright (C) 2003, 2006 Bas Wijnen <[EMAIL PROTECTED]>
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

# some settings
console_cflags = \
if WARNINGS
        @EXTRA_WARNING_FLAGS@ \
        -Wall \
        -W \
        -Wpointer-arith \
        -Wcast-qual \
        -Wwrite-strings \
        -Wno-sign-compare \
        -Waggregate-return \
        -Wstrict-prototypes \
        -Wmissing-prototypes \
        -Wmissing-declarations \
        -Wredundant-decls \
        -Wnested-externs \
        -O \
endif
if DEBUGGING
        -ggdb3 \
endif
if DEPRECATION
        -DG_DISABLE_DEPRECATED \
endif
        -I$(top_srcdir)/common \
        -I$(top_builddir)/common \
        -I$(includedir) \
        $(GLIB2_CFLAGS)

gtk_cflags = \
if DEPRECATION
        -DGDK_DISABLE_DEPRECATED \
        -DGTK_DISABLE_DEPRECATED \
        -DGNOME_DISABLE_DEPRECATED \
endif
        $(console_cflags) \
        -I$(top_srcdir)/common/gtk/ \
        $(GNOME2_CFLAGS) \
        $(GTK2_CFLAGS)

# The Fink port needs an explicit reference to driver.o
console_libs = \
        libpioneers.a \
        $(top_builddir)/common/libpioneers_a-driver.o \
        $(GLIB2_LIBS)

gtk_libs = \
        $(console_libs) \
        libpioneers_gtk.a \
        $(GNOME2_LIBS) \
        $(GTK2_LIBS)

configdir = $(datadir)/games/pioneers
icondir = $(datadir)/pixmaps
pixmapdir = $(datadir)/pixmaps/pioneers
desktopdir = $(datadir)/applications
themedir = $(pioneers_themedir)

# Let object files be generated in their own subdirectories
AUTOMAKE_OPTIONS = subdir-objects

# set up these variables so the included Makefile.ams can use +=
SUBDIRS =
bin_PROGRAMS =
noinst_PROGRAMS =
noinst_LIBRARIES =
man_MANS =
config_DATA =
icon_DATA =
pixmap_DATA =
desktop_DATA =
theme_DATA =
CLEANFILES =
MAINTAINERCLEANFILES =
EXTRA_DIST = autogen.sh pioneers.spec xmldocs.make omf.make README.Cygwin 
README.MinGW
BUILT_SOURCES =
windows_icons =

# creating icons
%.png: %.svg
        @mkdir_p@ $(dir $@)
        $(svg_renderer_path) $(svg_renderer_width)48$(svg_renderer_height)48 $< 
$@

%.ico: %.svg
        @mkdir_p@ $(dir $@)
        $(svg_renderer_path) $(svg_renderer_width)16$(svg_renderer_height)16 $< 
[EMAIL PROTECTED]
        $(pngtopnm) [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pngtopnm -alpha [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pnmcolormap 256 [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pnmremap [EMAIL PROTECTED] [EMAIL PROTECTED] > [EMAIL PROTECTED]
        $(svg_renderer_path) $(svg_renderer_width)32$(svg_renderer_height)32 $< 
[EMAIL PROTECTED]
        pngtopnm [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pngtopnm -alpha [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pnmcolormap 256 [EMAIL PROTECTED] > [EMAIL PROTECTED]
        pnmremap [EMAIL PROTECTED] [EMAIL PROTECTED] > [EMAIL PROTECTED]
        ppmtowinicon -andpgms [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] > $@
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]
        rm [EMAIL PROTECTED]

if WINDOWS_ICON
# Will be used in Windows builds
%-icon.o: %.rc
        @mkdir_p@ $(dir $@)
        windres -I$(top_srcdir) -o $@ $<
endif

if BUILD_CLIENT
include client/Makefile.am
endif

#if BUILD_SERVER
include server/Makefile.am
#endif

if BUILD_META_SERVER
include meta-server/Makefile.am
endif

if BUILD_EDITOR
include editor/Makefile.am
endif

include common/Makefile.am
include docs/Makefile.am
include macros/Makefile.am

# Make use of some of the variables that were filled in by the included
# Makefile.ams
MAINTAINERCLEANFILES += $(icon_DATA) $(windows_icons)
EXTRA_DIST += \
        $(man_MANS) \
        $(desktop_DATA) \
        $(config_DATA) \
        $(theme_DATA) \
        $(pixmap_DATA) \
        $(icon_DATA) \
        $(subst png,svg,$(icon_DATA)) \
        $(windows_icons)

# po doesn't use automake, but creates its own Makefile
SUBDIRS += po

distclean-local:
        rm -f *~
        rm -rf autom4te.cache

# This line is added, because scrollkeeper leaves many files 
# in /var/scrollkeeper, that makes 'make distcheck' fail
distuninstallcheck_listfiles = find . -type f -print | grep -v 
'^\./var/scrollkeeper'

# Reformat the code.
reindent:
        find . -name '*.[ch]' -exec indent -kr -i8 '{}' ';'

restorepo:
        svn revert po/*.po po/pioneers.pot

Attachment: signature.asc
Description: Digital signature

Reply via email to