[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.4 Installing GiNaC
To install GiNaC on your system, simply type
$ make install |
As described in the section about configuration the files will be installed in the following directories (the directories will be created if they don't already exist):
- ‘libginac.a’ will go into ‘PREFIX/lib/’ (or ‘LIBDIR’) which defaults to ‘/usr/local/lib/’. So will ‘libginac.so’ unless the configure script was given the option ‘--disable-shared’. The proper symlinks will be established as well.
- All the header files will be installed into ‘PREFIX/include/ginac/’ (or ‘INCLUDEDIR/ginac/’, if specified).
- All documentation (info) will be stuffed into ‘PREFIX/share/doc/GiNaC/’ (or ‘DATADIR/doc/GiNaC/’, if DATADIR was specified).
For the sake of completeness we will list some other useful make
targets: make clean
deletes all files generated by
make
, i.e. all the object files. In addition make
distclean
removes all files generated by the configuration and
make maintainer-clean
goes one step further and deletes files
that may require special tools to rebuild (like the libtool
for instance). Finally make uninstall
removes the installed
library, header files and documentation(2).