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 SUNWfruid \ 56 SUNWfruip.u \ 57 SUNWfsr \ 58 SUNWfsu \ 59 SUNWhmdu \ 60 SUNWidn.u \ 61 SUNWifp \ 62 SUNWifph \ 63 SUNWkvm.c \ 64 SUNWkvm.d \ 65 SUNWkvm.m \ 66 SUNWkvm.u \ 67 SUNWkvm.v \ 68 SUNWkvmt200.v \ 69 SUNWldomr.v \ 70 SUNWldomu.v \ 71 SUNWluxd.u \ 72 SUNWluxl \ 73 SUNWluxopr \ 74 SUNWn2cp.v \ 75 SUNWniumx.v \ 76 SUNWnxge.u \ 77 SUNWnxge.v \ 78 SUNWonmtst.u \ 79 SUNWonmtst.v \ 80 SUNWiopc.u \ 81 SUNWiopc.v \ 82 SUNWpdu \ 83 SUNWpmcsr \ 84 SUNWpmcsu \ 85 SUNWpstl.u \ 86 SUNWqfed \ 87 SUNWqus \ 88 SUNWsckmr \ 89 SUNWsckmu.u \ 90 SUNWsckm.u \ 91 SUNWsfdr.u \ 92 SUNWsfdrr.u \ 93 SUNWssad \ 94 SUNWus.u \ 95 SUNWust1.v \ 96 SUNWust2.v 97 98 i386_SUBDIRS= \ 99 SUNWad810 \ 100 SUNWadixp \ 101 SUNWagp \ 102 SUNWagph \ 103 SUNWamd8111s \ 104 SUNWahci \ 105 SUNWamr \ 106 SUNWamt \ 107 SUNWamt-lms \ 108 SUNWarcmsr \ 109 SUNWarn \ 110 SUNWatheros \ 111 SUNWatigfx \ 112 SUNWatge \ 113 SUNWatu \ 114 SUNWaudiocmi \ 115 SUNWaudioemu10k \ 116 SUNWaudiohd \ 117 SUNWaudiosolo \ 118 SUNWaudiovia97 \ 119 SUNWbfe \ 120 SUNWcakr.i \ 121 SUNWcakrx.i \ 122 SUNWcar.i \ 123 SUNWcarx.i \ 124 SUNWcpc.i \ 125 SUNWcpr.i \ 126 SUNWdrmr \ 127 SUNWgrub \ 128 SUNWgrubS \ 129 SUNWdcopy \ 130 SUNWfipe \ 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 SUNWfss \ 269 SUNWftdur \ 270 SUNWftduu \ 271 SUNWftpr \ 272 SUNWftpu \ 273 SUNWfwdc \ 274 SUNWfwdcu \ 275 SUNWfwflash \ 276 SUNWgrubr \ 277 SUNWgssdh \ 278 SUNWgssc \ 279 SUNWgss \ 280 SUNWgssk \ 281 SUNWhal \ 282 SUNWhalr \ 283 SUNWhea \ 284 SUNWhermon \ 285 SUNWhmd \ 286 SUNWhwdata \ 287 SUNWhxge \ 288 SUNWib \ 289 SUNWibdmar \ 290 SUNWibsdpu \ 291 SUNWibsdp \ 292 SUNWiir \ 293 SUNWiiu \ 294 SUNWigb \ 295 SUNWilb \ 296 SUNWilbr \ 297 SUNWima \ 298 SUNWimac \ 299 SUNWimar \ 300 SUNWimacr \ 301 SUNWinstallint \ 302 SUNWintgige \ 303 SUNWiotu \ 304 SUNWioth \ 305 SUNWio-tools \ 306 SUNWipc \ 307 SUNWipfh \ 308 SUNWipfr \ 309 SUNWipfu \ 310 SUNWipoib \ 311 SUNWippcore \ 312 SUNWipplr \ 313 SUNWipplu \ 314 SUNWiscsidmr \ 315 SUNWiscsidmu \ 316 SUNWiscsir \ 317 SUNWiscsitgtr \ 318 SUNWiscsitgtu \ 319 SUNWiscsitr \ 320 SUNWiscsitu \ 321 SUNWiscsiu \ 322 SUNWisns \ 323 SUNWisnsadm \ 324 SUNWisnsr \ 325 SUNWixgb \ 326 SUNWixgbe \ 327 SUNWkrbr \ 328 SUNWkrbu \ 329 SUNWlatencytop \ 330 SUNWldskint \ 331 SUNWlibsasl \ 332 SUNWllc \ 333 SUNWllcr\ 334 SUNWlldap \ 335 SUNWlp-cmds \ 336 SUNWlpr-cmds \ 337 SUNWkey \ 338 SUNWloc \ 339 SUNWluxop \ 340 SUNWmdar \ 341 SUNWmdau \ 342 SUNWmdb \ 343 SUNWmdbdm \ 344 SUNWmdbr \ 345 SUNWmddr \ 346 SUNWmdr \ 347 SUNWmdu \ 348 SUNWmibii \ 349 SUNWmmsr \ 350 SUNWmmsu \ 351 SUNWmpapi \ 352 SUNWmpapir \ 353 SUNWmpathadm \ 354 SUNWmpsvplr \ 355 SUNWmptsas \ 356 SUNWmrsas \ 357 SUNWmxfe \ 358 SUNWmyri10ge \ 359 SUNWncar \ 360 SUNWncau \ 361 SUNWndmpr \ 362 SUNWndmpu \ 363 SUNWnetcat \ 364 SUNWnfsckr \ 365 SUNWnfsskr \ 366 SUNWnfssr \ 367 SUNWnfscr \ 368 SUNWnfssu \ 369 SUNWnfscu \ 370 SUNWnisr \ 371 SUNWnisu \ 372 SUNWnwamintr \ 373 SUNWnwamintu \ 374 SUNWonfmes \ 375 SUNWonzfsr \ 376 SUNWonzfs \ 377 SUNWosdem \ 378 SUNWypr \ 379 SUNWypu \ 380 SUNWpacketh \ 381 SUNWpacketu \ 382 SUNWpapi \ 383 SUNWpcan \ 384 SUNWpcelx \ 385 SUNWpcmci \ 386 SUNWpcmcu \ 387 SUNWpcmem \ 388 SUNWpcr \ 389 SUNWpcser \ 390 SUNWpcu \ 391 SUNWpcwl \ 392 SUNWpd \ 393 SUNWperl584core \ 394 SUNWperl584usr \ 395 SUNWpiclh \ 396 SUNWpiclu \ 397 SUNWpiclr \ 398 SUNWpkgcmdsr \ 399 SUNWpkgcmdsu \ 400 SUNWpolkit \ 401 SUNWpool \ 402 SUNWpoold \ 403 SUNWpoolr \ 404 SUNWpowertop \ 405 SUNWppm \ 406 SUNWpppd \ 407 SUNWpppdu \ 408 SUNWpppdr \ 409 SUNWpppdt \ 410 SUNWpppg \ 411 SUNWpppgS \ 412 SUNWpsdpr \ 413 SUNWpsf \ 414 SUNWpsm-ipp \ 415 SUNWpsm-lpd \ 416 SUNWpmr \ 417 SUNWpmu \ 418 SUNWpsr \ 419 SUNWpsu \ 420 SUNWqlc \ 421 SUNWqlcu \ 422 SUNWqos \ 423 SUNWqosu \ 424 SUNWrcapr \ 425 SUNWrcapu \ 426 SUNWrcmdc \ 427 SUNWrcmdr \ 428 SUNWrcmds \ 429 SUNWrdcr \ 430 SUNWrdcu \ 431 SUNWrds \ 432 SUNWrge \ 433 SUNWrmvolmgr \ 434 SUNWrmvolmgrr \ 435 SUNWrmwbr \ 436 SUNWrmwbu \ 437 SUNWroute \ 438 SUNWroutr \ 439 SUNWrpcib \ 440 SUNWrsg \ 441 SUNWrsgk \ 442 SUNWrsm \ 443 SUNWrsmo \ 444 SUNWrtls \ 445 SUNWs10brandr \ 446 SUNWs10brandu \ 447 SUNWsacom \ 448 SUNWsasnm \ 449 SUNWsbp2 \ 450 SUNWscmr \ 451 SUNWscmu \ 452 SUNWscpr \ 453 SUNWscpu \ 454 SUNWscplp \ 455 SUNWscsa1394 \ 456 SUNWscsip \ 457 SUNWses \ 458 SUNWsfe \ 459 SUNWslpr \ 460 SUNWslpu \ 461 SUNWsmapi \ 462 SUNWsmbfskr \ 463 SUNWsmbfsr \ 464 SUNWsmbfsu \ 465 SUNWsmbskr \ 466 SUNWsmbsr \ 467 SUNWsmbsu \ 468 SUNWsmedia \ 469 SUNWsmediar \ 470 SUNWsmhba \ 471 SUNWsmhbar \ 472 SUNWsmpd \ 473 SUNWsn1rint \ 474 SUNWsn1uint \ 475 SUNWsndmr \ 476 SUNWsndmu \ 477 SUNWspnego \ 478 SUNWspsvr \ 479 SUNWspsvu \ 480 SUNWsrptr \ 481 SUNWsrptu \ 482 SUNWsshcu \ 483 SUNWsshr \ 484 SUNWsshu \ 485 SUNWsshdr \ 486 SUNWsshdu \ 487 SUNWstmf \ 488 SUNWstmfu \ 489 SUNWtavor \ 490 SUNWtcpd \ 491 SUNWtcpdS \ 492 SUNWtecla \ 493 SUNWter \ 494 SUNWtftpr \ 495 SUNWtftp \ 496 SUNWtnetc \ 497 SUNWtnetr \ 498 SUNWtnetd \ 499 SUNWtnfc \ 500 SUNWtnfd \ 501 SUNWtoo \ 502 SUNWtpm \ 503 SUNWtsg \ 504 SUNWtsr \ 505 SUNWtsu \ 506 SUNWuacm \ 507 SUNWucbt \ 508 SUNWudaplr \ 509 SUNWudapltr \ 510 SUNWudapltu \ 511 SUNWudaplu \ 512 SUNWudf \ 513 SUNWudfr \ 514 SUNWuedg \ 515 SUNWuftdi \ 516 SUNWugen \ 517 SUNWugenu \ 518 SUNWuksp \ 519 SUNWukspfw \ 520 SUNWuprl \ 521 SUNWusbvc \ 522 SUNWusb \ 523 SUNWusbs \ 524 SUNWusbu \ 525 SUNWuwb \ 526 SUNWvr \ 527 SUNWvscankr \ 528 SUNWvscanr \ 529 SUNWvscanu \ 530 SUNWwlanr \ 531 SUNWwlanu \ 532 SUNWwpar \ 533 SUNWwpau \ 534 SUNWxcu4 \ 535 SUNWxcu6 \ 536 SUNWxwdv \ 537 SUNWxge \ 538 SUNWyge \ 539 SUNWzfskr \ 540 SUNWzfsr \ 541 SUNWzfsu \ 542 SUNWzoneint \ 543 SUNWzoner \ 544 SUNWzoneu 545 546 COMMON_XMODS= \ 547 SUNWcryptoint \ 548 SUNWibsdpib \ 549 SUNWkdcr \ 550 SUNWkdcu \ 551 SUNWsvvs \ 552 SUNWwbint \ 553 SUNWwbsup 554 555 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) 556 557 XMODS= $($(MACH)_XMODS) $(COMMON_XMODS) 558 559 560 all := TARGET= all 561 install := TARGET= install 562 install_h := TARGET= install_h 563 clean := TARGET= clean 564 clobber := TARGET= clobber 565 566 %: %.ksh 567 $(RM) $@ 568 cp $< $@ 569 chmod +x $@ 570 571 .KEEP_STATE: 572 573 .PARALLEL: $(SUBDIRS) $(XMODS) 574 575 all install: awk_pkginfo $(SUBDIRS) $(XMODS) 576 577 clean clobber: $(SUBDIRS) $(XMODS) 578 $(RM) awk_pkginfo bld_awk_pkginfo 579 580 $(SUBDIRS): FRC 581 @cd $@; pwd; $(MAKE) $(TARGET) 582 583 $(XMODS): FRC 584 @if [ -f $@/Makefile ]; then \ 585 cd $@; pwd; $(MAKE) $(TARGET); \ 586 else \ 587 true; \ 588 fi 589 590 awk_pkginfo: bld_awk_pkginfo 591 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@ -v \ 592 $(ONVERS) 593 594 FRC: 595 596 # EXPORT DELETE START 597 EXPORT_SRC: 598 $(RM) -r $(sparc_XMODS) $(i386_XMODS) $(COMMON_XMODS) 599 $(RM) Makefile+ 600 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 601 < Makefile > Makefile+ 602 $(MV) Makefile+ Makefile 603 $(CHMOD) 444 Makefile 604 $(RM) SUNWos86r/prototype_i386+ 605 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 606 < SUNWos86r/prototype_i386 > SUNWos86r/prototype_i386+ 607 $(MV) -f SUNWos86r/prototype_i386+ SUNWos86r/prototype_i386 608 $(CHMOD) 444 SUNWos86r/prototype_i386 609 $(RM) SUNWcsl/prototype_com+ 610 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 611 < SUNWcsl/prototype_com > SUNWcsl/prototype_com+ 612 $(MV) -f SUNWcsl/prototype_com+ SUNWcsl/prototype_com 613 $(CHMOD) 444 SUNWcsl/prototype_com 614 $(RM) SUNWcsl/prototype_i386+ 615 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 616 < SUNWcsl/prototype_i386 > SUNWcsl/prototype_i386+ 617 $(MV) -f SUNWcsl/prototype_i386+ SUNWcsl/prototype_i386 618 $(CHMOD) 444 SUNWcsl/prototype_i386 619 $(RM) SUNWcsl/prototype_sparc+ 620 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 621 < SUNWcsl/prototype_sparc > SUNWcsl/prototype_sparc+ 622 $(MV) -f SUNWcsl/prototype_sparc+ SUNWcsl/prototype_sparc 623 $(CHMOD) 444 SUNWcsl/prototype_sparc 624 625 CRYPT_SRC: 626 $(RM) SUNWcryptoint/prototype_com+ 627 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \ 628 < SUNWcryptoint/prototype_com > SUNWcryptoint/prototype_com+ 629 $(MV) -f SUNWcryptoint/prototype_com+ SUNWcryptoint/prototype_com 630 $(CHMOD) 444 SUNWcryptoint/prototype_com 631 632 # EXPORT DELETE END 633