Rob Browning's patch to add automake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2395 57a11ea4-9604-0410-9ed3-97b8803252fd
226
ABOUT-NLS
Normal file
@ -0,0 +1,226 @@
|
||||
Notes on the Free Translation Project
|
||||
*************************************
|
||||
|
||||
Free software is going international! The Free Translation Project
|
||||
is a way to get maintainers of free software, translators, and users all
|
||||
together, so that will gradually become able to speak many languages.
|
||||
A few packages already provide translations for their messages.
|
||||
|
||||
If you found this `ABOUT-NLS' file inside a distribution, you may
|
||||
assume that the distributed package does use GNU `gettext' internally,
|
||||
itself available at your nearest GNU archive site. But you do *not*
|
||||
need to install GNU `gettext' prior to configuring, installing or using
|
||||
this package with messages translated.
|
||||
|
||||
Installers will find here some useful hints. These notes also
|
||||
explain how users should proceed for getting the programs to use the
|
||||
available translations. They tell how people wanting to contribute and
|
||||
work at translations should contact the appropriate team.
|
||||
|
||||
When reporting bugs in the `intl/' directory or bugs which may be
|
||||
related to internationalization, you should tell about the version of
|
||||
`gettext' which is used. The information can be found in the
|
||||
`intl/VERSION' file, in internationalized packages.
|
||||
|
||||
One advise in advance
|
||||
=====================
|
||||
|
||||
If you want to exploit the full power of internationalization, you
|
||||
should configure it using
|
||||
|
||||
./configure --with-included-gettext
|
||||
|
||||
to force usage of internationalizing routines provided within this
|
||||
package, despite the existence of internationalizing capabilities in the
|
||||
operating system where this package is being installed. So far, only
|
||||
the `gettext' implementation in the GNU C library version 2 provides as
|
||||
many features (such as locale alias or message inheritance) as the
|
||||
implementation here. It is also not possible to offer this additional
|
||||
functionality on top of a `catgets' implementation. Future versions of
|
||||
GNU `gettext' will very likely convey even more functionality. So it
|
||||
might be a good idea to change to GNU `gettext' as soon as possible.
|
||||
|
||||
So you need not provide this option if you are using GNU libc 2 or
|
||||
you have installed a recent copy of the GNU gettext package with the
|
||||
included `libintl'.
|
||||
|
||||
INSTALL Matters
|
||||
===============
|
||||
|
||||
Some packages are "localizable" when properly installed; the
|
||||
programs they contain can be made to speak your own native language.
|
||||
Most such packages use GNU `gettext'. Other packages have their own
|
||||
ways to internationalization, predating GNU `gettext'.
|
||||
|
||||
By default, this package will be installed to allow translation of
|
||||
messages. It will automatically detect whether the system provides
|
||||
usable `catgets' (if using this is selected by the installer) or
|
||||
`gettext' functions. If neither is available, the GNU `gettext' own
|
||||
library will be used. This library is wholly contained within this
|
||||
package, usually in the `intl/' subdirectory, so prior installation of
|
||||
the GNU `gettext' package is *not* required. Installers may use
|
||||
special options at configuration time for changing the default
|
||||
behaviour. The commands:
|
||||
|
||||
./configure --with-included-gettext
|
||||
./configure --with-catgets
|
||||
./configure --disable-nls
|
||||
|
||||
will respectively bypass any pre-existing `catgets' or `gettext' to use
|
||||
the internationalizing routines provided within this package, enable
|
||||
the use of the `catgets' functions (if found on the locale system), or
|
||||
else, *totally* disable translation of messages.
|
||||
|
||||
When you already have GNU `gettext' installed on your system and run
|
||||
configure without an option for your new package, `configure' will
|
||||
probably detect the previously built and installed `libintl.a' file and
|
||||
will decide to use this. This might be not what is desirable. You
|
||||
should use the more recent version of the GNU `gettext' library. I.e.
|
||||
if the file `intl/VERSION' shows that the library which comes with this
|
||||
package is more recent, you should use
|
||||
|
||||
./configure --with-included-gettext
|
||||
|
||||
to prevent auto-detection.
|
||||
|
||||
By default the configuration process will not test for the `catgets'
|
||||
function and therefore they will not be used. The reasons are already
|
||||
given above: the emulation on top of `catgets' cannot provide all the
|
||||
extensions provided by the GNU `gettext' library. If you nevertheless
|
||||
want to use the `catgets' functions use
|
||||
|
||||
./configure --with-catgets
|
||||
|
||||
to enable the test for `catgets' (this causes no harm if `catgets' is
|
||||
not available on your system). If you really select this option we
|
||||
would like to hear about the reasons because we cannot think of any
|
||||
good one ourself.
|
||||
|
||||
Internationalized packages have usually many `po/LL.po' files, where
|
||||
LL gives an ISO 639 two-letter code identifying the language. Unless
|
||||
translations have been forbidden at `configure' time by using the
|
||||
`--disable-nls' switch, all available translations are installed
|
||||
together with the package. However, the environment variable `LINGUAS'
|
||||
may be set, prior to configuration, to limit the installed set.
|
||||
`LINGUAS' should then contain a space separated list of two-letter
|
||||
codes, stating which languages are allowed.
|
||||
|
||||
Using This Package
|
||||
==================
|
||||
|
||||
As a user, if your language has been installed for this package, you
|
||||
only have to set the `LANG' environment variable to the appropriate
|
||||
ISO 639 `LL' two-letter code prior to using the programs in the
|
||||
package. For example, let's suppose that you speak German. At the
|
||||
shell prompt, merely execute `setenv LANG de' (in `csh'),
|
||||
`export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This
|
||||
can be done from your `.login' or `.profile' file, once and for all.
|
||||
|
||||
An operating system might already offer message localization for
|
||||
many of its programs, while other programs have been installed locally
|
||||
with the full capabilities of GNU `gettext'. Just using `gettext'
|
||||
extended syntax for `LANG' would break proper localization of already
|
||||
available operating system programs. In this case, users should set
|
||||
both `LANGUAGE' and `LANG' variables in their environment, as programs
|
||||
using GNU `gettext' give preference to `LANGUAGE'. For example, some
|
||||
Swedish users would rather read translations in German than English for
|
||||
when Swedish is not available. This is easily accomplished by setting
|
||||
`LANGUAGE' to `sv:de' while leaving `LANG' to `sv'.
|
||||
|
||||
Translating Teams
|
||||
=================
|
||||
|
||||
For the Free Translation Project to be a success, we need interested
|
||||
people who like their own language and write it well, and who are also
|
||||
able to synergize with other translators speaking the same language.
|
||||
Each translation team has its own mailing list, courtesy of Linux
|
||||
International. You may reach your translation team at the address
|
||||
`LL@li.org', replacing LL by the two-letter ISO 639 code for your
|
||||
language. Language codes are *not* the same as the country codes given
|
||||
in ISO 3166. The following translation teams exist, as of December
|
||||
1997:
|
||||
|
||||
Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en',
|
||||
Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian
|
||||
`hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja',
|
||||
Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish
|
||||
`pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es',
|
||||
Swedish `sv', and Turkish `tr'.
|
||||
|
||||
For example, you may reach the Chinese translation team by writing to
|
||||
`zh@li.org'.
|
||||
|
||||
If you'd like to volunteer to *work* at translating messages, you
|
||||
should become a member of the translating team for your own language.
|
||||
The subscribing address is *not* the same as the list itself, it has
|
||||
`-request' appended. For example, speakers of Swedish can send a
|
||||
message to `sv-request@li.org', having this message body:
|
||||
|
||||
subscribe
|
||||
|
||||
Keep in mind that team members are expected to participate
|
||||
*actively* in translations, or at solving translational difficulties,
|
||||
rather than merely lurking around. If your team does not exist yet and
|
||||
you want to start one, or if you are unsure about what to do or how to
|
||||
get started, please write to `translation@iro.umontreal.ca' to reach the
|
||||
coordinator for all translator teams.
|
||||
|
||||
The English team is special. It works at improving and uniformizing
|
||||
the terminology in use. Proven linguistic skill are praised more than
|
||||
programming skill, here.
|
||||
|
||||
Available Packages
|
||||
==================
|
||||
|
||||
Languages are not equally supported in all packages. The following
|
||||
matrix shows the current state of internationalization, as of December
|
||||
1997. The matrix shows, in regard of each package, for which languages
|
||||
PO files have been submitted to translation coordination.
|
||||
|
||||
Ready PO files cs da de en es fi fr it ja ko nl no pl pt ru sl sv
|
||||
.----------------------------------------------------.
|
||||
bash | [] [] [] | 3
|
||||
bison | [] [] [] | 3
|
||||
clisp | [] [] [] [] | 4
|
||||
cpio | [] [] [] [] [] [] | 6
|
||||
diffutils | [] [] [] [] [] | 5
|
||||
enscript | [] [] [] [] [] [] | 6
|
||||
fileutils | [] [] [] [] [] [] [] [] [] [] | 10
|
||||
findutils | [] [] [] [] [] [] [] [] [] | 9
|
||||
flex | [] [] [] [] | 4
|
||||
gcal | [] [] [] [] [] | 5
|
||||
gettext | [] [] [] [] [] [] [] [] [] [] [] | 12
|
||||
grep | [] [] [] [] [] [] [] [] [] [] | 10
|
||||
hello | [] [] [] [] [] [] [] [] [] [] [] | 11
|
||||
id-utils | [] [] [] | 3
|
||||
indent | [] [] [] [] [] | 5
|
||||
libc | [] [] [] [] [] [] [] | 7
|
||||
m4 | [] [] [] [] [] [] | 6
|
||||
make | [] [] [] [] [] [] | 6
|
||||
music | [] [] | 2
|
||||
ptx | [] [] [] [] [] [] [] [] | 8
|
||||
recode | [] [] [] [] [] [] [] [] [] | 9
|
||||
sh-utils | [] [] [] [] [] [] [] [] | 8
|
||||
sharutils | [] [] [] [] [] [] | 6
|
||||
tar | [] [] [] [] [] [] [] [] [] [] [] | 11
|
||||
texinfo | [] [] [] | 3
|
||||
textutils | [] [] [] [] [] [] [] [] [] | 9
|
||||
wdiff | [] [] [] [] [] [] [] [] | 8
|
||||
`----------------------------------------------------'
|
||||
17 languages cs da de en es fi fr it ja ko nl no pl pt ru sl sv
|
||||
27 packages 6 4 25 1 18 1 26 2 1 12 20 9 19 7 4 7 17 179
|
||||
|
||||
Some counters in the preceding matrix are higher than the number of
|
||||
visible blocks let us expect. This is because a few extra PO files are
|
||||
used for implementing regional variants of languages, or language
|
||||
dialects.
|
||||
|
||||
For a PO file in the matrix above to be effective, the package to
|
||||
which it applies should also have been internationalized and
|
||||
distributed as such by its maintainer. There might be an observable
|
||||
lag between the mere existence a PO file and its wide availability in a
|
||||
distribution.
|
||||
|
||||
If December 1997 seems to be old, you may fetch a more recent copy
|
||||
of this `ABOUT-NLS' file on most GNU archive sites.
|
||||
|
110
AUTHORS
Normal file
@ -0,0 +1,110 @@
|
||||
-*-text-*-
|
||||
|
||||
Main Developers:
|
||||
----------------
|
||||
Robin Clark <rclark@hmc.edu> wrote the original X-Accountant in Motif
|
||||
as a school project, taking it to version 0.9 by October 1997.
|
||||
|
||||
Linas Vepstas <linas@linas.org> liked what he saw: the GUI was slick,
|
||||
the code was documented and well structured, and it was all GPL'ed.
|
||||
And so he re-wrote it: adding cell-widgets to XbaeMatrix, so that
|
||||
the combobox and arrows would make an even slicker GUI, rewrote the
|
||||
X-Accountant internals to add double-entry, an account hierarchy,
|
||||
split out a transaction mini-engine, add support for stocks, and spiff
|
||||
up the help menus. This was version 1.0 as of January 1998. Since
|
||||
then, for version 1.1, the engine was expanded & refined, and the
|
||||
register window code completely redesigned and made mostly
|
||||
Motif-(and GUI-)independent. Did some prototype OFX work.
|
||||
|
||||
Jeremy Collins <jcollins@gnucash.org> publicized the GnoMoney project
|
||||
widely and broadly, and then changed its name to GnuCash. Jeremy
|
||||
created the gnucash.org web site, registered the domain, got the
|
||||
initial GTK/gnome code working.
|
||||
|
||||
Rob Browning <rlb@cs.utexas.edu> abused everyone for not using perl,
|
||||
and then added guile/scheme support. Rob maintains the build
|
||||
infrastructure, is handling the whole guile/perl extension language
|
||||
thing, and is dealing with configuration & configurability.
|
||||
|
||||
Dave Peticolas <peticola@cs.ucdavis.edu> hacks obsessively on
|
||||
GnuCash. But he can stop anytime he wants to. Really.
|
||||
|
||||
Bill Gribble <grib@billgribble.com> works magic. If your checks print
|
||||
wrong, blame him. If you don't like the amount printed on your
|
||||
checks, blame him. If you don't like your your bank balances,
|
||||
your bank, or your life, blame him too.
|
||||
|
||||
|
||||
Fixes & Patches:
|
||||
----------------
|
||||
|
||||
Andrew Arensburger <arensb@cfar.umd.edu> for FreeBSD & other patches
|
||||
Matt Armstrong <matt_armstrong@bigfoot.com> for misc fixes
|
||||
Fred Baube <fred@moremagic.com> for attempted Java port/MoneyDance
|
||||
Dennis Björklund <dennisb@cs.chalmers.se> Swedish translation
|
||||
Per Bojsen <bojsen@worldnet.att.net> several core dump fixes
|
||||
Simon Britnell <simon.britnell@peace.com> patch to RPM spec
|
||||
Christopher B. Browne <cbbrowne@hex.net> for perl and lots of scheme
|
||||
Graham Chapman <grahamc@zeta.org.au> for the xacc-rpts addon package
|
||||
George Chen <georgec@sco.com> for MS-Money QIF's & fixes
|
||||
Albert Chin-A-Young <china@thewrittenword.com> configure.in patch
|
||||
Jeremey Collins <jcollins@gnucash.org> for GnoMoney & GTK port
|
||||
Matthew Condell <mcondell@bbn.com> FreeBSD patch
|
||||
Patrick Condron <pcondon@rackspace.com> for webserver and T1 connection.
|
||||
Ciaran Deignan <Ciaran.Deignan@bull.net> for AIX binary version
|
||||
Tyson Dowd <tyson@tyse.net> for config/make patches & debian maint
|
||||
Koen D'Hondt <ripley@xs4all.nl> for Solaris patches to XmHTML
|
||||
Bob Drzyzgula <bob@mostly.com> for budgeting design notes
|
||||
Paul Fenwick <pjf@schools.net.au> ASX support
|
||||
Hubert Figuiere <hfiguiere@teaser.fr> patch to gnc-prices
|
||||
Jan-Uwe Finck <ju_finck@mail.netwave.de> for German message translation
|
||||
Ron Forrester <rjf@aracnet.com> for gnome patches
|
||||
Dave Freese <DFreese@osc.uscg.mil> for leap-year fix
|
||||
Bill Gribble <grib@billgribble.com> qif importation code
|
||||
Otto Hammersmith <otto@bug.redhat.com> for RedHat RPM version
|
||||
Eric Hanchrow <offby1@blarg.net> updated currency documentation
|
||||
Alexandru Harsanyi <haral@codec.ro> for core dumps, lockups, gtk work
|
||||
John Hasler <john@dhh.gt.org> engine patch
|
||||
Jon K}re Hellan <jk@isdn-a33.itea.ntnu.no> misc core dump fixes
|
||||
Prakash Kailasa <PrakashK@bigfoot.com> for gnome build fixes
|
||||
Ben Kelly <ben.kelly@ieee.org> for motif menu bug fix, core dump fixes
|
||||
Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port
|
||||
Sven Kuenzler <sk@xgm.de> for SuSE README file
|
||||
Bryan Larsen <blarsen@ada-works.com> guile budget report
|
||||
Graham Leggett <minfrin@sharp.fm> for fixing a hang
|
||||
Ted Lemon <mellon@andare.fugue.com> for NetBSD port
|
||||
Yannick Le Ny <y-le-ny@ifrance.com> pour la traduction en francais
|
||||
Grant Likely <glikely@nortelnetworks.com> gnome and engine patches
|
||||
Heath Martin <martinh@pegasus.cc.ucf.edu> gnome patches, major register work
|
||||
Matt Martin <mgmartin@abacusnet.net> guile error handling code
|
||||
Robert Graham Merkel <rgmerk@mira.net> reporting, gnome, and config patches
|
||||
Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> port to alpha-dec-osf4.0f
|
||||
G. Allen Morris III <gam3@ann.softgams.com> for QIF core dump
|
||||
Brent Neal <brent@baton.phys.lsu.edu> TIAA-CREF support.
|
||||
Peter Norton <spacey@inch.com> for a valiant attempt at a GTK port
|
||||
OmNiBuS <webmaster@obsidian.uia.net> web site graphics & content
|
||||
Myroslav Opyr <mopyr@IPM.Lviv.UA> for misc patches
|
||||
Dave Peticolas <peticola@morpheus.cs.ucdavis.edu> extensive intelligent patches
|
||||
Laurent P{'e}lecq <laurent.pelecq@wanadoo.fr> i18n patches with gettext
|
||||
Alain Peyrat <Alain.Peyrat@nmu.alcatel.fr> for configure.in patches
|
||||
Peter Pointner <peter@wuzel.m.isar.de> QIF import fixes, Qt patches
|
||||
Gavin Porter <maufk@csv.warwick.ac.uk> for euro style dates
|
||||
Tomas Pospisek <tpo@spin.ch> debian patches
|
||||
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries
|
||||
Keith Refson <Keith.Refson@earth.ox.ac.uk> Solaris fixes
|
||||
Dirk Schoenberger <schoenberger@signsoft.com> Qt/KDE work
|
||||
Jan Schrage <jan.schrage@urz.uni-heidelberg.de> documentation patches
|
||||
Christopher Seawood <cls@seawood.org> for XbaeMatrix core dump
|
||||
Mike Simons <msimons@fsimons01.erols.com> misc configure.in patches
|
||||
Richard Skelton <rich@brake.demon.co.uk> for Solaris cleanup
|
||||
Henning Spruth <spruth@bigfoot.com> for German text & euro date rework
|
||||
Robby Stephenson <robby.stephenson@usa.net> register & file history patches
|
||||
Herbert Thoma <tma@iis.fhg.de> gnome register & euro support patches
|
||||
Diane Trout <detrout@earthlink.net> scheme qif import patch
|
||||
Richard Wackerbarth <rkw@dataplex.net> patch to gnc-prices
|
||||
Rob Walker <rob@valinux.com> guile and register patches
|
||||
David Woodhouse <dwmw2@infradead.org> Great Britain translations
|
||||
Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU> QIF import fixes; MYM import
|
||||
Shimpei Yamashita <shimpei@gol.com> Japanese translation
|
||||
|
||||
... and I am sure that I have missed many others ...
|
70
ChangeLog
@ -1,3 +1,73 @@
|
||||
2000-06-02 Rob Browning <rlb@cs.utexas.edu>
|
||||
|
||||
* quite a few bugfixes to the automake stuff.
|
||||
|
||||
* guid-md5.* -> md5.* - Dave liked this better, and I did too.
|
||||
|
||||
* src/register/gnome/* - restored ... for now.
|
||||
|
||||
2000-06-01 Rob Browning <rlb@cs.utexas.edu>
|
||||
|
||||
* README: many mods to accomodate new changes, but still unfinished.
|
||||
|
||||
* configure.in: --with-opt-style-install changed to
|
||||
--enable-opt-style-install
|
||||
|
||||
2000-05-31 Rob Browning <rlb@cs.utexas.edu>
|
||||
|
||||
* Giant automake switchover.
|
||||
doc/html/*/pix/ -> doc/html/*/image/
|
||||
intl/* - new directory/contents (filled via gettextize).
|
||||
src/doc - new directory to collect src docs.
|
||||
src/experimental - new directory.
|
||||
src/gg -> src/experimental/gg
|
||||
src/cbb -> src/experimental/cbb
|
||||
src/optional - new directory for configure --with and --enable bits.
|
||||
src/swig -> src/optional/swig - preparation for new quoting system.
|
||||
src/swig/perl5 deleted - swig is now just in a single directory.
|
||||
src/reports/File.c -> src/guile/File.c
|
||||
src/register/gnome/* -> src/register/* - automake wants flat lib dirs.
|
||||
src/qt deleted - docs indicate how to get it if you want it.
|
||||
src/motif deleted - docs indicate how to get it if you want it.
|
||||
src/g-wrap merged into src/guile.
|
||||
src/engine/guid/* -> src/engine - automake wants flat lib dirs.
|
||||
man/* -> doc/
|
||||
lib/* deleted - nothing needed right now; see lib/README.
|
||||
gnucash.gdb-cmds -> doc/
|
||||
gnucash.desktop -> src/gnome/
|
||||
gnucash deleted - see doc/README.build-system
|
||||
etc/config -> src/guile/config
|
||||
doc/html/logos/ -> doc/html/C/logos - this should handle intl better.
|
||||
doc/build-system -> doc/README.build-system
|
||||
doc/aix.txt -> doc/build-aix.txt
|
||||
doc/SuSE-6.3.txt -> doc/build-suse.txt
|
||||
doc/solaris.txt -> doc/build-solaris.txt
|
||||
doc/README -> README - as per GNU coding/automake standards.
|
||||
doc/INSTALL -> INSTALL - as per GNU coding/automake standards.
|
||||
Makefile.init.in deleted - not needed with automake.
|
||||
Makefile.common deleted - not needed with automake.
|
||||
Configure-uw7 -> doc/Configure-uw7
|
||||
Configure-osr5 doc/Configure-osr5
|
||||
ABOUT-NLS - new file.
|
||||
AUTHORS - as per GNU coding/automake standards.
|
||||
*/Makefile.am - new automake files.
|
||||
acconfig.h - aclocal.m4 is now autogenerated, so use this instead.
|
||||
Various libtool files automagically added by libtool.
|
||||
src/examples/xacc-shell.c -> old/xacc-shell.c
|
||||
|
||||
|
||||
* src/scm/startup.scm: load depend.scm here.
|
||||
|
||||
* src/scm/report/average-balance.scm: handle new possible #f
|
||||
return from gnc:group-get-account-list.
|
||||
|
||||
* src/scm/engine-utilities.scm (gnc:group-get-account-list):
|
||||
moved here and reworked to build result in order, no reverse.
|
||||
Change to return #f on error so it can be distinguished from an
|
||||
empty list.
|
||||
|
||||
* src/scm/engine-utilities.scm: new file.
|
||||
|
||||
2000-05-30 Dave Peticolas <peticola@cs.ucdavis.edu>
|
||||
|
||||
* src/register/quickfillcell.c: if a quickfill attempt fails,
|
||||
|
182
INSTALL
Normal file
@ -0,0 +1,182 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=PATH' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
29
Makefile.am
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
SUBDIRS = intl po src rpm doc
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}
|
||||
|
||||
noinst_DATA = make-gnucash-patch
|
||||
|
||||
doc_DATA = \
|
||||
AUTHORS \
|
||||
COPYING \
|
||||
ChangeLog \
|
||||
INSTALL \
|
||||
NEWS \
|
||||
README
|
||||
|
||||
## We borrow guile's convention and use @-...-@ as the substitution
|
||||
## brackets here, instead of the usual @...@. This prevents autoconf
|
||||
## from substituting the values directly into the left-hand sides of
|
||||
## the sed substitutions.
|
||||
make-gnucash-patch: make-gnucash-patch.in
|
||||
rm -f $@.tmp
|
||||
sed < $@.in > $@.tmp \
|
||||
-e 's:@-PERL-@:${PERL}:g'
|
||||
chmod +x $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
CLEANFILES += make-gnucash-patch
|
||||
|
||||
|
130
Makefile.common
@ -1,130 +0,0 @@
|
||||
# Makefile.common -- standard targets and rules
|
||||
# Copyright (C) 2000 Linas Vepstas
|
||||
#
|
||||
# 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, contact:
|
||||
#
|
||||
# Free Software Foundation Voice: +1-617-542-5942
|
||||
# 59 Temple Place - Suite 330 Fax: +1-617-542-2652
|
||||
# Boston, MA 02111-1307, USA gnu@gnu.org
|
||||
|
||||
# Autoconf notes...
|
||||
# Need to handle -MD there.
|
||||
|
||||
# COMMON_SRCS: have to be compiled separately for all flavors
|
||||
# MOTIF_SRCS: are motif only sources
|
||||
# GNOME_SRCS: are gnome only sources
|
||||
# INDEP_SRCS: are for flavor independent sources (like engine)
|
||||
|
||||
# OBJS is for flavor independent files
|
||||
# GNOME/MOTIF_OBJS is for flavor dependent files
|
||||
|
||||
# Clear all of the default suffix rules. They were causing a great
|
||||
# deal of agony when trying to get the .tmpl rules to work. In
|
||||
# general, we want to take charge of these for now.
|
||||
.SUFFIXES:
|
||||
|
||||
OBJS := $(addprefix obj/,${INDEP_SRCS:.c=.o})
|
||||
GNOME_OBJS := $(addprefix obj/gnome/,${COMMON_SRCS:.c=.o})
|
||||
GNOME_OBJS += $(addprefix obj/gnome/,${GNOME_SRCS:.c=.o})
|
||||
MOTIF_OBJS := $(addprefix obj/motif/,${COMMON_SRCS:.c=.o})
|
||||
MOTIF_OBJS += $(addprefix obj/motif/,${MOTIF_SRCS:.c=.o})
|
||||
QT_OBJS := $(addprefix obj/qt/,${COMMON_SRCS:.c=.o})
|
||||
QT_OBJS += $(addprefix obj/qt/,${QT_SRCS:.cpp=.o})
|
||||
|
||||
CFLAGS += ${DEFS}
|
||||
|
||||
ifdef GNOME_CONFIG_BIN
|
||||
GNOME_CFLAGS += $(shell ${GNOME_CONFIG_BIN} --cflags gnomeui)
|
||||
endif
|
||||
|
||||
ifdef GLIB_CONFIG_BIN
|
||||
GLIB_CFLAGS := $(shell ${GLIB_CONFIG_BIN} --cflags)
|
||||
GLIB_LIBS := $(shell ${GLIB_CONFIG_BIN} --libs)
|
||||
endif
|
||||
|
||||
QT_FLAGS :=
|
||||
|
||||
|
||||
# All c files depend on headers with the same names.
|
||||
%.c : %.h
|
||||
|
||||
# Basically take the output foo.d file and put it in the right
|
||||
# subdirectory, adding a prefix indicating where the file actually
|
||||
# lives (i.e. obj-pic/Foo.cc rather than Foo.cc. This would all be
|
||||
# unnecessary if gcc actually paid attention to the argument to "-o".
|
||||
|
||||
# Note that this cannot handle subdirs in the Makefile dir, so if the
|
||||
# relevant Makefile was src/foo/Makefile, this rule can't handle
|
||||
# src/foo/bar/x.c src/foo/x.c and src/foo/bax/x.c. You'd need another
|
||||
# Makefile in src/foo/bar and src/foo/bax for now.
|
||||
|
||||
define cleanupdeps
|
||||
sed -e "1 s|$(basename $<)\.o|$@|1" $(basename $@).d.tmp > $(basename $@).d
|
||||
rm $(basename $@).d.tmp
|
||||
endef
|
||||
|
||||
# Default rule used for non-flavor dependent files (i.e. all of register)
|
||||
obj/%.o: %.c
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
$(CC) -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
obj/%.o: %.cpp
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
g++ -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
|
||||
obj/motif/%.o: %.c
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
$(CC) -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) ${MOTIF_CFLAGS} -DMOTIF -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
obj/gnome/%.o: %.c
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
$(CC) -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) ${GNOME_CFLAGS} -DGNOME -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
obj/qt/%.o: %.cpp
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
g++ -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) ${QT_CFLAGS} -DKDE -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
obj/qt/%.o: %.c
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
$(CC) -Wp,-MD,$(basename $@).d.tmp -c $(CFLAGS) ${QT_CFLAGS} -DKDE -o $@ $<
|
||||
${cleanupdeps}
|
||||
|
||||
clean-files:
|
||||
rm -f *~ *.bak \#*
|
||||
rm -rf obj
|
||||
-rm -rf ${TRASH}
|
||||
|
||||
clean: clean-files
|
||||
$(foreach dir,${CLEAN_SUBDIRS},(cd ${dir} && $(MAKE) clean);)
|
||||
|
||||
distclean: clean-files
|
||||
$(foreach dir,${CLEAN_SUBDIRS},(cd ${dir} && $(MAKE) distclean);)
|
||||
rm -f Makefile.bak
|
||||
rm -f $(foreach f,$(wildcard *.in),$(filter-out configure,$(f:.in=)))
|
||||
-rm -rf ${DIST_TRASH}
|
||||
|
||||
dist:
|
||||
$(foreach dir,${CLEAN_SUBDIRS},(cd ${dir} && $(MAKE) dist);)
|
||||
|
||||
.PHONY: clean clean-files dist distclean
|
||||
|
||||
# Get dependencies (if existent).
|
||||
|
||||
-include $(shell if [ -e obj ]; then find obj -name "*.d"; fi) ""
|
712
Makefile.in
@ -1,62 +1,441 @@
|
||||
# Makefile -- makefile for gnucash
|
||||
# @configure_input@
|
||||
# Copyright (C) 1997 Robin Clark
|
||||
# Copyright (C) 1998 Rob Browning <rlb@cs.utexas.edu>
|
||||
#
|
||||
# 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, contact:
|
||||
#
|
||||
# Free Software Foundation Voice: +1-617-542-5942
|
||||
# 59 Temple Place - Suite 330 Fax: +1-617-542-2652
|
||||
# Boston, MA 02111-1307, USA gnu@gnu.org
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
include @top_srcdir@/Makefile.init
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
######################################################################
|
||||
# Description of targets:
|
||||
#
|
||||
# default -- make the application
|
||||
# depend -- generate the dependencies
|
||||
# clean -- remove *.a, *.o, *.bak, and *~
|
||||
# distclean -- get rid of config files too...
|
||||
# install -- installs everything
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
default:
|
||||
@echo " "
|
||||
@echo "Please choose one of the following targets:"
|
||||
@echo "gnome gnome/gtk version"
|
||||
@echo "gnome-static gnome/gtk statically linked version"
|
||||
@echo "motif motif version (unfinished)"
|
||||
@echo "motif-static motif statically linked version (unfinished)"
|
||||
@echo "qt kde/qt version (unfinished)"
|
||||
@echo "qt-static kde/qt statically linked version (unfinished)"
|
||||
@echo " "
|
||||
@echo "The motif and qt versions do not compile!"
|
||||
@echo " "
|
||||
|
||||
# This inclusion must come after the first target, and after the
|
||||
# definitions of *_SRCS, etc., but before the usage of *_OBJS.
|
||||
include @top_srcdir@/Makefile.common
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = .
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
SUBDIRS = intl po src rpm doc
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}
|
||||
|
||||
noinst_DATA = make-gnucash-patch
|
||||
|
||||
doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
|
||||
|
||||
|
||||
CLEANFILES = make-gnucash-patch
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA) $(noinst_DATA)
|
||||
|
||||
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
|
||||
INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 \
|
||||
config.guess config.h.in config.sub configure configure.in install-sh \
|
||||
ltconfig ltmain.sh missing mkinstalldirs
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(ACLOCAL_M4): configure.in
|
||||
cd $(srcdir) && $(ACLOCAL)
|
||||
|
||||
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
config.h: stamp-h
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h; \
|
||||
$(MAKE) stamp-h; \
|
||||
else :; fi
|
||||
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
||||
$(SHELL) ./config.status
|
||||
@echo timestamp > stamp-h 2> /dev/null
|
||||
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
||||
@if test ! -f $@; then \
|
||||
rm -f $(srcdir)/stamp-h.in; \
|
||||
$(MAKE) $(srcdir)/stamp-h.in; \
|
||||
else :; fi
|
||||
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
||||
|
||||
mostlyclean-hdr:
|
||||
|
||||
clean-hdr:
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h
|
||||
|
||||
maintainer-clean-hdr:
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
clean-tags:
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
maintainer-clean-tags:
|
||||
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
-rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
||||
mkdir $(distdir)/=build
|
||||
mkdir $(distdir)/=inst
|
||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||
cd $(distdir)/=build \
|
||||
&& ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||
-rm -rf $(distdir)
|
||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||
echo "$$dashes"; \
|
||||
echo "$$banner"; \
|
||||
echo "$$dashes"
|
||||
dist: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
dist-all: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
distdir: $(DISTFILES)
|
||||
-rm -rf $(distdir)
|
||||
mkdir $(distdir)
|
||||
-chmod 777 $(distdir)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
installcheck-am:
|
||||
installcheck: installcheck-recursive
|
||||
all-recursive-am: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
install-exec-am:
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(DATA) config.h
|
||||
all-redirect: all-recursive-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f config.status
|
||||
|
||||
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
||||
maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f config.status
|
||||
|
||||
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
||||
uninstall-docDATA install-docDATA install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
|
||||
install-exec-am install-exec install-data-am install-data install-am \
|
||||
install uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
# Aliases
|
||||
motif-static: motif.static
|
||||
gnome-static: gnome.static
|
||||
qt-static: qt.static
|
||||
|
||||
## We borrow guile's convention and use @-...-@ as the substitution
|
||||
## brackets here, instead of the usual @...@. This prevents autoconf
|
||||
## from substituting the values directly into the left-hand sides of
|
||||
## the sed substitutions.
|
||||
make-gnucash-patch: make-gnucash-patch.in
|
||||
rm -f $@.tmp
|
||||
sed < $@.in > $@.tmp \
|
||||
@ -64,227 +443,6 @@ make-gnucash-patch: make-gnucash-patch.in
|
||||
chmod +x $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
build-flavor: config.status make-gnucash-patch
|
||||
@cd rpm && ${MAKE} default
|
||||
@cd lib && ${MAKE} ${FLAVOR}
|
||||
@cd src && ${MAKE} ${FLAVOR}
|
||||
ln -sf gnucash.${FLAVOR} gnucash.bin
|
||||
(cd share && rm -f scm && ln -sf ../src/scm scm)
|
||||
|
||||
motif:
|
||||
${MAKE} FLAVOR=motif build-flavor
|
||||
|
||||
motif.static:
|
||||
${MAKE} FLAVOR=motif.static build-flavor
|
||||
|
||||
gnome:
|
||||
${MAKE} @GNOME_TARGET@
|
||||
|
||||
gnome.static:
|
||||
${MAKE} @GNOME_STATIC_TARGET@
|
||||
|
||||
gnome.real:
|
||||
${MAKE} FLAVOR=gnome build-flavor
|
||||
|
||||
gnome.static.real:
|
||||
${MAKE} FLAVOR=gnome.static build-flavor
|
||||
|
||||
#GNOME_TARGET if gnome build disabled due to missing libraries
|
||||
|
||||
gnome.disable:
|
||||
echo "Gnome build disabled - see configure.log for details"
|
||||
false
|
||||
|
||||
qt:
|
||||
${MAKE} @QT_TARGET@
|
||||
|
||||
qt.static:
|
||||
${MAKE} @QT_STATIC_TARGET@
|
||||
|
||||
qt.real:
|
||||
${MAKE} FLAVOR=qt build-flavor
|
||||
|
||||
qt.static.real:
|
||||
${MAKE} FLAVOR=qt.static build-flavor
|
||||
|
||||
#QT_TARGET if qt build disabled by configure
|
||||
|
||||
qt.disable:
|
||||
echo "Qt build disabled by configure. Try configure --enable-qt"
|
||||
false
|
||||
|
||||
.PHONY: all
|
||||
|
||||
depend:
|
||||
@echo make depend is now superfluous.
|
||||
|
||||
configure: configure.in
|
||||
autoconf
|
||||
|
||||
config.status: configure
|
||||
if [ -f ./config.status ]; then \
|
||||
./config.status --recheck; \
|
||||
else \
|
||||
echo "======> You need to run configure!"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
CLEAN_SUBDIRS += lib src po rpm
|
||||
TRASH += TAGS *~ *.o *.bak
|
||||
|
||||
DIST_TRASH += Makefile *~ *.o *.bak share/scm gnucash.bin
|
||||
DIST_TRASH += gnucash.motif gnucash.motif.static
|
||||
DIST_TRASH += gnucash.gnome gnucash.gnome.static
|
||||
DIST_TRASH += gnucash.qt gnucash.qt.static gnucash-shell
|
||||
DIST_TRASH += config.cache config.log config.status config.h
|
||||
|
||||
tagsfiles := $(shell find . -name "*.[ch]" -print)
|
||||
|
||||
TAGS: ${tagsfiles}
|
||||
etags ${tagsfiles}
|
||||
|
||||
install-bin: gnucash.${FLAVOR}
|
||||
$(INSTALL) gnucash.${FLAVOR} ${GNC_BINDIR}/gnucash.${FLAVOR}
|
||||
(cd ${GNC_BINDIR} && ln -sf gnucash.${FLAVOR} gnucash)
|
||||
|
||||
install:
|
||||
$(INSTALL) -d ${GNC_BINDIR}
|
||||
$(INSTALL) -d ${GNC_LIBDIR}
|
||||
$(INSTALL) -d ${GNC_DOCDIR}
|
||||
$(INSTALL) -d ${GNC_CONFIGDIR}
|
||||
$(INSTALL) -d ${GNC_DOCDIR}/examples
|
||||
$(INSTALL) -d ${GNC_MANDIR}/man1
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html/C
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html/C/pix
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html/fr
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html/fr/pix
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/html/logos
|
||||
|
||||
# Put these in the opposite order of precedence. Final bin/gnucash link will
|
||||
# point to the last one that exists.
|
||||
-[ -f gnucash.qt.static ] && \
|
||||
${MAKE} FLAVOR=qt.static GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
-[ -f gnucash.qt ] && ${MAKE} FLAVOR=qt GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
-[ -f gnucash.motif.static ] && \
|
||||
${MAKE} FLAVOR=motif.static GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
-[ -f gnucash.motif ] && ${MAKE} FLAVOR=motif GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
-[ -f gnucash.gnome.static ] && \
|
||||
${MAKE} FLAVOR=gnome.static GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
-[ -f gnucash.gnome ] && ${MAKE} FLAVOR=gnome GNC_BINDIR=${GNC_BINDIR} install-bin
|
||||
|
||||
# Make sure at least one succeeded
|
||||
[ \
|
||||
-f ${GNC_BINDIR}/gnucash.motif -o \
|
||||
-f ${GNC_BINDIR}/gnucash.motif.static -o \
|
||||
-f ${GNC_BINDIR}/gnucash.gnome -o \
|
||||
-f ${GNC_BINDIR}/gnucash.gnome.static -o \
|
||||
-f ${GNC_BINDIR}/gnucash.qt -o \
|
||||
-f ${GNC_BINDIR}/gnucash.qt.static \
|
||||
]
|
||||
$(INSTALL) src/quotes/gnc-prices ${GNC_BINDIR}
|
||||
|
||||
$(INSTALL_DATA) src/swig/perl5/gnucash.pm ${GNC_LIBDIR}
|
||||
$(INSTALL) src/swig/perl5/gnucash.so ${GNC_LIBDIR}
|
||||
$(INSTALL_DATA) src/quotes/Quote.pm ${GNC_LIBDIR}
|
||||
|
||||
for file in doc/README*; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_DOCDIR}; \
|
||||
done
|
||||
|
||||
for file in doc/*.txt; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_DOCDIR}; \
|
||||
done
|
||||
|
||||
$(INSTALL_DATA) doc/INSTALL ${GNC_DOCDIR}
|
||||
$(INSTALL_DATA) TODO ${GNC_DOCDIR}
|
||||
$(INSTALL_DATA) NEWS ${GNC_DOCDIR}
|
||||
|
||||
for file in doc/examples/*.xac; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_DOCDIR}/examples; \
|
||||
done
|
||||
|
||||
for file in doc/examples/*.qif; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_DOCDIR}/examples; \
|
||||
done
|
||||
|
||||
$(INSTALL_DATA) doc/examples/README ${GNC_DOCDIR}/examples
|
||||
|
||||
$(INSTALL_DATA) man/gnucash.1 ${GNC_MANDIR}/man1
|
||||
$(INSTALL_DATA) man/gnc-prices.1 ${GNC_MANDIR}/man1
|
||||
|
||||
# Share directory
|
||||
# Try to do this in a platform independent way...
|
||||
# Directories
|
||||
for dir in `find share/scm/ -type d -follow`; do \
|
||||
dest=`echo $$dir | cut -c 11-` ; \
|
||||
$(INSTALL) -d ${GNC_SHAREDIR}/scm/$$dest; \
|
||||
done
|
||||
|
||||
# Files
|
||||
for file in `find share/scm/ -name "*.scm" -follow`; do \
|
||||
dest=`echo $$file | cut -c 11-` ; \
|
||||
${INSTALL_DATA} $$file ${GNC_SHAREDIR}/scm/$$dest; \
|
||||
done
|
||||
|
||||
for file in doc/html/C/*.html; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html/C; \
|
||||
done
|
||||
|
||||
for file in doc/html/fr/*.html; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html/fr; \
|
||||
done
|
||||
|
||||
for file in doc/html/C/pix/*.*; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html/C/pix; \
|
||||
done
|
||||
|
||||
for file in doc/html/fr/pix/*.*; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html/fr/pix; \
|
||||
done
|
||||
|
||||
for file in doc/html/*.css; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html; \
|
||||
done
|
||||
|
||||
for file in doc/html/logos/*.*; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_SHAREDIR}/html/logos; \
|
||||
done
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# hack alert -- the config dir stuff is messed up in configure.in as well
|
||||
# as in the scheme search paths. For example, the configure script tries
|
||||
# to put config files into /usr/etc/gnucash/config which is a bad place
|
||||
# for this stuff. For now, we will simply touch the one file that the
|
||||
# scheme initialization is looking for, and punt on the rest.
|
||||
|
||||
for file in etc/conf*; do \
|
||||
$(INSTALL_DATA) $$file ${GNC_CONFIGDIR}; \
|
||||
done
|
||||
|
||||
$(MAKE) -C po install
|
||||
|
||||
-$(INSTALL) -d $(datadir)/gnome/apps/Applications && \
|
||||
$(INSTALL_DATA) gnucash.desktop $(datadir)/gnome/apps/Applications
|
||||
|
||||
# # Config directory
|
||||
# @mkdir -p ${GNC_CONFIGDIR}
|
||||
#
|
||||
# # Directories
|
||||
# for dir in `find etc/ -type d`; do \
|
||||
# dest=`echo $$dir | cut -c 5-` ; \
|
||||
# mkdir -p ${GNC_CONFIGDIR}/$$dest; \
|
||||
# done
|
||||
#
|
||||
# # Files
|
||||
# for file in `find etc/ -type f`; do \
|
||||
# dest=`echo $$file | cut -c 5-` ; \
|
||||
# ${INSTALL_DATA} $$file ${GNC_CONFIGDIR}/$$dest; \
|
||||
# done
|
||||
|
||||
.PHONY: default install-bin install
|
||||
.PHONY: motif motif-static motif.static
|
||||
.PHONY: gnome gnome-static gnome.static
|
||||
.PHONY: qt qt-static qt.static
|
||||
.PHONY: depend dist clean distclean
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,84 +0,0 @@
|
||||
# Makefile.init -- configured make variables
|
||||
# Copyright (C) 2000 Linas Vepstas
|
||||
#
|
||||
# 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, contact:
|
||||
#
|
||||
# Free Software Foundation Voice: +1-617-542-5942
|
||||
# 59 Temple Place - Suite 330 Fax: +1-617-542-2652
|
||||
# Boston, MA 02111-1307, USA gnu@gnu.org
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
|
||||
# datadir is usually /usr/share/
|
||||
datadir=@datadir@
|
||||
|
||||
localedatadir=$(prefix)/@DATADIRNAME@
|
||||
|
||||
# localstatedir is usually /var/
|
||||
localstatedir=@localstatedir@
|
||||
|
||||
# sysconfdir is usually /etc/
|
||||
sysconfdir=@sysconfdir@
|
||||
|
||||
includedir=@includedir@
|
||||
mandir=@mandir@
|
||||
|
||||
VERSION = @VERSION@
|
||||
PACKAGE = @PACKAGE@
|
||||
|
||||
ABSOLUTE_TOP_SRCDIR=@ABSOLUTE_TOP_SRCDIR@
|
||||
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
INSTALL = @INSTALL@
|
||||
RANLIB = @RANLIB@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
SWIG = @SWIG@
|
||||
PERL = @PERL@
|
||||
GUILE = @GUILE@
|
||||
|
||||
CPU = @target_cpu@
|
||||
|
||||
OPT_STYLE_INSTALL=@OPT_STYLE_INSTALL@
|
||||
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
|
||||
# These are *only* to be used at *install* time.
|
||||
GNC_DOCDIR=@GNC_DOCDIR@
|
||||
GNC_BINDIR=@GNC_BINDIR@
|
||||
GNC_LIBDIR=@GNC_LIBDIR@
|
||||
GNC_CONFIGDIR=@GNC_CONFIGDIR@
|
||||
GNC_SHAREDIR=@GNC_SHAREDIR@
|
||||
GNC_MANDIR=@GNC_MANDIR@
|
||||
|
||||
HAVE_PLOTUTILS=@HAVE_PLOTUTILS@
|
||||
GLIB_CONFIG_BIN=@GLIB_CONFIG_BIN@
|
||||
GNOME_CONFIG_BIN=@GNOME_CONFIG_BIN@
|
487
README
Normal file
@ -0,0 +1,487 @@
|
||||
###########################################################################
|
||||
DEVELOPMENT RELEASE
|
||||
|
||||
The version 1.3.x series of GnuCash are experimental development
|
||||
releases. They may or may not work. Use at your own risk.
|
||||
|
||||
The last stable, production version was gnucash-1.2.5 The next stable,
|
||||
production version will be gnucash-1.4.x
|
||||
|
||||
###########################################################################
|
||||
|
||||
Table of Contents:
|
||||
|
||||
- Overview
|
||||
- Dependencies
|
||||
- Invocation/running
|
||||
- Internationalization
|
||||
- Other Tools
|
||||
- Building and Installing
|
||||
- Supported OSes
|
||||
- Additional Download Sites
|
||||
- Getting the Source via CVS
|
||||
- Developing GnuCash
|
||||
|
||||
========
|
||||
Overview
|
||||
--------
|
||||
|
||||
GnuCash is a personal finance manager. A check-book like
|
||||
register GUI allows you to enter and track bank accounts,
|
||||
stocks, income and even currency trades. The interface is
|
||||
designed to be simple and easy to use, but is backed with
|
||||
double-entry accounting principles to ensure balanced books.
|
||||
|
||||
Features include:
|
||||
|
||||
- An easy-to-use interface. If you can use the
|
||||
register in the back of your checkbook, you
|
||||
can use GnuCash. Type directly into the register,
|
||||
tab between fields, and use quick-fill to
|
||||
automatically complete the transaction.
|
||||
- Reconcile window with running reconciled
|
||||
and cleared balances makes reconciliation easy.
|
||||
- Stock/Mutual Fund Portfolios: Track stocks
|
||||
individually (one per account) or in portfolio
|
||||
of accounts (a group of accounts that can be
|
||||
displayed together).
|
||||
- Multiple Currencies & Currency Trading: Multiple
|
||||
currencies are supported and can be bought and
|
||||
sold (traded). Currency movements between accounts
|
||||
are fully balanced when double-entry is enabled.
|
||||
(Some aspects of multiple currency support are not
|
||||
fully implemented.)
|
||||
- Quicken File Import: Import Quicken QIF style files.
|
||||
QIF files are automatically merged to eliminate
|
||||
duplicate transactions.
|
||||
- Reports: Display Balance Sheet, Profit&Loss, Portfolio
|
||||
Valuation, or print them as HTML.
|
||||
- Chart of Accounts: A master account can have a hierarchy
|
||||
of detail accounts underneath it. This allows similar
|
||||
account types (e.g. Cash, Bank, Stock) to be grouped
|
||||
into one master account (e.g. Assets).
|
||||
- Split Transactions: A single transaction can be split
|
||||
into several pieces to record taxes, fees, and
|
||||
other compound entries.
|
||||
- Double Entry: When enabled, every transaction must
|
||||
debit one account and credit another by an equal amount.
|
||||
This ensures that the "books balance": that the
|
||||
difference between income and outflow exactly equals
|
||||
the sum of all assets, be they bank, cash, stock or other.
|
||||
- Income/Expense Account Types (Categories):
|
||||
These serve not only to categorize your cash flow,
|
||||
but when used properly with the double-entry feature,
|
||||
these can provide an accurate Profit&Loss statement.
|
||||
- General Ledger: Multiple accounts can be displayed
|
||||
in one register window at the same time. This can
|
||||
ease the trouble of tracking down typing/entry errors.
|
||||
It also provides a convenient way of viewing a
|
||||
portfolio of many stocks, by showing all transactions
|
||||
in that portfolio.
|
||||
- Written in C with embedded scheme support via Guile.
|
||||
- Perl support is optionally available for stand-alone scripting via SWIG.
|
||||
- File access is locked in a network-safe fashion, preventing
|
||||
accidental damage if several users attempt to access the
|
||||
same file, even if the file is NFS-mounted.
|
||||
- Provides a byte-stream format, which allows accounts and
|
||||
account groups to be transmitted to other processes
|
||||
via pipes or sockets.
|
||||
- Get Stock & Mutual Fund quotes from various web sites,
|
||||
update portfolio automatically (more funds being added
|
||||
regularly).
|
||||
- European date handling, French, German, Swedish, and Great
|
||||
Britain translations.
|
||||
|
||||
|
||||
Home Page:
|
||||
http://gnucash.org/
|
||||
|
||||
Original X-Accountant home page:
|
||||
http://www.cs.hmc.edu/~rclark/xacc
|
||||
|
||||
Precompiled binaries:
|
||||
http://www.gnucash.org/pub/gnucash/redhat-6.x/1.2.5/
|
||||
|
||||
Development versions:
|
||||
http://www.gnucash.org/source_code.php3
|
||||
|
||||
============
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Only the 1.2.5 Motif version of GnuCash is currently stable. The Gnome
|
||||
version is a development version, but will soon be stable enough for
|
||||
regular use. Development of the Motif version has ceased and has
|
||||
recently been removed from CVS. Older versions may be retrieved from
|
||||
CVS should someone want to resume the work. The next stable release
|
||||
will be a full Gnome version, but will only require that you have the
|
||||
Gnome libraries available, not that you be running a Gnome desktop.
|
||||
|
||||
The following packages are required to be installed to run gnucash:
|
||||
|
||||
guile: provides main extension language infrastructure, used
|
||||
extensively in gnucash for initialization & startup. Requires
|
||||
version 1.3 or later. (The guile-1.3-7 rpm works.)
|
||||
|
||||
slib: scheme libraries for guile. Need version slib2c4 or later.
|
||||
|
||||
libpng: portable network graphics library. Any version.
|
||||
|
||||
libjpeg: JPEG image handling library. Any version.
|
||||
|
||||
libz: compression library. Any version.
|
||||
|
||||
xpm: X Pixmap extension. Any version.
|
||||
|
||||
gnome-libs: version 1.0.40 or higher should work. These libraries
|
||||
require numerous other supporting libraries, such as gtk and glib.
|
||||
|
||||
To be able to use certain features of GnuCash, such as reports and
|
||||
network stock price downloads, you must have the following packages
|
||||
below installed (in addition to those listed above).
|
||||
RPM's for most of these can be found at http://rufus.w3.org/linux/
|
||||
|
||||
perl: Almost any version of perl5 should work. I run perl-5.004
|
||||
|
||||
In addition, some perl modules need to be installed:
|
||||
|
||||
perl-LWP/libwww-perl-5.36
|
||||
perl-HTML/HTML-0.6
|
||||
perl-HTML/HTML-Parser-2.20
|
||||
-- these perl modules are used to fetch stock & mutual fund quotes
|
||||
off the net. You can pick up RPMS at
|
||||
ftp://ftp.gnucash.org/pub/gnucash/binaries/RPMS
|
||||
http://rufus.w3.org/linux/RPM/PByName.html
|
||||
http://linas.org/linux/gnucash (last resort)
|
||||
or sources at
|
||||
http://www.cpan.org/CPAN.html
|
||||
|
||||
|
||||
=======
|
||||
Running
|
||||
-------
|
||||
|
||||
For GnuCash invocation details, see the manpage in doc/gnucash.1.
|
||||
Soon, you'll be able to also run gnucash --help, but that's not
|
||||
finished yet...
|
||||
|
||||
You can start GnuCash at the command-line, with "gnucash" or "gnucash
|
||||
<filename>", where <filename> is a GnuCash account file. Sample
|
||||
accounts can be found in "data" subdirectory. *.dat files are GnuCash
|
||||
accounts that can opened with the "Open File" menu entry. *.qif files
|
||||
are Quicken Import Format files that can be opened with the "Import
|
||||
QIF" menu entry.
|
||||
|
||||
GnuCash responds to the following environment variables:
|
||||
|
||||
GNC_RUN_AS_SHELL - if set, makes GnuCash pop up in a guile shell
|
||||
with all the gnucash functions loaded. From there, you can get the
|
||||
normal startup behavior like this:
|
||||
|
||||
GNC_RUN_AS_SHELL=t ./gnucash
|
||||
guile> (primitive-load (getenv "GNC_BOOTSTRAP_SCM"))
|
||||
guile> (gnc:load "startup.scm")
|
||||
guile> (gnc:main)
|
||||
|
||||
This is the same thing that happens if you don't use this
|
||||
environment variable. This can be helpful when trying to write and
|
||||
test new .scm files.
|
||||
|
||||
GNC_BOOTSTRAP_SCM - the location of the initial bootstrapping scheme code.
|
||||
|
||||
GNC_SCM_LOAD_PATH - an override for the GnuCash scheme load path.
|
||||
it should be a string representing a proper scheme list. Each
|
||||
element can either be a string representing a directory, the symbol
|
||||
'default which will expand to the default path, or 'current which
|
||||
will expand to the current load-path at the instant it encounters
|
||||
the symbol.
|
||||
|
||||
GNC_DEBUG - enable debugging output. This allows you to turn on
|
||||
debugging earlier in the startup process than you can with --debug.
|
||||
|
||||
As an example, here's a wrapper script we used to use to allow you
|
||||
to run gnucash from a local directory:
|
||||
|
||||
#! /bin/sh
|
||||
|
||||
export GNC_BOOTSTRAP_SCM=./share/scm/bootstrap.scm
|
||||
export GNC_SCM_LOAD_PATH='("./share/scm")'
|
||||
export GNC_DEBUG=t
|
||||
|
||||
# Run whichever one was built last.
|
||||
exec ./src/gnucash \
|
||||
--debug \
|
||||
--share-dir ./share \
|
||||
--config-dir ./etc \
|
||||
--doc-path '("./doc/html/C")' \
|
||||
"$@"
|
||||
|
||||
|
||||
====================
|
||||
Internationalization
|
||||
--------------------
|
||||
Message catalogues exist for French and German. These are enabled with
|
||||
environment variables. For example,
|
||||
|
||||
Francais, en bash:
|
||||
export LANG=fr_FR
|
||||
|
||||
Francais, en tcsh:
|
||||
setenv LANG fr_FR
|
||||
|
||||
German version:
|
||||
export LANG=de_DE
|
||||
|
||||
|
||||
Other locales that should mostly work, but are still in development:
|
||||
|
||||
en_US
|
||||
en_GB
|
||||
fr_CH
|
||||
de_CH
|
||||
|
||||
|
||||
===========
|
||||
Other Tools
|
||||
-----------
|
||||
|
||||
A tool to generate (ascii) reports from gnucash/xacc files can be found
|
||||
at http://www.zeta.org.au/~grahamc/xacc_rpts.html.
|
||||
|
||||
=====================
|
||||
Building & Installing
|
||||
---------------------
|
||||
|
||||
(For additional build system details, see doc/README.build-system.)
|
||||
|
||||
GnuCash uses GNU Automake to handle the build process, so for most of
|
||||
the details, see the generic instructions in INSTALL. Below we detail
|
||||
the GnuCash specific bits.
|
||||
|
||||
Prior to building GnuCash, you will have to obtain and install the
|
||||
following packages:
|
||||
|
||||
libtool: Available at ftp://ftp.gnu.org/gnu.
|
||||
RPM's and debs are widely available with most distributions.
|
||||
|
||||
SWIG: Used to autogenerate perl wrappers - available at www.swig.org
|
||||
need 1.1p5 or later ...
|
||||
|
||||
GnuCash understands a few non-standard ./configure options. You
|
||||
should run ./configure --help for the most up to date summary of the
|
||||
supported options, but here are some more detailed descriptions of
|
||||
some of them:
|
||||
|
||||
--enable-opt-style-install
|
||||
|
||||
Gnucash supports two types of install, the first is the normal
|
||||
/usr or /usr/local/ style, where the files are installed into
|
||||
/usr/bin /usr/lib, etc. This is the default.
|
||||
|
||||
The second style is the FSSTND, opt-style install. In this style,
|
||||
all of the files are installed under a common subdirectory, often
|
||||
in /usr/local/opt, with the binaries going to
|
||||
/usr/local/opt/foo/bin, the libs going to /usr/local/opt/foo/lib,
|
||||
etc. To request this style of install, just use the
|
||||
--enable-opt-style-install option to ./configure.
|
||||
|
||||
If you only want a particular language installed, you can set the
|
||||
LINGUAS environment variable before you run configure. For example,
|
||||
to only install the French translations, run
|
||||
|
||||
$ export LINGUAS=fr
|
||||
$ ./configure
|
||||
|
||||
If you want to make sure that all languages get installed, run
|
||||
|
||||
$ unset LINGUAS
|
||||
$ ./configure
|
||||
|
||||
The last stable release of GnuCash had a Motif based user interface,
|
||||
and there was also an experimental, but never finished qt interface.
|
||||
Both of these have been removed from the source tree during the
|
||||
process of migrating to automake, but anyone who is interested in
|
||||
resurrecting these bits can easily retrieve them from CVS.
|
||||
|
||||
The Gnome version is receiving all of the current development effort,
|
||||
and will be the next stable release. Note that although the next
|
||||
stable release will have a Gnome user interface, it will not require
|
||||
that you be running a Gnome desktop, just that you have the Gnome
|
||||
libraries available, an important distinction.
|
||||
|
||||
Although the Gnome version is being actively developed, we cannot say
|
||||
for sure that it has reached the stability level of the 1.2.5 Motif
|
||||
version. It certainly has has more features, and has worked well for
|
||||
many, but right now the older 1.2.5 Motif version is the official
|
||||
stable version, and has had more thorough testing.
|
||||
|
||||
Runtime and install destinations are separate. The --prefix you
|
||||
specify to configure determines where the resulting binary will look
|
||||
for things at runtime. Normally this determines where a "make
|
||||
install" will put all the files. However, automake also supports the
|
||||
variable. DESTDIR is used during the `make install' step to relocate
|
||||
install objects into a staging area. Each object and path is prefixed
|
||||
with the value of `DESTDIR' before being copied into the install area.
|
||||
Here is an example of typical DESTDIR usage:
|
||||
|
||||
make DESTDIR=/tmp/staging install
|
||||
|
||||
This places install objects in a directory tree built under
|
||||
`/tmp/staging'. If `/gnu/bin/foo' and `/gnu/share/aclocal/foo.m4' are
|
||||
to be installed, the above command would install
|
||||
`/tmp/staging/gnu/bin/foo' and `/tmp/staging/gnu/share/aclocal/foo.m4'.
|
||||
|
||||
DESTDIR can be helpful when trying to build install images and
|
||||
packages.
|
||||
|
||||
==============
|
||||
Supported OS's
|
||||
--------------
|
||||
GnuCash version 1.2.x is known to work in the following configs:
|
||||
|
||||
GNU/Linux -- Intel
|
||||
FreeBSD -- Intel
|
||||
OpenBSD -- Intel
|
||||
|
||||
Xacc-1.0.18, the predecessor to GnuCash, is known to work on these additional
|
||||
platforms:
|
||||
|
||||
Slackware 3.4 -- Intel w/ Mootif (OSF Motif 2.0.1)
|
||||
SGI IRIX -- MIPS
|
||||
IBM AIX 4.1.5 -- RS/6000 http://www-frec.bull.com/
|
||||
Unixware 7 -- Intel
|
||||
SCO OpenServer 5.0.4 -- Intel
|
||||
Solaris -- Sparc
|
||||
|
||||
See ftp://ftp.gnucash.org/pub/xacc (high-bandwidth)
|
||||
or http://linas.org/linux/gnucash (slow-www )
|
||||
for precompiled binaries for these platforms
|
||||
|
||||
|
||||
=========================
|
||||
Additional Download Sites
|
||||
-------------------------
|
||||
|
||||
Precompiled binaries & pre-requisite packages can be found at
|
||||
|
||||
IBM AIX 4.1.5
|
||||
-- SMIT-installable images
|
||||
http://www.bull.de/pub/
|
||||
see also http://www-frec.bull.com/
|
||||
|
||||
SCO OpenServer 5.0.4
|
||||
http://www.sco.com/skunkware/osr5/x11/apps/xacc/VOLS.tar
|
||||
|
||||
Unixware 7
|
||||
-- use pkgadd to install
|
||||
http://www.sco.com/skunkware/uw7/x11/apps/xacc/xacc.pkg.gz
|
||||
|
||||
SGI Irix
|
||||
-- in SGI install format
|
||||
-- warning, this is a very down-level version
|
||||
http://linas.org/linux/xacc/xacc-1.0b7-sgi-irix.inst.tar
|
||||
|
||||
|
||||
=======================
|
||||
Getting Source with CVS
|
||||
-----------------------
|
||||
A read-only version of the cvs tree is available on the net.
|
||||
To access it, first, login, as so:
|
||||
|
||||
cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login
|
||||
|
||||
The password is "guest"
|
||||
|
||||
To get a copy of the source in the experimental development tree do a
|
||||
|
||||
cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rHEAD gnucash
|
||||
|
||||
To get a copy of the source in the gnucash-1.2 stable production tree do a
|
||||
|
||||
cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rxacc-12-patch gnucash
|
||||
|
||||
|
||||
==================
|
||||
Developing GnuCash
|
||||
------------------
|
||||
Before you start developing GnuCash, you should do the following:
|
||||
|
||||
1. Read the file src/doc/coding-style.txt to learn about the coding-styles
|
||||
used in the GnuCash source code.
|
||||
|
||||
2. Several of the directories under src contain files called design.txt
|
||||
which explain many aspects of GnuCash's design. Read those.
|
||||
|
||||
3. Go to the gnucash website and skim the archives of the gnucash
|
||||
development mailing list.
|
||||
|
||||
4. Join the GnuCash development mailing list. See the gnucash website
|
||||
for details on how to do this.
|
||||
|
||||
|
||||
Submitting a Patch:
|
||||
|
||||
Once you have done some work that you would like to submit, you need
|
||||
to send a patch. There is a perl script called make-gnucash-patch
|
||||
provided with the distribution that you can use to create the
|
||||
patch. Here is how to use that perl script.
|
||||
|
||||
First, set up your development directories as follows:
|
||||
|
||||
< GnuCash home development directory >
|
||||
|
|
||||
|---- < directory containing original GnuCash sources >
|
||||
|
|
||||
|---- < directory containing your modified GnuCash sources >
|
||||
|
||||
A concrete example of those directories might be:
|
||||
|
||||
/home/me/gnucash
|
||||
|
|
||||
|---- /home/me/gnucash/gnucash.pristine (original sources)
|
||||
|
|
||||
|---- /home/me/gnucash/gnucash.mywork (original sources + my edits)
|
||||
|
||||
Copy the make-gnucash-patch script to the home development directory
|
||||
(/home/me/gnucash above). Now set three environment variables to
|
||||
reflect the names of your directories. Given the names above, you
|
||||
would use:
|
||||
|
||||
export GNC_MAKEPATCH_OLD_DIR=gnucash.pristine
|
||||
export GNC_MAKEPATCH_NEW_DIR=gnucash.mywork
|
||||
export GNC_MAKEPATCH_HOME_DIR=/home/me/gnucash
|
||||
|
||||
Right before you make your patch, make sure *both* your working and
|
||||
your pristine directories are in sync with cvs. Run 'cvs -z3 update
|
||||
-dP' in both directories to ensure that is the case. Updating from
|
||||
cvs in your working directory may cause conficts in a file. You must
|
||||
resolve those conficts before making a patch.
|
||||
|
||||
Now run the script. Note that this script requires the programs
|
||||
'makepatch', 'gzip', 'diff', and 'uuencode' (and, of course, 'perl')
|
||||
to run.
|
||||
|
||||
When you run the script, three files will be generated:
|
||||
|
||||
gnc.diff: This file is an ascii text file containing the differences
|
||||
between the original sources and your edits. At the bottom of this
|
||||
file is a list of the files which were added, changed, or deleted.
|
||||
|
||||
Please examine this file (especially the list at the bottom) to
|
||||
make sure that all of your changes (and no other changes) are
|
||||
present in the file.
|
||||
|
||||
Do not submit this file!
|
||||
|
||||
gnucash.diff.gz: This is a gzipped version of the above file.
|
||||
Do not submit this file!
|
||||
|
||||
gnucash.diff.gz.uue: This is a uuencoded (ascii-encoded) version of
|
||||
the above file.
|
||||
|
||||
This is the file you submit.
|
||||
|
||||
Send gnucash.diff.gz.uue to gnucash-patches@gnucash.org
|
||||
|
||||
Thanks in advance for your contribution!
|
||||
|
102
acconfig.h
Normal file
@ -0,0 +1,102 @@
|
||||
/********************************************************************\
|
||||
* config.h -- configuration defines for xacc *
|
||||
* Copyright (C) 1997 Robin D. Clark *
|
||||
* *
|
||||
* 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., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
||||
* *
|
||||
* Author: Rob Clark *
|
||||
* Internet: rclark@cs.hmc.edu *
|
||||
* Address: 609 8th Street *
|
||||
* Huntington Beach, CA 92648-4632 *
|
||||
\********************************************************************/
|
||||
|
||||
|
||||
#ifndef __XACC_CONFIG_H__
|
||||
#define __XACC_CONFIG_H__
|
||||
|
||||
/* Package name and version number */
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
|
||||
/* Are we bigendian -- needed for reading binary file format */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/* Are we compiling for GNOME? The answer right now is always yes... */
|
||||
#undef GNOME
|
||||
|
||||
/* Do some memory debugging stuff */
|
||||
#define DEBUG_MEMORY
|
||||
|
||||
/* Enable debugging stuff */
|
||||
#define USE_DEBUG
|
||||
|
||||
/* Standard C headers present */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* limits.h header present */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* memcpy present */
|
||||
#undef HAVE_MEMCPY
|
||||
|
||||
/* check for stpcpy for Solaris */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Enable quickfill in register window */
|
||||
#define USE_QUICKFILL
|
||||
|
||||
/* Don't color the balance depending on whether positive
|
||||
* or negative */
|
||||
#define USE_NO_COLOR
|
||||
|
||||
/* If configure found libXpm, then use it */
|
||||
#define HAVE_XPM
|
||||
|
||||
/* Use the new XmHTML widdget instead of the old htmlw widget */
|
||||
#define HAVE_LIBXMHTML 1
|
||||
|
||||
/* use gnomeprint if it's available */
|
||||
#undef HAVE_LIBGNOMEPRINT
|
||||
|
||||
/* misc image and compression libs needed by html widget */
|
||||
#undef HAVE_ZLIB
|
||||
#undef HAVE_PNG
|
||||
#undef HAVE_JPEG
|
||||
|
||||
#undef HAVE_PLOTUTILS
|
||||
|
||||
/* Configure found the function malloc_usable_size */
|
||||
#define HAVE_MALLOC_USABLE_SIZE
|
||||
|
||||
/*** Begin i18n ***/
|
||||
|
||||
/* internationalization with gettext */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* internationalization with catgets */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
/* locale.h contains LC_MESSAGES */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
/* specific locale directory */
|
||||
#undef HAVE_LOCALE_DIR
|
||||
|
||||
/* defined if NLS is available */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/*** End i18n ***/
|
||||
|
||||
#endif
|
846
aclocal.m4
vendored
@ -1,100 +1,544 @@
|
||||
dnl AC_CHECK_X_LIB(LIBRARY, FUNCTION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND
|
||||
dnl [, OTHER-X-LIBRARIES [, OTHER-LIBRARIES]]]])
|
||||
dnl This macro is just a variation on AC_CHECK_LIB, but for X-related
|
||||
dnl libraries (X is just a tad delicate). OTHER-X-LIBRARIES is a list
|
||||
dnl of other X-related libraries that might be required to link with
|
||||
dnl LIBRARY (e.g., -lXpm). OTHER-LIBRARIES is a list of other (non-X)
|
||||
dnl libraries that might be required (e.g., -lm).
|
||||
AC_DEFUN(AC_CHECK_X_LIB,
|
||||
[AC_REQUIRE([AC_PATH_XTRA])dnl
|
||||
AC_MSG_CHECKING([for $2 in -l$1])
|
||||
dnl Use a cache variable name containing both the library and function name,
|
||||
dnl because the test really is for library $1 defining function $2, not
|
||||
dnl just for library $1. Separate tests with the same $1 and different $2s
|
||||
dnl may have different results.
|
||||
ac_lib_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
|
||||
AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
|
||||
[ac_save_LIBS="$LIBS"
|
||||
LIBS="$X_LIBS -l$1 $5 $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $6 $LIBS"
|
||||
AC_TRY_LINK(dnl
|
||||
ifelse([$2], [main], , dnl Avoid conflicting decl of main.
|
||||
[/* Override any gcc2 internal prototype to avoid an error. */
|
||||
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
])dnl
|
||||
[/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char $2();
|
||||
]),
|
||||
[$2()],
|
||||
eval "ac_cv_lib_$ac_lib_var=yes",
|
||||
eval "ac_cv_lib_$ac_lib_var=no")
|
||||
LIBS="$ac_save_LIBS"
|
||||
])dnl
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$3], ,
|
||||
[changequote(, )dnl
|
||||
ac_tr_lib=HAVE_LIB`echo $1 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
||||
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
|
||||
changequote([, ])dnl
|
||||
AC_DEFINE_UNQUOTED($ac_tr_lib)
|
||||
X_PRE_LIBS="-l$1 $X_PRE_LIBS"
|
||||
], [$3])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
ifelse([$4], , , [$4
|
||||
])dnl
|
||||
fi
|
||||
])
|
||||
# Search path for a program which passes the given test.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.4
|
||||
|
||||
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl This program is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||
AC_DEFUN(AM_PATH_PROG_WITH_TEST,
|
||||
[# Extract the first word of "$2", so it can be a program name with args.
|
||||
set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
/*)
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
|
||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||
|
||||
AC_DEFUN(AM_CONFIG_HEADER,
|
||||
[AC_PREREQ([2.12])
|
||||
AC_CONFIG_HEADER([$1])
|
||||
dnl When config.status generates a header, we must update the stamp-h file.
|
||||
dnl This file resides in the same directory as the config header
|
||||
dnl that is generated. We must strip everything past the first ":",
|
||||
dnl and everything past the last "/".
|
||||
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
|
||||
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
|
||||
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
|
||||
<<am_indx=1
|
||||
for am_file in <<$1>>; do
|
||||
case " <<$>>CONFIG_HEADERS " in
|
||||
*" <<$>>am_file "*<<)>>
|
||||
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
|
||||
;;
|
||||
esac
|
||||
am_indx=`expr "<<$>>am_indx" + 1`
|
||||
done<<>>dnl>>)
|
||||
changequote([,]))])
|
||||
|
||||
|
||||
# serial 40 AC_PROG_LIBTOOL
|
||||
AC_DEFUN(AC_PROG_LIBTOOL,
|
||||
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
|
||||
|
||||
# Save cache, so that ltconfig can load it
|
||||
AC_CACHE_SAVE
|
||||
|
||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
||||
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|
||||
|| AC_MSG_ERROR([libtool configure failed])
|
||||
|
||||
# Reload cache, that may have been modified by ltconfig
|
||||
AC_CACHE_LOAD
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
AC_SUBST(LIBTOOL)dnl
|
||||
|
||||
# Redirect the config.log output again, so that the ltconfig log is not
|
||||
# clobbered by the next message.
|
||||
exec 5>>./config.log
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_LIBTOOL_SETUP,
|
||||
[AC_PREREQ(2.13)dnl
|
||||
AC_REQUIRE([AC_ENABLE_SHARED])dnl
|
||||
AC_REQUIRE([AC_ENABLE_STATIC])dnl
|
||||
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_LD])dnl
|
||||
AC_REQUIRE([AC_PROG_NM])dnl
|
||||
AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||
dnl
|
||||
|
||||
case "$target" in
|
||||
NONE) lt_target="$host" ;;
|
||||
*) lt_target="$target" ;;
|
||||
esac
|
||||
|
||||
# Check for any special flags to pass to ltconfig.
|
||||
#
|
||||
# the following will cause an existing older ltconfig to fail, so
|
||||
# we ignore this at the expense of the cache file... Checking this
|
||||
# will just take longer ... bummer!
|
||||
#libtool_flags="--cache-file=$cache_file"
|
||||
#
|
||||
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
||||
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
||||
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
|
||||
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
|
||||
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
|
||||
[libtool_flags="$libtool_flags --enable-dlopen"])
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
||||
[libtool_flags="$libtool_flags --enable-win32-dll"])
|
||||
AC_ARG_ENABLE(libtool-lock,
|
||||
[ --disable-libtool-lock avoid locking (might break parallel builds)])
|
||||
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
|
||||
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||
|
||||
# Some flags need to be propagated to the compiler or linker for good
|
||||
# libtool support.
|
||||
case "$lt_target" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case "`/usr/bin/file conftest.o`" in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
;;
|
||||
*N32*)
|
||||
LD="${LD-ld} -n32"
|
||||
;;
|
||||
*64-bit*)
|
||||
LD="${LD-ld} -64"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
rm -rf conftest*
|
||||
;;
|
||||
|
||||
*-*-sco3.2v5*)
|
||||
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
|
||||
[AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
|
||||
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
||||
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
||||
CFLAGS="$SAVE_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
||||
[*-*-cygwin* | *-*-mingw*)
|
||||
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||
AC_CHECK_TOOL(AS, as, false)
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
;;
|
||||
])
|
||||
esac
|
||||
])
|
||||
|
||||
# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
|
||||
AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
|
||||
|
||||
# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
|
||||
AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
|
||||
|
||||
# AC_ENABLE_SHARED - implement the --enable-shared flag
|
||||
# Usage: AC_ENABLE_SHARED[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN(AC_ENABLE_SHARED, [dnl
|
||||
define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(shared,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case "$enableval" in
|
||||
yes) enable_shared=yes ;;
|
||||
no) enable_shared=no ;;
|
||||
*)
|
||||
enable_shared=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_shared=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
|
||||
AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_SHARED(no)])
|
||||
|
||||
# AC_ENABLE_STATIC - implement the --enable-static flag
|
||||
# Usage: AC_ENABLE_STATIC[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN(AC_ENABLE_STATIC, [dnl
|
||||
define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(static,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case "$enableval" in
|
||||
yes) enable_static=yes ;;
|
||||
no) enable_static=no ;;
|
||||
*)
|
||||
enable_static=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_static=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_DISABLE_STATIC - set the default static flag to --disable-static
|
||||
AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_STATIC(no)])
|
||||
|
||||
|
||||
# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
|
||||
# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
|
||||
define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(fast-install,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case "$enableval" in
|
||||
yes) enable_fast_install=yes ;;
|
||||
no) enable_fast_install=no ;;
|
||||
*)
|
||||
enable_fast_install=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_fast_install=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
|
||||
AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_FAST_INSTALL(no)])
|
||||
|
||||
# AC_PROG_LD - find the path to the GNU or non-GNU linker
|
||||
AC_DEFUN(AC_PROG_LD,
|
||||
[AC_ARG_WITH(gnu-ld,
|
||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||
ac_prog=ld
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by GCC])
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||
case "$ac_prog" in
|
||||
# Accept absolute paths.
|
||||
changequote(,)dnl
|
||||
[\\/]* | [A-Za-z]:[\\/]*)
|
||||
re_direlt='/[^/][^/]*/\.\./'
|
||||
changequote([,])dnl
|
||||
# Canonicalize the path of ld
|
||||
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
||||
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
||||
done
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL(ac_cv_path_LD,
|
||||
[if test -z "$LD"; then
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$ac_word; then
|
||||
if [$3]; then
|
||||
ac_cv_path_$1="$ac_dir/$ac_word"
|
||||
break
|
||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
||||
ac_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some GNU ld's only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
||||
test "$with_gnu_ld" != no && break
|
||||
else
|
||||
test "$with_gnu_ld" != yes && break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
dnl If no 4th arg is given, leave the cache variable unset,
|
||||
dnl so AC_PATH_PROGS will keep looking.
|
||||
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
||||
])dnl
|
||||
;;
|
||||
esac])dnl
|
||||
$1="$ac_cv_path_$1"
|
||||
if test -n "[$]$1"; then
|
||||
AC_MSG_RESULT([$]$1)
|
||||
else
|
||||
ac_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$ac_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT($LD)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_SUBST($1)dnl
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_PROG_LD_GNU
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_PROG_LD_GNU,
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
|
||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
||||
ac_cv_prog_gnu_ld=yes
|
||||
else
|
||||
ac_cv_prog_gnu_ld=no
|
||||
fi])
|
||||
])
|
||||
|
||||
# AC_PROG_NM - find the path to a BSD-compatible name lister
|
||||
AC_DEFUN(AC_PROG_NM,
|
||||
[AC_MSG_CHECKING([for BSD-compatible nm])
|
||||
AC_CACHE_VAL(ac_cv_path_NM,
|
||||
[if test -n "$NM"; then
|
||||
# Let the user override the test.
|
||||
ac_cv_path_NM="$NM"
|
||||
else
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
|
||||
# Check to see if the nm accepts a BSD-compat flag.
|
||||
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
||||
# nm: unknown option "B" ignored
|
||||
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||
ac_cv_path_NM="$ac_dir/nm -B"
|
||||
break
|
||||
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||
ac_cv_path_NM="$ac_dir/nm -p"
|
||||
break
|
||||
else
|
||||
ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
|
||||
continue # so that we can try to find one that supports BSD flags
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
|
||||
fi])
|
||||
NM="$ac_cv_path_NM"
|
||||
AC_MSG_RESULT([$NM])
|
||||
])
|
||||
|
||||
# AC_CHECK_LIBM - check for math library
|
||||
AC_DEFUN(AC_CHECK_LIBM,
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case "$lt_target" in
|
||||
*-*-beos* | *-*-cygwin*)
|
||||
# These system don't have libm
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
|
||||
AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB(m, main, LIBM="-lm")
|
||||
;;
|
||||
esac
|
||||
])
|
||||
|
||||
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
|
||||
# the libltdl convenience library, adds --enable-ltdl-convenience to
|
||||
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
|
||||
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
|
||||
# to be `${top_builddir}/libltdl'. Make sure you start DIR with
|
||||
# '${top_builddir}/' (note the single quotes!) if your package is not
|
||||
# flat, and, if you're not using automake, define top_builddir as
|
||||
# appropriate in the Makefiles.
|
||||
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
case "$enable_ltdl_convenience" in
|
||||
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
|
||||
"") enable_ltdl_convenience=yes
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
||||
esac
|
||||
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
|
||||
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
|
||||
])
|
||||
|
||||
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
|
||||
# the libltdl installable library, and adds --enable-ltdl-install to
|
||||
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
|
||||
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
|
||||
# to be `${top_builddir}/libltdl'. Make sure you start DIR with
|
||||
# '${top_builddir}/' (note the single quotes!) if your package is not
|
||||
# flat, and, if you're not using automake, define top_builddir as
|
||||
# appropriate in the Makefiles.
|
||||
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
||||
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_CHECK_LIB(ltdl, main,
|
||||
[test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
|
||||
[if test x"$enable_ltdl_install" = xno; then
|
||||
AC_MSG_WARN([libltdl not installed, but installation disabled])
|
||||
else
|
||||
enable_ltdl_install=yes
|
||||
fi
|
||||
])
|
||||
if test x"$enable_ltdl_install" = x"yes"; then
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-install"
|
||||
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
|
||||
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
|
||||
else
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
|
||||
LIBLTDL="-lltdl"
|
||||
INCLTDL=
|
||||
fi
|
||||
])
|
||||
|
||||
dnl old names
|
||||
AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
|
||||
AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
|
||||
AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
|
||||
AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
|
||||
AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
|
||||
AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
|
||||
AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
|
||||
|
||||
dnl This is just to silence aclocal about the macro not being used
|
||||
ifelse([AC_DISABLE_FAST_INSTALL])dnl
|
||||
|
||||
# Macro to add for using GNU gettext.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
@ -159,7 +603,6 @@ AC_DEFUN(AM_WITH_NLS,
|
||||
if test "$MSGFMT" != "no"; then
|
||||
AC_CHECK_FUNCS(dcgettext)
|
||||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||
AC_PATH_PROG(GMSGMERGE, msgmerge, :)
|
||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
||||
AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
|
||||
@ -275,7 +718,6 @@ AC_DEFUN(AM_WITH_NLS,
|
||||
for lang in $ALL_LINGUAS; do
|
||||
GMOFILES="$GMOFILES $lang.gmo"
|
||||
POFILES="$POFILES $lang.po"
|
||||
POXFILES="$POXFILES $lang.pox"
|
||||
done
|
||||
|
||||
dnl Make all variables we use known to autoconf.
|
||||
@ -289,12 +731,35 @@ AC_DEFUN(AM_WITH_NLS,
|
||||
AC_SUBST(INTLLIBS)
|
||||
AC_SUBST(INTLOBJS)
|
||||
AC_SUBST(POFILES)
|
||||
AC_SUBST(POXFILES)
|
||||
AC_SUBST(POSUB)
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_CAN_USE_GNU_GETTEXT,
|
||||
[AM_LC_MESSAGES
|
||||
AC_DEFUN(AM_GNU_GETTEXT,
|
||||
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||
AC_REQUIRE([AC_ISC_POSIX])dnl
|
||||
AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||
AC_REQUIRE([AC_C_CONST])dnl
|
||||
AC_REQUIRE([AC_C_INLINE])dnl
|
||||
AC_REQUIRE([AC_TYPE_OFF_T])dnl
|
||||
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
|
||||
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
|
||||
AC_REQUIRE([AC_FUNC_MMAP])dnl
|
||||
|
||||
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \
|
||||
unistd.h sys/param.h])
|
||||
AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \
|
||||
strdup __argz_count __argz_stringify __argz_next])
|
||||
|
||||
if test "${ac_cv_func_stpcpy+set}" != "set"; then
|
||||
AC_CHECK_FUNCS(stpcpy)
|
||||
fi
|
||||
if test "${ac_cv_func_stpcpy}" = "yes"; then
|
||||
AC_DEFINE(HAVE_STPCPY)
|
||||
fi
|
||||
|
||||
AM_LC_MESSAGES
|
||||
AM_WITH_NLS
|
||||
|
||||
if test "x$CATOBJEXT" != "x"; then
|
||||
@ -321,15 +786,42 @@ AC_DEFUN(AC_CAN_USE_GNU_GETTEXT,
|
||||
dnl The reference to <locale.h> in the installed <libintl.h> file
|
||||
dnl must be resolved because we cannot expect the users of this
|
||||
dnl to define HAVE_LOCALE_H.
|
||||
dnl if test "$ac_cv_header_locale_h" = yes; then
|
||||
dnl Gnucash requires locale.h, so just hard-code it in -- Dave Peticolas
|
||||
INCLUDE_LOCALE_H="#include <locale.h>"
|
||||
dnl else
|
||||
dnl INCLUDE_LOCALE_H="\
|
||||
dnl /* The system does not provide the header <locale.h>. Take care yourself. */"
|
||||
dnl fi
|
||||
if test $ac_cv_header_locale_h = yes; then
|
||||
INCLUDE_LOCALE_H="#include <locale.h>"
|
||||
else
|
||||
INCLUDE_LOCALE_H="\
|
||||
/* The system does not provide the header <locale.h>. Take care yourself. */"
|
||||
fi
|
||||
AC_SUBST(INCLUDE_LOCALE_H)
|
||||
|
||||
dnl Determine which catalog format we have (if any is needed)
|
||||
dnl For now we know about two different formats:
|
||||
dnl Linux libc-5 and the normal X/Open format
|
||||
test -d intl || mkdir intl
|
||||
if test "$CATOBJEXT" = ".cat"; then
|
||||
AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen)
|
||||
|
||||
dnl Transform the SED scripts while copying because some dumb SEDs
|
||||
dnl cannot handle comments.
|
||||
sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed
|
||||
fi
|
||||
dnl po2tbl.sed is always needed.
|
||||
sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
|
||||
$srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed
|
||||
|
||||
dnl In the intl/Makefile.in we have a special dependency which makes
|
||||
dnl only sense for gettext. We comment this out for non-gettext
|
||||
dnl packages.
|
||||
if test "$PACKAGE" = "gettext"; then
|
||||
GT_NO="#NO#"
|
||||
GT_YES=
|
||||
else
|
||||
GT_NO=
|
||||
GT_YES="#YES#"
|
||||
fi
|
||||
AC_SUBST(GT_NO)
|
||||
AC_SUBST(GT_YES)
|
||||
|
||||
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
|
||||
dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
|
||||
dnl Try to locate is.
|
||||
@ -342,6 +834,10 @@ dnl /* The system does not provide the header <locale.h>. Take care yourself.
|
||||
fi
|
||||
AC_SUBST(MKINSTALLDIRS)
|
||||
|
||||
dnl *** For now the libtool support in intl/Makefile is not for real.
|
||||
l=
|
||||
AC_SUBST(l)
|
||||
|
||||
dnl Generate list of files to be processed by xgettext which will
|
||||
dnl be included in po/Makefile.
|
||||
test -d po || mkdir po
|
||||
@ -359,6 +855,54 @@ dnl /* The system does not provide the header <locale.h>. Take care yourself.
|
||||
< $srcdir/po/POTFILES.in > po/POTFILES
|
||||
])
|
||||
|
||||
# Search path for a program which passes the given test.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||
AC_DEFUN(AM_PATH_PROG_WITH_TEST,
|
||||
[# Extract the first word of "$2", so it can be a program name with args.
|
||||
set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
/*)
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$ac_word; then
|
||||
if [$3]; then
|
||||
ac_cv_path_$1="$ac_dir/$ac_word"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
dnl If no 4th arg is given, leave the cache variable unset,
|
||||
dnl so AC_PATH_PROGS will keep looking.
|
||||
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
||||
])dnl
|
||||
;;
|
||||
esac])dnl
|
||||
$1="$ac_cv_path_$1"
|
||||
if test -n "[$]$1"; then
|
||||
AC_MSG_RESULT([$]$1)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_SUBST($1)dnl
|
||||
])
|
||||
|
||||
# Check whether LC_MESSAGES is available in <locale.h>.
|
||||
# Ulrich Drepper <drepper@cygnus.com>, 1995.
|
||||
#
|
||||
@ -370,120 +914,12 @@ dnl /* The system does not provide the header <locale.h>. Take care yourself.
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_LC_MESSAGES,
|
||||
[if test "$ac_cv_header_locale_h" = yes; then
|
||||
[if test $ac_cv_header_locale_h = yes; then
|
||||
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||||
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||||
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||||
if test "$am_cv_val_LC_MESSAGES" = yes; then
|
||||
if test $am_cv_val_LC_MESSAGES = yes; then
|
||||
AC_DEFINE(HAVE_LC_MESSAGES)
|
||||
fi
|
||||
fi])
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AM_PROG_INSTALL])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
|
||||
## --------------------------------------------------------- ##
|
||||
## Use AC_PROG_INSTALL, supplementing it with INSTALL_SCRIPT ##
|
||||
## substitution. ##
|
||||
## From Franc,ois Pinard ##
|
||||
## --------------------------------------------------------- ##
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_PROG_INSTALL,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
AC_SUBST(INSTALL_SCRIPT)dnl
|
||||
])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
#
|
||||
|
||||
AC_DEFUN(AM_SANITY_CHECK,
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
||||
if test "[$]*" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftestfile`
|
||||
fi
|
||||
if test "[$]*" != "X $srcdir/configure conftestfile" \
|
||||
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "[$]2" = conftestfile
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
## --------------------------------------------------------- ##
|
||||
## Fake the existence of programs that GNU maintainers use. ##
|
||||
## --------------------------------------------------------- ##
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
AC_SUBST($1)])
|
||||
|
180
config.h.in
@ -1,38 +1,61 @@
|
||||
/********************************************************************\
|
||||
* config.h -- configuration defines for xacc *
|
||||
* Copyright (C) 1997 Robin D. Clark *
|
||||
* *
|
||||
* 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., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
||||
* *
|
||||
* Author: Rob Clark *
|
||||
* Internet: rclark@cs.hmc.edu *
|
||||
* Address: 609 8th Street *
|
||||
* Huntington Beach, CA 92648-4632 *
|
||||
\********************************************************************/
|
||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
#ifndef __XACC_CONFIG_H__
|
||||
#define __XACC_CONFIG_H__
|
||||
/* Define to empty if the keyword does not work. */
|
||||
#undef const
|
||||
|
||||
/* Package name and version number */
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
||||
This function is required for alloca.c support on those systems. */
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define if you have alloca, as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
#undef inline
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
#undef off_t
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
#undef size_t
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown
|
||||
*/
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define if your processor stores words with the most significant
|
||||
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/* Define if the X Window System is missing or not being used. */
|
||||
#undef X_DISPLAY_MISSING
|
||||
|
||||
/* Are we bigendian -- needed for reading binary file format */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/* Are we compiling for GNOME? The answer right now is always yes... */
|
||||
#undef GNOME
|
||||
|
||||
/* Do some memory debugging stuff */
|
||||
#define DEBUG_MEMORY
|
||||
|
||||
@ -42,12 +65,6 @@
|
||||
/* Standard C headers present */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* limits.h header present */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* memcpy present */
|
||||
#undef HAVE_MEMCPY
|
||||
|
||||
/* check for stpcpy for Solaris */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
@ -61,9 +78,6 @@
|
||||
/* If configure found libXpm, then use it */
|
||||
#define HAVE_XPM
|
||||
|
||||
/* Use the new XmHTML widdget instead of the old htmlw widget */
|
||||
#define HAVE_LIBXMHTML 1
|
||||
|
||||
/* use gnomeprint if it's available */
|
||||
#undef HAVE_LIBGNOMEPRINT
|
||||
|
||||
@ -72,13 +86,6 @@
|
||||
#undef HAVE_PNG
|
||||
#undef HAVE_JPEG
|
||||
|
||||
#undef HAVE_PLOTUTILS
|
||||
|
||||
/* Configure found the function malloc_usable_size */
|
||||
#define HAVE_MALLOC_USABLE_SIZE
|
||||
|
||||
/*** Begin i18n ***/
|
||||
|
||||
/* internationalization with gettext */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
@ -88,12 +95,87 @@
|
||||
/* locale.h contains LC_MESSAGES */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
/* specific locale directory */
|
||||
#undef HAVE_LOCALE_DIR
|
||||
|
||||
/* defined if NLS is available */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/*** End i18n ***/
|
||||
/* Define if you have the __argz_count function. */
|
||||
#undef HAVE___ARGZ_COUNT
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
#undef HAVE___ARGZ_NEXT
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
#undef HAVE___ARGZ_STRINGIFY
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define if you have the getcwd function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
/* Define if you have the getpagesize function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define if you have the memcpy function. */
|
||||
#undef HAVE_MEMCPY
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#undef HAVE_PUTENV
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#undef HAVE_SETLOCALE
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Define if you have the strcasecmp function. */
|
||||
#undef HAVE_STRCASECMP
|
||||
|
||||
/* Define if you have the strchr function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
/* Define if you have the strdup function. */
|
||||
#undef HAVE_STRDUP
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
#undef HAVE_ARGZ_H
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#undef HAVE_MALLOC_H
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#undef HAVE_NL_TYPES_H
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define if you have the i library (-li). */
|
||||
#undef HAVE_LIBI
|
||||
|
||||
/* Define if you have the xml library (-lxml). */
|
||||
#undef HAVE_LIBXML
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
#endif
|
||||
|
1232
config.sub
vendored
Executable file
285
configure.in
@ -1,4 +1,7 @@
|
||||
# -*-shell-script-*-
|
||||
## -*-m4-*-
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
# FILE:
|
||||
# configure.in
|
||||
#
|
||||
@ -15,24 +18,22 @@
|
||||
# Libraries - Check for libraries
|
||||
# Footer - Autoconf footer stuff
|
||||
|
||||
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Headers
|
||||
### check for various programs, and stuff (do this first because later
|
||||
### commands depend on them):
|
||||
|
||||
AC_INIT(src/guile/gnucash.h)
|
||||
|
||||
AM_INIT_AUTOMAKE(gnucash,1.3.8)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl Set of available languages.
|
||||
ALL_LINGUAS="fr de en_GB sv ja"
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
|
||||
### AC_PROG_CC sets CFLAGS if it's not already set.
|
||||
AC_PROG_CC
|
||||
|
||||
AC_ISC_POSIX
|
||||
@ -43,7 +44,6 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(limits.h)
|
||||
AC_CHECK_FUNCS(stpcpy memcpy)
|
||||
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Variables
|
||||
### Set up all the initial variable values...
|
||||
@ -52,23 +52,49 @@ AC_CHECK_FUNCS(stpcpy memcpy)
|
||||
AC_DEFINE(USE_QUICKFILL,1)
|
||||
|
||||
# Should we uses color (red/black) balances?
|
||||
AC_ARG_ENABLE( color,
|
||||
AC_ARG_ENABLE(color,
|
||||
[ --disable-color don't use color (red/black) balances],
|
||||
AC_DEFINE(USE_NO_COLOR,1),
|
||||
AC_DEFINE(USE_NO_COLOR,0) )
|
||||
|
||||
AC_ARG_WITH( opt-style-install,
|
||||
[ --with-opt-style-install install everything in subdirs of --prefix],
|
||||
OPT_STYLE_INSTALL=1
|
||||
CPPFLAGS="$CPPFLAGS -I$prefix/include"
|
||||
CFLAGS="$CLFAGS -L$prefix/lib",
|
||||
OPT_STYLE_INSTALL=0)
|
||||
AC_SUBST(OPT_STYLE_INSTALL)
|
||||
AC_ARG_ENABLE(opt-style-install,
|
||||
[ --enable-opt-style-install install everything in subdirs of --prefix],
|
||||
[case "${enableval}" in
|
||||
yes) gnc_opt_style_install=true ;;
|
||||
no) gnc_opt_style_install=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-opt-style-install) ;;
|
||||
esac],
|
||||
[gnc_opt_style_install=false])
|
||||
|
||||
if test x${gnc_opt_style_install} = xtrue
|
||||
then
|
||||
GNC_CONFIGDIR='${sysconfdir}'
|
||||
GNC_LIBDIR='${libdir}'
|
||||
GNC_SHAREDIR='${datadir}'
|
||||
GNC_SCM_INSTALL_DIR='${datadir}/scm'
|
||||
GNC_DOC_INSTALL_DIR='${datadir}/doc'
|
||||
else
|
||||
GNC_CONFIGDIR='${sysconfdir}/gnucash'
|
||||
GNC_LIBDIR='${pkglibdir}'
|
||||
GNC_SHAREDIR='${pkgdatadir}'
|
||||
GNC_SCM_INSTALL_DIR='${pkgdatadir}/scm'
|
||||
GNC_DOC_INSTALL_DIR='${pkgdatadir}/doc'
|
||||
fi
|
||||
|
||||
AC_SUBST(GNC_CONFIGDIR)
|
||||
AC_SUBST(GNC_LIBDIR)
|
||||
AC_SUBST(GNC_SHAREDIR)
|
||||
AC_SUBST(GNC_SCM_INSTALL_DIR)
|
||||
AC_SUBST(GNC_DOC_INSTALL_DIR)
|
||||
|
||||
|
||||
# We should always see these errors...
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
|
||||
AC_ARG_ENABLE( debug,
|
||||
[ --enable-debug compile with debugging flags set],
|
||||
CFLAGS="${CFLAGS} -g -Wall"
|
||||
LDFLAGS="${LDFLAGS} -g -Wall"
|
||||
CFLAGS="${CFLAGS} -g"
|
||||
LDFLAGS="${LDFLAGS} -g"
|
||||
AC_DEFINE(DEBUG_MEMORY,1) AC_DEFINE(USE_DEBUG,1),
|
||||
AC_DEFINE(DEBUG_MEMORY,0) AC_DEFINE(USE_DEBUG,0) )
|
||||
|
||||
@ -93,30 +119,17 @@ AC_ARG_WITH( locale-dir,
|
||||
|
||||
AC_SUBST(LOCALE_DIR)
|
||||
|
||||
|
||||
|
||||
# (rlb) As far as I can tell from the gettext info pages, this stuff...
|
||||
|
||||
# We need the variable below defined for the gettext checks to work
|
||||
ac_cv_header_locale_h=yes
|
||||
AC_CAN_USE_GNU_GETTEXT
|
||||
#ac_cv_header_locale_h=yes
|
||||
#AC_CAN_USE_GNU_GETTEXT
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
## qt-version of gnucash
|
||||
# The qt version of gnucash is far from doing anything usefull, so most people
|
||||
# don't care about it. Those who want to play with it, must specify --enable-qt
|
||||
|
||||
AC_ARG_ENABLE(qt,
|
||||
[ --enable-qt enable building of the Qt version of gnucash],
|
||||
GNC_QT_ENABLED=yes)
|
||||
|
||||
if test x"$GNC_QT_ENABLED" = xyes; then
|
||||
QT_TARGET="qt.real"
|
||||
QT_STATIC_TARGET="qt.static.real"
|
||||
else
|
||||
QT_TARGET="qt.disable"
|
||||
QT_STATIC_TARGET="qt.disable"
|
||||
fi
|
||||
|
||||
AC_SUBST(QT_TARGET)
|
||||
AC_SUBST(QT_STATIC_TARGET)
|
||||
# (rlb) should be replaced with this...
|
||||
|
||||
AM_GNU_GETTEXT
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Check for perl
|
||||
@ -183,7 +196,16 @@ if test x"${GLIB_CONFIG_BIN}" = x
|
||||
then
|
||||
AC_PATH_PROG(GLIB_CONFIG_BIN, glib-config, GLIB_CONFIG_NOT_FOUND)
|
||||
fi
|
||||
|
||||
if test "${GLIB_CONFIG_BIN}"x != GLIB_CONFIG_NOT_FOUNDx
|
||||
then
|
||||
GLIB_CFLAGS=`${GLIB_CONFIG_BIN} --cflags`
|
||||
GLIB_LIBS=`${GLIB_CONFIG_BIN} --libs`
|
||||
fi
|
||||
|
||||
AC_SUBST(GLIB_CONFIG_BIN)
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
|
||||
# Let the user specify gnome paths:
|
||||
GNOME_CONFIG_BIN="gnome-config"
|
||||
@ -216,31 +238,13 @@ fi
|
||||
# This is how to use the variables set by AC_PATH_XTRA:
|
||||
# cc @X_CFLAGS@ -c -o foo.o foo.c
|
||||
# cc @X_LIBS@ (-lfoo...) @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
|
||||
# (But see also the test for Motif libraries, below.)
|
||||
# (Perhaps X_LIBS should have been called X_LDFLAGS.)
|
||||
|
||||
# XXX - Not all programs need all of these, surely.
|
||||
X_LIBS="$X_LIBS -lXext -lXmu -lXt -lX11"
|
||||
# XXX - Ask Motif what it wants
|
||||
MOTIF_LIBS="-lXm"
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Motif libs -- these are needed for the motif builds only
|
||||
# Let the user specify motif paths:
|
||||
AC_ARG_WITH( motif,
|
||||
[ --with-motif=PATH specify where to look for motif includes and libs],
|
||||
X_LIBS="${X_LIBS} -L$with_motif/lib" X_CFLAGS="$X_CFLAGS -I$with_motif/include" )
|
||||
|
||||
AC_ARG_WITH( motif-includes,
|
||||
[ --with-motif-includes=DIR specify where to look for motif includes],
|
||||
X_CFLAGS="${X_CFLAGS} -I$with_motif_includes" )
|
||||
|
||||
AC_ARG_WITH( motif-libraries,
|
||||
[ --with-motif-libraries=DIR specify where to look for motif libs],
|
||||
X_LIBS="${X_LIBS} -L$with_motif_libraries" )
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Gnome libs -- these are needed for the gnome builds only
|
||||
### Gnome libs -- these are needed for the gnome builds
|
||||
# Let the user specify gnome paths:
|
||||
# -I...libgnomesupport is to fix bug in gnome-1.3 release
|
||||
#
|
||||
@ -265,17 +269,6 @@ AC_ARG_WITH( imlib,
|
||||
[ --with-imlib=PATH specify where to look for imlib includes and libs],
|
||||
X_LIBS="${X_LIBS} -L$with_imlib/lib" X_CFLAGS="$X_CFLAGS -I$with_imlib/include" )
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
# The XmHTML widget is used by motif.
|
||||
|
||||
AC_ARG_WITH( xmhtml-includes,
|
||||
[ --with-xmhtml-includes=DIR specify where to look for xmhtml headers],
|
||||
X_CFLAGS="-I$with_xmhtml_includes ${X_CFLAGS}" )
|
||||
|
||||
AC_ARG_WITH( xmhtml-libraries,
|
||||
[ --with-xmhtml-libraries=DIR specify where to look for xmhtml libs],
|
||||
X_LIBS="-L$with_xmhtml_libraries ${X_LIBS}" )
|
||||
|
||||
# the XmHTML widget needs libz, libjpeg, libpng and libm
|
||||
# it also uses #ifdef's not #if's so DONT #def to zero.
|
||||
AC_CHECK_LIB(z, deflateEnd,
|
||||
@ -293,22 +286,9 @@ AC_CHECK_LIB(png, png_read_image,
|
||||
AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage,
|
||||
AC_DEFINE(HAVE_XPM,1) X_LIBS="-lXpm $X_LIBS",
|
||||
AC_DEFINE(HAVE_XPM,0)
|
||||
AC_MSG_WARN([Cannot find Xpm library -- gnome build disabled (not required for motif)])
|
||||
GNOME_TARGET="gnome.disabled"
|
||||
GNOME_STATIC_TARGET="gnome.disabled",
|
||||
AC_MSG_ERROR([Cannot find required Xpm library]),
|
||||
$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS)
|
||||
|
||||
|
||||
# Don't build the xmhtml source if user already has it installed...
|
||||
# this is ugly, there must be a nicer way of setting this up ...
|
||||
AC_CHECK_LIB(XmHTML, XmHTMLTextScrollToLine,
|
||||
MOTIF_LIBS="-lXmHTML $MOTIF_LIBS",
|
||||
,
|
||||
$X_PRE_LIBS $MOTIF_LIBS $X_EXTRA_LIBS $X_LIBS)
|
||||
|
||||
AC_SUBST(XMHTML_TARGET)
|
||||
AC_SUBST(XMHTML_INC)
|
||||
|
||||
### -------------------------------------------------------------------------
|
||||
## gtk-xmhtml
|
||||
# if gtk-xmhtml header or library not found, gnome builds are disabled
|
||||
@ -333,9 +313,7 @@ GNOME_STATIC_TARGET="gnome.static.real"
|
||||
# this guarantees it - it works. Promise!!
|
||||
AC_MSG_CHECKING([gtk-xmhtml/gtk-xmhtml.h])
|
||||
AC_TRY_CPP([#include <gtk-xmhtml/gtk-xmhtml.h>], AC_MSG_RESULT(yes) ,
|
||||
AC_MSG_WARN([Cannot find gtk-xmhtml.h -- gnome build disabled (not required for motif)])
|
||||
GNOME_TARGET="gnome.disabled"
|
||||
GNOME_STATIC_TARGET="gnome.disabled")
|
||||
AC_MSG_ERROR([Cannot find gtk-xmhtml.h]))
|
||||
|
||||
#undo damage to CPPFLAGS
|
||||
CPPFLAGS="$OLDCPPFLAGS"
|
||||
@ -347,12 +325,10 @@ EXTRALIBS=`$GNOME_CONFIG_BIN --libs gtkxmhtml`
|
||||
#check for gtkxmhtml, export library link to variable GTK_XMHTML
|
||||
AC_CHECK_LIB(gtkxmhtml, gtk_xmhtml_new,
|
||||
GTK_XMHTML="gtkxmhtml",
|
||||
AC_MSG_WARN([Cannotfind libgtkxmhtml -- gnome build disabled (not required for motif)])
|
||||
GNOME_TARGET="gnome.disabled"
|
||||
GNOME_STATIC_TARGET="gnome.disabled",
|
||||
AC_MSG_ERROR([Cannot find libgtkxmhtml.]),
|
||||
$EXTRALIBS)
|
||||
AC_SUBST(GTK_XMHTML)
|
||||
|
||||
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
EXTRALIBS=`$GNOME_CONFIG_BIN --libs xml`
|
||||
@ -360,9 +336,7 @@ EXTRALIBS=`$GNOME_CONFIG_BIN --libs xml`
|
||||
#check for libxml
|
||||
AC_CHECK_LIB(xml, xmlDefaultSAXHandlerInit,
|
||||
,
|
||||
AC_MSG_WARN([Cannotfind libxml -- gnome build disabled (not required for motif)])
|
||||
GNOME_TARGET="gnome.disabled"
|
||||
GNOME_STATIC_TARGET="gnome.disabled",
|
||||
AC_MSG_ERROR([Cannot find libxml.]),
|
||||
$EXTRALIBS)
|
||||
|
||||
|
||||
@ -371,12 +345,33 @@ EXTRALIBS=`$GNOME_CONFIG_BIN --libs print`
|
||||
|
||||
# check for gnome-print and enable it via HAVE_LIBGNOMEPRINT
|
||||
# if found
|
||||
AC_CHECK_LIB(gnomeprint, gnome_print_context_new, , , $EXTRALIBS)
|
||||
|
||||
AC_CHECK_LIB(gnomeprint, gnome_print_context_new,
|
||||
GNOMEBUILDLIBS="${GNOMEBUILDLIBS} print"
|
||||
AC_DEFINE(HAVE_LIBGNOMEPRINT),
|
||||
,
|
||||
$EXTRALIBS)
|
||||
|
||||
AC_SUBST(GNOME_TARGET)
|
||||
AC_SUBST(GNOME_STATIC_TARGET)
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
## For now, we just presume you're using the GNOME version. The other
|
||||
## UI's haven't been carried over during the automake transition. At
|
||||
## some point, if it's deemed worthwhile, they can be resurrected...
|
||||
|
||||
GNOME=1
|
||||
AC_DEFINE(GNOME)
|
||||
|
||||
GNOMEBUILDLIBS="gnomeui gnome gtkxmhtml xml ${GNOMEBUILDLIBS}"
|
||||
|
||||
if test "${GNOME_CONFIG_BIN}"x != GNOME_CONFIG_NOT_FOUNDx
|
||||
then
|
||||
GNOME_CFLAGS=`${GNOME_CONFIG_BIN} --cflags ${GNOMEBUILDLIBS}`
|
||||
GNOME_LIBS=`${GNOME_CONFIG_BIN} --libs ${GNOMEBUILDLIBS}`
|
||||
fi
|
||||
|
||||
AC_SUBST(GNOME_CFLAGS)
|
||||
AC_SUBST(GNOME_LIBS)
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### G-wrap (libraries and executable)
|
||||
@ -446,93 +441,45 @@ AC_SUBST(GUILE_CONFIG)
|
||||
AC_SUBST(GUILE_COMPILE_ARGS)
|
||||
AC_SUBST(GUILE_LINK_ARGS)
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Plotutils
|
||||
|
||||
#AC_CHECK_LIB(plot, pl_openpl,
|
||||
# AC_DEFINE(HAVE_PLOTUTILS,1)
|
||||
# HAVE_PLOTUTILS=1
|
||||
# AC_DEFINE(PLOTUTILS_LIBS,"-lXaw -lXt -lplot"),
|
||||
# ,
|
||||
# $X_PRE_LIBS $MOTIF_LIBS $X_EXTRA_LIBS -lXaw $X_LIBS)
|
||||
|
||||
# We need this in at least one of the Makefile.in's
|
||||
#AC_SUBST(HAVE_PLOTUTILS)
|
||||
#AC_SUBST(PLOTUTILS_LIBS)
|
||||
|
||||
AC_SUBST(MOTIF_LIBS)
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
#############################################################
|
||||
### Set up the install style and all the default paths... ###
|
||||
|
||||
# some confusion due to FSSTND stuff --
|
||||
# the readme's and miscellaneous docs are in /usr/doc (or equivalent)
|
||||
# the online help system is in /usr/share/gnucash/Doc and various subdirs
|
||||
# the parsed-html report supsystem is in /usr/share/gnucash/Reports
|
||||
|
||||
if test ${OPT_STYLE_INSTALL} = 1
|
||||
then
|
||||
GNC_DOCDIR='${prefix}/doc'
|
||||
GNC_BINDIR='${prefix}/bin'
|
||||
GNC_LIBDIR='${prefix}/lib'
|
||||
GNC_CONFIGDIR='${sysconfdir}'
|
||||
GNC_SHAREDIR='${datadir}'
|
||||
else
|
||||
GNC_DOCDIR='${prefix}/doc/gnucash'
|
||||
GNC_BINDIR='${prefix}/bin'
|
||||
GNC_LIBDIR='${prefix}/lib/gnucash'
|
||||
GNC_CONFIGDIR='${sysconfdir}/gnucash'
|
||||
GNC_SHAREDIR='${datadir}/gnucash'
|
||||
fi
|
||||
|
||||
GNC_MANDIR='${mandir}'
|
||||
|
||||
AC_SUBST(GNC_DOCDIR)
|
||||
AC_SUBST(GNC_BINDIR)
|
||||
AC_SUBST(GNC_LIBDIR)
|
||||
AC_SUBST(GNC_CONFIGDIR)
|
||||
AC_SUBST(GNC_SHAREDIR)
|
||||
AC_SUBST(GNC_MANDIR)
|
||||
|
||||
# Get the absolute top level directory. This is only used to add some
|
||||
# ./lib/* paths to PATH for local build binaries like gwrap. For all
|
||||
# other purposes, you should probably be using top_srcdir. configure
|
||||
# automagically provides it, but you have to be careful to set it
|
||||
# directly within each Makefile.in since it's the *relative* path to
|
||||
# the top of the source tree rather than an absolute path. You can't
|
||||
# just put it in Makefile.init.in or Makefile.common.
|
||||
|
||||
ABSOLUTE_TOP_SRCDIR=`pwd`
|
||||
AC_SUBST(ABSOLUTE_TOP_SRCDIR)
|
||||
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_OUTPUT(
|
||||
dnl # Makefiles
|
||||
po/Makefile.in
|
||||
src/register/gnome/Makefile
|
||||
Makefile
|
||||
Makefile.init
|
||||
lib/ComboBox-1.33/Makefile
|
||||
lib/Makefile
|
||||
lib/Xbae-4.6.2-linas/Makefile
|
||||
lib/Xbae-4.6.2-linas/src/Makefile
|
||||
doc/Makefile
|
||||
doc/examples/Makefile
|
||||
doc/html/Makefile
|
||||
doc/html/C/Makefile
|
||||
doc/html/C/image/Makefile
|
||||
doc/html/fr/Makefile
|
||||
doc/html/fr/image/Makefile
|
||||
intl/Makefile
|
||||
po/Makefile.in
|
||||
raw/Makefile
|
||||
raw/ofx/Makefile
|
||||
raw/ofx/dtd/Makefile
|
||||
raw/ofx/explore/Makefile
|
||||
raw/ofx/parser/Makefile
|
||||
rpm/Makefile
|
||||
src/Makefile
|
||||
src/engine/Makefile
|
||||
src/g-wrap/Makefile
|
||||
src/gnome/Makefile
|
||||
src/guile/Makefile
|
||||
src/motif/Makefile
|
||||
src/qt/Makefile
|
||||
src/optional/Makefile
|
||||
src/optional/swig/Makefile
|
||||
src/pixmaps/Makefile
|
||||
src/quotes/Makefile
|
||||
src/register/Makefile
|
||||
src/reports/Makefile
|
||||
src/register/gnome/Makefile
|
||||
src/scm/Makefile
|
||||
src/swig/Makefile
|
||||
src/swig/perl5/Makefile
|
||||
src/scm/gnumeric/Makefile
|
||||
src/scm/printing/Makefile
|
||||
src/scm/qif-import/Makefile
|
||||
src/scm/report/Makefile
|
||||
src/scm/srfi/Makefile
|
||||
dnl # src/swig/Makefile
|
||||
dnl # src/swig/perl5/Makefile
|
||||
dnl # non-makefiles
|
||||
dnl # Please read doc/build-system before adding *anything* here
|
||||
,
|
||||
chmod a+x ./gnucash)
|
||||
dnl # commands go here, but we don't have any right now
|
||||
)
|
||||
|
52
doc/INSTALL
@ -1,52 +0,0 @@
|
||||
You'll use "make install" when you want to do a normal FSSTND /usr/ or
|
||||
/usr/local style install where everything scatters across the
|
||||
filesystem in foo/gnucash/* directories. You'll use "make
|
||||
install-opt" when you want a /usr/local/opt/gnucash style install
|
||||
where everything just installs into local bin, doc, share, etc dirs.
|
||||
I couldn't think of a better way to handle this, or I would have used
|
||||
it.
|
||||
|
||||
So the two most likely sets of build instructions would be as follows:
|
||||
|
||||
For a full system install (gnucash is installed as part of the
|
||||
system):
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make motif
|
||||
make install
|
||||
|
||||
For an /opt style install
|
||||
|
||||
./configure --prefix=/usr/local/opt/gnucash
|
||||
make motif
|
||||
make install-opt
|
||||
|
||||
----------------
|
||||
depending on your make target, you'll produce:
|
||||
|
||||
gnucash.motif
|
||||
gnucash.motif.static
|
||||
gnucash.gnome
|
||||
gnucash.gnome.static
|
||||
gnucash.qt
|
||||
|
||||
Whichever one you produce last ends up the target of a local
|
||||
gnucash.bin symlink, so that you can always run the local ./gnucash
|
||||
script to see the last flavor that you built. The ./gnucash script
|
||||
also handles making sure that you're using files from the source dir
|
||||
rather than an install tree just like the old ./xacc script did.
|
||||
|
||||
Finally, I've re-worked things so that it's harder to accidentally
|
||||
install a binary that's stale with respect to your install
|
||||
destination, and I've eliminated the need for the wrapper script in
|
||||
the install tree. Unfortunately this did require that "make install*"
|
||||
re-build the binary during the install process because it can't know
|
||||
where the one startup file that it has to know about internally is
|
||||
going to be until you pick an install style.
|
||||
|
||||
All this may not be perfect, but I think it's better than what we had
|
||||
before, and we can always improve it once we figure out something
|
||||
better.
|
||||
|
||||
--
|
||||
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
|
25
doc/Makefile.am
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}
|
||||
|
||||
SUBDIRS = examples html
|
||||
|
||||
doc_DATA = \
|
||||
README.francais \
|
||||
README.german \
|
||||
guile-hackers.txt
|
||||
|
||||
man_MANS = \
|
||||
gnc-prices.1 \
|
||||
gnucash.1
|
||||
|
||||
EXTRA_DIST = \
|
||||
Configure-osr5 \
|
||||
Configure-uw7 \
|
||||
README.build-system \
|
||||
build-aix.txt \
|
||||
build-solaris.txt \
|
||||
build-suse.txt \
|
||||
gnome-hackers.txt \
|
||||
gnc-prices.1 \
|
||||
gnucash.1 \
|
||||
gnucash-gdb-cmds
|
408
doc/Makefile.in
Normal file
@ -0,0 +1,408 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}
|
||||
|
||||
SUBDIRS = examples html
|
||||
|
||||
doc_DATA = README.francais README.german guile-hackers.txt
|
||||
|
||||
|
||||
man_MANS = gnc-prices.1 gnucash.1
|
||||
|
||||
|
||||
EXTRA_DIST = Configure-osr5 Configure-uw7 README.build-system build-aix.txt build-solaris.txt build-suse.txt gnome-hackers.txt gnc-prices.1 gnucash.1 gnucash-gdb-cmds
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
man1dir = $(mandir)/man1
|
||||
MANS = $(man_MANS)
|
||||
|
||||
NROFF = nroff
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-man1:
|
||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
|
||||
uninstall-man1:
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
install-man: $(MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
||||
uninstall-man:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
clean-tags:
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
maintainer-clean-tags:
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
installcheck-am:
|
||||
installcheck: installcheck-recursive
|
||||
install-exec-am:
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-man install-docDATA
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-man uninstall-docDATA
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(MANS) $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-tags clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-tags distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
|
||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
.PHONY: install-man1 uninstall-man1 install-man uninstall-man \
|
||||
uninstall-docDATA install-docDATA install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
615
doc/README
@ -1,615 +0,0 @@
|
||||
-*-text-*-
|
||||
|
||||
************ DEVELOPMENT RELEASE ******************
|
||||
The version 1.3.x series of GnuCash are experimental development
|
||||
releases. They may or may not work. Use at your own risk.
|
||||
|
||||
The last stable, production version was gnucash-1.2.5
|
||||
The next stable, production version will be gnucash-1.4.x
|
||||
|
||||
##############################################
|
||||
|
||||
GnuCash
|
||||
-------
|
||||
GnuCash is a personal finance manager. A check-book like
|
||||
register GUI allows you to enter and track bank accounts,
|
||||
stocks, income and even currency trades. The interface is
|
||||
designed to be simple and easy to use, but is backed with
|
||||
double-entry accounting principles to ensure balanced books.
|
||||
|
||||
Features include:
|
||||
|
||||
- An easy-to-use interface. If you can use the
|
||||
register in the back of your checkbook, you
|
||||
can use GnuCash. Type directly into the register,
|
||||
tab between fields, and use quick-fill to
|
||||
automatically complete the transaction.
|
||||
- Reconcile window with running reconciled
|
||||
and cleared balances makes reconciliation easy.
|
||||
- Stock/Mutual Fund Portfolios: Track stocks
|
||||
individually (one per account) or in portfolio
|
||||
of accounts (a group of accounts that can be
|
||||
displayed together).
|
||||
- Multiple Currencies & Currency Trading: Multiple
|
||||
currencies are supported and can be bought and
|
||||
sold (traded). Currency movements between accounts
|
||||
are fully balanced when double-entry is enabled.
|
||||
(Some aspects of multiple currency support are not
|
||||
fully implemented.)
|
||||
- Quicken File Import: Import Quicken QIF style files.
|
||||
QIF files are automatically merged to eliminate
|
||||
duplicate transactions.
|
||||
- Reports: Display Balance Sheet, Profit&Loss, Portfolio
|
||||
Valuation, or print them as HTML.
|
||||
- Chart of Accounts: A master account can have a hierarchy
|
||||
of detail accounts underneath it. This allows similar
|
||||
account types (e.g. Cash, Bank, Stock) to be grouped
|
||||
into one master account (e.g. Assets).
|
||||
- Split Transactions: A single transaction can be split
|
||||
into several pieces to record taxes, fees, and
|
||||
other compound entries.
|
||||
- Double Entry: When enabled, every transaction must
|
||||
debit one account and credit another by an equal amount.
|
||||
This ensures that the "books balance": that the
|
||||
difference between income and outflow exactly equals
|
||||
the sum of all assets, be they bank, cash, stock or other.
|
||||
- Income/Expense Account Types (Categories):
|
||||
These serve not only to categorize your cash flow,
|
||||
but when used properly with the double-entry feature,
|
||||
these can provide an accurate Profit&Loss statement.
|
||||
- General Ledger: Multiple accounts can be displayed
|
||||
in one register window at the same time. This can
|
||||
ease the trouble of tracking down typing/entry errors.
|
||||
It also provides a convenient way of viewing a
|
||||
portfolio of many stocks, by showing all transactions
|
||||
in that portfolio.
|
||||
- Written in C with embedded scheme support via Guile.
|
||||
- Perl support is optionally available for stand-alone scripting via SWIG.
|
||||
- File access is locked in a network-safe fashion, preventing
|
||||
accidental damage if several users attempt to access the
|
||||
same file, even if the file is NFS-mounted.
|
||||
- Provides a byte-stream format, which allows accounts and
|
||||
account groups to be transmitted to other processes
|
||||
via pipes or sockets.
|
||||
- Get Stock & Mutual Fund quotes from various web sites,
|
||||
update portfolio automatically (more funds being added
|
||||
regularly).
|
||||
- European date handling, French, German, Swedish, and Great
|
||||
Britain translations.
|
||||
|
||||
|
||||
Home Page:
|
||||
----------
|
||||
http://gnucash.org/
|
||||
|
||||
Original X-Accountant home page:
|
||||
http://www.cs.hmc.edu/~rclark/xacc
|
||||
|
||||
Precompiled binaries:
|
||||
http://www.gnucash.org/pub/gnucash/redhat-6.x/1.2.5/
|
||||
|
||||
Development versions:
|
||||
http://www.gnucash.org/source_code.php3
|
||||
|
||||
|
||||
Running:
|
||||
--------
|
||||
Only the 1.2.5 Motif version of GnuCash is currently stable. The Gnome
|
||||
version is a development version, but will soon be stable enough for
|
||||
regular use. Development of the Motif version has ceased and the Motif
|
||||
version does not compile in current CVS. The Qt version doesn't
|
||||
compile and most functions are missing. See below for OS's other
|
||||
than GNU/Linux/*BSD support.
|
||||
|
||||
The following packages are required to be installed to run the gnucash
|
||||
Motif binary:
|
||||
|
||||
guile -- Provides main extension language infrastructure.
|
||||
This is used extensively in gnucash for initialization & startup.
|
||||
Require version 1.3 or later. The guile-1.3-7 rpm works.
|
||||
|
||||
Motif or Lesstif --
|
||||
Either a commercial Motif, or the free software clone Lesstif is
|
||||
needed. If you use a commercial version of Motif (widely available
|
||||
for roughly 50 USD), be sure to get a version compatible with your
|
||||
glibc and libXt version. Lesstif mostly works, but there have been
|
||||
problems. Here's our experience:
|
||||
|
||||
Lesstif 0.81 works
|
||||
Lesstif 0.82 broken
|
||||
Lesstif 0.83 works ... but get fast blinking cursor ...
|
||||
Lesstif 0.86.0 is reported to work
|
||||
Lesstif 0.86.5 crashes.
|
||||
Lesstif 0.86.9 works ... but some menus come out 2 pixels high.(?)
|
||||
Lesstif 0.87.0: broken (missing symbols for XmeDrawShadows, etc.)
|
||||
Lesstif 0.88.1 works
|
||||
Lesstif 0.89.0 works
|
||||
|
||||
XmHTML -- Provides HTML display capabilities.
|
||||
Used for Help Dialogues and Reports.
|
||||
|
||||
Require version 1.1.4 or later
|
||||
http://www.llp.fu-berlin.de/lsoft/F/5/XMHTML.html
|
||||
http://www.xs4all.nl/~ripley/XmHTML/XmHTML.html
|
||||
ftp://ftp.ultra.net/pub/eugene/RPMS/i386/XmHTML-1.1.5-1.i386.rpm
|
||||
ftp://ftp.ultra.net/pub/eugene/SRPMS/XmHTML-1.1.5-1.src.rpm
|
||||
|
||||
Note: some precompiled versions of XmHTML have been compiled with
|
||||
Motif. When used with most precompiled versions of Lesstif, you
|
||||
will get a "undefined symbol XmeDrawShadows" error. There are
|
||||
several solutions; the simplest is probably to download the
|
||||
XmHTML source package and compile it yourself.
|
||||
|
||||
slib -- scheme libraries for guile. Need version slib2c4 or later.
|
||||
|
||||
libpng -- portable network graphics library. Any version.
|
||||
libjpeg -- JPEG image handling library. Any version.
|
||||
libz -- compression library. Any version.
|
||||
xpm -- X Pixmap extension. Any version.
|
||||
|
||||
|
||||
To be able to use certain features of GnuCash, such as reports and
|
||||
network stock price downloads, you must have the following packages
|
||||
below installed (in addition to those listed above).
|
||||
RPM's for most of these can be found at http://rufus.w3.org/linux/
|
||||
|
||||
slib -- scheme libraries for guile. Need version slib2c4 or later.
|
||||
perl -- Almost any version of perl5 should work. I run perl-5.004
|
||||
eperl -- Almost any version of eperl should work. I run eperl-2.2.14
|
||||
|
||||
In addition, some perl modules need to be installed:
|
||||
|
||||
perl-LWP/libwww-perl-5.36
|
||||
perl-HTML/HTML-0.6
|
||||
perl-HTML/HTML-Parser-2.20
|
||||
-- these perl modules are used to fetch stock & mutual fund quotes
|
||||
off the net. You can pick up RPMS at
|
||||
ftp://ftp.gnucash.org/pub/gnucash/binaries/RPMS
|
||||
http://rufus.w3.org/linux/RPM/PByName.html
|
||||
http://linas.org/linux/gnucash (last resort)
|
||||
or sources at
|
||||
http://www.cpan.org/CPAN.html
|
||||
|
||||
|
||||
The following packages are required to be installed to run the GnuCash
|
||||
Gnome binary:
|
||||
|
||||
gnome-libs -- version 1.0.40 or higher should work. These libraries
|
||||
require numerous other supporting libraries, such as
|
||||
gtk and glib.
|
||||
|
||||
guile -- same as Motif
|
||||
slib -- same as Motif
|
||||
|
||||
|
||||
Invocation:
|
||||
-----------
|
||||
You can start GnuCash at the command-line, with "gnucash" or "gnucash
|
||||
<filename>", where <filename> is a GnuCash account file. Sample
|
||||
accounts can be found in "data" subdirectory. *.dat files are GnuCash
|
||||
accounts that can opened with the "Open File" menu entry. *.qif files
|
||||
are Quicken Import Format files that can be opened with the "Import
|
||||
QIF" menu entry.
|
||||
|
||||
GnuCash responds to the following environment variables:
|
||||
|
||||
GNC_RUN_AS_SHELL - if set, makes GnuCash pop up in a guile shell
|
||||
with all the gnucash functions loaded. From there, you can get the
|
||||
normal startup behavior like this:
|
||||
|
||||
GNC_RUN_AS_SHELL=t ./gnucash
|
||||
guile> (primitive-load (getenv "GNC_BOOTSTRAP_SCM"))
|
||||
guile> (gnc:load "startup.scm")
|
||||
guile> (gnc:main)
|
||||
|
||||
This is the same thing that happens if you don't use this
|
||||
environment variable. This can be helpful when trying to write and
|
||||
test new .scm files.
|
||||
|
||||
GNC_BOOTSTRAP_SCM - the location of the initial bootstrapping scheme code.
|
||||
|
||||
GNC_SCM_LOAD_PATH - an override for the GnuCash scheme load path.
|
||||
it should be a string representing a proper scheme list. Each
|
||||
element can either be a string representing a directory, the symbol
|
||||
'default which will expand to the default path, or 'current which
|
||||
will expand to the current load-path at the instant it encounters
|
||||
the symbol.
|
||||
|
||||
GNC_DEBUG - enable debugging output. This allows you to turn on
|
||||
debugging earlier in the startup process than you can with --debug.
|
||||
|
||||
|
||||
Internationalization:
|
||||
---------------------
|
||||
Message catalogues exist for French and German. These are enabled with
|
||||
environment variables. For example,
|
||||
|
||||
Francais, en bash:
|
||||
export LANG=fr_FR
|
||||
|
||||
Francais, en tcsh:
|
||||
setenv LANG fr_FR
|
||||
|
||||
German version:
|
||||
export LANG=de_DE
|
||||
|
||||
|
||||
Other locales that should mostly work, but are still in development:
|
||||
|
||||
en_US
|
||||
en_GB
|
||||
fr_CH
|
||||
de_CH
|
||||
|
||||
|
||||
Other Tools
|
||||
-----------
|
||||
A tool to generate (ascii) reports from gnucash/xacc files can be found
|
||||
at http://www.zeta.org.au/~grahamc/xacc_rpts.html.
|
||||
|
||||
A tool to cleanup & import Quicken files can be found at (insert the url
|
||||
here).
|
||||
|
||||
|
||||
Building & Installing:
|
||||
----------------------
|
||||
These steps does not apply to binary distributions; only to source
|
||||
distributions.
|
||||
|
||||
Prior to building GnuCash, you will have to obtain and install the following
|
||||
packages:
|
||||
|
||||
libtool -- Used to build our internal version of g-wrap which handles
|
||||
our guile C wrappers. Available at ftp://ftp.gnu.org/gnu.
|
||||
RPM's and debs are widely available with most distributions.
|
||||
SWIG -- Used to autogenerate perl wrappers.
|
||||
available at www.swig.org need 1.1p5 or later ...
|
||||
|
||||
Normally, to build and install GnuCash, all you have to do is:
|
||||
|
||||
# ./configure
|
||||
# make
|
||||
# make install
|
||||
|
||||
If you only want a particular language installed, you can set the
|
||||
LINGUAS environment variable before you run configure. For example,
|
||||
to only install the French translations, run
|
||||
|
||||
# export LINGUAS=fr
|
||||
# ./configure
|
||||
|
||||
If you want to make sure that all languages get installed, run
|
||||
|
||||
# unset LINGUAS
|
||||
# ./configure
|
||||
|
||||
You can build Gnome, Motif, and Qt versions. The Gnome version
|
||||
compiles and is being actively developed, is not yet at the stability
|
||||
level of the 1.2.5 Motif version, but has more features. Currently,
|
||||
the older 1.2.5 Motif version is the most stable and bug-free. The Qt
|
||||
version may not compile.
|
||||
|
||||
Depending on your make target, you'll produce:
|
||||
|
||||
gnucash.gnome
|
||||
gnucash.gnome.static
|
||||
gnucash.motif
|
||||
gnucash.motif.static
|
||||
gnucash.qt
|
||||
gnucash.qt.static
|
||||
|
||||
The 'static' version statically link in the libraries that GnuCash
|
||||
uses. For example, gnucash.motif.static is handy when compiling
|
||||
against a commercial version of Motif, and distributing this version
|
||||
to the general public.
|
||||
|
||||
Whichever one you produce last ends up the target of a local
|
||||
gnucash.bin symlink, so that you can always run the local ./gnucash
|
||||
script to see the last flavor that you built. The ./gnucash script
|
||||
also handles making sure that you're using files from the source dir
|
||||
rather than an install tree just like the old ./xacc script did.
|
||||
|
||||
You'll use "make install" when you want to do a normal FSSTND /usr/
|
||||
or /usr/local style install where everything scatters across the
|
||||
filesystem in foo/gnucash/* directories. You'll use "make
|
||||
install-opt" when you want an /opt/gnucash style install where
|
||||
everything installs into the /opt/gnucash directory.
|
||||
|
||||
So the two most likely sets of build instructions would be as follows:
|
||||
|
||||
For a full system install (gnucash is installed as part of the
|
||||
system):
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make motif
|
||||
make install
|
||||
|
||||
For an /opt style install
|
||||
|
||||
./configure --prefix=/opt/gnucash
|
||||
make motif
|
||||
make install
|
||||
|
||||
Examples of other funny configure options:
|
||||
./configure --with-motif=/usr/local/opt/mootif \
|
||||
--prefix=/usr/local/opt/gnucash \
|
||||
--with-xmhtml-includes=/home/rlb/XmHTML-1.1.5/include\
|
||||
--with-xmhtml-libraries=/home/rlb/XmHTML-1.1.5/src
|
||||
|
||||
|
||||
Flag --with-gtk-config. The way gtk phiolosphy goes,
|
||||
you should *only* specify the config program location and
|
||||
rely on it to tell you the right CFLAGS and XLIBS values.
|
||||
|
||||
Runtime and install destinations are separate. The --prefix
|
||||
you specify to configure determines where the resulting binary
|
||||
will look for things at runtime. The prefix you give to make
|
||||
install (i.e. make prefix=foo install) only determines where the
|
||||
files are placed. If this location is different from the
|
||||
configure --prefix value, then gnucash won't work until it's moved
|
||||
to that location. This feature is mostly useful for package
|
||||
builders, but it shouldn't hurt anyone else.
|
||||
|
||||
Only the location of startup.scm is hardcoded into the binary, and
|
||||
even that can be overridden with --startup-file on the command line.
|
||||
The other defaults are now in startup.scm. path-defaults.h is now
|
||||
gone. The startup file setting is in gnucash.h, generated from
|
||||
gnucash.h.in.
|
||||
|
||||
|
||||
Supported OS's:
|
||||
---------------
|
||||
GnuCash version 1.2.x is known to work in the following configs:
|
||||
|
||||
GNU/Linux -- Intel
|
||||
FreeBSD -- Intel
|
||||
OpenBSD -- Intel
|
||||
|
||||
Xacc-1.0.18, the predecessor to GnuCash, is known to work on these additional
|
||||
platforms:
|
||||
|
||||
Slackware 3.4 -- Intel w/ Mootif (OSF Motif 2.0.1)
|
||||
SGI IRIX -- MIPS
|
||||
IBM AIX 4.1.5 -- RS/6000 http://www-frec.bull.com/
|
||||
Unixware 7 -- Intel
|
||||
SCO OpenServer 5.0.4 -- Intel
|
||||
Solaris -- Sparc
|
||||
|
||||
See ftp://ftp.gnucash.org/pub/xacc (high-bandwidth)
|
||||
or http://linas.org/linux/gnucash (slow-www )
|
||||
for precompiled binaries for these platforms
|
||||
|
||||
|
||||
Additional Download Sites:
|
||||
--------------------------
|
||||
Precompiled binaries & pre-requisite packages can be found at
|
||||
|
||||
IBM AIX 4.1.5
|
||||
-- SMIT-installable images
|
||||
http://www.bull.de/pub/
|
||||
see also http://www-frec.bull.com/
|
||||
|
||||
SCO OpenServer 5.0.4
|
||||
http://www.sco.com/skunkware/osr5/x11/apps/xacc/VOLS.tar
|
||||
|
||||
Unixware 7
|
||||
-- use pkgadd to install
|
||||
http://www.sco.com/skunkware/uw7/x11/apps/xacc/xacc.pkg.gz
|
||||
|
||||
SGI Irix
|
||||
-- in SGI install format
|
||||
-- warning, this is a very down-level version
|
||||
http://linas.org/linux/xacc/xacc-1.0b7-sgi-irix.inst.tar
|
||||
|
||||
|
||||
Getting Source with CVS
|
||||
-----------------------
|
||||
A read-only version of the cvs tree is available on the net.
|
||||
To access it, first, login, as so:
|
||||
|
||||
cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login
|
||||
|
||||
The password is "guest"
|
||||
|
||||
To get a copy of the source in the experimental development tree do a
|
||||
|
||||
cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rHEAD gnucash
|
||||
|
||||
To get a copy of the source in the gnucash-1.2 stable production tree do a
|
||||
|
||||
cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rxacc-12-patch gnucash
|
||||
|
||||
|
||||
Developing GnuCash
|
||||
------------------
|
||||
Before you start developing GnuCash, you should do the following:
|
||||
|
||||
1. Read the file src/coding-style.txt to learn about the coding-styles
|
||||
used in the GnuCash source code.
|
||||
|
||||
2. Several of the directories under src contain files called design.txt
|
||||
which explain many aspects of GnuCash's design. Read those.
|
||||
|
||||
3. Go to the gnucash website and skim the archives of the gnucash
|
||||
development mailing list.
|
||||
|
||||
4. Join the GnuCash development mailing list. See the gnucash website
|
||||
for details on how to do this.
|
||||
|
||||
|
||||
Submitting a Patch
|
||||
------------------
|
||||
Once you have done some work that you would like to submit, you need
|
||||
to send a patch. There is a perl script called make-gnucash-patch
|
||||
provided with the distribution that you can use to create the
|
||||
patch. Here is how to use that perl script.
|
||||
|
||||
First, set up your development directories as follows:
|
||||
|
||||
< GnuCash home development directory >
|
||||
|
|
||||
|---- < directory containing original GnuCash sources >
|
||||
|
|
||||
|---- < directory containing your modified GnuCash sources >
|
||||
|
||||
A concrete example of those directories might be:
|
||||
|
||||
/home/me/gnucash
|
||||
|
|
||||
|---- /home/me/gnucash/gnucash.pristine (original sources)
|
||||
|
|
||||
|---- /home/me/gnucash/gnucash.mywork (original sources + my edits)
|
||||
|
||||
Copy the make-gnucash-patch script to the home development directory
|
||||
(/home/me/gnucash above). Now set three environment variables to
|
||||
reflect the names of your directories. Given the names above, you
|
||||
would use:
|
||||
|
||||
export GNC_MAKEPATCH_OLD_DIR=gnucash.pristine
|
||||
export GNC_MAKEPATCH_NEW_DIR=gnucash.mywork
|
||||
export GNC_MAKEPATCH_HOME_DIR=/home/me/gnucash
|
||||
|
||||
Right before you make your patch, make sure *both* your working and
|
||||
your pristine directories are in sync with cvs. Run 'cvs -z3 update -dP'
|
||||
in both directories to ensure that is the case. Updating from cvs in
|
||||
your working directory may cause conficts in a file. You must resolve
|
||||
those conficts before making a patch.
|
||||
|
||||
Now run the script. Note that this script requires the programs
|
||||
'makepatch', 'gzip', 'diff', and 'uuencode' (and, of course, 'perl')
|
||||
to run.
|
||||
|
||||
When you run the script, three files will be generated:
|
||||
|
||||
gnc.diff - This file is an ascii text file containing the differences
|
||||
between the original sources and your edits. At the bottom
|
||||
of this file is a list of the files which were added,
|
||||
changed, or deleted.
|
||||
|
||||
Please examine this file (especially the list at the bottom)
|
||||
to make sure that all of your changes (and no other changes)
|
||||
are present in the file.
|
||||
|
||||
Do not submit this file!
|
||||
|
||||
gnucash.diff.gz - This is a gzipped version of the above file.
|
||||
|
||||
Do not submit this file!
|
||||
|
||||
gnucash.diff.gz.uue - This is a uuencoded (ascii-encoded) version
|
||||
of the above file.
|
||||
|
||||
This is the file you submit.
|
||||
|
||||
Send gnucash.diff.gz.uue to gnucash-patches@gnucash.org
|
||||
|
||||
Thanks in advance for your contribution!
|
||||
|
||||
|
||||
Main Developers:
|
||||
----------------
|
||||
Robin Clark <rclark@hmc.edu> wrote the original X-Accountant in Motif
|
||||
as a school project, taking it to version 0.9 by October 1997.
|
||||
|
||||
Linas Vepstas <linas@linas.org> liked what he saw: the GUI was slick,
|
||||
the code was documented and well structured, and it was all GPL'ed.
|
||||
And so he re-wrote it: adding cell-widgets to XbaeMatrix, so that
|
||||
the combobox and arrows would make an even slicker GUI, rewrote the
|
||||
X-Accountant internals to add double-entry, an account hierarchy,
|
||||
split out a transaction mini-engine, add support for stocks, and spiff
|
||||
up the help menus. This was version 1.0 as of January 1998. Since
|
||||
then, for version 1.1, the engine was expanded & refined, and the
|
||||
register window code completely redesigned and made mostly
|
||||
Motif-(and GUI-)independent. Did some prototype OFX work.
|
||||
|
||||
Jeremy Collins <jcollins@gnucash.org> publicized the GnoMoney project
|
||||
widely and broadly, and then changed its name to GnuCash. Jeremy
|
||||
created the gnucash.org web site, registered the domain, got the
|
||||
initial GTK/gnome code working.
|
||||
|
||||
Rob Browning <rlb@cs.utexas.edu> abused everyone for not using perl,
|
||||
and then added guile/scheme support. Rob maintains the build
|
||||
infrastructure, is handling the whole guile/perl extension language
|
||||
thing, and is dealing with configuration & configurability.
|
||||
|
||||
Dave Peticolas <peticola@cs.ucdavis.edu> hacks obsessively on
|
||||
GnuCash. But he can stop anytime he wants to. Really.
|
||||
|
||||
Bill Gribble <grib@billgribble.com> works magic. If your checks print
|
||||
wrong, blame him. If you don't like the amount printed on your
|
||||
checks, blame him. If you don't like your your bank balances,
|
||||
your bank, or your life, blame him too.
|
||||
|
||||
|
||||
Fixes & Patches:
|
||||
----------------
|
||||
Andrew Arensburger <arensb@cfar.umd.edu> for FreeBSD & other patches
|
||||
Matt Armstrong <matt_armstrong@bigfoot.com> for misc fixes
|
||||
Fred Baube <fred@moremagic.com> for attempted Java port/MoneyDance
|
||||
Dennis Björklund <dennisb@cs.chalmers.se> Swedish translation
|
||||
Per Bojsen <bojsen@worldnet.att.net> several core dump fixes
|
||||
Simon Britnell <simon.britnell@peace.com> patch to RPM spec
|
||||
Christopher B. Browne <cbbrowne@hex.net> for perl and lots of scheme
|
||||
Graham Chapman <grahamc@zeta.org.au> for the xacc-rpts addon package
|
||||
George Chen <georgec@sco.com> for MS-Money QIF's & fixes
|
||||
Albert Chin-A-Young <china@thewrittenword.com> configure.in patch
|
||||
Jeremey Collins <jcollins@gnucash.org> for GnoMoney & GTK port
|
||||
Matthew Condell <mcondell@bbn.com> FreeBSD patch
|
||||
Patrick Condron <pcondon@rackspace.com> for webserver and T1 connection.
|
||||
Ciaran Deignan <Ciaran.Deignan@bull.net> for AIX binary version
|
||||
Tyson Dowd <tyson@tyse.net> for config/make patches & debian maint
|
||||
Koen D'Hondt <ripley@xs4all.nl> for Solaris patches to XmHTML
|
||||
Bob Drzyzgula <bob@mostly.com> for budgeting design notes
|
||||
Paul Fenwick <pjf@schools.net.au> ASX support
|
||||
Hubert Figuiere <hfiguiere@teaser.fr> patch to gnc-prices
|
||||
Jan-Uwe Finck <ju_finck@mail.netwave.de> for German message translation
|
||||
Ron Forrester <rjf@aracnet.com> for gnome patches
|
||||
Dave Freese <DFreese@osc.uscg.mil> for leap-year fix
|
||||
Bill Gribble <grib@billgribble.com> qif importation code
|
||||
Otto Hammersmith <otto@bug.redhat.com> for RedHat RPM version
|
||||
Eric Hanchrow <offby1@blarg.net> updated currency documentation
|
||||
Alexandru Harsanyi <haral@codec.ro> for core dumps, lockups, gtk work
|
||||
John Hasler <john@dhh.gt.org> engine patch
|
||||
Jon K}re Hellan <jk@isdn-a33.itea.ntnu.no> misc core dump fixes
|
||||
Prakash Kailasa <PrakashK@bigfoot.com> for gnome build fixes
|
||||
Ben Kelly <ben.kelly@ieee.org> for motif menu bug fix, core dump fixes
|
||||
Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port
|
||||
Sven Kuenzler <sk@xgm.de> for SuSE README file
|
||||
Bryan Larsen <blarsen@ada-works.com> guile budget report
|
||||
Graham Leggett <minfrin@sharp.fm> for fixing a hang
|
||||
Ted Lemon <mellon@andare.fugue.com> for NetBSD port
|
||||
Yannick Le Ny <y-le-ny@ifrance.com> pour la traduction en francais
|
||||
Grant Likely <glikely@nortelnetworks.com> gnome and engine patches
|
||||
Heath Martin <martinh@pegasus.cc.ucf.edu> gnome patches, major register work
|
||||
Matt Martin <mgmartin@abacusnet.net> guile error handling code
|
||||
Robert Graham Merkel <rgmerk@mira.net> reporting, gnome, and config patches
|
||||
Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> port to alpha-dec-osf4.0f
|
||||
G. Allen Morris III <gam3@ann.softgams.com> for QIF core dump
|
||||
Brent Neal <brent@baton.phys.lsu.edu> TIAA-CREF support.
|
||||
Peter Norton <spacey@inch.com> for a valiant attempt at a GTK port
|
||||
OmNiBuS <webmaster@obsidian.uia.net> web site graphics & content
|
||||
Myroslav Opyr <mopyr@IPM.Lviv.UA> for misc patches
|
||||
Dave Peticolas <peticola@morpheus.cs.ucdavis.edu> extensive intelligent patches
|
||||
Laurent P{'e}lecq <laurent.pelecq@wanadoo.fr> i18n patches with gettext
|
||||
Alain Peyrat <Alain.Peyrat@nmu.alcatel.fr> for configure.in patches
|
||||
Peter Pointner <peter@wuzel.m.isar.de> QIF import fixes, Qt patches
|
||||
Gavin Porter <maufk@csv.warwick.ac.uk> for euro style dates
|
||||
Tomas Pospisek <tpo@spin.ch> debian patches
|
||||
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries
|
||||
Keith Refson <Keith.Refson@earth.ox.ac.uk> Solaris fixes
|
||||
Dirk Schoenberger <schoenberger@signsoft.com> Qt/KDE work
|
||||
Jan Schrage <jan.schrage@urz.uni-heidelberg.de> documentation patches
|
||||
Christopher Seawood <cls@seawood.org> for XbaeMatrix core dump
|
||||
Mike Simons <msimons@fsimons01.erols.com> misc configure.in patches
|
||||
Richard Skelton <rich@brake.demon.co.uk> for Solaris cleanup
|
||||
Henning Spruth <spruth@bigfoot.com> for German text & euro date rework
|
||||
Robby Stephenson <robby.stephenson@usa.net> register & file history patches
|
||||
Herbert Thoma <tma@iis.fhg.de> gnome register & euro support patches
|
||||
Diane Trout <detrout@earthlink.net> scheme qif import patch
|
||||
Richard Wackerbarth <rkw@dataplex.net> patch to gnc-prices
|
||||
Rob Walker <rob@valinux.com> guile and register patches
|
||||
David Woodhouse <dwmw2@infradead.org> Great Britain translations
|
||||
Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU> QIF import fixes; MYM import
|
||||
Shimpei Yamashita <shimpei@gol.com> Japanese translation
|
||||
|
||||
... and I am sure that I have missed many others ...
|
@ -1,7 +1,25 @@
|
||||
-*-text-*-
|
||||
|
||||
===========================================================================
|
||||
* Adding files to AC_OUTPUT in configure.in.
|
||||
Automake
|
||||
|
||||
GnuCash uses automake to handle the build process. Make sure you
|
||||
understand what automake provides/requires before you add anything
|
||||
particularly fancy to the Makefile.am files.
|
||||
|
||||
Most of the time, a "make" or "make install" will automatically DTRT
|
||||
and regenerate Makefiles or Makefile.ins, re-run configure, regenerate
|
||||
configure from configure.in, etc. whenever needed. However, it is
|
||||
possible, if you make a mistake when working on the Makefile.am's to
|
||||
leave yourself in a situation where automake won't work because a
|
||||
Makefile is broken. To fix this, just run:
|
||||
|
||||
aclocal && autoconf && automake --add-missing
|
||||
|
||||
That should sledgehammer the problem bit back into place.
|
||||
|
||||
===========================================================================
|
||||
Adding files to AC_OUTPUT in configure.in.
|
||||
|
||||
Please do not add any non-makefiles to AC_OUTPUT unless you're
|
||||
*absolutely* sure that it's safe and necessary to do so. If you're
|
||||
@ -62,38 +80,3 @@ an unexpanded reference. If the user doesn't specify a --prefix, then
|
||||
it'll be set to NONE until the end of the configure process.
|
||||
|
||||
===========================================================================
|
||||
|
||||
Deleting .SUFFIX rules
|
||||
|
||||
While working on some other problems, I discovered that this implicit
|
||||
rule
|
||||
|
||||
% : %.tmpl
|
||||
...
|
||||
|
||||
fails for files like message_i18n.h.tmpl because some other .h
|
||||
implicit rule that's been defined is keeping this one from working. I
|
||||
could have worked around it by defining a "terminal rule" using "::"
|
||||
instead (See "Match-Anything Pattern Rules" in the make info pages),
|
||||
and in truth, :: might be more appropriate here anyway, but instead I
|
||||
used .SUFFIX: to delete all the default suffix rules. I think that we
|
||||
probably want control of this anyhow...
|
||||
|
||||
===========================================================================
|
||||
|
||||
*EXPANDED* .in file variables:
|
||||
|
||||
I've added some rules to configure.in that look like GNC_EXPANDED_*.
|
||||
These are intended for use in any non-makefile .in files. The
|
||||
difference between them and another variable of the same name
|
||||
(i.e. the difference between GNC_LIBDIR and GNC_EXPANDED_LIBDIR is
|
||||
that the latter has been expended in configure.in via
|
||||
recursively_expand(). This is critical for variables that are going
|
||||
in to non-makefiles because there's no other way for any variable
|
||||
references to get expanded. For example, what if configure were to
|
||||
assign GNC_CONFIGDIR to be "${prefix}/etc/gnucash" and then this exact
|
||||
string were substituted into gnucash.h.in or bootstrap.scm? The C
|
||||
compiler and Scheme interpreter would have no idea what to do with
|
||||
$prefix, so you'd be stuck. recursively_expand fixes this.
|
||||
|
||||
===========================================================================
|
27
doc/examples/Makefile.am
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}/examples
|
||||
|
||||
doc_DATA = \
|
||||
Money95bank_fr.qif \
|
||||
Money95invst_fr.qif \
|
||||
Money95mfunds_fr.qif \
|
||||
Money95stocks_fr.qif \
|
||||
README \
|
||||
abc-all.qif \
|
||||
abc.qif \
|
||||
bogus.qif \
|
||||
cbb-export.qif \
|
||||
currency.xac \
|
||||
every.qif \
|
||||
ms-money.qif \
|
||||
quicktest.qif \
|
||||
splitdemo.xac \
|
||||
swipe.qif \
|
||||
test.xac \
|
||||
test2.xac \
|
||||
test3.xac \
|
||||
test4.xac \
|
||||
trading.xac \
|
||||
trading2.xac \
|
||||
web.qif \
|
||||
xfer.xac
|
252
doc/examples/Makefile.in
Normal file
@ -0,0 +1,252 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
docdir = ${GNC_DOC_INSTALL_DIR}/examples
|
||||
|
||||
doc_DATA = Money95bank_fr.qif Money95invst_fr.qif Money95mfunds_fr.qif Money95stocks_fr.qif README abc-all.qif abc.qif bogus.qif cbb-export.qif currency.xac every.qif ms-money.qif quicktest.qif splitdemo.xac swipe.qif test.xac test2.xac test3.xac test4.xac trading.xac trading2.xac web.qif xfer.xac
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/examples/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/examples
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/examples/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-am
|
||||
dvi-am:
|
||||
dvi: dvi-am
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs \
|
||||
mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
37
doc/gnc-prices.1
Normal file
@ -0,0 +1,37 @@
|
||||
.\" Written by Robert Merkel (rgmerk@mira.net)
|
||||
.\" Process this file with
|
||||
.\" groff -man -Tascii foo.1
|
||||
.\"
|
||||
.TH GNC-PRICES 1 "MARCH 2000" Version "1.3.x"
|
||||
.SH NAME
|
||||
gnc-prices \- update stock prices from online sources for gnucash
|
||||
.SH SYNOPSIS
|
||||
.B gnc-prices
|
||||
.I xacc-data.xac
|
||||
.SH DESCRIPTION
|
||||
.B gnc-prices
|
||||
is a perl script to gather stock quotes to allow stock
|
||||
and mutual fund price quotes directly into
|
||||
.B gnucash.
|
||||
See
|
||||
.B gnucash's
|
||||
online help for more details.
|
||||
|
||||
.SH BUGS
|
||||
This (useful) hack should be rewritten in guile and rolled into gnucash proper.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR gnucash (1)
|
||||
|
||||
.B gnucash
|
||||
has extensive on-line help available from the "help" menu.
|
||||
|
||||
Additional information and the latest version is available
|
||||
at the web site:
|
||||
.B http://gnucash.org
|
||||
|
||||
.SH AUTHOR
|
||||
Robert Merkel <rgmerk@mira.net> wrote this manpage.
|
||||
|
||||
.B gnucash
|
||||
was written by Robin Clark, Linas Vepstas, and a cast of thousands.
|
69
doc/gnucash.1
Normal file
@ -0,0 +1,69 @@
|
||||
.\" Written by Robert Merkel (rgmerk@mira.net)
|
||||
.\" Process this file with
|
||||
.\" groff -man -Tascii foo.1
|
||||
.\"
|
||||
.TH GNUCASH 1 "MARCH 2000" Version "1.3.x"
|
||||
.SH NAME
|
||||
gnucash \- personal finance manager
|
||||
.SH SYNOPSIS
|
||||
.B gnucash [--debug] [
|
||||
.I xacc-data.xac
|
||||
.B ]
|
||||
.SH DESCRIPTION
|
||||
.B gnucash
|
||||
is a personal accounting package that allows you to record
|
||||
and track income, expenses, assets, and investments. It supports
|
||||
reconciliation, has substantial reporting capabilities, and is
|
||||
extensible using guile. It can import QIF data from Quicken(TM) and
|
||||
many other commercial accounting packages. It uses GTK+ and GNOME to
|
||||
provide an attractive user interface, and has extensive online help.
|
||||
|
||||
.SH OPTIONS
|
||||
.IP --debug
|
||||
Turn on debug mode. Mainly of interest to developers.
|
||||
.SH FILES
|
||||
.I ~/.gnucash/config.auto
|
||||
.RS
|
||||
Automatically generated per-user configuration file. DO NOT EDIT
|
||||
MANUALLY!
|
||||
.SH ENVIRONMENT
|
||||
.IP GNC_DEBUG
|
||||
Enable debugging output. This allows you to turn on the debugging
|
||||
earlier in the startup process than you can with
|
||||
.B --debug.
|
||||
.IP GNC_RUN_AS_SHELL
|
||||
If set, makes
|
||||
.B gnucash
|
||||
pop up in a guile shell with all the gnucash functions loaded. See
|
||||
the README for more details.
|
||||
.IP GNC_BOOTSTRAP_SCM
|
||||
Location of the initial bootstrapping scheme code. Hopefully, you
|
||||
won't need to change this.
|
||||
.IP GNC_SCM_LOAD_PATH
|
||||
An override for the
|
||||
.B gnucash
|
||||
scheme load path. You shouldn't need to alter this. For more
|
||||
information see the README file.
|
||||
.SH BUGS
|
||||
.B gnucash
|
||||
is beta software, and consequently still has bugs and incomplete
|
||||
features. QIF import, in particular, is still incomplete at this
|
||||
stage. Please report any bugs using the bug reporting form on the
|
||||
.B gnucash
|
||||
web site.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR gnc-prices (1),
|
||||
|
||||
.B gnucash
|
||||
has extensive on-line help available from the "help" menu.
|
||||
|
||||
Additional information and the latest version is available
|
||||
at the web site:
|
||||
.B http://gnucash.org
|
||||
|
||||
.SH AUTHOR
|
||||
Robert Merkel <rgmerk@mira.net> wrote this manpage.
|
||||
|
||||
.B gnucash
|
||||
was written by Robin Clark, Linas Vepstas, and a cast of thousands.
|
44
doc/html/C/Makefile.am
Normal file
@ -0,0 +1,44 @@
|
||||
|
||||
SUBDIRS = image
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/C
|
||||
|
||||
doc_DATA = \
|
||||
RAW-NOTES \
|
||||
bofa-mym.html \
|
||||
projects.html \
|
||||
xacc-about.html \
|
||||
xacc-accountedit.html \
|
||||
xacc-acctypes.html \
|
||||
xacc-accwin.html \
|
||||
xacc-adjbwin.html \
|
||||
xacc-apar.html \
|
||||
xacc-apprdepr.html \
|
||||
xacc-bal_tracker.html \
|
||||
xacc-balsheet.html \
|
||||
xacc-currency.html \
|
||||
xacc-date.html \
|
||||
xacc-double.html \
|
||||
xacc-euro.html \
|
||||
xacc-expense.html \
|
||||
xacc-find-transactions.html \
|
||||
xacc-globalprefs.html \
|
||||
xacc-globalprops.html \
|
||||
xacc-gpl.html \
|
||||
xacc-groups.html \
|
||||
xacc-main.html \
|
||||
xacc-mainwin.html \
|
||||
xacc-pnl.html \
|
||||
xacc-print-check.html \
|
||||
xacc-print.html \
|
||||
xacc-qif-import.html \
|
||||
xacc-quicken.html \
|
||||
xacc-recnwin.html \
|
||||
xacc-regwin.html \
|
||||
xacc-reports.html \
|
||||
xacc-ticker.html \
|
||||
xacc-trans_report.html \
|
||||
xacc-y2k.html
|
||||
|
||||
EXTRA_DIST = \
|
||||
tidy-up
|
361
doc/html/C/Makefile.in
Normal file
@ -0,0 +1,361 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
SUBDIRS = image
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/C
|
||||
|
||||
doc_DATA = RAW-NOTES bofa-mym.html projects.html xacc-about.html xacc-accountedit.html xacc-acctypes.html xacc-accwin.html xacc-adjbwin.html xacc-apar.html xacc-apprdepr.html xacc-bal_tracker.html xacc-balsheet.html xacc-currency.html xacc-date.html xacc-double.html xacc-euro.html xacc-expense.html xacc-find-transactions.html xacc-globalprefs.html xacc-globalprops.html xacc-gpl.html xacc-groups.html xacc-main.html xacc-mainwin.html xacc-pnl.html xacc-print-check.html xacc-print.html xacc-qif-import.html xacc-quicken.html xacc-recnwin.html xacc-regwin.html xacc-reports.html xacc-ticker.html xacc-trans_report.html xacc-y2k.html
|
||||
|
||||
|
||||
EXTRA_DIST = tidy-up
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/C/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
clean-tags:
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
maintainer-clean-tags:
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/html/C
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/html/C/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
installcheck-am:
|
||||
installcheck: installcheck-recursive
|
||||
install-exec-am:
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-tags clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-tags distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
|
||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
37
doc/html/C/image/Makefile.am
Normal file
@ -0,0 +1,37 @@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/C/image
|
||||
|
||||
doc_DATA = \
|
||||
appr-asset1.gif \
|
||||
appr-asset2.gif \
|
||||
appr-income.gif \
|
||||
appr-main1.gif \
|
||||
appr-main2.gif \
|
||||
contract.gif \
|
||||
depr-asset.gif \
|
||||
depr-main.gif \
|
||||
expand.gif \
|
||||
foliowin-single.gif \
|
||||
foliowin.gif \
|
||||
logo-NetBSD-banner.gif \
|
||||
logo-bullogogross.gif \
|
||||
logo-debian.jpg \
|
||||
logo-ibm.gif \
|
||||
logo-linux.gif \
|
||||
logo-sgi.gif \
|
||||
logo-skunkware.gif \
|
||||
newaccwin-code.gif \
|
||||
newaccwin-trade.gif \
|
||||
newaccwin.gif \
|
||||
recnwin.gif \
|
||||
regwin-double.gif \
|
||||
regwin-multi.gif \
|
||||
regwin-single.gif \
|
||||
regwin-single2.gif \
|
||||
regwin.gif \
|
||||
report-baln.gif \
|
||||
report-folio.gif \
|
||||
report-option.gif \
|
||||
reportwin.gif \
|
||||
ticker-a.gif \
|
||||
ticker-b.gif
|
252
doc/html/C/image/Makefile.in
Normal file
@ -0,0 +1,252 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../../../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/C/image
|
||||
|
||||
doc_DATA = appr-asset1.gif appr-asset2.gif appr-income.gif appr-main1.gif appr-main2.gif contract.gif depr-asset.gif depr-main.gif expand.gif foliowin-single.gif foliowin.gif logo-NetBSD-banner.gif logo-bullogogross.gif logo-debian.jpg logo-ibm.gif logo-linux.gif logo-sgi.gif logo-skunkware.gif newaccwin-code.gif newaccwin-trade.gif newaccwin.gif recnwin.gif regwin-double.gif regwin-multi.gif regwin-single.gif regwin-single2.gif regwin.gif report-baln.gif report-folio.gif report-option.gif reportwin.gif ticker-a.gif ticker-b.gif
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/C/image/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/html/C/image
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/html/C/image/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-am
|
||||
dvi-am:
|
||||
dvi: dvi-am
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs \
|
||||
mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1007 B After Width: | Height: | Size: 1007 B |
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -555,14 +555,14 @@
|
||||
</ul>
|
||||
|
||||
<p><a href="http://www.gnucash.org/"><img src=
|
||||
"logos/linux.gif"></a> <a href="http://www.sco.com/skunkware">
|
||||
<img src="logos/skunkware.gif"></a> <a href=
|
||||
"http://www.bull.de/pub/"><img src="logos/bullogogross.gif"> <a
|
||||
href="http://www.ibm.com"><img src="logos/ibm.gif"></a> <a
|
||||
href="http://www.sgi.com"><img src="logos/sgi.gif"></a> <a
|
||||
href="http://www.debian.org"><img src="logos/debian.jpg"></a>
|
||||
"logo-linux.gif"></a> <a href="http://www.sco.com/skunkware">
|
||||
<img src="logo-skunkware.gif"></a> <a href=
|
||||
"http://www.bull.de/pub/"><img src="logo-bullogogross.gif"> <a
|
||||
href="http://www.ibm.com"><img src="logo-ibm.gif"></a> <a
|
||||
href="http://www.sgi.com"><img src="logo-sgi.gif"></a> <a
|
||||
href="http://www.debian.org"><img src="logo-debian.jpg"></a>
|
||||
<a href="http://www.netbsd.org"><img src=
|
||||
"logos/NetBSD-banner.gif"></a></a></p>
|
||||
"logo-NetBSD-banner.gif"></a></a></p>
|
||||
|
||||
<h2>History</h2>
|
||||
The table below shows some historical lines-of-code and
|
||||
|
8
doc/html/Makefile.am
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html
|
||||
|
||||
SUBDIRS = C fr
|
||||
|
||||
doc_DATA = \
|
||||
gnucash.css \
|
||||
index.html
|
358
doc/html/Makefile.in
Normal file
@ -0,0 +1,358 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html
|
||||
|
||||
SUBDIRS = C fr
|
||||
|
||||
doc_DATA = gnucash.css index.html
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
clean-tags:
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
maintainer-clean-tags:
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/html
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/html/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
installcheck-am:
|
||||
installcheck: installcheck-recursive
|
||||
install-exec-am:
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-tags clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-tags distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
|
||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
38
doc/html/fr/Makefile.am
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
SUBDIRS = image
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/fr
|
||||
|
||||
doc_DATA = \
|
||||
bofa-mym.html \
|
||||
projects.html \
|
||||
xacc-about.html \
|
||||
xacc-accountedit.html \
|
||||
xacc-acctypes.html \
|
||||
xacc-accwin.html \
|
||||
xacc-adjbwin.html \
|
||||
xacc-apar.html \
|
||||
xacc-apprdepr.html \
|
||||
xacc-bal_tracker.html \
|
||||
xacc-balsheet.html \
|
||||
xacc-currency.html \
|
||||
xacc-date.html \
|
||||
xacc-double.html \
|
||||
xacc-expense.html \
|
||||
xacc-globalprefs.html \
|
||||
xacc-gpl.html \
|
||||
xacc-groups.html \
|
||||
xacc-main.html \
|
||||
xacc-mainwin.html \
|
||||
xacc-pnl.html \
|
||||
xacc-print.html \
|
||||
xacc-quicken.html \
|
||||
xacc-recnwin.html \
|
||||
xacc-regwin.html \
|
||||
xacc-reports.html \
|
||||
xacc-ticker.html \
|
||||
xacc-trans_report.html \
|
||||
xacc-y2k.html
|
||||
|
||||
EXTRA_DIST = \
|
||||
tidy-up
|
361
doc/html/fr/Makefile.in
Normal file
@ -0,0 +1,361 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
SUBDIRS = image
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/fr
|
||||
|
||||
doc_DATA = bofa-mym.html projects.html xacc-about.html xacc-accountedit.html xacc-acctypes.html xacc-accwin.html xacc-adjbwin.html xacc-apar.html xacc-apprdepr.html xacc-bal_tracker.html xacc-balsheet.html xacc-currency.html xacc-date.html xacc-double.html xacc-expense.html xacc-globalprefs.html xacc-gpl.html xacc-groups.html xacc-main.html xacc-mainwin.html xacc-pnl.html xacc-print.html xacc-quicken.html xacc-recnwin.html xacc-regwin.html xacc-reports.html xacc-ticker.html xacc-trans_report.html xacc-y2k.html
|
||||
|
||||
|
||||
EXTRA_DIST = tidy-up
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/fr/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
all-recursive install-data-recursive install-exec-recursive \
|
||||
installdirs-recursive install-recursive uninstall-recursive \
|
||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
clean-tags:
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID
|
||||
|
||||
maintainer-clean-tags:
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/html/fr
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/html/fr/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
installcheck-am:
|
||||
installcheck: installcheck-recursive
|
||||
install-exec-am:
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-tags clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-tags distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
|
||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
30
doc/html/fr/image/Makefile.am
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/fr/image
|
||||
|
||||
doc_DATA = \
|
||||
appr-asset1.gif \
|
||||
appr-asset2.gif \
|
||||
appr-income.gif \
|
||||
appr-main1.gif \
|
||||
appr-main2.gif \
|
||||
contract.gif \
|
||||
depr-asset.gif \
|
||||
depr-main.gif \
|
||||
expand.gif \
|
||||
foliowin-single.gif \
|
||||
foliowin.gif \
|
||||
newaccwin-code.gif \
|
||||
newaccwin-trade.gif \
|
||||
newaccwin.gif \
|
||||
recnwin.gif \
|
||||
regwin-double.gif \
|
||||
regwin-multi.gif \
|
||||
regwin-single.gif \
|
||||
regwin-single2.gif \
|
||||
regwin.gif \
|
||||
report-baln.gif \
|
||||
report-folio.gif \
|
||||
report-option.gif \
|
||||
reportwin.gif \
|
||||
ticker-a.gif \
|
||||
ticker-b.gif
|
252
doc/html/fr/image/Makefile.in
Normal file
@ -0,0 +1,252 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ../../../..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AS = @AS@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
GENCAT = @GENCAT@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_CONFIG_BIN = @GLIB_CONFIG_BIN@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GNC_CONFIGDIR = @GNC_CONFIGDIR@
|
||||
GNC_DOC_INSTALL_DIR = @GNC_DOC_INSTALL_DIR@
|
||||
GNC_LIBDIR = @GNC_LIBDIR@
|
||||
GNC_SCM_INSTALL_DIR = @GNC_SCM_INSTALL_DIR@
|
||||
GNC_SHAREDIR = @GNC_SHAREDIR@
|
||||
GNOME_CFLAGS = @GNOME_CFLAGS@
|
||||
GNOME_CONFIG_BIN = @GNOME_CONFIG_BIN@
|
||||
GNOME_LIBS = @GNOME_LIBS@
|
||||
GNOME_STATIC_TARGET = @GNOME_STATIC_TARGET@
|
||||
GNOME_TARGET = @GNOME_TARGET@
|
||||
GTK_XMHTML = @GTK_XMHTML@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
GUILE = @GUILE@
|
||||
GUILE_COMPILE_ARGS = @GUILE_COMPILE_ARGS@
|
||||
GUILE_CONFIG = @GUILE_CONFIG@
|
||||
GUILE_LINK_ARGS = @GUILE_LINK_ARGS@
|
||||
G_WRAP = @G_WRAP@
|
||||
G_WRAP_COMPILE_ARGS = @G_WRAP_COMPILE_ARGS@
|
||||
G_WRAP_CONFIG = @G_WRAP_CONFIG@
|
||||
G_WRAP_LINK_ARGS = @G_WRAP_LINK_ARGS@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALE_DIR = @LOCALE_DIR@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLINCL = @PERLINCL@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SWIG = @SWIG@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
l = @l@
|
||||
|
||||
docdir = ${GNC_SHAREDIR}/html/fr/image
|
||||
|
||||
doc_DATA = appr-asset1.gif appr-asset2.gif appr-income.gif appr-main1.gif appr-main2.gif contract.gif depr-asset.gif depr-main.gif expand.gif foliowin-single.gif foliowin.gif newaccwin-code.gif newaccwin-trade.gif newaccwin.gif recnwin.gif regwin-double.gif regwin-multi.gif regwin-single.gif regwin-single2.gif regwin.gif report-baln.gif report-folio.gif report-option.gif reportwin.gif ticker-a.gif ticker-b.gif
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../../../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DATA = $(doc_DATA)
|
||||
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/fr/image/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
install-docDATA: $(doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
@list='$(doc_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(doc_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(docdir)/$$p; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc/html/fr/image
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/html/fr/image/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
info-am:
|
||||
info: info-am
|
||||
dvi-am:
|
||||
dvi: dvi-am
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am: install-docDATA
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am: uninstall-docDATA
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(DATA)
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: uninstall-docDATA install-docDATA tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs \
|
||||
mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |