home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / maths / plplot / plplot_2 / cf / README < prev    next >
Encoding:
Text File  |  1994-09-01  |  3.3 KB  |  90 lines

  1. The files in this directory must be concatenated to make the correct
  2. PLplot Makefile.in.  This is subsequently edited by the configure script
  3. using "sed", to make system-dependent variable substitutions.  The order
  4. of concatenation should be:
  5.  
  6. init.in        (initialization)
  7. dist.in        (default target, core source and object file lists)
  8. pkg_<name>.in    (optional packages, e.g. f77, tcl, tk support)
  9. initlib.in    (library initialization)
  10. lib_<type>.in    (library target)
  11. exes.in        (utility program dependencies & targets)
  12. demos.in    (demo program dependencies & targets)
  13. install.in    (installation targets)
  14. misc.in        (misc targets: so far only clean and depend)
  15. objs.in        (object file dependencies, autogenerated)
  16.  
  17. To build Makedemo.in (standalone makefile for demo programs), the
  18. following concatenation is used:
  19.  
  20. init.in        (initialization)
  21. initdemo.in    (demo initialization)
  22. demos.in    (demo program dependencies & targets)
  23. miscdemo.in    (misc targets: so far only clean)
  24.  
  25. Note that only files beginning with "init" contain macros set by the
  26. configure script.
  27.  
  28. In most cases the provided configure script will be sufficient for
  29. building PLplot.  Developers who wish to make changes and then rebuild the
  30. configure script will need to obtain the autoconf package and GNU m4, both
  31. of which are available by anonymous ftp from prep.ai.mit.edu.  To build
  32. configure, from the distribution directory type:
  33.  
  34. % cd cf
  35. % autoconf
  36. % mv configure ..
  37.  
  38. The files plConfig.h.in and plDevs.h.in are processed by configure to
  39. obtain the final plConfig.h and plDevs.h header files.  The former is
  40. included by plplotP.h and is thus seen by all PLplot source files.  The
  41. latter is included by all drivers and plcore.h.  On a non-Unix system,
  42. plConfig.h and plDevs.h should be configured by hand and linked (or
  43. copied) to the tmp directory as part of the build procedure.
  44.  
  45. Note that the operation of configure can be customized on a per-user
  46. basis.  Just set up a file ~/config/cf_plplot.in that contains the shell
  47. variables you wish to predefine.  This can be used to set frequently used
  48. options (such as what devices to enable) as well as speed up the
  49. configuration script.  The latter is done by setting the location of
  50. various include files and libraries, which otherwise need to be found by
  51. configure through a search process.  Here is an example cf_plplot.in file
  52. that I use on my workstation:
  53.  
  54. # --*-sh-*---------------------------------------------------------------
  55. #
  56. # PLplot configure script default variables.
  57. #
  58. # Created from contents of config.status and read automatically by
  59. # configure to set up initial variables and reduce running time.
  60. #
  61. # Note: the internal representation of the --with-<option> and
  62. # --enable-<option> command line switches actually uses an underscore,
  63. # e.g. with_<option> and enable_<option>.  Don't forget!
  64. #
  65. # -----------------------------------------------------------------------
  66.  
  67. CPP='c89 -E'
  68. XINCDIR='default'
  69. XLIBDIR='default'
  70. TCLINCDIR='/usr/local/include'
  71. TCLLIBDIR='/usr/local/lib'
  72. TKINCDIR='/usr/local/include'
  73. TKLIBDIR='/usr/local/lib'
  74. DPLIBDIR='/usr/local/lib'
  75. ITCLLIBDIR='/usr/local/lib'
  76. EXTRA_LIBS=' -lm'
  77. RANLIB='ranlib'
  78. pl_prefix='/usr/local/plplot'
  79. DEFS=' -DSTDC_HEADERS=1'
  80. with_opt="no"
  81.  
  82. # Devices are selected by --enable or --disable.
  83.  
  84. enable_dg300="no"
  85. enable_imp="no"
  86. enable_tek4107="no"
  87. enable_hp7470="no"
  88. enable_hp7580="no"
  89.  
  90.