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