#  Copyright (c) 1997-2004
#  Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany)
#  http://www.math.tu-berlin.de/polymake,  mailto:polymake@math.tu-berlin.de
#
#  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, or (at your option) any
#  later version: http://www.gnu.org/licenses/gpl.txt.
#
#  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.
#-----------------------------------------------------------------------------
#  $Project: polymake $$Id: main.rules,v 1.6 2004/10/26 19:00:19 gawrilow Exp $


# applications to start with unless -A specified
custom @main::FavoriteApps;

CONFIGURE {
  # take them all
  @main::FavoriteApps=map { m{ ([^/]+) $ }x } grep { -d "$_/rules" } glob(application->installTop."/apps/*");
}

# for algorithms shipped with polymake, as opposed to those imported from external software packages
label default

# activate them right now, to give other rules the chance to superpose it
prefer default

# these rules are intrinsic: they don't depend on any external software to be installed separately
INCLUDE
  utilities
  formatting_filters
  coord_functions
  visual.rules

# self-configuring rules depending on external software packages
INCLUDE
  javaview.rules
  postscript.rules
  geomview.rules


# Local Variables:
# mode: perl
# c-basic-offset:3
# End:
