mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:37:43 +00:00
32 lines
535 B
Text
32 lines
535 B
Text
group("LibSystem") {
|
|
deps = []
|
|
if (current_os == "serenity") {
|
|
deps += [
|
|
":system_shared",
|
|
":system_static",
|
|
]
|
|
}
|
|
}
|
|
|
|
if (current_os == "serenity") {
|
|
shared_library("system_shared") {
|
|
output_name = "system"
|
|
cflags_cc = [ "-nostdlib" ]
|
|
ldflags = [
|
|
"-nostdlib",
|
|
"-static-libstdc++",
|
|
]
|
|
sources = [
|
|
"syscall.cpp",
|
|
"syscall.h",
|
|
]
|
|
}
|
|
|
|
static_library("system_static") {
|
|
output_name = "system"
|
|
sources = [
|
|
"syscall.cpp",
|
|
"syscall.h",
|
|
]
|
|
}
|
|
}
|