1# @(#)Makefile.inc 8.6 (Berkeley) 5/4/95 2# $FreeBSD$ 3 4# machine-independent gen sources 5.PATH: ${.CURDIR}/${LIBC_ARCH}/gen ${.CURDIR}/gen 6 7SRCS+= __getosreldate.c \ 8 __xuname.c \ 9 _once_stub.c \ 10 _pthread_stubs.c \ 11 _rand48.c \ 12 _spinlock_stub.c \ 13 _thread_init.c \ 14 alarm.c \ 15 arc4random.c \ 16 assert.c \ 17 auxv.c \ 18 basename.c \ 19 cap_sandboxed.c \ 20 check_utility_compat.c \ 21 clock.c \ 22 clock_getcpuclockid.c \ 23 closedir.c \ 24 confstr.c \ 25 crypt.c \ 26 ctermid.c \ 27 daemon.c \ 28 devname.c \ 29 dirfd.c \ 30 dirname.c \ 31 disklabel.c \ 32 dlfcn.c \ 33 drand48.c \ 34 elf_utils.c \ 35 erand48.c \ 36 err.c \ 37 errlst.c \ 38 errno.c \ 39 exec.c \ 40 fdevname.c \ 41 feature_present.c \ 42 fmtcheck.c \ 43 fmtmsg.c \ 44 fnmatch.c \ 45 fpclassify.c \ 46 frexp.c \ 47 fstab.c \ 48 ftok.c \ 49 fts.c \ 50 fts-compat.c \ 51 ftw.c \ 52 getbootfile.c \ 53 getbsize.c \ 54 getcap.c \ 55 getcwd.c \ 56 getdomainname.c \ 57 getgrent.c \ 58 getgrouplist.c \ 59 gethostname.c \ 60 getloadavg.c \ 61 getlogin.c \ 62 getmntinfo.c \ 63 getnetgrent.c \ 64 getosreldate.c \ 65 getpagesize.c \ 66 getpagesizes.c \ 67 getpeereid.c \ 68 getprogname.c \ 69 getpwent.c \ 70 getttyent.c \ 71 getusershell.c \ 72 getutxent.c \ 73 getvfsbyname.c \ 74 glob.c \ 75 initgroups.c \ 76 isatty.c \ 77 isinf.c \ 78 isnan.c \ 79 jrand48.c \ 80 lcong48.c \ 81 libc_dlopen.c \ 82 lockf.c \ 83 lrand48.c \ 84 mrand48.c \ 85 nftw.c \ 86 nice.c \ 87 nlist.c \ 88 nrand48.c \ 89 opendir.c \ 90 pause.c \ 91 pmadvise.c \ 92 popen.c \ 93 posix_spawn.c \ 94 psignal.c \ 95 pututxline.c \ 96 pw_scan.c \ 97 raise.c \ 98 readdir.c \ 99 readpassphrase.c \ 100 rewinddir.c \ 101 scandir.c \ 102 seed48.c \ 103 seekdir.c \ 104 semctl.c \ 105 setdomainname.c \ 106 sethostname.c \ 107 setjmperr.c \ 108 setmode.c \ 109 setproctitle.c \ 110 setprogname.c \ 111 siginterrupt.c \ 112 siglist.c \ 113 signal.c \ 114 sigsetops.c \ 115 sleep.c \ 116 srand48.c \ 117 statvfs.c \ 118 stringlist.c \ 119 strtofflags.c \ 120 sysconf.c \ 121 sysctl.c \ 122 sysctlbyname.c \ 123 sysctlnametomib.c \ 124 syslog.c \ 125 telldir.c \ 126 termios.c \ 127 time.c \ 128 times.c \ 129 timezone.c \ 130 tls.c \ 131 ttyname.c \ 132 ttyslot.c \ 133 ualarm.c \ 134 ulimit.c \ 135 uname.c \ 136 unvis-compat.c \ 137 usleep.c \ 138 utime.c \ 139 utxdb.c \ 140 valloc.c \ 141 wait.c \ 142 wait3.c \ 143 waitpid.c \ 144 waitid.c \ 145 wordexp.c 146 147.PATH: ${.CURDIR}/../../contrib/libc-pwcache 148SRCS+= pwcache.c pwcache.h 149 150.PATH: ${.CURDIR}/../../contrib/libc-vis 151CFLAGS+= -I${.CURDIR}/../../contrib/libc-vis 152SRCS+= unvis.c vis.c 153 154MISRCS+=modf.c 155 156CANCELPOINTS_SRCS=sem.c sem_new.c 157.for src in ${CANCELPOINTS_SRCS} 158SRCS+=cancelpoints_${src} 159CLEANFILES+=cancelpoints_${src} 160cancelpoints_${src}: 161 ln -sf ${.CURDIR}/gen/${src} ${.TARGET} 162.endfor 163 164SYM_MAPS+=${.CURDIR}/gen/Symbol.map 165 166# machine-dependent gen sources 167.sinclude "${.CURDIR}/${LIBC_ARCH}/gen/Makefile.inc" 168 169MAN+= alarm.3 \ 170 arc4random.3 \ 171 basename.3 \ 172 cap_sandboxed.3 \ 173 check_utility_compat.3 \ 174 clock.3 \ 175 clock_getcpuclockid.3 \ 176 confstr.3 \ 177 ctermid.3 \ 178 daemon.3 \ 179 devname.3 \ 180 directory.3 \ 181 dirname.3 \ 182 dl_iterate_phdr.3 \ 183 dladdr.3 \ 184 dlinfo.3 \ 185 dllockinit.3 \ 186 dlopen.3 \ 187 err.3 \ 188 exec.3 \ 189 feature_present.3 \ 190 fmtcheck.3 \ 191 fmtmsg.3 \ 192 fnmatch.3 \ 193 fpclassify.3 \ 194 frexp.3 \ 195 ftok.3 \ 196 fts.3 \ 197 ftw.3 \ 198 getbootfile.3 \ 199 getbsize.3 \ 200 getcap.3 \ 201 getcontext.3 \ 202 getcwd.3 \ 203 getdiskbyname.3 \ 204 getdomainname.3 \ 205 getfsent.3 \ 206 getgrent.3 \ 207 getgrouplist.3 \ 208 gethostname.3 \ 209 getloadavg.3 \ 210 getmntinfo.3 \ 211 getnetgrent.3 \ 212 getosreldate.3 \ 213 getpagesize.3 \ 214 getpagesizes.3 \ 215 getpass.3 \ 216 getpeereid.3 \ 217 getprogname.3 \ 218 getpwent.3 \ 219 getttyent.3 \ 220 getusershell.3 \ 221 getutxent.3 \ 222 getvfsbyname.3 \ 223 glob.3 \ 224 initgroups.3 \ 225 isgreater.3 \ 226 ldexp.3 \ 227 lockf.3 \ 228 makecontext.3 \ 229 modf.3 \ 230 nice.3 \ 231 nlist.3 \ 232 pause.3 \ 233 popen.3 \ 234 posix_spawn.3 \ 235 posix_spawn_file_actions_addopen.3 \ 236 posix_spawn_file_actions_init.3 \ 237 posix_spawnattr_getflags.3 \ 238 posix_spawnattr_getpgroup.3 \ 239 posix_spawnattr_getschedparam.3 \ 240 posix_spawnattr_getschedpolicy.3 \ 241 posix_spawnattr_init.3 \ 242 posix_spawnattr_getsigdefault.3 \ 243 posix_spawnattr_getsigmask.3 \ 244 psignal.3 \ 245 pwcache.3 \ 246 raise.3 \ 247 rand48.3 \ 248 readpassphrase.3 \ 249 rfork_thread.3 \ 250 scandir.3 \ 251 sem_destroy.3 \ 252 sem_getvalue.3 \ 253 sem_init.3 \ 254 sem_open.3 \ 255 sem_post.3 \ 256 sem_timedwait.3 \ 257 sem_wait.3 \ 258 setjmp.3 \ 259 setmode.3 \ 260 setproctitle.3 \ 261 siginterrupt.3 \ 262 signal.3 \ 263 sigsetops.3 \ 264 sleep.3 \ 265 statvfs.3 \ 266 stringlist.3 \ 267 strtofflags.3 \ 268 sysconf.3 \ 269 sysctl.3 \ 270 syslog.3 \ 271 tcgetpgrp.3 \ 272 tcgetsid.3 \ 273 tcsendbreak.3 \ 274 tcsetattr.3 \ 275 tcsetpgrp.3 \ 276 tcsetsid.3 \ 277 time.3 \ 278 times.3 \ 279 timezone.3 \ 280 ttyname.3 \ 281 tzset.3 \ 282 ualarm.3 \ 283 ucontext.3 \ 284 ulimit.3 \ 285 uname.3 \ 286 unvis.3 \ 287 usleep.3 \ 288 utime.3 \ 289 valloc.3 \ 290 vis.3 \ 291 wordexp.3 292 293MLINKS+=arc4random.3 arc4random_addrandom.3 \ 294 arc4random.3 arc4random_stir.3 \ 295 arc4random.3 arc4random_buf.3 \ 296 arc4random.3 arc4random_uniform.3 297MLINKS+=basename.3 basename_r.3 298MLINKS+=ctermid.3 ctermid_r.3 299MLINKS+=devname.3 devname_r.3 300MLINKS+=devname.3 fdevname.3 301MLINKS+=devname.3 fdevname_r.3 302MLINKS+=directory.3 closedir.3 \ 303 directory.3 dirfd.3 \ 304 directory.3 opendir.3 \ 305 directory.3 fdopendir.3 \ 306 directory.3 readdir.3 \ 307 directory.3 readdir_r.3 \ 308 directory.3 rewinddir.3 \ 309 directory.3 seekdir.3 \ 310 directory.3 telldir.3 311MLINKS+=dlopen.3 fdlopen.3 \ 312 dlopen.3 dlclose.3 \ 313 dlopen.3 dlerror.3 \ 314 dlopen.3 dlfunc.3 \ 315 dlopen.3 dlsym.3 316MLINKS+=err.3 err_set_exit.3 \ 317 err.3 err_set_file.3 \ 318 err.3 errc.3 \ 319 err.3 errx.3 \ 320 err.3 verr.3 \ 321 err.3 verrc.3 \ 322 err.3 verrx.3 \ 323 err.3 vwarn.3 \ 324 err.3 vwarnc.3 \ 325 err.3 vwarnx.3 \ 326 err.3 warnc.3 \ 327 err.3 warn.3 \ 328 err.3 warnx.3 329MLINKS+=exec.3 execl.3 \ 330 exec.3 execle.3 \ 331 exec.3 execlp.3 \ 332 exec.3 exect.3 \ 333 exec.3 execv.3 \ 334 exec.3 execvP.3 \ 335 exec.3 execvp.3 336MLINKS+=fpclassify.3 finite.3 \ 337 fpclassify.3 finitef.3 \ 338 fpclassify.3 isfinite.3 \ 339 fpclassify.3 isinf.3 \ 340 fpclassify.3 isnan.3 \ 341 fpclassify.3 isnormal.3 342MLINKS+=frexp.3 frexpf.3 \ 343 frexp.3 frexpl.3 344MLINKS+=fts.3 fts_children.3 \ 345 fts.3 fts_close.3 \ 346 fts.3 fts_open.3 \ 347 fts.3 fts_read.3 \ 348 fts.3 fts_set.3 \ 349 fts.3 fts_set_clientptr.3 \ 350 fts.3 fts_get_clientptr.3 \ 351 fts.3 fts_get_stream.3 352MLINKS+=ftw.3 nftw.3 353MLINKS+=getcap.3 cgetcap.3 \ 354 getcap.3 cgetclose.3 \ 355 getcap.3 cgetent.3 \ 356 getcap.3 cgetfirst.3 \ 357 getcap.3 cgetmatch.3 \ 358 getcap.3 cgetnext.3 \ 359 getcap.3 cgetnum.3 \ 360 getcap.3 cgetset.3 \ 361 getcap.3 cgetstr.3 \ 362 getcap.3 cgetustr.3 363MLINKS+=getcwd.3 getwd.3 364MLINKS+=getcontext.3 getcontextx.3 365MLINKS+=getcontext.3 setcontext.3 366MLINKS+=getdomainname.3 setdomainname.3 367MLINKS+=getfsent.3 endfsent.3 \ 368 getfsent.3 getfsfile.3 \ 369 getfsent.3 getfsspec.3 \ 370 getfsent.3 getfstype.3 \ 371 getfsent.3 setfsent.3 \ 372 getfsent.3 setfstab.3 \ 373 getfsent.3 getfstab.3 374MLINKS+=getgrent.3 endgrent.3 \ 375 getgrent.3 getgrgid.3 \ 376 getgrent.3 getgrnam.3 \ 377 getgrent.3 setgrent.3 \ 378 getgrent.3 setgroupent.3 \ 379 getgrent.3 getgrent_r.3 \ 380 getgrent.3 getgrnam_r.3 \ 381 getgrent.3 getgrgid_r.3 382MLINKS+=gethostname.3 sethostname.3 383MLINKS+=getnetgrent.3 endnetgrent.3 \ 384 getnetgrent.3 innetgr.3 \ 385 getnetgrent.3 setnetgrent.3 386MLINKS+=getprogname.3 setprogname.3 387MLINKS+=getpwent.3 endpwent.3 \ 388 getpwent.3 getpwnam.3 \ 389 getpwent.3 getpwuid.3 \ 390 getpwent.3 setpassent.3 \ 391 getpwent.3 setpwent.3 \ 392 getpwent.3 setpwfile.3 \ 393 getpwent.3 getpwent_r.3 \ 394 getpwent.3 getpwnam_r.3 \ 395 getpwent.3 getpwuid_r.3 396MLINKS+=getttyent.3 endttyent.3 \ 397 getttyent.3 getttynam.3 \ 398 getttyent.3 isdialuptty.3 \ 399 getttyent.3 isnettty.3 \ 400 getttyent.3 setttyent.3 401MLINKS+=getusershell.3 endusershell.3 \ 402 getusershell.3 setusershell.3 403MLINKS+=getutxent.3 endutxent.3 \ 404 getutxent.3 getutxid.3 \ 405 getutxent.3 getutxline.3 \ 406 getutxent.3 getutxuser.3 \ 407 getutxent.3 pututxline.3 \ 408 getutxent.3 setutxdb.3 \ 409 getutxent.3 setutxent.3 \ 410 getutxent.3 utmpx.3 411MLINKS+=glob.3 globfree.3 412MLINKS+=isgreater.3 isgreaterequal.3 \ 413 isgreater.3 isless.3 \ 414 isgreater.3 islessequal.3 \ 415 isgreater.3 islessgreater.3 \ 416 isgreater.3 isunordered.3 417MLINKS+=ldexp.3 ldexpf.3 \ 418 ldexp.3 ldexpl.3 419MLINKS+=makecontext.3 swapcontext.3 420MLINKS+=modf.3 modff.3 \ 421 modf.3 modfl.3 422MLINKS+=popen.3 pclose.3 423MLINKS+=posix_spawn.3 posix_spawnp.3 \ 424 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_addclose.3 \ 425 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_adddup2.3 \ 426 posix_spawn_file_actions_init.3 posix_spawn_file_actions_destroy.3 \ 427 posix_spawnattr_getflags.3 posix_spawnattr_setflags.3 \ 428 posix_spawnattr_getpgroup.3 posix_spawnattr_setpgroup.3 \ 429 posix_spawnattr_getschedparam.3 posix_spawnattr_setschedparam.3 \ 430 posix_spawnattr_getschedpolicy.3 posix_spawnattr_setschedpolicy.3 \ 431 posix_spawnattr_getsigdefault.3 posix_spawnattr_setsigdefault.3 \ 432 posix_spawnattr_getsigmask.3 posix_spawnattr_setsigmask.3 \ 433 posix_spawnattr_init.3 posix_spawnattr_destroy.3 434MLINKS+=psignal.3 strsignal.3 \ 435 psignal.3 sys_siglist.3 \ 436 psignal.3 sys_signame.3 437MLINKS+=pwcache.3 group_from_gid.3 \ 438 pwcache.3 user_from_uid.3 439MLINKS+=rand48.3 _rand48.3 \ 440 rand48.3 drand48.3 \ 441 rand48.3 erand48.3 \ 442 rand48.3 jrand48.3 \ 443 rand48.3 lcong48.3 \ 444 rand48.3 lrand48.3 \ 445 rand48.3 mrand48.3 \ 446 rand48.3 nrand48.3 \ 447 rand48.3 seed48.3 \ 448 rand48.3 srand48.3 449MLINKS+=scandir.3 alphasort.3 450MLINKS+=sem_open.3 sem_close.3 \ 451 sem_open.3 sem_unlink.3 452MLINKS+=sem_wait.3 sem_trywait.3 453MLINKS+=setjmp.3 _longjmp.3 \ 454 setjmp.3 _setjmp.3 \ 455 setjmp.3 longjmp.3 \ 456 setjmp.3 longjmperr.3 \ 457 setjmp.3 longjmperror.3 \ 458 setjmp.3 siglongjmp.3 \ 459 setjmp.3 sigsetjmp.3 460MLINKS+=setmode.3 getmode.3 461MLINKS+=sigsetops.3 sigaddset.3 \ 462 sigsetops.3 sigdelset.3 \ 463 sigsetops.3 sigemptyset.3 \ 464 sigsetops.3 sigfillset.3 \ 465 sigsetops.3 sigismember.3 466MLINKS+=statvfs.3 fstatvfs.3 467MLINKS+=stringlist.3 sl_add.3 \ 468 stringlist.3 sl_find.3 \ 469 stringlist.3 sl_free.3 \ 470 stringlist.3 sl_init.3 471MLINKS+=strtofflags.3 fflagstostr.3 472MLINKS+=sysctl.3 sysctlbyname.3 \ 473 sysctl.3 sysctlnametomib.3 474MLINKS+=syslog.3 closelog.3 \ 475 syslog.3 openlog.3 \ 476 syslog.3 setlogmask.3 \ 477 syslog.3 vsyslog.3 478MLINKS+=tcsendbreak.3 tcdrain.3 \ 479 tcsendbreak.3 tcflow.3 \ 480 tcsendbreak.3 tcflush.3 481MLINKS+=tcsetattr.3 cfgetispeed.3 \ 482 tcsetattr.3 cfgetospeed.3 \ 483 tcsetattr.3 cfmakeraw.3 \ 484 tcsetattr.3 cfmakesane.3 \ 485 tcsetattr.3 cfsetispeed.3 \ 486 tcsetattr.3 cfsetospeed.3 \ 487 tcsetattr.3 cfsetspeed.3 \ 488 tcsetattr.3 tcgetattr.3 489MLINKS+=ttyname.3 isatty.3 \ 490 ttyname.3 ttyname_r.3 491MLINKS+=tzset.3 tzsetwall.3 492MLINKS+=unvis.3 strunvis.3 \ 493 unvis.3 strunvisx.3 494MLINKS+=vis.3 nvis.3 \ 495 vis.3 snvis.3 \ 496 vis.3 strenvisx.3 \ 497 vis.3 strnunvis.3 \ 498 vis.3 strnunvisx.3 \ 499 vis.3 strnvis.3 \ 500 vis.3 strnvisx.3 \ 501 vis.3 strsenvisx.3 \ 502 vis.3 strsnvis.3 \ 503 vis.3 strsnvisx.3 \ 504 vis.3 strsvis.3 \ 505 vis.3 strsvisx.3 \ 506 vis.3 strvis.3 \ 507 vis.3 strvisx.3 \ 508 vis.3 svis.3 509 510MLINKS+=wordexp.3 wordfree.3 511