# Copyright (c) 2000 John Stracke # # This file is part of Fanorona. # # Fanorona 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. # # Fanorona 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 program; see the file COPYING. If not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. Building Fanorona for GNOME requires: * glade * autoconf * automake * gettext * GTK+ * GNOME * GNU Make To build, simply type "make" in this directory; it will run the entire process, including the configure scripts (unless they've already been done). If you wish to specify an install prefix (as in the usual --prefix flag to configure), use "make PREFIX=/prefix". To install, use "make install" in this directory. It is also possible to build an RPM directly from the Makefile. If you can run as root, it's simple: "make rpm". If not, you can build the RPM in your local directory. The command I use is: TOPDIR=/home/francis/C/mybuild ROOT=/home/francis/C/root make rpm In this case, the RPM will wind up in /home/francis/C/mybuild/RPMS/i386/fanorona-0.1.2-1.i386.rpm (assuming you're building on an Intel box). I also have the following directive in my ~/.rpmmacros (I don't remember any more why I have both this and the TOPDIR environment variable; but I know it doesn't work unless I have both): %_topdir /home/francis/C/mybuild The package now also includes code for an FLTK-based implementation, based on the same core libraries; to build it, enter "make fl-fanorona" from the top level. It can be compiled for the Agenda VR3 handheld (or, probably, other Linux VR-based devices, but the Agenda's what I have); "make fl-fanorona.agenda". The Makefiles are set up so that the Agenda version can coexist with the version built for your native platform; Agenda binaries are placed into subdirectories named "agenda". To compile for FLTK on your native platform, FLTK will need to be installed under /usr/local (as the FLTK installation scripts do by default). To compile for the Agenda, you will need the usual Agenda cross-compilation tools, under /usr/mipsel-linux.