mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-05 11:33:57 +01:00
47 lines
816 B
Lua
47 lines
816 B
Lua
cflags{
|
|
'-std=c99', '-Wno-return-local-addr',
|
|
'-D HAVE_CONFIG_H',
|
|
'-I $dir',
|
|
'-I $srcdir/src',
|
|
'-I $srcdir/lib',
|
|
'-I $outdir',
|
|
}
|
|
|
|
build('copy', '$outdir/fnmatch.h', '$srcdir/lib/fnmatch.in.h')
|
|
build('copy', '$outdir/glob.h', '$srcdir/lib/glob.in.h')
|
|
|
|
pkg.deps = {
|
|
'$outdir/fnmatch.h',
|
|
'$outdir/glob.h',
|
|
}
|
|
|
|
lib('libgnu.a', [[
|
|
lib/(
|
|
concat-filename.c findprog-in.c fnmatch.c
|
|
getloadavg.c glob.c
|
|
)
|
|
]])
|
|
|
|
exe('make', [[
|
|
src/(
|
|
ar.c arscan.c commands.c
|
|
default.c dir.c expand.c
|
|
file.c function.c getopt.c
|
|
getopt1.c guile.c
|
|
hash.c implicit.c job.c
|
|
load.c loadapi.c main.c misc.c
|
|
output.c read.c
|
|
remake.c rule.c shuffle.c
|
|
signame.c strcache.c variable.c
|
|
version.c vpath.c
|
|
|
|
posixos.c
|
|
remote-stub.c
|
|
)
|
|
libgnu.a
|
|
]])
|
|
file('bin/make', '755', '$outdir/make')
|
|
man{'doc/make.1'}
|
|
|
|
fetch 'curl'
|