1 # @(#)Makefile.inc 8.6 (Berkeley) 5/4/95
4 # machine-independent gen sources
5 .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen
9 SRCS+= __getosreldate.c \
10 __pthread_mutex_init_calloc_cb_stub.c \
24 check_utility_compat.c \
26 clock_getcpuclockid.c \
154 .if ${MK_SYMVER} == yes
155 SRCS+= devname-compat11.c \
159 getmntinfo-compat11.c \
167 .PATH: ${SRCTOP}/contrib/libc-pwcache
168 SRCS+= pwcache.c pwcache.h
170 .PATH: ${SRCTOP}/contrib/libc-vis
171 CFLAGS+= -I${SRCTOP}/contrib/libc-vis
176 CANCELPOINTS_SRCS=sem.c sem_new.c
177 .for src in ${CANCELPOINTS_SRCS}
178 SRCS+=cancelpoints_${src}
179 CLEANFILES+=cancelpoints_${src}
180 cancelpoints_${src}: ${LIBC_SRCTOP}/gen/${src} .NOMETA
181 ln -sf ${.ALLSRC} ${.TARGET}
184 SYM_MAPS+=${LIBC_SRCTOP}/gen/Symbol.map
186 # machine-dependent gen sources
187 .sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/gen/Makefile.inc"
194 check_utility_compat.3 \
196 clock_getcpuclockid.3 \
258 posix_spawn_file_actions_addopen.3 \
259 posix_spawn_file_actions_init.3 \
260 posix_spawnattr_getflags.3 \
261 posix_spawnattr_getpgroup.3 \
262 posix_spawnattr_getschedparam.3 \
263 posix_spawnattr_getschedpolicy.3 \
264 posix_spawnattr_init.3 \
265 posix_spawnattr_getsigdefault.3 \
266 posix_spawnattr_getsigmask.3 \
316 MLINKS+=arc4random.3 arc4random_addrandom.3 \
317 arc4random.3 arc4random_stir.3 \
318 arc4random.3 arc4random_buf.3 \
319 arc4random.3 arc4random_uniform.3
320 MLINKS+=ctermid.3 ctermid_r.3
321 MLINKS+=devname.3 devname_r.3
322 MLINKS+=devname.3 fdevname.3
323 MLINKS+=devname.3 fdevname_r.3
324 MLINKS+=directory.3 closedir.3 \
325 directory.3 dirfd.3 \
326 directory.3 fdclosedir.3 \
327 directory.3 fdopendir.3 \
328 directory.3 opendir.3 \
329 directory.3 readdir.3 \
330 directory.3 readdir_r.3 \
331 directory.3 rewinddir.3 \
332 directory.3 seekdir.3 \
333 directory.3 telldir.3
334 MLINKS+=dlopen.3 fdlopen.3 \
339 MLINKS+=err.3 err_set_exit.3 \
340 err.3 err_set_file.3 \
352 MLINKS+=exec.3 execl.3 \
359 MLINKS+=fpclassify.3 finite.3 \
360 fpclassify.3 finitef.3 \
361 fpclassify.3 isfinite.3 \
362 fpclassify.3 isinf.3 \
363 fpclassify.3 isnan.3 \
364 fpclassify.3 isnormal.3
365 MLINKS+=frexp.3 frexpf.3 \
367 MLINKS+=fts.3 fts_children.3 \
372 fts.3 fts_set_clientptr.3 \
373 fts.3 fts_get_clientptr.3 \
374 fts.3 fts_get_stream.3
376 MLINKS+=getcap.3 cgetcap.3 \
377 getcap.3 cgetclose.3 \
379 getcap.3 cgetfirst.3 \
380 getcap.3 cgetmatch.3 \
381 getcap.3 cgetnext.3 \
386 MLINKS+=getcwd.3 getwd.3
387 MLINKS+=getcontext.3 getcontextx.3
388 MLINKS+=getcontext.3 setcontext.3
389 MLINKS+=getdomainname.3 setdomainname.3
390 MLINKS+=getfsent.3 endfsent.3 \
391 getfsent.3 getfsfile.3 \
392 getfsent.3 getfsspec.3 \
393 getfsent.3 getfstype.3 \
394 getfsent.3 setfsent.3 \
395 getfsent.3 setfstab.3 \
396 getfsent.3 getfstab.3
397 MLINKS+=getgrent.3 endgrent.3 \
398 getgrent.3 getgrgid.3 \
399 getgrent.3 getgrnam.3 \
400 getgrent.3 setgrent.3 \
401 getgrent.3 setgroupent.3 \
402 getgrent.3 getgrent_r.3 \
403 getgrent.3 getgrnam_r.3 \
404 getgrent.3 getgrgid_r.3
405 MLINKS+=gethostname.3 sethostname.3
406 MLINKS+=getnetgrent.3 endnetgrent.3 \
407 getnetgrent.3 getnetgrent_r.3 \
408 getnetgrent.3 innetgr.3 \
409 getnetgrent.3 setnetgrent.3
410 MLINKS+=getprogname.3 setprogname.3
411 MLINKS+=getpwent.3 endpwent.3 \
412 getpwent.3 getpwnam.3 \
413 getpwent.3 getpwuid.3 \
414 getpwent.3 setpassent.3 \
415 getpwent.3 setpwent.3 \
416 getpwent.3 setpwfile.3 \
417 getpwent.3 getpwent_r.3 \
418 getpwent.3 getpwnam_r.3 \
419 getpwent.3 getpwuid_r.3
420 MLINKS+=getttyent.3 endttyent.3 \
421 getttyent.3 getttynam.3 \
422 getttyent.3 isdialuptty.3 \
423 getttyent.3 isnettty.3 \
424 getttyent.3 setttyent.3
425 MLINKS+=getusershell.3 endusershell.3 \
426 getusershell.3 setusershell.3
427 MLINKS+=getutxent.3 endutxent.3 \
428 getutxent.3 getutxid.3 \
429 getutxent.3 getutxline.3 \
430 getutxent.3 getutxuser.3 \
431 getutxent.3 pututxline.3 \
432 getutxent.3 setutxdb.3 \
433 getutxent.3 setutxent.3 \
435 MLINKS+=glob.3 globfree.3
436 MLINKS+=isgreater.3 isgreaterequal.3 \
437 isgreater.3 isless.3 \
438 isgreater.3 islessequal.3 \
439 isgreater.3 islessgreater.3 \
440 isgreater.3 isunordered.3
441 MLINKS+=ldexp.3 ldexpf.3 \
443 MLINKS+=makecontext.3 swapcontext.3
444 MLINKS+=modf.3 modff.3 \
446 MLINKS+=popen.3 pclose.3
447 MLINKS+=posix_spawn.3 posix_spawnp.3 \
448 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_addclose.3 \
449 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_adddup2.3 \
450 posix_spawn_file_actions_init.3 posix_spawn_file_actions_destroy.3 \
451 posix_spawnattr_getflags.3 posix_spawnattr_setflags.3 \
452 posix_spawnattr_getpgroup.3 posix_spawnattr_setpgroup.3 \
453 posix_spawnattr_getschedparam.3 posix_spawnattr_setschedparam.3 \
454 posix_spawnattr_getschedpolicy.3 posix_spawnattr_setschedpolicy.3 \
455 posix_spawnattr_getsigdefault.3 posix_spawnattr_setsigdefault.3 \
456 posix_spawnattr_getsigmask.3 posix_spawnattr_setsigmask.3 \
457 posix_spawnattr_init.3 posix_spawnattr_destroy.3
458 MLINKS+=psignal.3 strsignal.3 \
459 psignal.3 sys_siglist.3 \
460 psignal.3 sys_signame.3
461 MLINKS+=pwcache.3 group_from_gid.3 \
462 pwcache.3 user_from_uid.3
463 MLINKS+=rand48.3 _rand48.3 \
473 MLINKS+=recv.2 recvmmsg.2
474 MLINKS+=scandir.3 alphasort.3
475 MLINKS+=sem_open.3 sem_close.3 \
476 sem_open.3 sem_unlink.3
477 MLINKS+=sem_wait.3 sem_trywait.3
478 MLINKS+=sem_timedwait.3 sem_clockwait_np.3
479 MLINKS+=send.2 sendmmsg.2
480 MLINKS+=setjmp.3 _longjmp.3 \
483 setjmp.3 longjmperr.3 \
484 setjmp.3 longjmperror.3 \
485 setjmp.3 siglongjmp.3 \
487 MLINKS+=setmode.3 getmode.3
488 MLINKS+=sigsetops.3 sigaddset.3 \
489 sigsetops.3 sigdelset.3 \
490 sigsetops.3 sigemptyset.3 \
491 sigsetops.3 sigfillset.3 \
492 sigsetops.3 sigismember.3
493 MLINKS+=statvfs.3 fstatvfs.3
494 MLINKS+=stringlist.3 sl_add.3 \
495 stringlist.3 sl_find.3 \
496 stringlist.3 sl_free.3 \
497 stringlist.3 sl_init.3
498 MLINKS+=strtofflags.3 fflagstostr.3
499 MLINKS+=sysctl.3 sysctlbyname.3 \
500 sysctl.3 sysctlnametomib.3
501 MLINKS+=syslog.3 closelog.3 \
503 syslog.3 setlogmask.3 \
505 MLINKS+=tcsendbreak.3 tcdrain.3 \
506 tcsendbreak.3 tcflow.3 \
507 tcsendbreak.3 tcflush.3
508 MLINKS+=tcsetattr.3 cfgetispeed.3 \
509 tcsetattr.3 cfgetospeed.3 \
510 tcsetattr.3 cfmakeraw.3 \
511 tcsetattr.3 cfmakesane.3 \
512 tcsetattr.3 cfsetispeed.3 \
513 tcsetattr.3 cfsetospeed.3 \
514 tcsetattr.3 cfsetspeed.3 \
515 tcsetattr.3 tcgetattr.3
516 MLINKS+=ttyname.3 isatty.3 \
517 ttyname.3 ttyname_r.3
518 MLINKS+=tzset.3 tzsetwall.3
519 MLINKS+=unvis.3 strunvis.3 \
521 MLINKS+=vis.3 nvis.3 \
537 MLINKS+=wordexp.3 wordfree.3