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 2010 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 CPQary3 \ 125 SUNWcpr.i \ 126 SUNWdrmr \ 127 SUNWgrub \ 128 SUNWgrubS \ 129 SUNWdcopy \ 130 SUNWfipe \ 131 SUNWfruip.i \ 132 SUNWipw \ 133 SUNWiwh \ 134 SUNWiwi \ 135 SUNWiwk \ 136 SUNWiwp \ 137 SUNWkvm.i \ 138 SUNWlxr \ 139 SUNWlxu \ 140 SUNWmegasas \ 141 SUNWmv88sx \ 142 SUNWmwl \ 143 SUNWbcmsata \ 144 SUNWnge \ 145 SUNWntfsprogs \ 146 SUNWnvsata \ 147 SUNWnxge \ 148 SUNWonmtst.i \ 149 SUNWos86r \ 150 SUNWparted \ 151 SUNWpmcsr \ 152 SUNWpmcsu \ 153 SUNWpsdcr \ 154 SUNWpsdir \ 155 SUNWpsh \ 156 SUNWralink \ 157 SUNWrmodr \ 158 SUNWrmodu \ 159 SUNWrtw \ 160 SUNWrum \ 161 SUNWrwd \ 162 SUNWrwn \ 163 SUNWsdcard \ 164 SUNWsi3124 \ 165 SUNWuath \ 166 SUNWural \ 167 SUNWurtw \ 168 SUNWvia823x \ 169 SUNWwpi \ 170 SUNWxdt \ 171 SUNWxsvc \ 172 SUNWxvmipar \ 173 SUNWxvmipau \ 174 SUNWxvmpv \ 175 SUNWzyd \ 176 SUNWntxn 177 178 i386_XMODS= \ 179 BRCMbnx \ 180 BRCMbnxe \ 181 SUNWadpu320 \ 182 SUNWlsimega 183 184 COMMON_SUBDIRS= \ 185 SUNW1394h \ 186 SUNW1394 \ 187 SUNWaac \ 188 SUNWaccr \ 189 SUNWaccu \ 190 SUNWafe \ 191 SUNWapct \ 192 SUNWauda \ 193 SUNWaudd \ 194 SUNWaudf \ 195 SUNWaudh \ 196 SUNWaudiols \ 197 SUNWaudiop16x \ 198 SUNWaudit \ 199 SUNWatfsr \ 200 SUNWatfsu \ 201 SUNWarc \ 202 SUNWarbel \ 203 SUNWarcr \ 204 SUNWastdev \ 205 SUNWav1394 \ 206 SUNWbart \ 207 SUNWbge \ 208 SUNWbip \ 209 SUNWbipr \ 210 SUNWbnur \ 211 SUNWbnuu \ 212 SUNWbridger \ 213 SUNWbridgeu \ 214 SUNWbsr \ 215 SUNWbsu \ 216 SUNWbtool \ 217 SUNWcdrw \ 218 SUNWcfcl \ 219 SUNWcfclr \ 220 SUNWcfpl \ 221 SUNWcfplr \ 222 SUNWchxge \ 223 SUNWckr \ 224 SUNWcnetr \ 225 SUNWcnsr \ 226 SUNWcnsu \ 227 SUNWcpcu \ 228 SUNWcsd \ 229 SUNWcsr \ 230 SUNWcsu \ 231 SUNWcsl \ 232 SUNWcslr \ 233 SUNWcstl \ 234 SUNWdcaf \ 235 SUNWdcar \ 236 SUNWdhcm \ 237 SUNWdhcsb \ 238 SUNWdhcsr \ 239 SUNWdhcsu \ 240 SUNWdmfe \ 241 SUNWdmgtr \ 242 SUNWdmgtu \ 243 SUNWdsdr \ 244 SUNWdsdu \ 245 SUNWdoc \ 246 SUNWdpl \ 247 SUNWdtrc \ 248 SUNWdtrp \ 249 SUNWdtrt \ 250 SUNWemlxs \ 251 SUNWemlxu \ 252 SUNWesu \ 253 SUNWfchba \ 254 SUNWfchbar \ 255 SUNWfcip \ 256 SUNWfcmdb \ 257 SUNWfcp \ 258 SUNWfcprt \ 259 SUNWfcprtr \ 260 SUNWfcsm \ 261 SUNWfctl \ 262 SUNWfcoe \ 263 SUNWfcoeu \ 264 SUNWfcoet \ 265 SUNWfcoei \ 266 SUNWfilebench \ 267 SUNWfmd \ 268 SUNWfmdr \ 269 SUNWfruid \ 270 SUNWfss \ 271 SUNWftdur \ 272 SUNWftduu \ 273 SUNWftpr \ 274 SUNWftpu \ 275 SUNWfwdc \ 276 SUNWfwdcu \ 277 SUNWfwflash \ 278 SUNWgrubr \ 279 SUNWgssdh \ 280 SUNWgssc \ 281 SUNWgss \ 282 SUNWgssk \ 283 SUNWhal \ 284 SUNWhalr \ 285 SUNWhea \ 286 SUNWhermon \ 287 SUNWhmd \ 288 SUNWhwdata \ 289 SUNWhxge \ 290 SUNWib \ 291 SUNWibdmar \ 292 SUNWibsdpu \ 293 SUNWibsdp \ 294 SUNWiir \ 295 SUNWiiu \ 296 SUNWigb \ 297 SUNWilb \ 298 SUNWilbr \ 299 SUNWima \ 300 SUNWimac \ 301 SUNWimar \ 302 SUNWimacr \ 303 SUNWinstallint \ 304 SUNWintgige \ 305 SUNWiotu \ 306 SUNWioth \ 307 SUNWio-tools \ 308 SUNWipc \ 309 SUNWipfh \ 310 SUNWipfr \ 311 SUNWipfu \ 312 SUNWipoib \ 313 SUNWippcore \ 314 SUNWipplr \ 315 SUNWipplu \ 316 SUNWiscsidmr \ 317 SUNWiscsidmu \ 318 SUNWiscsir \ 319 SUNWiscsitgtr \ 320 SUNWiscsitgtu \ 321 SUNWiscsitr \ 322 SUNWiscsitu \ 323 SUNWiscsiu \ 324 SUNWisns \ 325 SUNWisnsadm \ 326 SUNWisnsr \ 327 SUNWixgb \ 328 SUNWixgbe \ 329 SUNWkrbr \ 330 SUNWkrbu \ 331 SUNWlatencytop \ 332 SUNWldskint \ 333 SUNWlibsasl \ 334 SUNWllc \ 335 SUNWllcr\ 336 SUNWlldap \ 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 SUNWpcmci \ 385 SUNWpcser \ 386 SUNWpcu \ 387 SUNWpcwl \ 388 SUNWpd \ 389 SUNWperl584core \ 390 SUNWperl584usr \ 391 SUNWpiclh \ 392 SUNWpiclu \ 393 SUNWpiclr \ 394 SUNWpkgcmdsr \ 395 SUNWpkgcmdsu \ 396 SUNWpolkit \ 397 SUNWpool \ 398 SUNWpoold \ 399 SUNWpoolr \ 400 SUNWpowertop \ 401 SUNWppm \ 402 SUNWppmr \ 403 SUNWpppd \ 404 SUNWpppdu \ 405 SUNWpppdr \ 406 SUNWpppdt \ 407 SUNWpppg \ 408 SUNWpppgS \ 409 SUNWpsdpr \ 410 SUNWpsf \ 411 SUNWpsm-ipp \ 412 SUNWpsm-lpd \ 413 SUNWpmr \ 414 SUNWpmu \ 415 SUNWpsr \ 416 SUNWpsu \ 417 SUNWqlc \ 418 SUNWqlcu \ 419 SUNWqos \ 420 SUNWqosu \ 421 SUNWrcapr \ 422 SUNWrcapu \ 423 SUNWrcmdc \ 424 SUNWrcmdr \ 425 SUNWrcmds \ 426 SUNWrdcr \ 427 SUNWrdcu \ 428 SUNWrds \ 429 SUNWrge \ 430 SUNWrmvolmgr \ 431 SUNWrmvolmgrr \ 432 SUNWrmwbr \ 433 SUNWrmwbu \ 434 SUNWroute \ 435 SUNWroutr \ 436 SUNWrpcib \ 437 SUNWrsg \ 438 SUNWrsgk \ 439 SUNWrsm \ 440 SUNWrsmo \ 441 SUNWrtls \ 442 SUNWs10brandr \ 443 SUNWs10brandu \ 444 SUNWsacom \ 445 SUNWsasnm \ 446 SUNWsbp2 \ 447 SUNWscmr \ 448 SUNWscmu \ 449 SUNWscpr \ 450 SUNWscpu \ 451 SUNWscplp \ 452 SUNWscsa1394 \ 453 SUNWscsip \ 454 SUNWses \ 455 SUNWsfe \ 456 SUNWslpr \ 457 SUNWslpu \ 458 SUNWsmapi \ 459 SUNWsmbfskr \ 460 SUNWsmbfsr \ 461 SUNWsmbfsu \ 462 SUNWsmbskr \ 463 SUNWsmbsr \ 464 SUNWsmbsu \ 465 SUNWsmedia \ 466 SUNWsmediar \ 467 SUNWsmhba \ 468 SUNWsmhbar \ 469 SUNWsmpd \ 470 SUNWsn1rint \ 471 SUNWsn1uint \ 472 SUNWsndmr \ 473 SUNWsndmu \ 474 SUNWspnego \ 475 SUNWspsvr \ 476 SUNWspsvu \ 477 SUNWsrptr \ 478 SUNWsrptu \ 479 SUNWsshcu \ 480 SUNWsshr \ 481 SUNWsshu \ 482 SUNWsshdr \ 483 SUNWsshdu \ 484 SUNWstmf \ 485 SUNWstmfu \ 486 SUNWtavor \ 487 SUNWtcpd \ 488 SUNWtcpdS \ 489 SUNWtecla \ 490 SUNWter \ 491 SUNWtftpr \ 492 SUNWtftp \ 493 SUNWtnetc \ 494 SUNWtnetr \ 495 SUNWtnetd \ 496 SUNWtnfc \ 497 SUNWtnfd \ 498 SUNWtoo \ 499 SUNWtpm \ 500 SUNWtsg \ 501 SUNWtsr \ 502 SUNWtsu \ 503 SUNWuacm \ 504 SUNWucbt \ 505 SUNWudaplr \ 506 SUNWudapltr \ 507 SUNWudapltu \ 508 SUNWudaplu \ 509 SUNWudf \ 510 SUNWudfr \ 511 SUNWuedg \ 512 SUNWuftdi \ 513 SUNWugen \ 514 SUNWugenu \ 515 SUNWuksp \ 516 SUNWukspfw \ 517 SUNWuprl \ 518 SUNWusbvc \ 519 SUNWusb \ 520 SUNWusbs \ 521 SUNWusbu \ 522 SUNWuwb \ 523 SUNWvr \ 524 SUNWvrrpr \ 525 SUNWvrrpu \ 526 SUNWvscankr \ 527 SUNWvscanr \ 528 SUNWvscanu \ 529 SUNWwlanr \ 530 SUNWwlanu \ 531 SUNWwpar \ 532 SUNWwpau \ 533 SUNWxcu4 \ 534 SUNWxcu6 \ 535 SUNWxwdv \ 536 SUNWxge \ 537 SUNWyge \ 538 SUNWzfskr \ 539 SUNWzfsr \ 540 SUNWzfsu \ 541 SUNWzoneint \ 542 SUNWzoner \ 543 SUNWzoneu 544 545 COMMON_XMODS= \ 546 SUNWcryptoint \ 547 SUNWibsdpib \ 548 SUNWkdcr \ 549 SUNWkdcu \ 550 SUNWsvvs \ 551 SUNWwbint \ 552 SUNWwbsup 553 554 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) 555 556 XMODS= $($(MACH)_XMODS) $(COMMON_XMODS) 557 558 559 all := TARGET= all 560 install := TARGET= install 561 install_h := TARGET= install_h 562 clean := TARGET= clean 563 clobber := TARGET= clobber 564 565 %: %.ksh 566 $(RM) $@ 567 cp $< $@ 568 chmod +x $@ 569 570 .KEEP_STATE: 571 572 .PARALLEL: $(SUBDIRS) $(XMODS) 573 574 all install: awk_pkginfo $(SUBDIRS) $(XMODS) 575 576 clean clobber: $(SUBDIRS) $(XMODS) 577 $(RM) awk_pkginfo bld_awk_pkginfo 578 579 $(SUBDIRS): FRC 580 @cd $@; pwd; $(MAKE) $(TARGET) 581 582 $(XMODS): FRC 583 @if [ -f $@/Makefile ]; then \ 584 cd $@; pwd; $(MAKE) $(TARGET); \ 585 else \ 586 true; \ 587 fi 588 589 awk_pkginfo: bld_awk_pkginfo 590 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@ -v \ 591 $(ONVERS) 592 593 FRC: 594 595 # EXPORT DELETE START 596 EXPORT_SRC: 597 $(RM) -r $(sparc_XMODS) $(i386_XMODS) $(COMMON_XMODS) 598 $(RM) Makefile+ 599 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 600 < Makefile > Makefile+ 601 $(MV) Makefile+ Makefile 602 $(CHMOD) 444 Makefile 603 $(RM) SUNWos86r/prototype_i386+ 604 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 605 < SUNWos86r/prototype_i386 > SUNWos86r/prototype_i386+ 606 $(MV) -f SUNWos86r/prototype_i386+ SUNWos86r/prototype_i386 607 $(CHMOD) 444 SUNWos86r/prototype_i386 608 $(RM) SUNWcsl/prototype_com+ 609 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 610 < SUNWcsl/prototype_com > SUNWcsl/prototype_com+ 611 $(MV) -f SUNWcsl/prototype_com+ SUNWcsl/prototype_com 612 $(CHMOD) 444 SUNWcsl/prototype_com 613 $(RM) SUNWcsl/prototype_i386+ 614 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 615 < SUNWcsl/prototype_i386 > SUNWcsl/prototype_i386+ 616 $(MV) -f SUNWcsl/prototype_i386+ SUNWcsl/prototype_i386 617 $(CHMOD) 444 SUNWcsl/prototype_i386 618 $(RM) SUNWcsl/prototype_sparc+ 619 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 620 < SUNWcsl/prototype_sparc > SUNWcsl/prototype_sparc+ 621 $(MV) -f SUNWcsl/prototype_sparc+ SUNWcsl/prototype_sparc 622 $(CHMOD) 444 SUNWcsl/prototype_sparc 623 624 CRYPT_SRC: 625 $(RM) SUNWcryptoint/prototype_com+ 626 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \ 627 < SUNWcryptoint/prototype_com > SUNWcryptoint/prototype_com+ 628 $(MV) -f SUNWcryptoint/prototype_com+ SUNWcryptoint/prototype_com 629 $(CHMOD) 444 SUNWcryptoint/prototype_com 630 631 # EXPORT DELETE END 632