logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (698B)


  1. cflags{
  2. '-std=gnu11', '-Wall', '-Wpedantic',
  3. '-Wno-overflow', -- ioctl opcode conversion
  4. '-D _POSIX_C_SOURCE=200809L',
  5. '-I $dir',
  6. '-I $srcdir/include',
  7. '-I $srcdir/lib',
  8. }
  9. pkg.hdrs = copy('$outdir/include', '$srcdir/include', {
  10. 'fuse.h',
  11. 'fuse_common.h',
  12. 'fuse_log.h',
  13. 'fuse_lowlevel.h',
  14. 'fuse_opt.h',
  15. })
  16. cc('lib/mount_util.c')
  17. exe('fusermount3', {'util/fusermount.c', 'lib/mount_util.c.o'})
  18. file('bin/fusermount3', '4755', '$outdir/fusermount3')
  19. man{'doc/fusermount3.1'}
  20. lib('libfuse.a', [[lib/(
  21. fuse.c fuse_loop.c fuse_loop_mt.c
  22. fuse_lowlevel.c fuse_opt.c
  23. fuse_signals.c buffer.c cuse_lowlevel.c
  24. helper.c modules/subdir.c mount_util.c.o
  25. fuse_log.c
  26. mount.c
  27. )]])
  28. fetch 'git'