1 # @(#)Makefile.inc 8.6 (Berkeley) 5/4/95
2 # $FreeBSD: head/lib/libc/gen/Makefile.inc 214680 2010-11-02 17:00:56Z ed $
4 # machine-independent gen sources
5 .PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/gen ${.CURDIR}/../libc/gen
7 CFLAGS+=-I${.CURDIR}/../libc/sysvipc
9 CMAPS+= ${.CURDIR}/gen/Symbol.map
11 SRCS+= __errno_location.c _once_stub.c _pthread_stubs.c _rand48.c \
12 _spinlock_stub.c _thread_init.c \
13 alarm.c arc4random.c assert.c basename.c \
14 clock.c clock_getcpuclockid.c closedir.c confstr.c creat.c \
15 ctermid.c daemon.c devname.c dirfd.c dirname.c disklabel.c disktab.c \
16 dlfcn.c drand48.c dup3.c elf_utils.c erand48.c err.c errlst.c exec.c \
17 fdevname.c fmtcheck.c fmtmsg.c fnmatch.c fpclassify.c \
18 frexp.c fstab.c ftok.c fts.c ftw.c getbootfile.c getbsize.c \
19 getcap.c getcwd.c getdevpath.c getdomainname.c \
20 getgrent.c getgrouplist.c gethostid.c gethostname.c \
21 getloadavg.c getlogin.c getmntinfo.c getmntvinfo.c \
22 getnetgrent.c getobjformat.c getosreldate.c getpagesize.c \
23 getpeereid.c getprogname.c getpwent.c getttyent.c \
24 getusershell.c getvfsbyname.c getvfsent.c glob.c \
25 initgroups.c isatty.c isinf.c isfinite.c isnan.c isnormal.c \
26 jrand48.c killpg.c lcong48.c ldexp.c libc_dlopen.c \
27 lockf.c lrand48.c modf.c mrand48.c sysvipc_msgctl.c \
28 sysvipc_msgget.c sysvipc_msgrcv.c sysvipc_msgsnd.c nftw.c nice.c \
29 nlist.c nrand48.c ntp_gettime.c opendir.c \
30 pause.c pmadvise.c popen.c posix_spawn.c posixshm.c \
31 psignal.c pw_scan.c pwcache.c \
32 raise.c readdir.c readpassphrase.c rewinddir.c ovsbrk.c signbit.c \
33 sysvipc.c sysvipc_shmget.c sysvipc_shmctl.c \
34 sysvipc_shmdt.c sysvipc_shmat.c\
35 scandir.c seed48.c seekdir.c sysvipc_semctl.c sysvipc_semget.c sysvipc_semop.c \
36 setdomainname.c sethostname.c setjmperr.c setmode.c setprogname.c \
38 siginterrupt.c siglist.c signal.c \
39 sigsetops.c sigwait.c sleep.c srand48.c \
40 stringlist.c strtofflags.c sysconf.c sysctl.c sysctlbyname.c \
41 sysctlnametomib.c syslog.c telldir.c termios.c time.c times.c \
43 ualarm.c ucontext.c ulimit.c uname.c unvis.c usleep.c utime.c \
45 valloc.c vis.c wait.c wait3.c waitpid.c waitid.c wordexp.c
47 .if ${LIB} != {c_rtld}
51 # machine-dependent gen sources
52 .include "${.CURDIR}/../libc/${MACHINE_ARCH}/gen/Makefile.inc"
55 MAN+= alarm.3 arc4random.3 clock.3 \
57 clock_getcpuclockid.3 confstr.3 creat.3 ctermid.3 daemon.3 \
58 devname.3 directory.3 dirname.3 \
59 dladdr.3 dlinfo.3 dlopen.3 \
60 dlclose.3 dlerror.3 dlfcn.3 dlsym.3 dlvsym.3 dl_iterate_phdr.3 dup3.3 \
61 endutxent.3 err.3 exec.3 \
62 fmtcheck.3 fmtmsg.3 fnmatch.3 frexp.3 ftok.3 fts.3 ftw.3 \
63 getbootfile.3 getbsize.3 getcap.3 getcontext.3 getcwd.3 \
64 getdevpath.3 getdiskbyname.3 getdisktabbyname.3 getdomainname.3 \
65 getfsent.3 getgrent.3 getgrouplist.3 \
66 gethostid.3 gethostname.3 getlastlogx.3 getloadavg.3 \
67 getmntinfo.3 getnetgrent.3 getobjformat.3 getosreldate.3 \
68 getpagesize.3 getpass.3 getpeereid.3 getprogname.3 getpwent.3 \
69 getttyent.3 getusershell.3 getvfsbyname.3 getvfsent.3 \
70 glob.3 initgroups.3 isgreater.3 killpg.3 \
71 ldexp.3 lockf.3 makecontext.3 makecontext_quick.3 modf.3 \
72 nice.3 nlist.3 pause.3 popen.3 posix_spawn.3 \
73 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_init.3 \
74 posix_spawnattr_getflags.3 posix_spawnattr_getpgroup.3 \
75 posix_spawnattr_getschedparam.3 posix_spawnattr_getschedpolicy.3 \
76 posix_spawnattr_getsigdefault.3 posix_spawnattr_getsigmask.3 \
77 posix_spawnattr_init.3 psignal.3 pwcache.3 \
78 raise.3 rand48.3 readpassphrase.3 rfork_thread.3 \
79 scandir.3 setjmp.3 setmode.3 setproctitle.3 shm_open.3 \
80 siginterrupt.3 signal.3 sigsetops.3 sleep.3 stringlist.3 \
81 strtofflags.3 sysconf.3 sysctl.3 syslog.3 tcgetpgrp.3 tcgetsid.3 \
82 tcsendbreak.3 tcsetattr.3 tcsetpgrp.3 tcsetsid.3 time.3 times.3 \
83 ttyname.3 tzset.3 ualarm.3 \
84 ucontext.3 ulimit.3 uname.3 unvis.3 usleep.3 utime.3 \
85 valloc.3 vis.3 wordexp.3
87 MLINKS+=arc4random.3 arc4random_addrandom.3 \
88 arc4random.3 arc4random_buf.3 \
89 arc4random.3 arc4random_stir.3 \
90 arc4random.3 arc4random_uniform.3
91 MLINKS+=ctermid.3 ctermid_r.3
92 MLINKS+=devname.3 devname_r.3 \
93 devname.3 fdevname.3 \
94 devname.3 fdevname_r.3
95 MLINKS+=directory.3 closedir.3 \
97 directory.3 fdopendir.3 \
98 directory.3 opendir.3 \
99 directory.3 readdir.3 \
100 directory.3 readdir_r.3 \
101 directory.3 rewinddir.3 \
102 directory.3 seekdir.3 \
103 directory.3 telldir.3
104 MLINKS+=dlopen.3 fdlopen.3
105 MLINKS+=dlsym.3 dlfunc.3
106 MLINKS+=endutxent.3 getutxent.3 \
107 endutxent.3 getutxid.3 \
108 endutxent.3 getutxline.3 \
109 endutxent.3 getutxuser.3 \
110 endutxent.3 pututxline.3 \
111 endutxent.3 setutxdb.3 \
112 endutxent.3 setutxent.3
113 MLINKS+=err.3 errc.3 \
114 err.3 err_set_exit.3 \
115 err.3 err_set_file.3 \
126 MLINKS+=exec.3 execl.3 \
133 MLINKS+=frexp.3 frexpf.3 \
135 MLINKS+=fts.3 fts_children.3 \
137 fts.3 fts_get_clientptr.3 \
138 fts.3 fts_get_stream.3 \
142 fts.3 fts_set_clientptr.3
144 MLINKS+=getcap.3 cgetcap.3 \
145 getcap.3 cgetclose.3 \
147 getcap.3 cgetfirst.3 \
148 getcap.3 cgetmatch.3 \
149 getcap.3 cgetnext.3 \
154 MLINKS+=getcontext.3 setcontext.3
155 MLINKS+=getcwd.3 getwd.3
156 MLINKS+=getdomainname.3 setdomainname.3
157 MLINKS+=getfsent.3 endfsent.3 \
158 getfsent.3 getfsfile.3 \
159 getfsent.3 getfsspec.3 \
160 getfsent.3 getfstab.3 \
161 getfsent.3 getfstype.3 \
162 getfsent.3 setfsent.3 \
163 getfsent.3 setfstab.3
164 MLINKS+=getgrent.3 endgrent.3 \
165 getgrent.3 getgrent_r.3 \
166 getgrent.3 getgrgid.3 \
167 getgrent.3 getgrgid_r.3 \
168 getgrent.3 getgrnam.3 \
169 getgrent.3 getgrnam_r.3 \
170 getgrent.3 setgrent.3 \
171 getgrent.3 setgroupent.3
172 MLINKS+=gethostid.3 sethostid.3
173 MLINKS+=gethostname.3 sethostname.3
174 MLINKS+=getlastlogx.3 updlastlogx.3 \
175 getlastlogx.3 _updwtmpx.3 \
176 getlastlogx.3 updwtmpx.3 \
177 getlastlogx.3 utmpxname.3
178 MLINKS+=getmntinfo.3 getmntvinfo.3
179 MLINKS+=getnetgrent.3 endnetgrent.3 \
180 getnetgrent.3 innetgr.3 \
181 getnetgrent.3 setnetgrent.3
182 MLINKS+=getprogname.3 setprogname.3
183 MLINKS+=getpwent.3 endpwent.3 \
184 getpwent.3 getpwent_r.3 \
185 getpwent.3 getpwnam.3 \
186 getpwent.3 getpwnam_r.3 \
187 getpwent.3 getpwuid.3 \
188 getpwent.3 getpwuid_r.3 \
189 getpwent.3 setpassent.3 \
190 getpwent.3 setpwent.3 \
191 getpwent.3 setpwfile.3
192 MLINKS+=getttyent.3 endttyent.3 \
193 getttyent.3 getttynam.3 \
194 getttyent.3 isdialuptty.3 \
195 getttyent.3 isnettty.3 \
196 getttyent.3 setttyent.3
197 MLINKS+=getusershell.3 endusershell.3 \
198 getusershell.3 setusershell.3
199 MLINKS+=getvfsent.3 endvfsent.3 \
200 getvfsent.3 setvfsent.3 \
201 getvfsent.3 vfsisloadable.3 \
202 getvfsent.3 vfsload.3
203 MLINKS+=glob.3 globfree.3
204 MLINKS+=isgreater.3 isgreaterequal.3 \
205 isgreater.3 isless.3 \
206 isgreater.3 islessequal.3 \
207 isgreater.3 islessgreater.3 \
208 isgreater.3 isunordered.3
209 MLINKS+=ldexp.3 ldexpf.3 \
211 MLINKS+=makecontext.3 swapcontext.3
212 MLINKS+=makecontext_quick.3 setcontext_quick.3 \
213 makecontext_quick.3 swapcontext_quick.3
214 MLINKS+=modf.3 modff.3 \
216 MLINKS+=popen.3 pclose.3
217 MLINKS+=posix_spawn.3 posix_spawnp.3
218 MLINKS+=posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_addclose.3 \
219 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_adddup2.3
220 MLINKS+=posix_spawn_file_actions_init.3 posix_spawn_file_actions_destroy.3
221 MLINKS+=posix_spawnattr_getflags.3 posix_spawnattr_setflags.3
222 MLINKS+=posix_spawnattr_getpgroup.3 posix_spawnattr_setpgroup.3
223 MLINKS+=posix_spawnattr_getschedparam.3 posix_spawnattr_setschedparam.3
224 MLINKS+=posix_spawnattr_getschedpolicy.3 posix_spawnattr_setschedpolicy.3
225 MLINKS+=posix_spawnattr_getsigdefault.3 posix_spawnattr_setsigdefault.3
226 MLINKS+=posix_spawnattr_getsigmask.3 posix_spawnattr_setsigmask.3
227 MLINKS+=posix_spawnattr_init.3 posix_spawnattr_destroy.3
228 MLINKS+=psignal.3 psiginfo.3 \
229 psignal.3 strsignal.3 \
230 psignal.3 sys_nsig.3 \
231 psignal.3 sys_siglist.3 \
232 psignal.3 sys_signame.3
233 MLINKS+=pwcache.3 gid_from_group.3 \
234 pwcache.3 group_from_gid.3 \
235 pwcache.3 pwcache_groupdb.3 \
236 pwcache.3 pwcache_userdb.3 \
237 pwcache.3 uid_from_user.3 \
238 pwcache.3 user_from_uid.3
239 MLINKS+=rand48.3 drand48.3 \
248 MLINKS+=scandir.3 alphasort.3
249 MLINKS+=setjmp.3 _longjmp.3 \
251 setjmp.3 longjmperr.3 \
252 setjmp.3 longjmperror.3 \
254 setjmp.3 siglongjmp.3 \
256 MLINKS+=setmode.3 getmode.3
257 MLINKS+=shm_open.3 shm_unlink.3
258 MLINKS+=sigsetops.3 sigaddset.3 \
259 sigsetops.3 sigdelset.3 \
260 sigsetops.3 sigemptyset.3 \
261 sigsetops.3 sigfillset.3 \
262 sigsetops.3 sigismember.3
263 MLINKS+=stringlist.3 sl_add.3 \
264 stringlist.3 sl_find.3 \
265 stringlist.3 sl_free.3 \
266 stringlist.3 sl_init.3
267 MLINKS+=strtofflags.3 fflagstostr.3
268 MLINKS+=sysctl.3 sysctlbyname.3 \
269 sysctl.3 sysctlnametomib.3
270 MLINKS+=syslog.3 closelog.3 \
272 syslog.3 setlogmask.3 \
274 MLINKS+=tcsendbreak.3 tcdrain.3 \
275 tcsendbreak.3 tcflow.3 \
276 tcsendbreak.3 tcflush.3
277 MLINKS+=tcsetattr.3 cfgetispeed.3 \
278 tcsetattr.3 cfgetospeed.3 \
279 tcsetattr.3 cfmakeraw.3 \
280 tcsetattr.3 cfmakesane.3 \
281 tcsetattr.3 cfsetispeed.3 \
282 tcsetattr.3 cfsetospeed.3 \
283 tcsetattr.3 cfsetspeed.3 \
284 tcsetattr.3 tcgetattr.3
285 MLINKS+=ttyname.3 isatty.3 \
286 ttyname.3 ttyname_r.3
287 MLINKS+=tzset.3 tzsetwall.3
288 MLINKS+=unvis.3 strnunvis.3 \
289 unvis.3 strnunvisx.3 \
292 MLINKS+=vis.3 nvis.3 \
306 MLINKS+=wordexp.3 wordfree.3