1 # @(#)Makefile.inc 8.6 (Berkeley) 5/4/95
4 # machine-independent gen sources
5 .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen
7 SRCS+= __getosreldate.c \
8 __pthread_mutex_init_calloc_cb_stub.c \
22 check_utility_compat.c \
24 clock_getcpuclockid.c \
150 .if ${MK_SYMVER} == yes
151 SRCS+= fts-compat.c \
155 .PATH: ${SRCTOP}/contrib/libc-pwcache
156 SRCS+= pwcache.c pwcache.h
158 .PATH: ${SRCTOP}/contrib/libc-vis
159 CFLAGS+= -I${SRCTOP}/contrib/libc-vis
164 CANCELPOINTS_SRCS=sem.c sem_new.c
165 .for src in ${CANCELPOINTS_SRCS}
166 SRCS+=cancelpoints_${src}
167 CLEANFILES+=cancelpoints_${src}
168 cancelpoints_${src}: ${LIBC_SRCTOP}/gen/${src} .NOMETA
169 ln -sf ${.ALLSRC} ${.TARGET}
172 SYM_MAPS+=${LIBC_SRCTOP}/gen/Symbol.map
174 # machine-dependent gen sources
175 .sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/gen/Makefile.inc"
182 check_utility_compat.3 \
184 clock_getcpuclockid.3 \
245 posix_spawn_file_actions_addopen.3 \
246 posix_spawn_file_actions_init.3 \
247 posix_spawnattr_getflags.3 \
248 posix_spawnattr_getpgroup.3 \
249 posix_spawnattr_getschedparam.3 \
250 posix_spawnattr_getschedpolicy.3 \
251 posix_spawnattr_init.3 \
252 posix_spawnattr_getsigdefault.3 \
253 posix_spawnattr_getsigmask.3 \
303 MLINKS+=arc4random.3 arc4random_addrandom.3 \
304 arc4random.3 arc4random_stir.3 \
305 arc4random.3 arc4random_buf.3 \
306 arc4random.3 arc4random_uniform.3
307 MLINKS+=basename.3 basename_r.3
308 MLINKS+=ctermid.3 ctermid_r.3
309 MLINKS+=devname.3 devname_r.3
310 MLINKS+=devname.3 fdevname.3
311 MLINKS+=devname.3 fdevname_r.3
312 MLINKS+=directory.3 closedir.3 \
313 directory.3 dirfd.3 \
314 directory.3 fdclosedir.3 \
315 directory.3 fdopendir.3 \
316 directory.3 opendir.3 \
317 directory.3 readdir.3 \
318 directory.3 readdir_r.3 \
319 directory.3 rewinddir.3 \
320 directory.3 seekdir.3 \
321 directory.3 telldir.3
322 MLINKS+=dlopen.3 fdlopen.3 \
327 MLINKS+=err.3 err_set_exit.3 \
328 err.3 err_set_file.3 \
340 MLINKS+=exec.3 execl.3 \
347 MLINKS+=fpclassify.3 finite.3 \
348 fpclassify.3 finitef.3 \
349 fpclassify.3 isfinite.3 \
350 fpclassify.3 isinf.3 \
351 fpclassify.3 isnan.3 \
352 fpclassify.3 isnormal.3
353 MLINKS+=frexp.3 frexpf.3 \
355 MLINKS+=fts.3 fts_children.3 \
360 fts.3 fts_set_clientptr.3 \
361 fts.3 fts_get_clientptr.3 \
362 fts.3 fts_get_stream.3
364 MLINKS+=getcap.3 cgetcap.3 \
365 getcap.3 cgetclose.3 \
367 getcap.3 cgetfirst.3 \
368 getcap.3 cgetmatch.3 \
369 getcap.3 cgetnext.3 \
374 MLINKS+=getcwd.3 getwd.3
375 MLINKS+=getcontext.3 getcontextx.3
376 MLINKS+=getcontext.3 setcontext.3
377 MLINKS+=getdomainname.3 setdomainname.3
378 MLINKS+=getfsent.3 endfsent.3 \
379 getfsent.3 getfsfile.3 \
380 getfsent.3 getfsspec.3 \
381 getfsent.3 getfstype.3 \
382 getfsent.3 setfsent.3 \
383 getfsent.3 setfstab.3 \
384 getfsent.3 getfstab.3
385 MLINKS+=getgrent.3 endgrent.3 \
386 getgrent.3 getgrgid.3 \
387 getgrent.3 getgrnam.3 \
388 getgrent.3 setgrent.3 \
389 getgrent.3 setgroupent.3 \
390 getgrent.3 getgrent_r.3 \
391 getgrent.3 getgrnam_r.3 \
392 getgrent.3 getgrgid_r.3
393 MLINKS+=gethostname.3 sethostname.3
394 MLINKS+=getnetgrent.3 endnetgrent.3 \
395 getnetgrent.3 getnetgrent_r.3 \
396 getnetgrent.3 innetgr.3 \
397 getnetgrent.3 setnetgrent.3
398 MLINKS+=getprogname.3 setprogname.3
399 MLINKS+=getpwent.3 endpwent.3 \
400 getpwent.3 getpwnam.3 \
401 getpwent.3 getpwuid.3 \
402 getpwent.3 setpassent.3 \
403 getpwent.3 setpwent.3 \
404 getpwent.3 setpwfile.3 \
405 getpwent.3 getpwent_r.3 \
406 getpwent.3 getpwnam_r.3 \
407 getpwent.3 getpwuid_r.3
408 MLINKS+=getttyent.3 endttyent.3 \
409 getttyent.3 getttynam.3 \
410 getttyent.3 isdialuptty.3 \
411 getttyent.3 isnettty.3 \
412 getttyent.3 setttyent.3
413 MLINKS+=getusershell.3 endusershell.3 \
414 getusershell.3 setusershell.3
415 MLINKS+=getutxent.3 endutxent.3 \
416 getutxent.3 getutxid.3 \
417 getutxent.3 getutxline.3 \
418 getutxent.3 getutxuser.3 \
419 getutxent.3 pututxline.3 \
420 getutxent.3 setutxdb.3 \
421 getutxent.3 setutxent.3 \
423 MLINKS+=glob.3 globfree.3
424 MLINKS+=isgreater.3 isgreaterequal.3 \
425 isgreater.3 isless.3 \
426 isgreater.3 islessequal.3 \
427 isgreater.3 islessgreater.3 \
428 isgreater.3 isunordered.3
429 MLINKS+=ldexp.3 ldexpf.3 \
431 MLINKS+=makecontext.3 swapcontext.3
432 MLINKS+=modf.3 modff.3 \
434 MLINKS+=popen.3 pclose.3
435 MLINKS+=posix_spawn.3 posix_spawnp.3 \
436 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_addclose.3 \
437 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_adddup2.3 \
438 posix_spawn_file_actions_init.3 posix_spawn_file_actions_destroy.3 \
439 posix_spawnattr_getflags.3 posix_spawnattr_setflags.3 \
440 posix_spawnattr_getpgroup.3 posix_spawnattr_setpgroup.3 \
441 posix_spawnattr_getschedparam.3 posix_spawnattr_setschedparam.3 \
442 posix_spawnattr_getschedpolicy.3 posix_spawnattr_setschedpolicy.3 \
443 posix_spawnattr_getsigdefault.3 posix_spawnattr_setsigdefault.3 \
444 posix_spawnattr_getsigmask.3 posix_spawnattr_setsigmask.3 \
445 posix_spawnattr_init.3 posix_spawnattr_destroy.3
446 MLINKS+=psignal.3 strsignal.3 \
447 psignal.3 sys_siglist.3 \
448 psignal.3 sys_signame.3
449 MLINKS+=pwcache.3 group_from_gid.3 \
450 pwcache.3 user_from_uid.3
451 MLINKS+=rand48.3 _rand48.3 \
461 MLINKS+=recv.2 recvmmsg.2
462 MLINKS+=scandir.3 alphasort.3
463 MLINKS+=sem_open.3 sem_close.3 \
464 sem_open.3 sem_unlink.3
465 MLINKS+=sem_wait.3 sem_trywait.3
466 MLINKS+=sem_timedwait.3 sem_clockwait_np.3
467 MLINKS+=send.2 sendmmsg.2
468 MLINKS+=setjmp.3 _longjmp.3 \
471 setjmp.3 longjmperr.3 \
472 setjmp.3 longjmperror.3 \
473 setjmp.3 siglongjmp.3 \
475 MLINKS+=setmode.3 getmode.3
476 MLINKS+=sigsetops.3 sigaddset.3 \
477 sigsetops.3 sigdelset.3 \
478 sigsetops.3 sigemptyset.3 \
479 sigsetops.3 sigfillset.3 \
480 sigsetops.3 sigismember.3
481 MLINKS+=statvfs.3 fstatvfs.3
482 MLINKS+=stringlist.3 sl_add.3 \
483 stringlist.3 sl_find.3 \
484 stringlist.3 sl_free.3 \
485 stringlist.3 sl_init.3
486 MLINKS+=strtofflags.3 fflagstostr.3
487 MLINKS+=sysctl.3 sysctlbyname.3 \
488 sysctl.3 sysctlnametomib.3
489 MLINKS+=syslog.3 closelog.3 \
491 syslog.3 setlogmask.3 \
493 MLINKS+=tcsendbreak.3 tcdrain.3 \
494 tcsendbreak.3 tcflow.3 \
495 tcsendbreak.3 tcflush.3
496 MLINKS+=tcsetattr.3 cfgetispeed.3 \
497 tcsetattr.3 cfgetospeed.3 \
498 tcsetattr.3 cfmakeraw.3 \
499 tcsetattr.3 cfmakesane.3 \
500 tcsetattr.3 cfsetispeed.3 \
501 tcsetattr.3 cfsetospeed.3 \
502 tcsetattr.3 cfsetspeed.3 \
503 tcsetattr.3 tcgetattr.3
504 MLINKS+=ttyname.3 isatty.3 \
505 ttyname.3 ttyname_r.3
506 MLINKS+=tzset.3 tzsetwall.3
507 MLINKS+=unvis.3 strunvis.3 \
509 MLINKS+=vis.3 nvis.3 \
525 MLINKS+=wordexp.3 wordfree.3