config.pm 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. -- ======================================================================= --
  2. -- ACK CONFIGURATION --
  3. -- (Edit this before building) --
  4. -- ======================================================================= --
  5. -- What platform to build for by default?
  6. DEFAULT_PLATFORM = "pc86"
  7. -- Where should the ACK put its temporary files?
  8. ACK_TEMP_DIR = "/tmp"
  9. -- Where is the ACK going to be installed, eventually?
  10. PREFIX = "/usr/local"
  11. -- ======================================================================= --
  12. -- BROKEN ACK CONFIGURATION --
  13. -- (Currently not editable) --
  14. -- ======================================================================= --
  15. -- FIXME: the following two variables must be set to their Minix variants
  16. -- due to hard-coded references in the descr files.
  17. -- Name of the platform-independent library directory; 'share' on modern
  18. -- systems, 'lib' on Minix-like systems.
  19. PLATIND = "lib"
  20. -- Name of the platform-dependent library directory; 'lib' on modern
  21. -- systems, 'lib.bin' on Minix-like systems.
  22. PLATDEP = "lib.bin"
  23. -- ======================================================================= --
  24. -- BUILD SYSTEM CONFIGURATION --
  25. -- (Not user servicable) --
  26. -- ======================================================================= --
  27. -- Absolute path to the ACK source directory.
  28. ROOTDIR = posix.getcwd().."/"
  29. -- Temporary directory used during the build process.
  30. TEMPDIR = "/tmp/ack-temp/"
  31. -- Directory in which dynamically generated header files will go during
  32. -- the build process.
  33. HEADERDIR = TEMPDIR.."headers/"
  34. -- Directory in which tools used by the build process but which not actually
  35. -- deployed with the ACK will go.
  36. TOOLDIR = TEMPDIR.."tools/"
  37. -- Directory in which the libraries used to build the ACK tools but which are
  38. -- not actually deployed with the ACK will go.
  39. LIBDIR = TEMPDIR.."lib/"
  40. -- Staging area where the installation will be built before actually copying
  41. -- it.
  42. BINDIR = TEMPDIR.."staging/"
  43. -- Directory that the pm cache goes in.
  44. pm.intermediate_cache_dir = TEMPDIR.."pmcache/"