1 # Build settings based on the upstream Xcode project.
2 # See: https://github.com/apple-oss-distributions/remote_cmds/blob/main/remote_cmds.xcodeproj/project.pbxproj
5 project('text_cmds', 'c', version : '@version@')
7 # Many programs use old prototypes
8 '-Wno-deprecated-non-prototype',
14 cc = meson.get_compiler('c')
16 libedit = dependency('libedit')
17 ncurses = dependency('ncurses')
24 sources : [ 'logger/logger.c' ],
26 install_man('logger/logger.1')
30 dependencies : [ ncurses ],
34 'talk/ctl_transact.c',
47 install_man('talk/talk.1')
66 install_man('talkd/talkd.8')
70 install_dir : get_option('bindir'),
71 pointing_to : 'talkd',
75 install_dir : get_option('mandir') + '/man8',
76 pointing_to : 'talkd.8',
79 # Telnet is insecure and obsolete. Apple also no longer ships it.
82 # dependencies : [ ncurses ],
84 # '-D__FBSDID=__RCSID',
98 # 'telnet/commands.c',
100 # 'telnet/network.c',
102 # 'telnet/sys_bsd.c',
104 # 'telnet/terminal.c',
106 # 'telnet/utilities.c',
109 # install_man('telnet/telnet.1')
114 # '-D__FBSDID=__RCSID',
118 # '-DKLUDGELINEMODE',
126 # 'telnetd/authenc.c',
127 # 'telnetd/global.c',
130 # # 'telnetd/strlcpy.c', # Not used
131 # 'telnetd/sys_term.c',
132 # 'telnetd/telnetd.c',
133 # 'telnetd/termstat.c',
134 # 'telnetd/utility.c',
137 # install_man('telnetd/telnetd.8')
141 dependencies : [ libedit ],
142 include_directories : [ 'tftp', 'tftpd' ],
149 'tftpd/tftp-options.c',
150 'tftpd/tftp-transfer.c',
151 'tftpd/tftp-utils.c',
154 install_man('tftp/tftp.1')
158 include_directories : [ 'tftp', 'tftpd' ],
163 'tftpd/tftp-options.c',
164 'tftpd/tftp-transfer.c',
165 'tftpd/tftp-utils.c',
169 install_man('tftpd/tftpd.8')
173 c_args : [ '-D__FBSDID=__RCSID' ],
180 install_man('wall/wall.1')