Fix test failures introduced by PR #113697 (#116941)
[llvm-project.git] / libc / src / termios / CMakeLists.txt
blobb5d7b676ac0dae0c22f0fa4cffcb4c43ec3b1ebb
1 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2   add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
3 endif()
5 add_entrypoint_object(
6   cfgetispeed
7   ALIAS
8     DEPENDS
9       .${LIBC_TARGET_OS}.cfgetispeed
12 add_entrypoint_object(
13   cfsetispeed
14   ALIAS
15     DEPENDS
16       .${LIBC_TARGET_OS}.cfsetispeed
19 add_entrypoint_object(
20   cfgetospeed
21   ALIAS
22     DEPENDS
23       .${LIBC_TARGET_OS}.cfgetospeed
26 add_entrypoint_object(
27   cfsetospeed
28   ALIAS
29     DEPENDS
30       .${LIBC_TARGET_OS}.cfsetospeed
33 add_entrypoint_object(
34   tcgetsid
35   ALIAS
36     DEPENDS
37       .${LIBC_TARGET_OS}.tcgetsid
40 add_entrypoint_object(
41   tcdrain
42   ALIAS
43     DEPENDS
44       .${LIBC_TARGET_OS}.tcdrain
47 add_entrypoint_object(
48   tcflow
49   ALIAS
50     DEPENDS
51       .${LIBC_TARGET_OS}.tcflow
54 add_entrypoint_object(
55   tcflush
56   ALIAS
57     DEPENDS
58       .${LIBC_TARGET_OS}.tcflush
61 add_entrypoint_object(
62   tcsendbreak
63   ALIAS
64     DEPENDS
65       .${LIBC_TARGET_OS}.tcsendbreak
68 add_entrypoint_object(
69   tcgetattr
70   ALIAS
71     DEPENDS
72       .${LIBC_TARGET_OS}.tcgetattr
75 add_entrypoint_object(
76   tcsetattr
77   ALIAS
78     DEPENDS
79       .${LIBC_TARGET_OS}.tcsetattr