mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-01 11:34:17 +01:00
34 lines
698 B
Lua
34 lines
698 B
Lua
cflags{
|
|
'-std=gnu11', '-Wall', '-Wpedantic',
|
|
'-Wno-overflow', -- ioctl opcode conversion
|
|
'-D _POSIX_C_SOURCE=200809L',
|
|
'-I $dir',
|
|
'-I $srcdir/include',
|
|
'-I $srcdir/lib',
|
|
}
|
|
|
|
pkg.hdrs = copy('$outdir/include', '$srcdir/include', {
|
|
'fuse.h',
|
|
'fuse_common.h',
|
|
'fuse_log.h',
|
|
'fuse_lowlevel.h',
|
|
'fuse_opt.h',
|
|
})
|
|
|
|
cc('lib/mount_util.c')
|
|
|
|
exe('fusermount3', {'util/fusermount.c', 'lib/mount_util.c.o'})
|
|
file('bin/fusermount3', '4755', '$outdir/fusermount3')
|
|
man{'doc/fusermount3.1'}
|
|
|
|
lib('libfuse.a', [[lib/(
|
|
fuse.c fuse_loop.c fuse_loop_mt.c
|
|
fuse_lowlevel.c fuse_opt.c
|
|
fuse_signals.c buffer.c cuse_lowlevel.c
|
|
helper.c modules/subdir.c mount_util.c.o
|
|
fuse_log.c
|
|
mount.c
|
|
)]])
|
|
|
|
fetch 'git'
|