pmfile 980 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. -- $Source$
  2. -- $State$
  3. local d = "modules/src/system/"
  4. lib_system = file (LIBDIR.."libsystem.a")
  5. module_system = clibrary {
  6. cfile (d.."access.c"),
  7. cfile (d.."break.c"),
  8. cfile (d.."chmode.c"),
  9. cfile (d.."close.c"),
  10. cfile (d.."create.c"),
  11. cfile (d.."filesize.c"),
  12. cfile (d.."modtime.c"),
  13. -- cfile (d.."lock.c"),
  14. cfile (d.."open.c"),
  15. cfile (d.."read.c"),
  16. cfile (d.."remove.c"),
  17. cfile (d.."stop.c"),
  18. cfile (d.."system.c"),
  19. cfile (d.."time.c"),
  20. -- cfile (d.."unlock.c"),
  21. cfile (d.."write.c"),
  22. cfile (d.."seek.c"),
  23. cfile (d.."rename.c"),
  24. outputs = {"%U%/libsystem.a"},
  25. install = {
  26. pm.install(LIBDIR.."libsystem.a"),
  27. pm.install(d.."system.h", HEADERDIR.."system.h")
  28. }
  29. }
  30. -- Revision history
  31. -- $Log$
  32. -- Revision 1.2 2006-07-26 12:40:59 dtrg
  33. -- Changed to no longer build sys_lock() and sys_unlock(); they only work
  34. -- on platforms that support hardlinks, and nobody uses them anyway.
  35. --
  36. -- Revision 1.1 2006/07/20 23:18:19 dtrg
  37. -- First version in CVS.
  38. --