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+= devname-compat11.c \
155 getmntinfo-compat11.c \
163 .PATH: ${SRCTOP}/contrib/libc-pwcache
164 SRCS+= pwcache.c pwcache.h
166 .PATH: ${SRCTOP}/contrib/libc-vis
167 CFLAGS+= -I${SRCTOP}/contrib/libc-vis
172 CANCELPOINTS_SRCS=sem.c sem_new.c
173 .for src in ${CANCELPOINTS_SRCS}
174 SRCS+=cancelpoints_${src}
175 CLEANFILES+=cancelpoints_${src}
176 cancelpoints_${src}: ${LIBC_SRCTOP}/gen/${src} .NOMETA
177 ln -sf ${.ALLSRC} ${.TARGET}
180 SYM_MAPS+=${LIBC_SRCTOP}/gen/Symbol.map
182 # machine-dependent gen sources
183 .sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/gen/Makefile.inc"
190 check_utility_compat.3 \
192 clock_getcpuclockid.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 \
311 MLINKS+=arc4random.3 arc4random_addrandom.3 \
312 arc4random.3 arc4random_stir.3 \
313 arc4random.3 arc4random_buf.3 \
314 arc4random.3 arc4random_uniform.3
315 MLINKS+=basename.3 basename_r.3
316 MLINKS+=ctermid.3 ctermid_r.3
317 MLINKS+=devname.3 devname_r.3
318 MLINKS+=devname.3 fdevname.3
319 MLINKS+=devname.3 fdevname_r.3
320 MLINKS+=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
330 MLINKS+=dlopen.3 fdlopen.3 \
335 MLINKS+=err.3 err_set_exit.3 \
336 err.3 err_set_file.3 \
348 MLINKS+=exec.3 execl.3 \
355 MLINKS+=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
361 MLINKS+=frexp.3 frexpf.3 \
363 MLINKS+=fts.3 fts_children.3 \
368 fts.3 fts_set_clientptr.3 \
369 fts.3 fts_get_clientptr.3 \
370 fts.3 fts_get_stream.3
372 MLINKS+=getcap.3 cgetcap.3 \
373 getcap.3 cgetclose.3 \
375 getcap.3 cgetfirst.3 \
376 getcap.3 cgetmatch.3 \
377 getcap.3 cgetnext.3 \
382 MLINKS+=getcwd.3 getwd.3
383 MLINKS+=getcontext.3 getcontextx.3
384 MLINKS+=getcontext.3 setcontext.3
385 MLINKS+=getdomainname.3 setdomainname.3
386 MLINKS+=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
393 MLINKS+=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
401 MLINKS+=gethostname.3 sethostname.3
402 MLINKS+=getnetgrent.3 endnetgrent.3 \
403 getnetgrent.3 getnetgrent_r.3 \
404 getnetgrent.3 innetgr.3 \
405 getnetgrent.3 setnetgrent.3
406 MLINKS+=getprogname.3 setprogname.3
407 MLINKS+=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
416 MLINKS+=getttyent.3 endttyent.3 \
417 getttyent.3 getttynam.3 \
418 getttyent.3 isdialuptty.3 \
419 getttyent.3 isnettty.3 \
420 getttyent.3 setttyent.3
421 MLINKS+=getusershell.3 endusershell.3 \
422 getusershell.3 setusershell.3
423 MLINKS+=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 \
431 MLINKS+=glob.3 globfree.3
432 MLINKS+=isgreater.3 isgreaterequal.3 \
433 isgreater.3 isless.3 \
434 isgreater.3 islessequal.3 \
435 isgreater.3 islessgreater.3 \
436 isgreater.3 isunordered.3
437 MLINKS+=ldexp.3 ldexpf.3 \
439 MLINKS+=makecontext.3 swapcontext.3
440 MLINKS+=modf.3 modff.3 \
442 MLINKS+=popen.3 pclose.3
443 MLINKS+=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
454 MLINKS+=psignal.3 strsignal.3 \
455 psignal.3 sys_siglist.3 \
456 psignal.3 sys_signame.3
457 MLINKS+=pwcache.3 group_from_gid.3 \
458 pwcache.3 user_from_uid.3
459 MLINKS+=rand48.3 _rand48.3 \
469 MLINKS+=recv.2 recvmmsg.2
470 MLINKS+=scandir.3 alphasort.3
471 MLINKS+=sem_open.3 sem_close.3 \
472 sem_open.3 sem_unlink.3
473 MLINKS+=sem_wait.3 sem_trywait.3
474 MLINKS+=sem_timedwait.3 sem_clockwait_np.3
475 MLINKS+=send.2 sendmmsg.2
476 MLINKS+=setjmp.3 _longjmp.3 \
479 setjmp.3 longjmperr.3 \
480 setjmp.3 longjmperror.3 \
481 setjmp.3 siglongjmp.3 \
483 MLINKS+=setmode.3 getmode.3
484 MLINKS+=sigsetops.3 sigaddset.3 \
485 sigsetops.3 sigdelset.3 \
486 sigsetops.3 sigemptyset.3 \
487 sigsetops.3 sigfillset.3 \
488 sigsetops.3 sigismember.3
489 MLINKS+=statvfs.3 fstatvfs.3
490 MLINKS+=stringlist.3 sl_add.3 \
491 stringlist.3 sl_find.3 \
492 stringlist.3 sl_free.3 \
493 stringlist.3 sl_init.3
494 MLINKS+=strtofflags.3 fflagstostr.3
495 MLINKS+=sysctl.3 sysctlbyname.3 \
496 sysctl.3 sysctlnametomib.3
497 MLINKS+=syslog.3 closelog.3 \
499 syslog.3 setlogmask.3 \
501 MLINKS+=tcsendbreak.3 tcdrain.3 \
502 tcsendbreak.3 tcflow.3 \
503 tcsendbreak.3 tcflush.3
504 MLINKS+=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
512 MLINKS+=ttyname.3 isatty.3 \
513 ttyname.3 ttyname_r.3
514 MLINKS+=tzset.3 tzsetwall.3
515 MLINKS+=unvis.3 strunvis.3 \
517 MLINKS+=vis.3 nvis.3 \
533 MLINKS+=wordexp.3 wordfree.3