mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
This file is just the generated cap flag constants. Move it to not collide with more capability code to be added.
46 lines
995 B
Python
46 lines
995 B
Python
# vim: ft=python
|
|
|
|
j6 = module("j6",
|
|
kind = "lib",
|
|
deps = [ "util" ],
|
|
sources = [
|
|
"init.cpp",
|
|
"protocol_ids.cpp",
|
|
"syscalls.s.cog",
|
|
"sysconf.cpp.cog",
|
|
],
|
|
public_headers = [
|
|
"j6/cap_flags.h.cog",
|
|
"j6/errors.h",
|
|
"j6/flags.h",
|
|
"j6/init.h",
|
|
"j6/protocols.h",
|
|
"j6/protocols/service_locator.h",
|
|
"j6/syscalls.h.cog",
|
|
"j6/sysconf.h.cog",
|
|
"j6/types.h",
|
|
|
|
"j6/tables/log_areas.inc",
|
|
"j6/tables/object_types.inc",
|
|
"j6/tables/syscalls.inc",
|
|
"j6/tables/vm_flags.inc",
|
|
])
|
|
|
|
from glob import glob
|
|
from os.path import join
|
|
|
|
sysconf = join(source_root, "definitions/sysconf.yaml")
|
|
definitions = glob('definitions/**/*.def', recursive=True)
|
|
|
|
j6.add_depends([
|
|
"j6/cap_flags.h.cog",
|
|
"j6/syscalls.h.cog",
|
|
"syscalls.s.cog",
|
|
], definitions)
|
|
|
|
j6.add_depends([
|
|
"j6/sysconf.h.cog",
|
|
"sysconf.cpp.cog",
|
|
], [sysconf])
|
|
|