1# There is no difference between input and output speeds on Linux. 2# However, since POSIX requires separate functions for setting and getting 3# of the input and output speeds, we use different entrypoints wiht the 4# same getter/setter logic. 5add_entrypoint_object( 6 cfgetispeed 7 SRCS 8 cfgetispeed.cpp 9 HDRS 10 ../cfgetispeed.h 11 DEPENDS 12 libc.include.termios 13) 14 15add_entrypoint_object( 16 cfsetispeed 17 SRCS 18 cfsetispeed.cpp 19 HDRS 20 ../cfsetispeed.h 21 DEPENDS 22 libc.include.termios 23 libc.src.errno.errno 24) 25 26add_entrypoint_object( 27 cfgetospeed 28 SRCS 29 cfgetospeed.cpp 30 HDRS 31 ../cfgetospeed.h 32 DEPENDS 33 libc.include.termios 34) 35 36add_entrypoint_object( 37 cfsetospeed 38 SRCS 39 cfsetospeed.cpp 40 HDRS 41 ../cfsetospeed.h 42 DEPENDS 43 libc.include.termios 44 libc.src.errno.errno 45) 46 47add_entrypoint_object( 48 tcgetsid 49 SRCS 50 tcgetsid.cpp 51 HDRS 52 ../tcgetsid.h 53 DEPENDS 54 libc.include.sys_syscall 55 libc.include.termios 56 libc.src.__support.OSUtil.osutil 57 libc.src.errno.errno 58) 59 60add_entrypoint_object( 61 tcdrain 62 SRCS 63 tcdrain.cpp 64 HDRS 65 ../tcdrain.h 66 DEPENDS 67 libc.include.sys_syscall 68 libc.include.termios 69 libc.src.__support.OSUtil.osutil 70 libc.src.errno.errno 71) 72 73add_entrypoint_object( 74 tcflush 75 SRCS 76 tcflush.cpp 77 HDRS 78 ../tcflush.h 79 DEPENDS 80 libc.include.sys_syscall 81 libc.include.termios 82 libc.src.__support.OSUtil.osutil 83 libc.src.errno.errno 84) 85 86add_entrypoint_object( 87 tcflow 88 SRCS 89 tcflow.cpp 90 HDRS 91 ../tcflow.h 92 DEPENDS 93 libc.include.sys_syscall 94 libc.include.termios 95 libc.src.__support.OSUtil.osutil 96 libc.src.errno.errno 97) 98 99add_entrypoint_object( 100 tcsendbreak 101 SRCS 102 tcsendbreak.cpp 103 HDRS 104 ../tcsendbreak.h 105 DEPENDS 106 libc.include.sys_syscall 107 libc.include.termios 108 libc.src.__support.OSUtil.osutil 109 libc.src.errno.errno 110) 111 112add_header_library( 113 kernel_termios 114 HDRS 115 kernel_termios.h 116) 117 118add_entrypoint_object( 119 tcgetattr 120 SRCS 121 tcgetattr.cpp 122 HDRS 123 ../tcgetattr.h 124 DEPENDS 125 .kernel_termios 126 libc.include.sys_syscall 127 libc.include.termios 128 libc.src.__support.OSUtil.osutil 129 libc.src.errno.errno 130) 131 132add_entrypoint_object( 133 tcsetattr 134 SRCS 135 tcsetattr.cpp 136 HDRS 137 ../tcsetattr.h 138 DEPENDS 139 .kernel_termios 140 libc.include.sys_syscall 141 libc.include.termios 142 libc.src.__support.OSUtil.osutil 143 libc.src.errno.errno 144) 145