[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libc / src / sys / stat / linux / CMakeLists.txt
blob20deb795fde30202d246bcdc69d93336e169cd7c
1 add_entrypoint_object(
2   chmod
3   SRCS
4     chmod.cpp
5   HDRS
6     ../chmod.h
7   DEPENDS
8     libc.include.fcntl
9     libc.include.sys_stat
10     libc.include.sys_syscall
11     libc.src.__support.OSUtil.osutil
12     libc.src.errno.errno
15 add_entrypoint_object(
16   fchmod
17   SRCS
18     fchmod.cpp
19   HDRS
20     ../fchmod.h
21   DEPENDS
22     libc.include.sys_stat
23     libc.include.sys_syscall
24     libc.src.__support.OSUtil.osutil
25     libc.src.errno.errno
28 add_entrypoint_object(
29   fchmodat
30   SRCS
31     fchmodat.cpp
32   HDRS
33     ../fchmod.h
34   DEPENDS
35     libc.include.sys_stat
36     libc.include.sys_syscall
37     libc.src.__support.OSUtil.osutil
38     libc.src.errno.errno
41 add_entrypoint_object(
42   mkdir
43   SRCS
44     mkdir.cpp
45   HDRS
46     ../mkdir.h
47   DEPENDS
48     libc.include.fcntl
49     libc.include.sys_stat
50     libc.include.sys_syscall
51     libc.src.__support.OSUtil.osutil
52     libc.src.errno.errno
55 add_entrypoint_object(
56   mkdirat
57   SRCS
58     mkdirat.cpp
59   HDRS
60     ../mkdirat.h
61   DEPENDS
62     libc.include.sys_stat
63     libc.include.sys_syscall
64     libc.src.__support.OSUtil.osutil
65     libc.src.errno.errno
68 add_header_library(
69   kernel_statx
70   HDRS
71     kernel_statx.h
72   DEPENDS
73     libc.include.sys_stat
74     libc.include.sys_syscall
75     libc.src.__support.OSUtil.osutil
76     libc.src.__support.common
77     libc.src.errno.errno
80 add_entrypoint_object(
81   stat
82   SRCS
83     stat.cpp
84   HDRS
85     ../stat.h
86   DEPENDS
87     .kernel_statx
88     libc.include.fcntl
89     libc.include.sys_stat
92 add_entrypoint_object(
93   lstat
94   SRCS
95     lstat.cpp
96   HDRS
97     ../lstat.h
98   DEPENDS
99     .kernel_statx
100     libc.include.fcntl
101     libc.include.sys_stat
104 add_entrypoint_object(
105   fstat
106   SRCS
107     fstat.cpp
108   HDRS
109     ../fstat.h
110   DEPENDS
111     .kernel_statx
112     libc.include.fcntl
113     libc.include.sys_stat