llvm/libc/include/llvm-libc-macros/linux/CMakeLists.txt

add_header(
  error_number_macros
  HDR
    error-number-macros.h
)

add_header(
  fcntl_macros
  HDR
    fcntl-macros.h
)

add_header(
  sched_macros
  HDR
    sched-macros.h
)

add_header(
  sys_epoll_macros
  HDR
    sys-epoll-macros.h
)

add_header(
  sys_ioctl_macros
  HDR
    sys-ioctl-macros.h
)

add_header(
  sys_random_macros
  HDR
    sys-random-macros.h
)

add_header(
  sys_socket_macros
  HDR
    sys-socket-macros.h
)

add_header(
  sys_wait_macros
  HDR
    sys-wait-macros.h
)

add_header(
  time_macros
  HDR
    time-macros.h
)

add_header(
  sys_resource_macros
  HDR
    sys-resource-macros.h
)

add_header(
  sys_stat_macros
  HDR
    sys-stat-macros.h
)

add_header(
  sys_time_macros
  HDR
    sys-time-macros.h
)

add_header(
  unistd_macros
  HDR
    unistd-macros.h
)

add_header(
  signal_macros
  HDR
    signal-macros.h
)

add_header(
  termios_macros
  HDR
    termios-macros.h
)