Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libast/Makefile.com
+++ new/usr/src/lib/libast/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 +# Copyright (c) 2018, Joyent, Inc.
25 26
26 27 SHELL=/usr/bin/ksh93
27 28
28 29 LIBRARY= libast.a
29 30 VERS= .1
30 31
31 32 # platform-independent sources are in common/
32 33 OBJECTS += \
33 34 common/cdt/dtclose.o \
34 35 common/cdt/dtdisc.o \
35 36 common/cdt/dtextract.o \
36 37 common/cdt/dtflatten.o \
37 38 common/cdt/dthash.o \
38 39 common/cdt/dtlist.o \
39 40 common/cdt/dtmethod.o \
40 41 common/cdt/dtnew.o \
41 42 common/cdt/dtopen.o \
42 43 common/cdt/dtrenew.o \
43 44 common/cdt/dtrestore.o \
44 45 common/cdt/dtsize.o \
45 46 common/cdt/dtstat.o \
46 47 common/cdt/dtstrhash.o \
47 48 common/cdt/dttree.o \
48 49 common/cdt/dttreeset.o \
49 50 common/cdt/dtview.o \
50 51 common/cdt/dtwalk.o \
51 52 common/comp/atexit.o \
52 53 common/comp/basename.o \
53 54 common/comp/catopen.o \
54 55 common/comp/closelog.o \
55 56 common/comp/creat64.o \
56 57 common/comp/dirname.o \
57 58 common/comp/dup2.o \
58 59 common/comp/eaccess.o \
59 60 common/comp/errno.o \
60 61 common/comp/execlp.o \
61 62 common/comp/execve.o \
62 63 common/comp/execvp.o \
63 64 common/comp/execvpe.o \
64 65 common/comp/fcntl.o \
65 66 common/comp/fmtmsglib.o \
66 67 common/comp/fnmatch.o \
67 68 common/comp/frexp.o \
68 69 common/comp/frexpl.o \
69 70 common/comp/fsync.o \
70 71 common/comp/ftw.o \
71 72 common/comp/getdate.o \
72 73 common/comp/getgroups.o \
73 74 common/comp/getlogin.o \
74 75 common/comp/getopt.o \
75 76 common/comp/getoptl.o \
76 77 common/comp/getpgrp.o \
77 78 common/comp/getsubopt.o \
78 79 common/comp/getwd.o \
79 80 common/comp/gross.o \
80 81 common/comp/hsearch.o \
81 82 common/comp/iconv.o \
82 83 common/comp/killpg.o \
83 84 common/comp/link.o \
84 85 common/comp/localeconv.o \
85 86 common/comp/lstat.o \
86 87 common/comp/memccpy.o \
87 88 common/comp/memchr.o \
88 89 common/comp/memcmp.o \
89 90 common/comp/memcpy.o \
90 91 common/comp/memmove.o \
91 92 common/comp/memset.o \
92 93 common/comp/mkdir.o \
93 94 common/comp/mkfifo.o \
94 95 common/comp/mknod.o \
95 96 common/comp/mktemp.o \
96 97 common/comp/mktime.o \
97 98 common/comp/mount.o \
98 99 common/comp/nftw.o \
99 100 common/comp/omitted.o \
100 101 common/comp/open.o \
101 102 common/comp/openlog.o \
102 103 common/comp/putenv.o \
103 104 common/comp/re_comp.o \
104 105 common/comp/readlink.o \
105 106 common/comp/realpath.o \
106 107 common/comp/regcmp.o \
107 108 common/comp/regexp.o \
108 109 common/comp/remove.o \
109 110 common/comp/rename.o \
110 111 common/comp/resolvepath.o \
111 112 common/comp/rmdir.o \
112 113 common/comp/setenv.o \
113 114 common/comp/setlocale.o \
114 115 common/comp/setlogmask.o \
115 116 common/comp/setpgid.o \
116 117 common/comp/setsid.o \
117 118 common/comp/sigunblock.o \
118 119 common/comp/sigflag.o \
119 120 common/comp/spawnveg.o \
120 121 common/comp/statvfs.o \
121 122 common/comp/strcasecmp.o \
122 123 common/comp/strchr.o \
123 124 common/comp/strftime.o \
124 125 common/comp/strncasecmp.o \
125 126 common/comp/strptime.o \
126 127 common/comp/strrchr.o \
127 128 common/comp/strstr.o \
128 129 common/comp/strtod.o \
129 130 common/comp/strtol.o \
130 131 common/comp/strtold.o \
131 132 common/comp/strtoll.o \
132 133 common/comp/strtoul.o \
133 134 common/comp/strtoull.o \
134 135 common/comp/swab.o \
135 136 common/comp/symlink.o \
136 137 common/comp/syslog.o \
137 138 common/comp/system.o \
138 139 common/comp/tempnam.o \
139 140 common/comp/tmpnam.o \
140 141 common/comp/transition.o \
141 142 common/comp/tsearch.o \
142 143 common/comp/unlink.o \
143 144 common/comp/unsetenv.o \
144 145 common/comp/vfork.o \
145 146 common/comp/waitpid.o \
146 147 common/comp/wc.o \
147 148 common/comp/wordexp.o \
148 149 common/dir/getdents.o \
149 150 common/dir/opendir.o \
150 151 common/dir/readdir.o \
151 152 common/dir/rewinddir.o \
152 153 common/dir/seekdir.o \
153 154 common/dir/telldir.o \
154 155 common/disc/memfatal.o \
155 156 common/disc/sfdcdio.o \
156 157 common/disc/sfdcdos.o \
157 158 common/disc/sfdcfilter.o \
158 159 common/disc/sfdcmore.o \
159 160 common/disc/sfdcprefix.o \
160 161 common/disc/sfdcseekable.o \
161 162 common/disc/sfdcslow.o \
162 163 common/disc/sfdcsubstr.o \
163 164 common/disc/sfdctee.o \
164 165 common/disc/sfdcunion.o \
165 166 common/disc/sfkeyprintf.o \
166 167 common/disc/sfstrtmp.o \
167 168 common/hash/hashalloc.o \
168 169 common/hash/hashdump.o \
169 170 common/hash/hashfree.o \
170 171 common/hash/hashlast.o \
171 172 common/hash/hashlook.o \
172 173 common/hash/hashscan.o \
173 174 common/hash/hashsize.o \
174 175 common/hash/hashview.o \
175 176 common/hash/hashwalk.o \
176 177 common/hash/memhash.o \
177 178 common/hash/memsum.o \
178 179 common/hash/strhash.o \
179 180 common/hash/strkey.o \
180 181 common/hash/strsum.o \
181 182 common/misc/astintercept.o \
182 183 common/misc/debug.o \
183 184 common/misc/cmdarg.o \
184 185 common/misc/error.o \
185 186 common/misc/errorf.o \
186 187 common/misc/errormsg.o \
187 188 common/misc/errorx.o \
188 189 common/misc/fastfind.o \
189 190 common/misc/fmtrec.o \
190 191 common/misc/fs3d.o \
191 192 common/misc/fts.o \
192 193 common/misc/ftwalk.o \
193 194 common/misc/ftwflags.o \
194 195 common/misc/getcwd.o \
195 196 common/misc/getenv.o \
196 197 common/misc/glob.o \
197 198 common/misc/magic.o \
198 199 common/misc/mime.o \
199 200 common/misc/mimetype.o \
200 201 common/misc/optesc.o \
201 202 common/misc/optget.o \
202 203 common/misc/optjoin.o \
203 204 common/misc/optctx.o \
204 205 common/misc/procclose.o \
205 206 common/misc/procfree.o \
206 207 common/misc/procopen.o \
207 208 common/misc/procrun.o \
208 209 common/misc/recfmt.o \
209 210 common/misc/reclen.o \
210 211 common/misc/recstr.o \
211 212 common/misc/setenviron.o \
212 213 common/misc/sigcrit.o \
213 214 common/misc/sigdata.o \
214 215 common/misc/signal.o \
215 216 common/misc/stack.o \
216 217 common/misc/state.o \
217 218 common/misc/stk.o \
218 219 common/misc/systrace.o \
219 220 common/misc/translate.o \
220 221 common/misc/univdata.o \
221 222 common/obsolete/spawn.o \
222 223 common/path/pathaccess.o \
223 224 common/path/pathbin.o \
224 225 common/path/pathcanon.o \
225 226 common/path/pathcat.o \
226 227 common/path/pathcd.o \
227 228 common/path/pathcheck.o \
228 229 common/path/pathexists.o \
229 230 common/path/pathfind.o \
230 231 common/path/pathgetlink.o \
231 232 common/path/pathkey.o \
232 233 common/path/pathnative.o \
233 234 common/path/pathpath.o \
234 235 common/path/pathposix.o \
235 236 common/path/pathprobe.o \
236 237 common/path/pathprog.o \
237 238 common/path/pathrepl.o \
238 239 common/path/pathsetlink.o \
239 240 common/path/pathshell.o \
240 241 common/path/pathstat.o \
241 242 common/path/pathtemp.o \
242 243 common/path/pathtmp.o \
243 244 common/port/astconf.o \
244 245 common/port/astcopy.o \
245 246 common/port/astdynamic.o \
246 247 common/port/astlicense.o \
247 248 common/port/astquery.o \
248 249 common/port/aststatic.o \
249 250 common/port/astwinsize.o \
250 251 common/port/iblocks.o \
251 252 common/port/lc.o \
252 253 common/port/mc.o \
253 254 common/port/mnt.o \
254 255 common/port/touch.o \
255 256 common/preroot/getpreroot.o \
256 257 common/preroot/ispreroot.o \
257 258 common/preroot/realopen.o \
258 259 common/preroot/setpreroot.o \
259 260 common/regex/regalloc.o \
260 261 common/regex/regcache.o \
261 262 common/regex/regclass.o \
262 263 common/regex/regcoll.o \
263 264 common/regex/regcomp.o \
264 265 common/regex/regdecomp.o \
265 266 common/regex/regerror.o \
266 267 common/regex/regexec.o \
267 268 common/regex/regfatal.o \
268 269 common/regex/reginit.o \
269 270 common/regex/regnexec.o \
270 271 common/regex/regrecord.o \
271 272 common/regex/regrexec.o \
272 273 common/regex/regstat.o \
273 274 common/regex/regsub.o \
274 275 common/regex/regsubcomp.o \
275 276 common/regex/regsubexec.o \
276 277 common/sfio/_sfclrerr.o \
277 278 common/sfio/_sfdlen.o \
278 279 common/sfio/_sfeof.o \
279 280 common/sfio/_sferror.o \
280 281 common/sfio/_sffileno.o \
281 282 common/sfio/_sfgetc.o \
282 283 common/sfio/_sfgetl.o \
283 284 common/sfio/_sfgetl2.o \
284 285 common/sfio/_sfgetu.o \
285 286 common/sfio/_sfgetu2.o \
286 287 common/sfio/_sfllen.o \
287 288 common/sfio/_sfopen.o \
288 289 common/sfio/_sfputc.o \
289 290 common/sfio/_sfputd.o \
290 291 common/sfio/_sfputl.o \
291 292 common/sfio/_sfputm.o \
292 293 common/sfio/_sfputu.o \
293 294 common/sfio/_sfslen.o \
294 295 common/sfio/_sfstacked.o \
295 296 common/sfio/_sfulen.o \
296 297 common/sfio/_sfvalue.o \
297 298 common/sfio/sfclose.o \
298 299 common/sfio/sfclrlock.o \
299 300 common/sfio/sfcvt.o \
300 301 common/sfio/sfdisc.o \
301 302 common/sfio/sfdlen.o \
302 303 common/sfio/sfecvt.o \
303 304 common/sfio/sfexcept.o \
304 305 common/sfio/sfextern.o \
305 306 common/sfio/sffcvt.o \
306 307 common/sfio/sffilbuf.o \
307 308 common/sfio/sfflsbuf.o \
308 309 common/sfio/sfgetd.o \
309 310 common/sfio/sfgetl.o \
310 311 common/sfio/sfgetm.o \
311 312 common/sfio/sfgetr.o \
312 313 common/sfio/sfgetu.o \
313 314 common/sfio/sfllen.o \
314 315 common/sfio/sfmode.o \
315 316 common/sfio/sfmove.o \
316 317 common/sfio/sfmutex.o \
317 318 common/sfio/sfnew.o \
318 319 common/sfio/sfnotify.o \
319 320 common/sfio/sfnputc.o \
320 321 common/sfio/sfopen.o \
321 322 common/sfio/sfpeek.o \
322 323 common/sfio/sfpkrd.o \
323 324 common/sfio/sfpoll.o \
324 325 common/sfio/sfpool.o \
325 326 common/sfio/sfpopen.o \
326 327 common/sfio/sfprintf.o \
327 328 common/sfio/sfprints.o \
328 329 common/sfio/sfpurge.o \
329 330 common/sfio/sfputd.o \
330 331 common/sfio/sfputl.o \
331 332 common/sfio/sfputm.o \
332 333 common/sfio/sfputr.o \
333 334 common/sfio/sfputu.o \
334 335 common/sfio/sfraise.o \
335 336 common/sfio/sfrd.o \
336 337 common/sfio/sfread.o \
337 338 common/sfio/sfreserve.o \
338 339 common/sfio/sfresize.o \
339 340 common/sfio/sfscanf.o \
340 341 common/sfio/sfseek.o \
341 342 common/sfio/sfset.o \
342 343 common/sfio/sfsetbuf.o \
343 344 common/sfio/sfsetfd.o \
344 345 common/sfio/sfsize.o \
345 346 common/sfio/sfsk.o \
346 347 common/sfio/sfstack.o \
347 348 common/sfio/sfstrtod.o \
348 349 common/sfio/sfswap.o \
349 350 common/sfio/sfsync.o \
350 351 common/sfio/sftable.o \
351 352 common/sfio/sftell.o \
352 353 common/sfio/sftmp.o \
353 354 common/sfio/sfungetc.o \
354 355 common/sfio/sfvprintf.o \
355 356 common/sfio/sfvscanf.o \
356 357 common/sfio/sfwalk.o \
357 358 common/sfio/sfwr.o \
358 359 common/sfio/sfwrite.o \
359 360 common/stdio/_doprnt.o \
360 361 common/stdio/_doscan.o \
361 362 common/stdio/_filbuf.o \
362 363 common/stdio/_flsbuf.o \
363 364 common/stdio/_stdfun.o \
364 365 common/stdio/_stdopen.o \
365 366 common/stdio/_stdprintf.o \
366 367 common/stdio/_stdscanf.o \
367 368 common/stdio/_stdsprnt.o \
368 369 common/stdio/_stdvbuf.o \
369 370 common/stdio/_stdvsnprnt.o \
370 371 common/stdio/_stdvsprnt.o \
371 372 common/stdio/_stdvsscn.o \
372 373 common/stdio/asprintf.o \
373 374 common/stdio/clearerr.o \
374 375 common/stdio/fclose.o \
375 376 common/stdio/fcloseall.o \
376 377 common/stdio/fdopen.o \
377 378 common/stdio/feof.o \
378 379 common/stdio/ferror.o \
379 380 common/stdio/fflush.o \
380 381 common/stdio/fgetc.o \
381 382 common/stdio/fgetpos.o \
382 383 common/stdio/fgets.o \
383 384 common/stdio/fgetwc.o \
384 385 common/stdio/fgetws.o \
385 386 common/stdio/fileno.o \
386 387 common/stdio/flockfile.o \
387 388 common/stdio/fmemopen.o \
388 389 common/stdio/fopen.o \
389 390 common/stdio/fprintf.o \
390 391 common/stdio/fpurge.o \
391 392 common/stdio/fputc.o \
392 393 common/stdio/fputs.o \
393 394 common/stdio/fputwc.o \
394 395 common/stdio/fputws.o \
395 396 common/stdio/funlockfile.o \
396 397 common/stdio/fread.o \
397 398 common/stdio/freopen.o \
398 399 common/stdio/fscanf.o \
399 400 common/stdio/fseek.o \
400 401 common/stdio/fseeko.o \
401 402 common/stdio/fsetpos.o \
402 403 common/stdio/ftell.o \
403 404 common/stdio/ftello.o \
404 405 common/stdio/ftrylockfile.o \
405 406 common/stdio/fwide.o \
406 407 common/stdio/fwprintf.o \
407 408 common/stdio/fwrite.o \
408 409 common/stdio/fwscanf.o \
409 410 common/stdio/getc.o \
410 411 common/stdio/getchar.o \
411 412 common/stdio/getdelim.o \
412 413 common/stdio/getline.o \
413 414 common/stdio/getw.o \
414 415 common/stdio/getwc.o \
415 416 common/stdio/getwchar.o \
416 417 common/stdio/pclose.o \
417 418 common/stdio/popen.o \
418 419 common/stdio/printf.o \
419 420 common/stdio/putc.o \
420 421 common/stdio/putchar.o \
421 422 common/stdio/puts.o \
422 423 common/stdio/putw.o \
423 424 common/stdio/putwc.o \
424 425 common/stdio/putwchar.o \
425 426 common/stdio/rewind.o \
426 427 common/stdio/scanf.o \
427 428 common/stdio/setbuf.o \
428 429 common/stdio/setbuffer.o \
429 430 common/stdio/setlinebuf.o \
430 431 common/stdio/setvbuf.o \
431 432 common/stdio/snprintf.o \
432 433 common/stdio/sprintf.o \
433 434 common/stdio/sscanf.o \
434 435 common/stdio/stdio_c99.o \
435 436 common/stdio/swprintf.o \
436 437 common/stdio/swscanf.o \
437 438 common/stdio/tmpfile.o \
438 439 common/stdio/ungetc.o \
439 440 common/stdio/ungetwc.o \
440 441 common/stdio/vasprintf.o \
441 442 common/stdio/vfprintf.o \
442 443 common/stdio/vfscanf.o \
443 444 common/stdio/vfwprintf.o \
444 445 common/stdio/vfwscanf.o \
445 446 common/stdio/vprintf.o \
446 447 common/stdio/vscanf.o \
447 448 common/stdio/vsnprintf.o \
448 449 common/stdio/vsprintf.o \
449 450 common/stdio/vsscanf.o \
450 451 common/stdio/vswprintf.o \
451 452 common/stdio/vswscanf.o \
452 453 common/stdio/vwprintf.o \
453 454 common/stdio/vwscanf.o \
454 455 common/stdio/wprintf.o \
455 456 common/stdio/wscanf.o \
456 457 common/string/base64.o \
457 458 common/string/ccmap.o \
458 459 common/string/ccmapid.o \
459 460 common/string/ccnative.o \
460 461 common/string/chresc.o \
461 462 common/string/chrtoi.o \
462 463 common/string/fmtbase.o \
463 464 common/string/fmtbuf.o \
464 465 common/string/fmtclock.o \
465 466 common/string/fmtdev.o \
466 467 common/string/fmtelapsed.o \
467 468 common/string/fmterror.o \
468 469 common/string/fmtesc.o \
469 470 common/string/fmtfmt.o \
470 471 common/string/fmtfs.o \
471 472 common/string/fmtgid.o \
472 473 common/string/fmtident.o \
473 474 common/string/fmtip4.o \
474 475 common/string/fmtip6.o \
475 476 common/string/fmtls.o \
476 477 common/string/fmtmatch.o \
477 478 common/string/fmtmode.o \
478 479 common/string/fmtnum.o \
479 480 common/string/fmtperm.o \
480 481 common/string/fmtre.o \
481 482 common/string/fmtscale.o \
482 483 common/string/fmtsignal.o \
483 484 common/string/fmttime.o \
484 485 common/string/fmttmx.o \
485 486 common/string/fmttv.o \
486 487 common/string/fmtuid.o \
487 488 common/string/fmtversion.o \
488 489 common/string/memdup.o \
489 490 common/string/modedata.o \
490 491 common/string/modei.o \
491 492 common/string/modex.o \
492 493 common/string/stracmp.o \
493 494 common/string/strcopy.o \
494 495 common/string/strdup.o \
495 496 common/string/strelapsed.o \
496 497 common/string/strerror.o \
497 498 common/string/stresc.o \
498 499 common/string/streval.o \
499 500 common/string/strexpr.o \
500 501 common/string/strgid.o \
501 502 common/string/strlcat.o \
502 503 common/string/strlcpy.o \
503 504 common/string/strlook.o \
504 505 common/string/strmatch.o \
505 506 common/string/strmode.o \
506 507 common/string/strnacmp.o \
507 508 common/string/strncopy.o \
508 509 common/string/strnpcmp.o \
509 510 common/string/strntod.o \
510 511 common/string/strntol.o \
511 512 common/string/strntold.o \
512 513 common/string/strntoll.o \
513 514 common/string/strnton.o \
514 515 common/string/strntoul.o \
515 516 common/string/strntonll.o \
516 517 common/string/strntoull.o \
517 518 common/string/strnvcmp.o \
518 519 common/string/stropt.o \
519 520 common/string/strpcmp.o \
520 521 common/string/strperm.o \
521 522 common/string/strpsearch.o \
522 523 common/string/strsearch.o \
523 524 common/string/strsort.o \
524 525 common/string/strtape.o \
525 526 common/string/strtoip4.o \
526 527 common/string/strtoip6.o \
527 528 common/string/strton.o \
528 529 common/string/strtonll.o \
529 530 common/string/struid.o \
530 531 common/string/struniq.o \
531 532 common/string/strvcmp.o \
532 533 common/string/swapget.o \
533 534 common/string/swapmem.o \
534 535 common/string/swapop.o \
535 536 common/string/swapput.o \
536 537 common/string/tok.o \
537 538 common/string/tokline.o \
538 539 common/string/tokscan.o \
539 540 common/tm/tmdata.o \
540 541 common/tm/tmdate.o \
541 542 common/tm/tmequiv.o \
542 543 common/tm/tmfix.o \
543 544 common/tm/tmfmt.o \
544 545 common/tm/tmform.o \
545 546 common/tm/tmgoff.o \
546 547 common/tm/tminit.o \
547 548 common/tm/tmleap.o \
548 549 common/tm/tmlex.o \
549 550 common/tm/tmlocale.o \
550 551 common/tm/tmmake.o \
551 552 common/tm/tmpoff.o \
552 553 common/tm/tmscan.o \
553 554 common/tm/tmsleep.o \
554 555 common/tm/tmtime.o \
555 556 common/tm/tmtype.o \
556 557 common/tm/tmweek.o \
557 558 common/tm/tmword.o \
558 559 common/tm/tmxdate.o \
559 560 common/tm/tmxduration.o \
560 561 common/tm/tmxfmt.o \
561 562 common/tm/tmxgettime.o \
562 563 common/tm/tmxleap.o \
563 564 common/tm/tmxmake.o \
564 565 common/tm/tmxscan.o \
565 566 common/tm/tmxsettime.o \
566 567 common/tm/tmxsleep.o \
567 568 common/tm/tmxtime.o \
568 569 common/tm/tmxtouch.o \
569 570 common/tm/tmzone.o \
570 571 common/tm/tvcmp.o \
571 572 common/tm/tvgettime.o \
572 573 common/tm/tvsettime.o \
573 574 common/tm/tvsleep.o \
574 575 common/tm/tvtouch.o \
575 576 common/uwin/a64l.o \
576 577 common/uwin/acosh.o \
577 578 common/uwin/asinh.o \
578 579 common/uwin/atanh.o \
579 580 common/uwin/cbrt.o \
580 581 common/uwin/crypt.o \
581 582 common/uwin/erf.o \
582 583 common/uwin/err.o \
583 584 common/uwin/exp.o \
584 585 common/uwin/exp__E.o \
585 586 common/uwin/expm1.o \
586 587 common/uwin/gamma.o \
587 588 common/uwin/getpass.o \
588 589 common/uwin/lgamma.o \
589 590 common/uwin/log.o \
590 591 common/uwin/log1p.o \
591 592 common/uwin/log__L.o \
592 593 common/uwin/rand48.o \
593 594 common/uwin/random.o \
594 595 common/uwin/rcmd.o \
595 596 common/uwin/rint.o \
596 597 common/uwin/support.o \
597 598 common/vec/vecargs.o \
598 599 common/vec/vecfile.o \
599 600 common/vec/vecfree.o \
600 601 common/vec/vecload.o \
601 602 common/vec/vecstring.o \
602 603 common/vmalloc/malloc.o \
603 604 common/vmalloc/vmbest.o \
604 605 common/vmalloc/vmclear.o \
605 606 common/vmalloc/vmclose.o \
606 607 common/vmalloc/vmdcheap.o \
607 608 common/vmalloc/vmdebug.o \
608 609 common/vmalloc/vmdisc.o \
609 610 common/vmalloc/vmexit.o \
610 611 common/vmalloc/vmgetmem.o \
611 612 common/vmalloc/vmlast.o \
612 613 common/vmalloc/vmmopen.o \
613 614 common/vmalloc/vmopen.o \
614 615 common/vmalloc/vmpool.o \
615 616 common/vmalloc/vmprivate.o \
616 617 common/vmalloc/vmprofile.o \
617 618 common/vmalloc/vmregion.o \
618 619 common/vmalloc/vmsegment.o \
619 620 common/vmalloc/vmset.o \
620 621 common/vmalloc/vmstat.o \
621 622 common/vmalloc/vmstrdup.o \
622 623 common/vmalloc/vmtrace.o \
623 624 common/vmalloc/vmwalk.o
624 625
625 626 # We are storing the object files into subdirs avoid the
626 627 # confusion with having 550+ object files in the toplevel pics/
627 628 # directory (this matches the way how the original AST build system
628 629 # deals with this "logistic" issue) - the rules below ensure that
629 630 # the destination directory is available.
630 631 OBJDIRS += \
631 632 common/cdt \
632 633 common/comp \
633 634 common/dir \
634 635 common/disc \
635 636 common/hash \
636 637 common/misc \
637 638 common/obsolete \
638 639 common/path \
639 640 common/port \
640 641 common/preroot \
641 642 common/regex \
642 643 common/sfio \
643 644 common/stdio \
644 645 common/string \
645 646 common/tm \
646 647 common/uwin \
647 648 common/vec \
648 649 common/vmalloc
649 650 PICSDIRS= $(OBJDIRS:%=pics/%)
650 651 mkpicdirs:
651 652 @mkdir -p $(PICSDIRS)
652 653
653 654 # We need our own rules here since some source files come from
654 655 # the plaftorm-specific directories and the default rules do
655 656 # not cover this
656 657 pics/%.o: ../%.c
657 658 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
658 659 $(POST_PROCESS_O)
659 660
660 661 include ../../Makefile.astmsg
661 662
662 663 include ../../Makefile.lib
663 664
664 665 # mapfile-vers does not live with the sources in in common/ to make
665 666 # automated code updates easier.
666 667 MAPFILES= ../mapfile-vers
667 668
668 669 # Set common AST build flags (e.g. C99/XPG6, needed to support the math stuff)
669 670 include ../../../Makefile.ast
670 671
671 672 # special rule because sources live both ../common (normal)
672 673 # and $(TRANSMACH) (generated)
673 674 SRCS= $(OBJECTS:%.o=../%.c)
674 675
675 676 LIBS = $(DYNLIB) $(LINTLIB)
676 677
677 678 LDLIBS += \
678 679 -lsocket \
679 680 -lm \
680 681 -lc
681 682
682 683 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
683 684
684 685 SRCDIR = ../common
685 686
686 687 # We use "=" here since using $(CPPFLAGS.master) is very tricky in our
687 688 # case - it MUST come as the last element but future changes in -D options
688 689 # may then cause silent breakage in the AST sources because the last -D
689 690 # option specified overrides previous -D options so we prefer the current
690 691 # way to explicitly list each single flag.
691 692 # Notes:
692 693 # - "-D_BLD_DLL" comes from ${mam_cc_DLL} in Mamfile
693 694 # - Be careful with "-D__OBSOLETE__=xxx". Make sure this is in sync with
694 695 # upstream (see Mamfile) and do not change the |__OBSOLETE__| value
695 696 # without examining the symbols that will be removed, and evaluating
696 697 # whether that breaks compatibility with upstream binaries.
697 698 CPPFLAGS = \
698 699 $(DTEXTDOM) $(DTS_ERRNO) \
699 700 $(ASTPLATFORMCPPFLAGS) \
700 701 -Isrc/lib/libast \
701 702 -I$(SRCDIR) \
702 703 -I$(SRCDIR)/comp \
703 704 -I$(SRCDIR)/include \
704 705 -I$(SRCDIR)/std \
705 706 -I$(SRCDIR)/dir \
706 707 -I$(SRCDIR)/port \
707 708 -I$(SRCDIR)/sfio \
708 709 -I$(SRCDIR)/astsa \
709 710 -I$(SRCDIR)/misc \
710 711 -I$(SRCDIR)/string \
711 712 -Iinclude/ast \
712 713 -I$(ROOT)/usr/include \
713 714 '-DCONF_LIBSUFFIX=".so"' \
714 715 '-DCONF_LIBPREFIX="lib"' \
715 716 -DERROR_CATALOG=\""libast"\" \
716 717 -D__OBSOLETE__=20100101 \
717 718 -D_BLD_ast \
718 719 -D_PACKAGE_ast \
719 720 -D_BLD_DLL
720 721
721 722 CFLAGS += \
722 723 $(ASTCFLAGS)
723 724 CFLAGS64 += \
724 725 $(ASTCFLAGS64)
725 726
726 727 CERRWARN += -_gcc=-Wno-parentheses
727 728 CERRWARN += -_gcc=-Wno-uninitialized
728 729 CERRWARN += -_gcc=-Wno-char-subscripts
729 730 CERRWARN += -_gcc=-Wno-clobbered
730 731 CERRWARN += -_gcc=-Wno-unused-variable
↓ open down ↓ |
696 lines elided |
↑ open up ↑ |
731 732 CERRWARN += -_gcc=-Wno-unused-but-set-variable
732 733 CERRWARN += -_gcc=-Wno-unused-but-set-parameter
733 734 CERRWARN += -_gcc=-Wno-unused-value
734 735 CERRWARN += -_gcc=-Wno-unused-function
735 736 CERRWARN += -_gcc=-Wno-unused-label
736 737 CERRWARN += -_gcc=-Wno-implicit-function-declaration
737 738 CERRWARN += -_gcc=-Wno-empty-body
738 739 CERRWARN += -_gcc=-Wno-type-limits
739 740 CERRWARN += -_gcc=-Wno-address
740 741
742 +SMATCH=off
743 +
741 744 pics/$(MACH)/src/lib/libast/conftab.o \
742 745 pics/$(MACH64)/src/lib/libast/conftab.o := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
743 746 pics/common/comp/setlocale.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
744 747 pics/common/comp/setlocale.o := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
745 748 pics/common/comp/setlocale.o := CERRWARN += -erroff=E_INIT_SIGN_EXTEND
746 749 pics/common/hash/hashlook.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
747 750 pics/common/hash/memhash.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
748 751 pics/common/hash/memsum.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
749 752 pics/common/hash/strhash.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
750 753 pics/common/hash/strsum.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
751 754 pics/common/misc/recstr.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
752 755 pics/common/misc/translate.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
753 756 pics/common/path/pathkey.o := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
754 757 pics/common/port/astconf.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
755 758 pics/common/stdio/fflush.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
756 759 pics/common/stdio/getline.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
757 760 pics/common/sfio/sfmove.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
758 761 pics/common/sfio/sfrd.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
759 762 pics/common/sfio/sfvscanf.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
760 763 pics/common/tm/tmxduration.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
761 764
762 765 .KEEP_STATE:
763 766
764 767 all: mkpicdirs .WAIT $(LIBS)
765 768
766 769 #
767 770 # libast is not lint-clean yet; fake up a target. (You can use
768 771 # "make lintcheck" to actually run lint; please send all lint fixes
769 772 # upstream (to AT&T) so the next update will pull them into ON.)
770 773 #
771 774 lint:
772 775 @ print "usr/src/lib/libast is not lint-clean: skipping"
773 776
774 777 include ../../Makefile.targ
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX