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 (816B)


  1. cflags{
  2. '-std=c99', '-Wno-return-local-addr',
  3. '-D HAVE_CONFIG_H',
  4. '-I $dir',
  5. '-I $srcdir/src',
  6. '-I $srcdir/lib',
  7. '-I $outdir',
  8. }
  9. build('copy', '$outdir/fnmatch.h', '$srcdir/lib/fnmatch.in.h')
  10. build('copy', '$outdir/glob.h', '$srcdir/lib/glob.in.h')
  11. pkg.deps = {
  12. '$outdir/fnmatch.h',
  13. '$outdir/glob.h',
  14. }
  15. lib('libgnu.a', [[
  16. lib/(
  17. concat-filename.c findprog-in.c fnmatch.c
  18. getloadavg.c glob.c
  19. )
  20. ]])
  21. exe('make', [[
  22. src/(
  23. ar.c arscan.c commands.c
  24. default.c dir.c expand.c
  25. file.c function.c getopt.c
  26. getopt1.c guile.c
  27. hash.c implicit.c job.c
  28. load.c loadapi.c main.c misc.c
  29. output.c read.c
  30. remake.c rule.c shuffle.c
  31. signame.c strcache.c variable.c
  32. version.c vpath.c
  33. posixos.c
  34. remote-stub.c
  35. )
  36. libgnu.a
  37. ]])
  38. file('bin/make', '755', '$outdir/make')
  39. man{'doc/make.1'}
  40. fetch 'curl'