1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 27 include $(SRC)/Makefile.master 28 29 sparc_SUBDIRS= \ 30 SUNWbcp \ 31 SUNWcakr.u \ 32 SUNWcakr.v \ 33 SUNWcakrnt2000.v \ 34 SUNWcar.u \ 35 SUNWcar.v \ 36 SUNWcart200.v \ 37 SUNWcpc.u \ 38 SUNWcpc.v \ 39 SUNWcpr.u \ 40 SUNWcti2.u \ 41 SUNWcvc.u \ 42 SUNWcvcr.u \ 43 SUNWdcsr \ 44 SUNWdcsu \ 45 SUNWdrcr.u \ 46 SUNWdrr.u \ 47 SUNWdscpr.u \ 48 SUNWdscpu.u \ 49 SUNWefcl \ 50 SUNWefcr \ 51 SUNWefcu \ 52 SUNWefc.u \ 53 SUNWefck \ 54 SUNWerid \ 55 SUNWfruip.u \ 56 SUNWfsr \ 57 SUNWfsu \ 58 SUNWhmdu \ 59 SUNWidn.u \ 60 SUNWifp \ 61 SUNWifph \ 62 SUNWkvm.c \ 63 SUNWkvm.d \ 64 SUNWkvm.m \ 65 SUNWkvm.u \ 66 SUNWkvm.v \ 67 SUNWkvmt200.v \ 68 SUNWldomr.v \ 69 SUNWldomu.v \ 70 SUNWluxd.u \ 71 SUNWluxl \ 72 SUNWluxopr \ 73 SUNWn2cp.v \ 74 SUNWniumx.v \ 75 SUNWnxge.u \ 76 SUNWnxge.v \ 77 SUNWonmtst.u \ 78 SUNWonmtst.v \ 79 SUNWiopc.u \ 80 SUNWiopc.v \ 81 SUNWpdu \ 82 SUNWpmcsr \ 83 SUNWpmcsu \ 84 SUNWpstl.u \ 85 SUNWqfed \ 86 SUNWqus \ 87 SUNWsckmr \ 88 SUNWsckmu.u \ 89 SUNWsckm.u \ 90 SUNWsfdr.u \ 91 SUNWsfdrr.u \ 92 SUNWssad \ 93 SUNWus.u \ 94 SUNWust1.v \ 95 SUNWust2.v 96 97 i386_SUBDIRS= \ 98 SUNWad810 \ 99 SUNWadixp \ 100 SUNWagp \ 101 SUNWagph \ 102 SUNWamd8111s \ 103 SUNWahci \ 104 SUNWamr \ 105 SUNWamt \ 106 SUNWamt-lms \ 107 SUNWarcmsr \ 108 SUNWarn \ 109 SUNWatheros \ 110 SUNWatigfx \ 111 SUNWatge \ 112 SUNWatu \ 113 SUNWaudiocmi \ 114 SUNWaudioemu10k \ 115 SUNWaudiohd \ 116 SUNWaudiosolo \ 117 SUNWaudiovia97 \ 118 SUNWbfe \ 119 SUNWcakr.i \ 120 SUNWcakrx.i \ 121 SUNWcar.i \ 122 SUNWcarx.i \ 123 SUNWcpc.i \ 124 SUNWcpr.i \ 125 SUNWdrmr \ 126 SUNWgrub \ 127 SUNWgrubS \ 128 SUNWdcopy \ 129 SUNWfipe \ 130 SUNWfruip.i \ 131 SUNWipw \ 132 SUNWiwh \ 133 SUNWiwi \ 134 SUNWiwk \ 135 SUNWiwp \ 136 SUNWkvm.i \ 137 SUNWlxr \ 138 SUNWlxu \ 139 SUNWmegasas \ 140 SUNWmv88sx \ 141 SUNWmwl \ 142 SUNWbcmsata \ 143 SUNWnge \ 144 SUNWntfsprogs \ 145 SUNWnvsata \ 146 SUNWnxge \ 147 SUNWonmtst.i \ 148 SUNWos86r \ 149 SUNWparted \ 150 SUNWpmcsr \ 151 SUNWpmcsu \ 152 SUNWpsdcr \ 153 SUNWpsdir \ 154 SUNWpsh \ 155 SUNWralink \ 156 SUNWrmodr \ 157 SUNWrmodu \ 158 SUNWrtw \ 159 SUNWrum \ 160 SUNWrwd \ 161 SUNWrwn \ 162 SUNWsdcard \ 163 SUNWsi3124 \ 164 SUNWuath \ 165 SUNWural \ 166 SUNWurtw \ 167 SUNWvia823x \ 168 SUNWwpi \ 169 SUNWxdt \ 170 SUNWxsvc \ 171 SUNWxvmipar \ 172 SUNWxvmipau \ 173 SUNWxvmpv \ 174 SUNWzyd \ 175 SUNWntxn 176 177 i386_XMODS= \ 178 BRCMbnx \ 179 BRCMbnxe \ 180 SUNWadpu320 \ 181 SUNWlsimega 182 183 COMMON_SUBDIRS= \ 184 SUNW1394h \ 185 SUNW1394 \ 186 SUNWaac \ 187 SUNWaccr \ 188 SUNWaccu \ 189 SUNWafe \ 190 SUNWapct \ 191 SUNWauda \ 192 SUNWaudd \ 193 SUNWaudf \ 194 SUNWaudh \ 195 SUNWaudiols \ 196 SUNWaudiop16x \ 197 SUNWaudit \ 198 SUNWatfsr \ 199 SUNWatfsu \ 200 SUNWarc \ 201 SUNWarbel \ 202 SUNWarcr \ 203 SUNWastdev \ 204 SUNWav1394 \ 205 SUNWbart \ 206 SUNWbge \ 207 SUNWbip \ 208 SUNWbipr \ 209 SUNWbnur \ 210 SUNWbnuu \ 211 SUNWbridger \ 212 SUNWbridgeu \ 213 SUNWbsr \ 214 SUNWbsu \ 215 SUNWbtool \ 216 SUNWcdrw \ 217 SUNWcfcl \ 218 SUNWcfclr \ 219 SUNWcfpl \ 220 SUNWcfplr \ 221 SUNWchxge \ 222 SUNWckr \ 223 SUNWcnetr \ 224 SUNWcnsr \ 225 SUNWcnsu \ 226 SUNWcpcu \ 227 SUNWcsd \ 228 SUNWcsr \ 229 SUNWcsu \ 230 SUNWcsl \ 231 SUNWcslr \ 232 SUNWcstl \ 233 SUNWdcaf \ 234 SUNWdcar \ 235 SUNWdhcm \ 236 SUNWdhcsb \ 237 SUNWdhcsr \ 238 SUNWdhcsu \ 239 SUNWdmfe \ 240 SUNWdmgtr \ 241 SUNWdmgtu \ 242 SUNWdsdr \ 243 SUNWdsdu \ 244 SUNWdoc \ 245 SUNWdpl \ 246 SUNWdtrc \ 247 SUNWdtrp \ 248 SUNWdtrt \ 249 SUNWemlxs \ 250 SUNWemlxu \ 251 SUNWesu \ 252 SUNWfchba \ 253 SUNWfchbar \ 254 SUNWfcip \ 255 SUNWfcmdb \ 256 SUNWfcp \ 257 SUNWfcprt \ 258 SUNWfcprtr \ 259 SUNWfcsm \ 260 SUNWfctl \ 261 SUNWfcoe \ 262 SUNWfcoeu \ 263 SUNWfcoet \ 264 SUNWfcoei \ 265 SUNWfilebench \ 266 SUNWfmd \ 267 SUNWfmdr \ 268 SUNWfruid \ 269 SUNWfss \ 270 SUNWftdur \ 271 SUNWftduu \ 272 SUNWftpr \ 273 SUNWftpu \ 274 SUNWfwdc \ 275 SUNWfwdcu \ 276 SUNWfwflash \ 277 SUNWgrubr \ 278 SUNWgssdh \ 279 SUNWgssc \ 280 SUNWgss \ 281 SUNWgssk \ 282 SUNWhal \ 283 SUNWhalr \ 284 SUNWhea \ 285 SUNWhermon \ 286 SUNWhmd \ 287 SUNWhwdata \ 288 SUNWhxge \ 289 SUNWib \ 290 SUNWibdmar \ 291 SUNWibsdpu \ 292 SUNWibsdp \ 293 SUNWiir \ 294 SUNWiiu \ 295 SUNWigb \ 296 SUNWilb \ 297 SUNWilbr \ 298 SUNWima \ 299 SUNWimac \ 300 SUNWimar \ 301 SUNWimacr \ 302 SUNWinstallint \ 303 SUNWintgige \ 304 SUNWiotu \ 305 SUNWioth \ 306 SUNWio-tools \ 307 SUNWipc \ 308 SUNWipfh \ 309 SUNWipfr \ 310 SUNWipfu \ 311 SUNWipoib \ 312 SUNWippcore \ 313 SUNWipplr \ 314 SUNWipplu \ 315 SUNWiscsidmr \ 316 SUNWiscsidmu \ 317 SUNWiscsir \ 318 SUNWiscsitgtr \ 319 SUNWiscsitgtu \ 320 SUNWiscsitr \ 321 SUNWiscsitu \ 322 SUNWiscsiu \ 323 SUNWisns \ 324 SUNWisnsadm \ 325 SUNWisnsr \ 326 SUNWixgb \ 327 SUNWixgbe \ 328 SUNWkrbr \ 329 SUNWkrbu \ 330 SUNWlatencytop \ 331 SUNWldskint \ 332 SUNWlibsasl \ 333 SUNWllc \ 334 SUNWllcr\ 335 SUNWlldap \ 336 SUNWkey \ 337 SUNWloc \ 338 SUNWluxop \ 339 SUNWmdar \ 340 SUNWmdau \ 341 SUNWmdb \ 342 SUNWmdbdm \ 343 SUNWmdbr \ 344 SUNWmddr \ 345 SUNWmdr \ 346 SUNWmdu \ 347 SUNWmibii \ 348 SUNWmmsr \ 349 SUNWmmsu \ 350 SUNWmpapi \ 351 SUNWmpapir \ 352 SUNWmpathadm \ 353 SUNWmpsvplr \ 354 SUNWmptsas \ 355 SUNWmrsas \ 356 SUNWmxfe \ 357 SUNWmyri10ge \ 358 SUNWncar \ 359 SUNWncau \ 360 SUNWndmpr \ 361 SUNWndmpu \ 362 SUNWnetcat \ 363 SUNWnfsckr \ 364 SUNWnfsskr \ 365 SUNWnfssr \ 366 SUNWnfscr \ 367 SUNWnfssu \ 368 SUNWnfscu \ 369 SUNWnisr \ 370 SUNWnisu \ 371 SUNWnwamintr \ 372 SUNWnwamintu \ 373 SUNWonfmes \ 374 SUNWonzfsr \ 375 SUNWonzfs \ 376 SUNWosdem \ 377 SUNWypr \ 378 SUNWypu \ 379 SUNWpacketh \ 380 SUNWpacketu \ 381 SUNWpapi \ 382 SUNWpcan \ 383 SUNWpcelx \ 384 SUNWpcmci \ 385 SUNWpcmcu \ 386 SUNWpcmem \ 387 SUNWpcser \ 388 SUNWpcu \ 389 SUNWpcwl \ 390 SUNWpd \ 391 SUNWperl584core \ 392 SUNWperl584usr \ 393 SUNWpiclh \ 394 SUNWpiclu \ 395 SUNWpiclr \ 396 SUNWpkgcmdsr \ 397 SUNWpkgcmdsu \ 398 SUNWpolkit \ 399 SUNWpool \ 400 SUNWpoold \ 401 SUNWpoolr \ 402 SUNWpowertop \ 403 SUNWppm \ 404 SUNWppmr \ 405 SUNWpppd \ 406 SUNWpppdu \ 407 SUNWpppdr \ 408 SUNWpppdt \ 409 SUNWpppg \ 410 SUNWpppgS \ 411 SUNWpsdpr \ 412 SUNWpsf \ 413 SUNWpsm-ipp \ 414 SUNWpsm-lpd \ 415 SUNWpmr \ 416 SUNWpmu \ 417 SUNWpsr \ 418 SUNWpsu \ 419 SUNWqlc \ 420 SUNWqlcu \ 421 SUNWqos \ 422 SUNWqosu \ 423 SUNWrcapr \ 424 SUNWrcapu \ 425 SUNWrcmdc \ 426 SUNWrcmdr \ 427 SUNWrcmds \ 428 SUNWrdcr \ 429 SUNWrdcu \ 430 SUNWrds \ 431 SUNWrge \ 432 SUNWrmvolmgr \ 433 SUNWrmvolmgrr \ 434 SUNWrmwbr \ 435 SUNWrmwbu \ 436 SUNWroute \ 437 SUNWroutr \ 438 SUNWrpcib \ 439 SUNWrsg \ 440 SUNWrsgk \ 441 SUNWrsm \ 442 SUNWrsmo \ 443 SUNWrtls \ 444 SUNWs10brandr \ 445 SUNWs10brandu \ 446 SUNWsacom \ 447 SUNWsasnm \ 448 SUNWsbp2 \ 449 SUNWscmr \ 450 SUNWscmu \ 451 SUNWscpr \ 452 SUNWscpu \ 453 SUNWscplp \ 454 SUNWscsa1394 \ 455 SUNWscsip \ 456 SUNWses \ 457 SUNWsfe \ 458 SUNWslpr \ 459 SUNWslpu \ 460 SUNWsmapi \ 461 SUNWsmbfskr \ 462 SUNWsmbfsr \ 463 SUNWsmbfsu \ 464 SUNWsmbskr \ 465 SUNWsmbsr \ 466 SUNWsmbsu \ 467 SUNWsmedia \ 468 SUNWsmediar \ 469 SUNWsmhba \ 470 SUNWsmhbar \ 471 SUNWsmpd \ 472 SUNWsn1rint \ 473 SUNWsn1uint \ 474 SUNWsndmr \ 475 SUNWsndmu \ 476 SUNWspnego \ 477 SUNWspsvr \ 478 SUNWspsvu \ 479 SUNWsrptr \ 480 SUNWsrptu \ 481 SUNWsshcu \ 482 SUNWsshr \ 483 SUNWsshu \ 484 SUNWsshdr \ 485 SUNWsshdu \ 486 SUNWstmf \ 487 SUNWstmfu \ 488 SUNWtavor \ 489 SUNWtcpd \ 490 SUNWtcpdS \ 491 SUNWtecla \ 492 SUNWter \ 493 SUNWtftpr \ 494 SUNWtftp \ 495 SUNWtnetc \ 496 SUNWtnetr \ 497 SUNWtnetd \ 498 SUNWtnfc \ 499 SUNWtnfd \ 500 SUNWtoo \ 501 SUNWtpm \ 502 SUNWtsg \ 503 SUNWtsr \ 504 SUNWtsu \ 505 SUNWuacm \ 506 SUNWucbt \ 507 SUNWudaplr \ 508 SUNWudapltr \ 509 SUNWudapltu \ 510 SUNWudaplu \ 511 SUNWudf \ 512 SUNWudfr \ 513 SUNWuedg \ 514 SUNWuftdi \ 515 SUNWugen \ 516 SUNWugenu \ 517 SUNWuksp \ 518 SUNWukspfw \ 519 SUNWuprl \ 520 SUNWusbvc \ 521 SUNWusb \ 522 SUNWusbs \ 523 SUNWusbu \ 524 SUNWuwb \ 525 SUNWvr \ 526 SUNWvrrpr \ 527 SUNWvrrpu \ 528 SUNWvscankr \ 529 SUNWvscanr \ 530 SUNWvscanu \ 531 SUNWwlanr \ 532 SUNWwlanu \ 533 SUNWwpar \ 534 SUNWwpau \ 535 SUNWxcu4 \ 536 SUNWxcu6 \ 537 SUNWxwdv \ 538 SUNWxge \ 539 SUNWyge \ 540 SUNWzfskr \ 541 SUNWzfsr \ 542 SUNWzfsu \ 543 SUNWzoneint \ 544 SUNWzoner \ 545 SUNWzoneu 546 547 COMMON_XMODS= \ 548 SUNWcryptoint \ 549 SUNWibsdpib \ 550 SUNWkdcr \ 551 SUNWkdcu \ 552 SUNWsvvs \ 553 SUNWwbint \ 554 SUNWwbsup 555 556 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) 557 558 XMODS= $($(MACH)_XMODS) $(COMMON_XMODS) 559 560 561 all := TARGET= all 562 install := TARGET= install 563 install_h := TARGET= install_h 564 clean := TARGET= clean 565 clobber := TARGET= clobber 566 567 %: %.ksh 568 $(RM) $@ 569 cp $< $@ 570 chmod +x $@ 571 572 .KEEP_STATE: 573 574 .PARALLEL: $(SUBDIRS) $(XMODS) 575 576 all install: awk_pkginfo $(SUBDIRS) $(XMODS) 577 578 clean clobber: $(SUBDIRS) $(XMODS) 579 $(RM) awk_pkginfo bld_awk_pkginfo 580 581 $(SUBDIRS): FRC 582 @cd $@; pwd; $(MAKE) $(TARGET) 583 584 $(XMODS): FRC 585 @if [ -f $@/Makefile ]; then \ 586 cd $@; pwd; $(MAKE) $(TARGET); \ 587 else \ 588 true; \ 589 fi 590 591 awk_pkginfo: bld_awk_pkginfo 592 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@ -v \ 593 $(ONVERS) 594 595 FRC: 596 597 # EXPORT DELETE START 598 EXPORT_SRC: 599 $(RM) -r $(sparc_XMODS) $(i386_XMODS) $(COMMON_XMODS) 600 $(RM) Makefile+ 601 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 602 < Makefile > Makefile+ 603 $(MV) Makefile+ Makefile 604 $(CHMOD) 444 Makefile 605 $(RM) SUNWos86r/prototype_i386+ 606 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 607 < SUNWos86r/prototype_i386 > SUNWos86r/prototype_i386+ 608 $(MV) -f SUNWos86r/prototype_i386+ SUNWos86r/prototype_i386 609 $(CHMOD) 444 SUNWos86r/prototype_i386 610 $(RM) SUNWcsl/prototype_com+ 611 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 612 < SUNWcsl/prototype_com > SUNWcsl/prototype_com+ 613 $(MV) -f SUNWcsl/prototype_com+ SUNWcsl/prototype_com 614 $(CHMOD) 444 SUNWcsl/prototype_com 615 $(RM) SUNWcsl/prototype_i386+ 616 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 617 < SUNWcsl/prototype_i386 > SUNWcsl/prototype_i386+ 618 $(MV) -f SUNWcsl/prototype_i386+ SUNWcsl/prototype_i386 619 $(CHMOD) 444 SUNWcsl/prototype_i386 620 $(RM) SUNWcsl/prototype_sparc+ 621 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 622 < SUNWcsl/prototype_sparc > SUNWcsl/prototype_sparc+ 623 $(MV) -f SUNWcsl/prototype_sparc+ SUNWcsl/prototype_sparc 624 $(CHMOD) 444 SUNWcsl/prototype_sparc 625 626 CRYPT_SRC: 627 $(RM) SUNWcryptoint/prototype_com+ 628 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \ 629 < SUNWcryptoint/prototype_com > SUNWcryptoint/prototype_com+ 630 $(MV) -f SUNWcryptoint/prototype_com+ SUNWcryptoint/prototype_com 631 $(CHMOD) 444 SUNWcryptoint/prototype_com 632 633 # EXPORT DELETE END 634