Debian Codegraph @

lib/README

raw
1 This directory contains libcommon, a library of miscellaneous support
2 functions, independent of libplot, which is statically linked with several
3 of the package executables. It also contains the file fontlist.c, which is
4 symlinked at build time into the home directory of any executable that
5 needs to get font information, such as lists of supported font names, from
6 libplot.
7
8 The reason fontlist.c is not in a library of its own (as it used to be) is
9 that it accesses internal, undocumented data structures of libplot. On AIX
10 systems, it seems libtool can't link the executables with both a
11 `libfontlist' and libplot, due to some AIX foolishness about libraries not
12 being allowed to contain undefined symbols.
13
14 The functions in libcommon are declared in ../include/libcommon.h, with the
15 exception of those in getopt.c and getopt1.c, which are declared in
16 ../include/getopt.h. The functions in fontlist.c are declared in
17 ../include/fontlist.h.