| # If we are in full build mode, we will provide the errno definition ourselves, |
| # and if we are in overlay mode, we will just re-use the system's errno. |
| |
| add_entrypoint_object( |
| errno |
| SRCS |
| libc_errno.cpp |
| HDRS |
| ../__support/libc_errno.h |
| DEPENDS |
| libc.hdr.errno_macros |
| libc.src.__support.common |
| libc.src.__support.libc_errno |
| libc.src.__support.macros.attributes |
| libc.src.__support.macros.config |
| ) |
| |
| add_entrypoint_object( |
| program_invocation_name |
| SRCS |
| program_invocation_name.cpp |
| HDRS |
| program_invocation_name.h |
| DEPENDS |
| libc.src.__support.common |
| libc.src.__support.macros.config |
| ) |
| |
| add_entrypoint_object( |
| program_invocation_short_name |
| SRCS |
| program_invocation_short_name.cpp |
| HDRS |
| program_invocation_short_name.h |
| DEPENDS |
| libc.src.__support.common |
| libc.src.__support.macros.config |
| ) |