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