INSTALL 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Building this distribution in many cases is as simple as typing the following
  2. while in the root directory of the source tree:
  3. ./configure
  4. make
  5. To install, do the above, then type:
  6. make install
  7. Additional build targets of finer granularity include:
  8. lib_a
  9. lib_s
  10. install_hdr
  11. install_lib
  12. install_lib_a
  13. install_lib_s
  14. install_man
  15. test
  16. Cleanup targets include:
  17. clean
  18. distclean
  19. Optionally, pass any of the following (not a definitive list) arguments to
  20. 'configure':
  21. --prefix=<install-root-dir>
  22. Set the base directory in which to install. For example:
  23. ./configure --prefix=/usr/local
  24. will cause files to be installed into /usr/local/bin, /usr/local/man,
  25. /usr/local/include, /usr/local/lib, and /usr/local/share.
  26. --disable-readline
  27. By default, libedit is built and installed such that it works as a
  28. drop-in replacement for the readline library. This option turns that
  29. behavior off.
  30. --enable-debug
  31. Build debugging code (for libedit development).
  32. Optionally, define environment variables, including (not exclusively):
  33. CFLAGS="?"
  34. Pass these flags to the compiler. You probably shouldn't define this
  35. unless you know what you are doing.
  36. CPPFLAGS="?"
  37. Pass these flags to the C preprocessor. Note that CFLAGS is not passed
  38. to 'cpp' when 'configure' is looking for include files, so you must use
  39. CPPFLAGS instead if you need to help 'configure' find header files.
  40. LD_LIBRARY_PATH="?"
  41. 'ld' uses this colon-separated list to find libraries.
  42. LDFLAGS="?"
  43. Flags passed to 'gcc', which should normally be passed on to 'ld'.
  44. PATH="?"
  45. 'configure' uses this to find programs.