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


  1. cflags{
  2. '-std=c99', '-Wall', '-Wpedantic',
  3. '-D _BSD_SOURCE',
  4. '-D INET6',
  5. '-I $outdir/include',
  6. '-I $srcdir/tirpc',
  7. }
  8. pkg.hdrs = copy('$outdir/include', '$srcdir/tirpc', {
  9. 'netconfig.h',
  10. 'rpc/types.h',
  11. 'rpc/xdr.h',
  12. })
  13. pkg.deps = {'$gendir/headers'}
  14. lib('libtirpc.a', [[
  15. src/(
  16. xdr.c
  17. xdr_rec.c
  18. xdr_array.c
  19. xdr_float.c
  20. xdr_mem.c
  21. xdr_reference.c
  22. xdr_stdio.c
  23. xdr_sizeof.c
  24. )
  25. ]])
  26. fetch 'git'