Chameleon

Chameleon Commit Details

Date:2011-09-05 23:06:00 (7 years 9 months ago)
Author:Azimutz
Commit:1510
Parents: 1509
Message:Partial sync with trunk (r1508).
Changes:
D/branches/azimutz/Package/i386/MakePaths.dir
M/branches/azimutz/Package/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1920x1080x32/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1680x1050x32/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/GeneratePStates/postinstall
M/branches/azimutz/Package/i386/util/fdisk/Makefile
M/branches/azimutz/Package/i386/util/Makefile
M/branches/azimutz/Package/i386/boot2/gui.c
M/branches/azimutz/Package/i386/modules/MakeInc.dir
M/branches/azimutz/Package/i386/config/cconfig.c
M/branches/azimutz/Package/package/Scripts/Advanced/UseMemDetect/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/GUI/postinstall
M/branches/azimutz/Package/i386/libsaio/Makefile
M/branches/azimutz/Package/package/Scripts/Resolutions/1600x900x32/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/Npci/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/BootBanner/postinstall
M/branches/azimutz/Package/CREDITS
M/branches/azimutz/Package/package/Scripts/Standard/postinstall
M/branches/azimutz/Package/i386/libsa/Makefile
M/branches/azimutz/Package/package/Scripts/BaseOptions/EnableC2State/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/arch/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1280x960x32/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1024x768x32/postinstall
M/branches/azimutz/Package/package/Resources/en.lproj/Localizable.strings
M/branches/azimutz/Package/Make.rules
M/branches/azimutz/Package/package/slimpkg.sh
M/branches/azimutz/Package/Makefile
M/branches/azimutz/Package/i386/util/fdisk/Cconfig
M/branches/azimutz/Package/i386/boot0/Makefile
M/branches/azimutz/Package/package/Scripts/Advanced/Wake/postinstall
M/branches/azimutz/Package/package/builddmg.sh
M/branches/azimutz/Package/package/Scripts/Advanced/ShowInfo/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/EnableC3State/postinstall
M/branches/azimutz/Package/package/buildpkg.sh
M/branches/azimutz/Package/package/Scripts/BaseOptions/GenerateCStates/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1920x1200x32/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/ForceWake/postinstall
M/branches/azimutz/Package/i386/config/Makefile
M/branches/azimutz/Package/package/Scripts/Advanced/QuietBoot/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
M/branches/azimutz/Package/Chameleon.xcodeproj/project.pbxproj
M/branches/azimutz/Package/package/Scripts/Advanced/ForceHPET/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/DropSSDT/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/InstantMenu/postinstall
M/branches/azimutz/Package/i386/boot1/Makefile
M/branches/azimutz/Package/package/Scripts/Resolutions/1440x900x32/postinstall
M/branches/azimutz/Package/package/Scripts/BaseOptions/EnableC4State/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/UseNvidiaROM/postinstall
M/branches/azimutz/Package/i386/libsaio/ati.c
M/branches/azimutz/Package/i386/modules/Makefile
M/branches/azimutz/Package/package/Scripts/BaseOptions/RestartFix/postinstall
M/branches/azimutz/Package/i386/cdboot/Makefile
M/branches/azimutz/Package/package/Scripts/Post/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/EHCIacquire/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/VBIOS/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1024x600x32/postinstall
M/branches/azimutz/Package/i386/libsaio/smbios_getters.c
M/branches/azimutz/Package/package/Scripts/Advanced/SMBIOSdefaults/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/LegacyLogo/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1280x800x32/postinstall
M/branches/azimutz/Package/i386/boot2/Makefile
M/branches/azimutz/Package/package/Scripts/Advanced/UHCIreset/postinstall
M/branches/azimutz/Package/package/Scripts/EFI/postinstall
M/branches/azimutz/Package/i386/Makefile
M/branches/azimutz/Package/package/Scripts/Advanced/Wait/postinstall
M/branches/azimutz/Package/package/Scripts/Resolutions/1280x1024x32/postinstall
M/branches/azimutz/Package/package/Scripts/Advanced/UseAtiROM/postinstall

File differences

branches/azimutz/Package/Chameleon.xcodeproj/project.pbxproj
649649
650650
651651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
652882
653883
654884
......
7801010
7811011
7821012
783
7841013
7851014
7861015
......
9331162
9341163
9351164
1165
9361166
9371167
9381168
......
20372267
20382268
20392269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
20402590
20412591
20422592
......
20482598
20492599
20502600
2601
20512602
20522603
2053
20542604
20552605
20562606
......
22522802
22532803
22542804
2805
2806
2807
2808
22552809
22562810
22572811
6DBAFFC313B0D4590047ED33 /* ufsmount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ufsmount.h; sourceTree = "<group>"; };
6DBAFFC413B0D4590047ED33 /* unistd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unistd.h; sourceTree = "<group>"; };
6DBAFFC513B0D4590047ED33 /* unwind.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unwind.h; sourceTree = "<group>"; };
A3561C731413FD7800E9B51E /* auto.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = auto.c; sourceTree = "<group>"; };
A3561C741413FD7800E9B51E /* auto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = auto.h; sourceTree = "<group>"; };
A3561C751413FD7800E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561C761413FD7800E9B51E /* cmd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cmd.c; sourceTree = "<group>"; };
A3561C771413FD7800E9B51E /* cmd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cmd.h; sourceTree = "<group>"; };
A3561C781413FD7800E9B51E /* disk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = disk.c; sourceTree = "<group>"; };
A3561C791413FD7800E9B51E /* disk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = disk.h; sourceTree = "<group>"; };
A3561C7A1413FD7800E9B51E /* fdisk.8 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fdisk.8; sourceTree = "<group>"; };
A3561C7B1413FD7800E9B51E /* fdisk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fdisk.c; sourceTree = "<group>"; };
A3561C7C1413FD7800E9B51E /* getrawpartition.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = getrawpartition.c; sourceTree = "<group>"; };
A3561C7D1413FD7800E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561C7E1413FD7800E9B51E /* mbr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mbr.c; sourceTree = "<group>"; };
A3561C7F1413FD7800E9B51E /* mbr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mbr.h; sourceTree = "<group>"; };
A3561C801413FD7800E9B51E /* mbrcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mbrcode.h; sourceTree = "<group>"; };
A3561C811413FD7800E9B51E /* misc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = misc.c; sourceTree = "<group>"; };
A3561C821413FD7800E9B51E /* misc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = misc.h; sourceTree = "<group>"; };
A3561C831413FD7800E9B51E /* opendev.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = opendev.c; sourceTree = "<group>"; };
A3561C841413FD7800E9B51E /* part.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = part.c; sourceTree = "<group>"; };
A3561C851413FD7800E9B51E /* part.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = part.h; sourceTree = "<group>"; };
A3561C861413FD7800E9B51E /* user.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = user.c; sourceTree = "<group>"; };
A3561C871413FD7800E9B51E /* user.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = user.h; sourceTree = "<group>"; };
A3561C881413FD7800E9B51E /* util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = "<group>"; };
A3561C891413FD7800E9B51E /* openUp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = openUp.c; sourceTree = "<group>"; };
A3561C8A1413FD7800E9B51E /* dyldsymboltool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dyldsymboltool.c; sourceTree = "<group>"; };
A3561C8B1413FD7800E9B51E /* bdmesg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bdmesg.c; sourceTree = "<group>"; };
A3561CAC1414024C00E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561CAE1414024C00E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561CAF1414024C00E9B51E /* HelloWorld.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HelloWorld.cpp; sourceTree = "<group>"; };
A3561CB11414024C00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561CB31414024C00E9B51E /* modules */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = modules; sourceTree = "<group>"; };
A3561CB61414024D00E9B51E /* test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = test; sourceTree = "<group>"; };
A3561CB81414024D00E9B51E /* __ashldi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __ashldi3.c; sourceTree = "<group>"; };
A3561CB91414024D00E9B51E /* __ashrdi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __ashrdi3.c; sourceTree = "<group>"; };
A3561CBA1414024D00E9B51E /* __clzsi2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __clzsi2.c; sourceTree = "<group>"; };
A3561CBB1414024D00E9B51E /* __divdi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __divdi3.c; sourceTree = "<group>"; };
A3561CBC1414024D00E9B51E /* __divsi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __divsi3.c; sourceTree = "<group>"; };
A3561CBD1414024D00E9B51E /* __lshrdi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __lshrdi3.c; sourceTree = "<group>"; };
A3561CBE1414024D00E9B51E /* __moddi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __moddi3.c; sourceTree = "<group>"; };
A3561CBF1414024D00E9B51E /* __modsi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __modsi3.c; sourceTree = "<group>"; };
A3561CC01414024D00E9B51E /* __udivdi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __udivdi3.c; sourceTree = "<group>"; };
A3561CC11414024D00E9B51E /* __udivmoddi4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __udivmoddi4.c; sourceTree = "<group>"; };
A3561CC21414024D00E9B51E /* __udivmodsi4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __udivmodsi4.c; sourceTree = "<group>"; };
A3561CC31414024D00E9B51E /* __udivsi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __udivsi3.c; sourceTree = "<group>"; };
A3561CC41414024D00E9B51E /* __umoddi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __umoddi3.c; sourceTree = "<group>"; };
A3561CC51414024D00E9B51E /* __umodsi3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = __umodsi3.c; sourceTree = "<group>"; };
A3561CC61414024D00E9B51E /* atexit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = atexit.c; sourceTree = "<group>"; };
A3561CC71414024D00E9B51E /* atexit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atexit.h; sourceTree = "<group>"; };
A3561CC81414024D00E9B51E /* atoi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = atoi.c; sourceTree = "<group>"; };
A3561CC91414024D00E9B51E /* atol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = atol.c; sourceTree = "<group>"; };
A3561CCA1414024D00E9B51E /* atoll.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = atoll.c; sourceTree = "<group>"; };
A3561CCB1414024D00E9B51E /* atox.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = atox.c; sourceTree = "<group>"; };
A3561CCC1414024D00E9B51E /* bsearch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bsearch.c; sourceTree = "<group>"; };
A3561CCD1414024D00E9B51E /* calloc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = calloc.c; sourceTree = "<group>"; };
A3561CCE1414024D00E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561CCF1414024D00E9B51E /* exit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = exit.c; sourceTree = "<group>"; };
A3561CD01414024D00E9B51E /* jrand48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = jrand48.c; sourceTree = "<group>"; };
A3561CD11414024D00E9B51E /* klibc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = klibc.c; sourceTree = "<group>"; };
A3561CD21414024D00E9B51E /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
A3561CD31414024D00E9B51E /* limits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = limits.h; sourceTree = "<group>"; };
A3561CD41414024D00E9B51E /* lrand48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lrand48.c; sourceTree = "<group>"; };
A3561CD51414024D00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561CD61414024D00E9B51E /* memccpy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memccpy.c; sourceTree = "<group>"; };
A3561CD71414024D00E9B51E /* memchr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memchr.c; sourceTree = "<group>"; };
A3561CD81414024D00E9B51E /* memmem.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memmem.c; sourceTree = "<group>"; };
A3561CD91414024D00E9B51E /* memmove.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memmove.c; sourceTree = "<group>"; };
A3561CDA1414024D00E9B51E /* memrchr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memrchr.c; sourceTree = "<group>"; };
A3561CDB1414024D00E9B51E /* memswap.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memswap.c; sourceTree = "<group>"; };
A3561CDC1414024D00E9B51E /* mrand48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrand48.c; sourceTree = "<group>"; };
A3561CDD1414024D00E9B51E /* nrand48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = nrand48.c; sourceTree = "<group>"; };
A3561CDE1414024D00E9B51E /* onexit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = onexit.c; sourceTree = "<group>"; };
A3561CDF1414024D00E9B51E /* qsort.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = qsort.c; sourceTree = "<group>"; };
A3561CE01414024D00E9B51E /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = "<group>"; };
A3561CE11414024D00E9B51E /* seed48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = seed48.c; sourceTree = "<group>"; };
A3561CE21414024D00E9B51E /* sha1hash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sha1hash.c; sourceTree = "<group>"; };
A3561CE31414024D00E9B51E /* snprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = snprintf.c; sourceTree = "<group>"; };
A3561CE41414024D00E9B51E /* srand48.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = srand48.c; sourceTree = "<group>"; };
A3561CE51414024D00E9B51E /* sscanf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sscanf.c; sourceTree = "<group>"; };
A3561CE61414024D00E9B51E /* strcasecmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strcasecmp.c; sourceTree = "<group>"; };
A3561CE71414024D00E9B51E /* strdup.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strdup.c; sourceTree = "<group>"; };
A3561CE81414024D00E9B51E /* strlcat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strlcat.c; sourceTree = "<group>"; };
A3561CE91414024D00E9B51E /* strncasecmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strncasecmp.c; sourceTree = "<group>"; };
A3561CEA1414024D00E9B51E /* strndup.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strndup.c; sourceTree = "<group>"; };
A3561CEB1414024D00E9B51E /* strnlen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strnlen.c; sourceTree = "<group>"; };
A3561CEC1414024D00E9B51E /* strntoimax.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strntoimax.c; sourceTree = "<group>"; };
A3561CED1414024D00E9B51E /* strntoumax.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strntoumax.c; sourceTree = "<group>"; };
A3561CEE1414024D00E9B51E /* strpbrk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strpbrk.c; sourceTree = "<group>"; };
A3561CEF1414024D00E9B51E /* strsep.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strsep.c; sourceTree = "<group>"; };
A3561CF01414024D00E9B51E /* strtoimax.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtoimax.c; sourceTree = "<group>"; };
A3561CF11414024D00E9B51E /* strtok.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtok.c; sourceTree = "<group>"; };
A3561CF21414024D00E9B51E /* strtok_r.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtok_r.c; sourceTree = "<group>"; };
A3561CF31414024D00E9B51E /* strtol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtol.c; sourceTree = "<group>"; };
A3561CF41414024D00E9B51E /* strtoll.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtoll.c; sourceTree = "<group>"; };
A3561CF51414024D00E9B51E /* strtotimespec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtotimespec.c; sourceTree = "<group>"; };
A3561CF61414024D00E9B51E /* strtotimeval.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtotimeval.c; sourceTree = "<group>"; };
A3561CF71414024D00E9B51E /* strtotimex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtotimex.c; sourceTree = "<group>"; };
A3561CF81414024D00E9B51E /* strtoul.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtoul.c; sourceTree = "<group>"; };
A3561CF91414024D00E9B51E /* strtoull.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtoull.c; sourceTree = "<group>"; };
A3561CFA1414024D00E9B51E /* strtoumax.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtoumax.c; sourceTree = "<group>"; };
A3561CFB1414024D00E9B51E /* strtox.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strtox.c; sourceTree = "<group>"; };
A3561CFC1414024D00E9B51E /* strxspn.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strxspn.c; sourceTree = "<group>"; };
A3561CFD1414024D00E9B51E /* strxspn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = strxspn.h; sourceTree = "<group>"; };
A3561CFE1414024D00E9B51E /* version */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = version; sourceTree = "<group>"; };
A3561CFF1414024D00E9B51E /* vsnprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vsnprintf.c; sourceTree = "<group>"; };
A3561D001414024D00E9B51E /* vsscanf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vsscanf.c; sourceTree = "<group>"; };
A3561D011414024D00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561D021414024D00E9B51E /* MakeInc.dir */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MakeInc.dir; sourceTree = "<group>"; };
A3561D031414024D00E9B51E /* Modules.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Modules.txt; sourceTree = "<group>"; };
A3561D051414024D00E9B51E /* 915resolution.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = 915resolution.c; sourceTree = "<group>"; };
A3561D061414024D00E9B51E /* 915resolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 915resolution.h; sourceTree = "<group>"; };
A3561D071414024D00E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561D081414024D00E9B51E /* edid.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = edid.c; sourceTree = "<group>"; };
A3561D0A1414024D00E9B51E /* edid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = edid.h; sourceTree = "<group>"; };
A3561D0B1414024D00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561D0C1414024D00E9B51E /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = "<group>"; };
A3561D0D1414024D00E9B51E /* Resolution.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = Resolution.c; sourceTree = "<group>"; };
A3561D0E1414024D00E9B51E /* shortatombios.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = shortatombios.h; sourceTree = "<group>"; };
A3561D101414024D00E9B51E /* abi.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = abi.cpp; sourceTree = "<group>"; };
A3561D111414024D00E9B51E /* algorithm.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = algorithm.cpp; sourceTree = "<group>"; };
A3561D121414024D00E9B51E /* associative_base.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = associative_base.cpp; sourceTree = "<group>"; };
A3561D131414024D00E9B51E /* bitset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bitset.cpp; sourceTree = "<group>"; };
A3561D141414024D00E9B51E /* Cconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cconfig; sourceTree = "<group>"; };
A3561D151414024D00E9B51E /* char_traits.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = char_traits.cpp; sourceTree = "<group>"; };
A3561D161414024D00E9B51E /* complex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = complex.cpp; sourceTree = "<group>"; };
A3561D171414024D00E9B51E /* del_op.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = del_op.cpp; sourceTree = "<group>"; };
A3561D181414024D00E9B51E /* del_opnt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = del_opnt.cpp; sourceTree = "<group>"; };
A3561D191414024D00E9B51E /* del_opv.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = del_opv.cpp; sourceTree = "<group>"; };
A3561D1A1414024D00E9B51E /* del_opvnt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = del_opvnt.cpp; sourceTree = "<group>"; };
A3561D1B1414024D00E9B51E /* deque.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = deque.cpp; sourceTree = "<group>"; };
A3561D1C1414024D00E9B51E /* eh_alloc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = eh_alloc.cpp; sourceTree = "<group>"; };
A3561D1D1414024D00E9B51E /* eh_globals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = eh_globals.cpp; sourceTree = "<group>"; };
A3561D1E1414024D00E9B51E /* exception.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = exception.cpp; sourceTree = "<group>"; };
A3561D1F1414024D00E9B51E /* fstream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fstream.cpp; sourceTree = "<group>"; };
A3561D201414024D00E9B51E /* func_exception.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = func_exception.cpp; sourceTree = "<group>"; };
A3561D221414024D00E9B51E /* algorithm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = algorithm; sourceTree = "<group>"; };
A3561D231414024D00E9B51E /* associative_base */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = associative_base; sourceTree = "<group>"; };
A3561D241414024D00E9B51E /* basic_definitions */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = basic_definitions; sourceTree = "<group>"; };
A3561D251414024D00E9B51E /* bitset */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitset; sourceTree = "<group>"; };
A3561D261414024D00E9B51E /* cassert */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cassert; sourceTree = "<group>"; };
A3561D271414024D00E9B51E /* cctype */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cctype; sourceTree = "<group>"; };
A3561D281414024D00E9B51E /* cerrno */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cerrno; sourceTree = "<group>"; };
A3561D291414024D00E9B51E /* cfloat */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cfloat; sourceTree = "<group>"; };
A3561D2A1414024D00E9B51E /* char_traits */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = char_traits; sourceTree = "<group>"; };
A3561D2B1414024D00E9B51E /* climits */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = climits; sourceTree = "<group>"; };
A3561D2C1414024D00E9B51E /* clocale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = clocale; sourceTree = "<group>"; };
A3561D2D1414024D00E9B51E /* cmath */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cmath; sourceTree = "<group>"; };
A3561D2E1414024D00E9B51E /* complex */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = complex; sourceTree = "<group>"; };
A3561D2F1414024D00E9B51E /* csetjmp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = csetjmp; sourceTree = "<group>"; };
A3561D301414024D00E9B51E /* csignal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = csignal; sourceTree = "<group>"; };
A3561D311414024D00E9B51E /* cstdarg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cstdarg; sourceTree = "<group>"; };
A3561D321414024D00E9B51E /* cstddef */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cstddef; sourceTree = "<group>"; };
A3561D331414024D00E9B51E /* cstdio */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cstdio; sourceTree = "<group>"; };
A3561D341414024D00E9B51E /* cstdlib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cstdlib; sourceTree = "<group>"; };
A3561D351414024D00E9B51E /* cstring */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cstring; sourceTree = "<group>"; };
A3561D361414024D00E9B51E /* ctime */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ctime; sourceTree = "<group>"; };
A3561D371414024D00E9B51E /* cwchar */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cwchar; sourceTree = "<group>"; };
A3561D381414024D00E9B51E /* cwctype */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cwctype; sourceTree = "<group>"; };
A3561D391414024D00E9B51E /* deque */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = deque; sourceTree = "<group>"; };
A3561D3A1414024D00E9B51E /* exception */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = exception; sourceTree = "<group>"; };
A3561D3B1414024D00E9B51E /* fstream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fstream; sourceTree = "<group>"; };
A3561D3C1414024D00E9B51E /* func_exception */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = func_exception; sourceTree = "<group>"; };
A3561D3D1414024D00E9B51E /* functional */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = functional; sourceTree = "<group>"; };
A3561D3E1414024D00E9B51E /* iomanip */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = iomanip; sourceTree = "<group>"; };
A3561D3F1414024D00E9B51E /* ios */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ios; sourceTree = "<group>"; };
A3561D401414024D00E9B51E /* iosfwd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = iosfwd; sourceTree = "<group>"; };
A3561D411414024D00E9B51E /* iostream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = iostream; sourceTree = "<group>"; };
A3561D421414024D00E9B51E /* istream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = istream; sourceTree = "<group>"; };
A3561D431414024D00E9B51E /* istream_helpers */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = istream_helpers; sourceTree = "<group>"; };
A3561D441414024D00E9B51E /* iterator */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = iterator; sourceTree = "<group>"; };
A3561D451414024D00E9B51E /* iterator_base */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = iterator_base; sourceTree = "<group>"; };
A3561D461414024D00E9B51E /* limits */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = limits; sourceTree = "<group>"; };
A3561D471414024D00E9B51E /* list */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = list; sourceTree = "<group>"; };
A3561D481414024D00E9B51E /* locale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = locale; sourceTree = "<group>"; };
A3561D491414024D00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561D4A1414024D00E9B51E /* map */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = map; sourceTree = "<group>"; };
A3561D4B1414024D00E9B51E /* map.old */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = map.old; sourceTree = "<group>"; };
A3561D4C1414024D00E9B51E /* memory */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = memory; sourceTree = "<group>"; };
A3561D4D1414024D00E9B51E /* new */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = new; sourceTree = "<group>"; };
A3561D4E1414024D00E9B51E /* numeric */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = numeric; sourceTree = "<group>"; };
A3561D4F1414024D00E9B51E /* ostream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ostream; sourceTree = "<group>"; };
A3561D501414024D00E9B51E /* ostream_helpers */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ostream_helpers; sourceTree = "<group>"; };
A3561D511414024D00E9B51E /* queue */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = queue; sourceTree = "<group>"; };
A3561D521414024D00E9B51E /* set */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = set; sourceTree = "<group>"; };
A3561D531414024D00E9B51E /* set.old */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = set.old; sourceTree = "<group>"; };
A3561D541414024D00E9B51E /* sstream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = sstream; sourceTree = "<group>"; };
A3561D551414024D00E9B51E /* stack */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stack; sourceTree = "<group>"; };
A3561D561414024D00E9B51E /* stdexcept */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stdexcept; sourceTree = "<group>"; };
A3561D571414024D00E9B51E /* streambuf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = streambuf; sourceTree = "<group>"; };
A3561D581414024D00E9B51E /* string */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = string; sourceTree = "<group>"; };
A3561D591414024D00E9B51E /* string_iostream */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = string_iostream; sourceTree = "<group>"; };
A3561D5A1414024D00E9B51E /* support */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = support; sourceTree = "<group>"; };
A3561D5B1414024D00E9B51E /* system_configuration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = system_configuration.h; sourceTree = "<group>"; };
A3561D5C1414024D00E9B51E /* type_traits */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = type_traits; sourceTree = "<group>"; };
A3561D5D1414024D00E9B51E /* typeinfo */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = typeinfo; sourceTree = "<group>"; };
A3561D5E1414024D00E9B51E /* types */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = types; sourceTree = "<group>"; };
A3561D5F1414024D00E9B51E /* unwind-cxx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "unwind-cxx.h"; sourceTree = "<group>"; };
A3561D601414024D00E9B51E /* utility */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = utility; sourceTree = "<group>"; };
A3561D611414024D00E9B51E /* valarray */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = valarray; sourceTree = "<group>"; };
A3561D621414024D00E9B51E /* vector */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = vector; sourceTree = "<group>"; };
A3561D631414024D00E9B51E /* iomanip.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = iomanip.cpp; sourceTree = "<group>"; };
A3561D641414024D00E9B51E /* ios.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ios.cpp; sourceTree = "<group>"; };
A3561D651414024D00E9B51E /* iostream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = iostream.cpp; sourceTree = "<group>"; };
A3561D661414024D00E9B51E /* istream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = istream.cpp; sourceTree = "<group>"; };
A3561D671414024D00E9B51E /* iterator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = iterator.cpp; sourceTree = "<group>"; };
A3561D681414024D00E9B51E /* limits.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = limits.cpp; sourceTree = "<group>"; };
A3561D691414024D00E9B51E /* list.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = list.cpp; sourceTree = "<group>"; };
A3561D6A1414024D00E9B51E /* locale.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = locale.cpp; sourceTree = "<group>"; };
A3561D6B1414024D00E9B51E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
A3561D6C1414024D00E9B51E /* map.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = map.cpp; sourceTree = "<group>"; };
A3561D6D1414024D00E9B51E /* new_handler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = new_handler.cpp; sourceTree = "<group>"; };
A3561D6E1414024D00E9B51E /* new_op.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = new_op.cpp; sourceTree = "<group>"; };
A3561D6F1414024D00E9B51E /* new_opnt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = new_opnt.cpp; sourceTree = "<group>"; };
A3561D701414024D00E9B51E /* new_opv.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = new_opv.cpp; sourceTree = "<group>"; };
A3561D711414024D00E9B51E /* new_opvnt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = new_opvnt.cpp; sourceTree = "<group>"; };
A3561D721414024D00E9B51E /* numeric.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = numeric.cpp; sourceTree = "<group>"; };
A3561D731414024D00E9B51E /* ostream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ostream.cpp; sourceTree = "<group>"; };
A3561D741414024D00E9B51E /* queue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = queue.cpp; sourceTree = "<group>"; };
A3561D751414024D00E9B51E /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = "<group>"; };
A3561D761414024D00E9B51E /* set.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = set.cpp; sourceTree = "<group>"; };
A3561D771414024D00E9B51E /* sstream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sstream.cpp; sourceTree = "<group>"; };
A3561D781414024D00E9B51E /* stack.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stack.cpp; sourceTree = "<group>"; };
A3561D791414024D00E9B51E /* stdexcept.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stdexcept.cpp; sourceTree = "<group>"; };
A3561D7A1414024D00E9B51E /* streambuf.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = streambuf.cpp; sourceTree = "<group>"; };
A3561D7B1414024D00E9B51E /* string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = string.cpp; sourceTree = "<group>"; };
A3561D7C1414024D00E9B51E /* support.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = support.cpp; sourceTree = "<group>"; };
A3561D7D1414024D00E9B51E /* typeinfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = typeinfo.cpp; sourceTree = "<group>"; };
A3561D7E1414024D00E9B51E /* uClibc++.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "uClibc++.c"; sourceTree = "<group>"; };
A3561D7F1414024D00E9B51E /* utility.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = utility.cpp; sourceTree = "<group>"; };
A3561D801414024D00E9B51E /* valarray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = valarray.cpp; sourceTree = "<group>"; };
A3561D811414024D00E9B51E /* vector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = vector.cpp; sourceTree = "<group>"; };
A360AA7D14136C1A00084D3F /* Make.rules */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Make.rules; sourceTree = "<group>"; };
B0056CE711F3868000754B65 /* boot0.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = boot0.s; sourceTree = "<group>"; };
B0056CE811F3868000754B65 /* chain0.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = chain0.s; sourceTree = "<group>"; };
B0056CE911F3868000754B65 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
B0056D7411F3868000754B65 /* xml.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xml.c; sourceTree = "<group>"; };
B0056D7511F3868000754B65 /* xml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xml.h; sourceTree = "<group>"; };
B0056D7611F3868000754B65 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
B0056D7811F3868000754B65 /* MakePaths.dir */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MakePaths.dir; sourceTree = "<group>"; };
B0056D7A11F3868000754B65 /* machOconv.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = machOconv.c; sourceTree = "<group>"; };
B0056D7B11F3868000754B65 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
B0056D7C11F3868000754B65 /* TODO */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TODO; sourceTree = "<group>"; };
019DFBAF11FB94090013E8CC /* MEMTEST86_LICENSE */,
B0056D7C11F3868000754B65 /* TODO */,
B0056D7D11F3868000754B65 /* Makefile */,
A360AA7D14136C1A00084D3F /* Make.rules */,
B0056D8011F3868000754B65 /* coding_standards.txt */,
);
name = Chameleon;
path = ufs;
sourceTree = "<group>";
};
A3561C721413FD7800E9B51E /* fdisk */ = {
isa = PBXGroup;
children = (
A3561C731413FD7800E9B51E /* auto.c */,
A3561C741413FD7800E9B51E /* auto.h */,
A3561C751413FD7800E9B51E /* Cconfig */,
A3561C761413FD7800E9B51E /* cmd.c */,
A3561C771413FD7800E9B51E /* cmd.h */,
A3561C781413FD7800E9B51E /* disk.c */,
A3561C791413FD7800E9B51E /* disk.h */,
A3561C7A1413FD7800E9B51E /* fdisk.8 */,
A3561C7B1413FD7800E9B51E /* fdisk.c */,
A3561C7C1413FD7800E9B51E /* getrawpartition.c */,
A3561C7D1413FD7800E9B51E /* Makefile */,
A3561C7E1413FD7800E9B51E /* mbr.c */,
A3561C7F1413FD7800E9B51E /* mbr.h */,
A3561C801413FD7800E9B51E /* mbrcode.h */,
A3561C811413FD7800E9B51E /* misc.c */,
A3561C821413FD7800E9B51E /* misc.h */,
A3561C831413FD7800E9B51E /* opendev.c */,
A3561C841413FD7800E9B51E /* part.c */,
A3561C851413FD7800E9B51E /* part.h */,
A3561C861413FD7800E9B51E /* user.c */,
A3561C871413FD7800E9B51E /* user.h */,
A3561C881413FD7800E9B51E /* util.h */,
);
path = fdisk;
sourceTree = "<group>";
};
A3561CAB1414024C00E9B51E /* modules */ = {
isa = PBXGroup;
children = (
A3561CAC1414024C00E9B51E /* Cconfig */,
A3561CAD1414024C00E9B51E /* HelloWorld */,
A3561CB21414024C00E9B51E /* include */,
A3561CB41414024C00E9B51E /* Keylayout */,
A3561CB71414024D00E9B51E /* klibc */,
A3561D011414024D00E9B51E /* Makefile */,
A3561D021414024D00E9B51E /* MakeInc.dir */,
A3561D031414024D00E9B51E /* Modules.txt */,
A3561D041414024D00E9B51E /* Resolution */,
A3561D0F1414024D00E9B51E /* uClibcxx */,
);
path = modules;
sourceTree = "<group>";
};
A3561CAD1414024C00E9B51E /* HelloWorld */ = {
isa = PBXGroup;
children = (
A3561CAE1414024C00E9B51E /* Cconfig */,
A3561CAF1414024C00E9B51E /* HelloWorld.cpp */,
A3561CB01414024C00E9B51E /* include */,
A3561CB11414024C00E9B51E /* Makefile */,
);
path = HelloWorld;
sourceTree = "<group>";
};
A3561CB01414024C00E9B51E /* include */ = {
isa = PBXGroup;
children = (
);
path = include;
sourceTree = "<group>";
};
A3561CB21414024C00E9B51E /* include */ = {
isa = PBXGroup;
children = (
A3561CB31414024C00E9B51E /* modules */,
);
path = include;
sourceTree = "<group>";
};
A3561CB41414024C00E9B51E /* Keylayout */ = {
isa = PBXGroup;
children = (
A3561CB51414024C00E9B51E /* utils */,
);
path = Keylayout;
sourceTree = "<group>";
};
A3561CB51414024C00E9B51E /* utils */ = {
isa = PBXGroup;
children = (
A3561CB61414024D00E9B51E /* test */,
);
path = utils;
sourceTree = "<group>";
};
A3561CB71414024D00E9B51E /* klibc */ = {
isa = PBXGroup;
children = (
A3561CB81414024D00E9B51E /* __ashldi3.c */,
A3561CB91414024D00E9B51E /* __ashrdi3.c */,
A3561CBA1414024D00E9B51E /* __clzsi2.c */,
A3561CBB1414024D00E9B51E /* __divdi3.c */,
A3561CBC1414024D00E9B51E /* __divsi3.c */,
A3561CBD1414024D00E9B51E /* __lshrdi3.c */,
A3561CBE1414024D00E9B51E /* __moddi3.c */,
A3561CBF1414024D00E9B51E /* __modsi3.c */,
A3561CC01414024D00E9B51E /* __udivdi3.c */,
A3561CC11414024D00E9B51E /* __udivmoddi4.c */,
A3561CC21414024D00E9B51E /* __udivmodsi4.c */,
A3561CC31414024D00E9B51E /* __udivsi3.c */,
A3561CC41414024D00E9B51E /* __umoddi3.c */,
A3561CC51414024D00E9B51E /* __umodsi3.c */,
A3561CC61414024D00E9B51E /* atexit.c */,
A3561CC71414024D00E9B51E /* atexit.h */,
A3561CC81414024D00E9B51E /* atoi.c */,
A3561CC91414024D00E9B51E /* atol.c */,
A3561CCA1414024D00E9B51E /* atoll.c */,
A3561CCB1414024D00E9B51E /* atox.c */,
A3561CCC1414024D00E9B51E /* bsearch.c */,
A3561CCD1414024D00E9B51E /* calloc.c */,
A3561CCE1414024D00E9B51E /* Cconfig */,
A3561CCF1414024D00E9B51E /* exit.c */,
A3561CD01414024D00E9B51E /* jrand48.c */,
A3561CD11414024D00E9B51E /* klibc.c */,
A3561CD21414024D00E9B51E /* LICENSE */,
A3561CD31414024D00E9B51E /* limits.h */,
A3561CD41414024D00E9B51E /* lrand48.c */,
A3561CD51414024D00E9B51E /* Makefile */,
A3561CD61414024D00E9B51E /* memccpy.c */,
A3561CD71414024D00E9B51E /* memchr.c */,
A3561CD81414024D00E9B51E /* memmem.c */,
A3561CD91414024D00E9B51E /* memmove.c */,
A3561CDA1414024D00E9B51E /* memrchr.c */,
A3561CDB1414024D00E9B51E /* memswap.c */,
A3561CDC1414024D00E9B51E /* mrand48.c */,
A3561CDD1414024D00E9B51E /* nrand48.c */,
A3561CDE1414024D00E9B51E /* onexit.c */,
A3561CDF1414024D00E9B51E /* qsort.c */,
A3561CE01414024D00E9B51E /* Readme.txt */,
A3561CE11414024D00E9B51E /* seed48.c */,
A3561CE21414024D00E9B51E /* sha1hash.c */,
A3561CE31414024D00E9B51E /* snprintf.c */,
A3561CE41414024D00E9B51E /* srand48.c */,
A3561CE51414024D00E9B51E /* sscanf.c */,
A3561CE61414024D00E9B51E /* strcasecmp.c */,
A3561CE71414024D00E9B51E /* strdup.c */,
A3561CE81414024D00E9B51E /* strlcat.c */,
A3561CE91414024D00E9B51E /* strncasecmp.c */,
A3561CEA1414024D00E9B51E /* strndup.c */,
A3561CEB1414024D00E9B51E /* strnlen.c */,
A3561CEC1414024D00E9B51E /* strntoimax.c */,
A3561CED1414024D00E9B51E /* strntoumax.c */,
A3561CEE1414024D00E9B51E /* strpbrk.c */,
A3561CEF1414024D00E9B51E /* strsep.c */,
A3561CF01414024D00E9B51E /* strtoimax.c */,
A3561CF11414024D00E9B51E /* strtok.c */,
A3561CF21414024D00E9B51E /* strtok_r.c */,
A3561CF31414024D00E9B51E /* strtol.c */,
A3561CF41414024D00E9B51E /* strtoll.c */,
A3561CF51414024D00E9B51E /* strtotimespec.c */,
A3561CF61414024D00E9B51E /* strtotimeval.c */,
A3561CF71414024D00E9B51E /* strtotimex.c */,
A3561CF81414024D00E9B51E /* strtoul.c */,
A3561CF91414024D00E9B51E /* strtoull.c */,
A3561CFA1414024D00E9B51E /* strtoumax.c */,
A3561CFB1414024D00E9B51E /* strtox.c */,
A3561CFC1414024D00E9B51E /* strxspn.c */,
A3561CFD1414024D00E9B51E /* strxspn.h */,
A3561CFE1414024D00E9B51E /* version */,
A3561CFF1414024D00E9B51E /* vsnprintf.c */,
A3561D001414024D00E9B51E /* vsscanf.c */,
);
path = klibc;
sourceTree = "<group>";
};
A3561D041414024D00E9B51E /* Resolution */ = {
isa = PBXGroup;
children = (
A3561D051414024D00E9B51E /* 915resolution.c */,
A3561D061414024D00E9B51E /* 915resolution.h */,
A3561D071414024D00E9B51E /* Cconfig */,
A3561D081414024D00E9B51E /* edid.c */,
A3561D091414024D00E9B51E /* include */,
A3561D0B1414024D00E9B51E /* Makefile */,
A3561D0C1414024D00E9B51E /* Readme.txt */,
A3561D0D1414024D00E9B51E /* Resolution.c */,
A3561D0E1414024D00E9B51E /* shortatombios.h */,
);
path = Resolution;
sourceTree = "<group>";
};
A3561D091414024D00E9B51E /* include */ = {
isa = PBXGroup;
children = (
A3561D0A1414024D00E9B51E /* edid.h */,
);
path = include;
sourceTree = "<group>";
};
A3561D0F1414024D00E9B51E /* uClibcxx */ = {
isa = PBXGroup;
children = (
A3561D101414024D00E9B51E /* abi.cpp */,
A3561D111414024D00E9B51E /* algorithm.cpp */,
A3561D121414024D00E9B51E /* associative_base.cpp */,
A3561D131414024D00E9B51E /* bitset.cpp */,
A3561D141414024D00E9B51E /* Cconfig */,
A3561D151414024D00E9B51E /* char_traits.cpp */,
A3561D161414024D00E9B51E /* complex.cpp */,
A3561D171414024D00E9B51E /* del_op.cpp */,
A3561D181414024D00E9B51E /* del_opnt.cpp */,
A3561D191414024D00E9B51E /* del_opv.cpp */,
A3561D1A1414024D00E9B51E /* del_opvnt.cpp */,
A3561D1B1414024D00E9B51E /* deque.cpp */,
A3561D1C1414024D00E9B51E /* eh_alloc.cpp */,
A3561D1D1414024D00E9B51E /* eh_globals.cpp */,
A3561D1E1414024D00E9B51E /* exception.cpp */,
A3561D1F1414024D00E9B51E /* fstream.cpp */,
A3561D201414024D00E9B51E /* func_exception.cpp */,
A3561D211414024D00E9B51E /* include */,
A3561D631414024D00E9B51E /* iomanip.cpp */,
A3561D641414024D00E9B51E /* ios.cpp */,
A3561D651414024D00E9B51E /* iostream.cpp */,
A3561D661414024D00E9B51E /* istream.cpp */,
A3561D671414024D00E9B51E /* iterator.cpp */,
A3561D681414024D00E9B51E /* limits.cpp */,
A3561D691414024D00E9B51E /* list.cpp */,
A3561D6A1414024D00E9B51E /* locale.cpp */,
A3561D6B1414024D00E9B51E /* Makefile */,
A3561D6C1414024D00E9B51E /* map.cpp */,
A3561D6D1414024D00E9B51E /* new_handler.cpp */,
A3561D6E1414024D00E9B51E /* new_op.cpp */,
A3561D6F1414024D00E9B51E /* new_opnt.cpp */,
A3561D701414024D00E9B51E /* new_opv.cpp */,
A3561D711414024D00E9B51E /* new_opvnt.cpp */,
A3561D721414024D00E9B51E /* numeric.cpp */,
A3561D731414024D00E9B51E /* ostream.cpp */,
A3561D741414024D00E9B51E /* queue.cpp */,
A3561D751414024D00E9B51E /* Readme.txt */,
A3561D761414024D00E9B51E /* set.cpp */,
A3561D771414024D00E9B51E /* sstream.cpp */,
A3561D781414024D00E9B51E /* stack.cpp */,
A3561D791414024D00E9B51E /* stdexcept.cpp */,
A3561D7A1414024D00E9B51E /* streambuf.cpp */,
A3561D7B1414024D00E9B51E /* string.cpp */,
A3561D7C1414024D00E9B51E /* support.cpp */,
A3561D7D1414024D00E9B51E /* typeinfo.cpp */,
A3561D7E1414024D00E9B51E /* uClibc++.c */,
A3561D7F1414024D00E9B51E /* utility.cpp */,
A3561D801414024D00E9B51E /* valarray.cpp */,
A3561D811414024D00E9B51E /* vector.cpp */,
);
path = uClibcxx;
sourceTree = "<group>";
};
A3561D211414024D00E9B51E /* include */ = {
isa = PBXGroup;
children = (
A3561D221414024D00E9B51E /* algorithm */,
A3561D231414024D00E9B51E /* associative_base */,
A3561D241414024D00E9B51E /* basic_definitions */,
A3561D251414024D00E9B51E /* bitset */,
A3561D261414024D00E9B51E /* cassert */,
A3561D271414024D00E9B51E /* cctype */,
A3561D281414024D00E9B51E /* cerrno */,
A3561D291414024D00E9B51E /* cfloat */,
A3561D2A1414024D00E9B51E /* char_traits */,
A3561D2B1414024D00E9B51E /* climits */,
A3561D2C1414024D00E9B51E /* clocale */,
A3561D2D1414024D00E9B51E /* cmath */,
A3561D2E1414024D00E9B51E /* complex */,
A3561D2F1414024D00E9B51E /* csetjmp */,
A3561D301414024D00E9B51E /* csignal */,
A3561D311414024D00E9B51E /* cstdarg */,
A3561D321414024D00E9B51E /* cstddef */,
A3561D331414024D00E9B51E /* cstdio */,
A3561D341414024D00E9B51E /* cstdlib */,
A3561D351414024D00E9B51E /* cstring */,
A3561D361414024D00E9B51E /* ctime */,
A3561D371414024D00E9B51E /* cwchar */,
A3561D381414024D00E9B51E /* cwctype */,
A3561D391414024D00E9B51E /* deque */,
A3561D3A1414024D00E9B51E /* exception */,
A3561D3B1414024D00E9B51E /* fstream */,
A3561D3C1414024D00E9B51E /* func_exception */,
A3561D3D1414024D00E9B51E /* functional */,
A3561D3E1414024D00E9B51E /* iomanip */,
A3561D3F1414024D00E9B51E /* ios */,
A3561D401414024D00E9B51E /* iosfwd */,
A3561D411414024D00E9B51E /* iostream */,
A3561D421414024D00E9B51E /* istream */,
A3561D431414024D00E9B51E /* istream_helpers */,
A3561D441414024D00E9B51E /* iterator */,
A3561D451414024D00E9B51E /* iterator_base */,
A3561D461414024D00E9B51E /* limits */,
A3561D471414024D00E9B51E /* list */,
A3561D481414024D00E9B51E /* locale */,
A3561D491414024D00E9B51E /* Makefile */,
A3561D4A1414024D00E9B51E /* map */,
A3561D4B1414024D00E9B51E /* map.old */,
A3561D4C1414024D00E9B51E /* memory */,
A3561D4D1414024D00E9B51E /* new */,
A3561D4E1414024D00E9B51E /* numeric */,
A3561D4F1414024D00E9B51E /* ostream */,
A3561D501414024D00E9B51E /* ostream_helpers */,
A3561D511414024D00E9B51E /* queue */,
A3561D521414024D00E9B51E /* set */,
A3561D531414024D00E9B51E /* set.old */,
A3561D541414024D00E9B51E /* sstream */,
A3561D551414024D00E9B51E /* stack */,
A3561D561414024D00E9B51E /* stdexcept */,
A3561D571414024D00E9B51E /* streambuf */,
A3561D581414024D00E9B51E /* string */,
A3561D591414024D00E9B51E /* string_iostream */,
A3561D5A1414024D00E9B51E /* support */,
A3561D5B1414024D00E9B51E /* system_configuration.h */,
A3561D5C1414024D00E9B51E /* type_traits */,
A3561D5D1414024D00E9B51E /* typeinfo */,
A3561D5E1414024D00E9B51E /* types */,
A3561D5F1414024D00E9B51E /* unwind-cxx.h */,
A3561D601414024D00E9B51E /* utility */,
A3561D611414024D00E9B51E /* valarray */,
A3561D621414024D00E9B51E /* vector */,
);
path = include;
sourceTree = "<group>";
};
B0056CE511F3868000754B65 /* i386 */ = {
isa = PBXGroup;
children = (
B0056D1311F3868000754B65 /* doc */,
B0056D1611F3868000754B65 /* libsa */,
B0056D2411F3868000754B65 /* libsaio */,
A3561CAB1414024C00E9B51E /* modules */,
B0056D7911F3868000754B65 /* util */,
B0056D7611F3868000754B65 /* Makefile */,
B0056D7811F3868000754B65 /* MakePaths.dir */,
);
path = i386;
sourceTree = "<group>";
B0056D7911F3868000754B65 /* util */ = {
isa = PBXGroup;
children = (
A3561C721413FD7800E9B51E /* fdisk */,
A3561C891413FD7800E9B51E /* openUp.c */,
A3561C8A1413FD7800E9B51E /* dyldsymboltool.c */,
A3561C8B1413FD7800E9B51E /* bdmesg.c */,
B0056D7A11F3868000754B65 /* machOconv.c */,
B0056D7B11F3868000754B65 /* Makefile */,
);
branches/azimutz/Package/i386/MakePaths.dir
1
2
3
4
5
6
7
8
9
#
# Default paths for subdirectories.
#
OBJROOT=../../obj/i386/$(DIR)
SYMROOT=../../sym/i386
DSTROOT=../../dst/i386
SRCROOT=/tmp
branches/azimutz/Package/i386/libsaio/Makefile
1
1
22
33
44
......
1010
1111
1212
13
13
1414
1515
1616
......
2626
2727
2828
29
29
3030
3131
3232
......
4141
4242
4343
44
45
4446
4547
4648
4749
4850
4951
50
52
5153
52
54
5355
5456
5557
......
5759
5860
5961
62
63
6064
6165
6266
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/libsaio
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
DIR = libsaio
include ${SRCROOT}/Make.rules
UTILDIR = ../util
UTILDIR = ../util
LIBSADIR = ../libsa
BOOT2DIR = ../boot2
CPPFLAGS := $(CPPFLAGS) -nostdinc++
INC = -I. -I$(SYMROOT) -I$(LIBSADIR) -I$(BOOT2DIR) -I${SRCROOT}/i386/include
INC = -I. -I$(SRCROOT) -I$(SYMROOT) -I$(LIBSADIR) -I$(BOOT2DIR) -I${SRCROOT}/i386/include
SAIO_OBJS = table.o asm.o bios.o biosfn.o \
disk.o sys.o cache.o bootstruct.o \
device_inject.o nvidia.o ati.o gma.o pci_root.o \
convert.o aml_generator.o console.o
SAIO_OBJS := $(addprefix $(OBJROOT)/, $(SAIO_OBJS))
LIBS = libsaio.a
LIBS := $(addprefix $(SYMROOT)/, $(LIBS))
DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
all: $(DIRS_NEEDED) $(LIBS)
all: $(DIRS_NEEDED) $(CONFIG_HEADERS) $(LIBS) all-recursive
$(LIBS): $(addprefix $(OBJROOT)/, $(SAIO_OBJS))
$(LIBS): $(SAIO_OBJS)
@echo "\t[RM] $@"
@rm -f $@
@echo "\t[AR] $(@F)"
@echo "\t[RANLIB] $(@F)"
@ranlib $(SYMROOT)/$(@F)
clean-local:
@rm -f $(LIBS) $(SAIO_OBJS)
# dependencies
-include $(OBJROOT)/Makedep
branches/azimutz/Package/i386/libsaio/ati.c
498498
499499
500500
501
502501
502
503
503504
504505
505506
......
560561
561562
562563
563
564
564
565565
566
566567
568
569
567570
568571
569572
......
656659
657660
658661
659
662
660663
661664
662665
{ 0x68B8,0x22881787, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770",kVervet},
{ 0x68C0,0x1594103C, CHIP_FAMILY_REDWOOD,"AMD Radeon HD 6570M",kNull},
{ 0x68C0,0x392717AA, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5730",kBaboon},
{ 0x68C0,0x392717AA, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5730",kNull},
{ 0x68C1,0x033E1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
{ 0x68C8,0x2306103C, CHIP_FAMILY_REDWOOD,"ATI FirePro V4800 (FireGL)",kNull},
{ 0x6740,0x1657103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M",kNull},
{ 0x6741,0x050E1025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M",kNull},
{ 0x6741,0x05131025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M",kNull},
{ 0x6741,0x05131025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M",kNull},
{ 0x6741,0x1646103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6750M",kNull},
{ 0x6741,0x9080104D, CHIP_FAMILY_TURKS,"AMD Radeon HD 6630M",kNull},
{ 0x6741,0x9080104D, CHIP_FAMILY_TURKS,"AMD Radeon HD 6630M",kNull,},
{ 0x6759,0xE193174B, CHIP_FAMILY_TURKS,"AMD Radeon HD 6570",kNull},
{ 0x6760,0x1CB21043, CHIP_FAMILY_RV730,"AMD Radeon HD 6470M",kNull},
{ 0x673E,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790 Series",kNull},
{ 0x6740,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6700M Series",kNull},
{ 0x6741,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6600M/6700M Series", kNull},
{ 0x6741,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6600/6700M Series",kNull},
{ 0x6758,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670 Series",kNull},
{ 0x6759,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6500 Series",kNull},
branches/azimutz/Package/i386/libsaio/smbios_getters.c
2121
2222
2323
24
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
2553
2654
2755
......
3361
3462
3563
36
64
3765
3866
3967
......
113141
114142
115143
116
144
117145
118146
119147
bool getProcessorInformationExternalClock(returnType *value)
{
value->word = Platform.CPU.FSBFrequency/1000000;
if (Platform.CPU.Vendor == CPUID_VENDOR_INTEL) // Intel
{
switch (Platform.CPU.Family)
{
case 0x06:
{
switch (Platform.CPU.Model)
{
// set external clock to 0 for SANDY
// removes FSB info from system profiler as on real mac's.
case CPU_MODEL_SANDY_XEON:
case CPU_MODEL_SANDY:
value->word = 0;
break;
default:
value->word = Platform.CPU.FSBFrequency/1000000;
}
}
break;
default:
value->word = Platform.CPU.FSBFrequency/1000000;
}
}
else
{
value->word = Platform.CPU.FSBFrequency/1000000;
}
return true;
}
bool getSMBOemProcessorBusSpeed(returnType *value)
{
if (Platform.CPU.Vendor == 0x756E6547) // Intel
if (Platform.CPU.Vendor == CPUID_VENDOR_INTEL) // Intel
{
switch (Platform.CPU.Family)
{
value->word = simpleGetSMBOemProcessorType();
if (Platform.CPU.Vendor == 0x756E6547) // Intel
if (Platform.CPU.Vendor == CPUID_VENDOR_INTEL) // Intel
{
if (!done)
{
branches/azimutz/Package/i386/boot0/Makefile
1
1
22
33
44
......
1212
1313
1414
15
16
1517
16
17
18
1819
19
20
21
20
2221
2322
2423
25
26
24
25
26
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/boot0
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
DIRS_NEEDED = $(SYMROOT)
OBJS = boot0 boot0hfs boot0md chain0
OBJS := $(addprefix $(SYMROOT)/, $(OBJS))
OBJECTS = boot0 boot0hfs boot0md chain0
OBJECTS := $(addprefix $(SYMROOT)/, $(OBJECTS))
all: $(DIRS_NEEDED) $(OBJS)
all: $(DIRS_NEEDED) $(OBJECTS)
$(OBJECTS): $(SRCROOT)/autoconf.inc
$(OBJS): $(SRCROOT)/autoconf.inc
@echo "\t[NASM] $(@F)"
@$(NASM) $(@F).s -o $@
#dependencies
clean-local:
@for o in $(OBJS); do if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@rm -f $(OBJS)
branches/azimutz/Package/i386/boot1/Makefile
1
1
22
33
44
......
1616
1717
1818
19
20
2119
2220
2321
......
4139
4240
4341
42
43
44
45
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/boot1
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
VERS = `vers_string -f 5.0 | tr - .`
NEW_VERS = Darwin boot1h v$(VERS)
PROGRAMS = boot1hp boot1f32
ifeq (${CONFIG_BOOT1_HFS}, y)
install_i386:: all $(INSTALLDIR)
cp $(SYMROOT)/boot1h $(INSTALLDIR)/
cd $(INSTALLDIR); chmod u+w $(VERSIONED_FILES)
clean-local:
@for p in $(PROGRAMS); do if [ -f "$${p}" ];then echo "\t[RM] $${p}"; fi; done
@rm -f $(PROGRAMS)
branches/azimutz/Package/i386/boot2/Makefile
1
1
22
33
44
......
3333
3434
3535
36
36
3737
3838
3939
......
4545
4646
4747
48
48
49
4950
5051
5152
......
6465
6566
6667
67
68
6869
6970
7071
71
72
7273
7374
7475
75
76
7677
7778
7879
......
183184
184185
185186
186
187
188187
189188
189
190
191
192
193
194
195
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/boot2
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
LIBSAIODIR = ../libsaio
THEME = $(CONFIG_EMBEDED_THEME)
THEMEDIR = ../../artwork/themes/$(THEME)
INC = -I. -I$(SYMDIR) -I$(LIBSADIR) -I$(LIBSAIODIR) -I${SRCROOT}/i386/include
INC = -I. -I$(SRCROOT) -I$(SYMDIR) -I$(LIBSADIR) -I$(LIBSAIODIR) -I${SRCROOT}/i386/include
LIBS= -L$(SYMDIR) -lsaio -lsa
LIBDEP= libsaio.a libsa.a
OBJS = boot2.o boot.o graphics.o drivers.o prompt.o options.o lzss.o mboot.o \
ramdisk.o picopng.o resume.o bmdecompress.o graphic_utils.o gui.o modules.o \
modules_support.o boot_modules.o
# button.o browser.o scrollbar.o == NOTYET
# button.o browser.o scrollbar.o == NOTYET
OBJS := $(addprefix $(OBJROOT)/, $(OBJS))
UTILDIR = ../util
DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
PATCH_ADDR = $(shell echo ${SYMBOL_ADDR}-${DATA_ADDR}+${DATA_OFFSET} | bc)
all: $(DIRS_NEEDED) boot
all: $(DIRS_NEEDED) boot all-recursive
ifeq (${CONFIG_EMBED_THEME}, y)
boot: $(SYMROOT)/art.h $(SYMROOT)/vers.h $(SYMROOT)/embedded.h $(addprefix $(OBJROOT)/, $(OBJS)) $(addprefix $(SYMROOT)/, $(LIBDEP))
boot: $(CONFIG_HEADERS) $(SYMROOT)/art.h $(SYMROOT)/embedded.h $(OBJS) $(addprefix $(SYMROOT)/, $(LIBDEP))
else
boot: $(SYMROOT)/vers.h $(SYMROOT)/embedded.h $(addprefix $(OBJROOT)/, $(OBJS)) $(addprefix $(SYMROOT)/, $(LIBDEP))
boot: $(CONFIG_HEADERS) $(SYMROOT)/embedded.h $(OBJS) $(addprefix $(SYMROOT)/, $(LIBDEP))
endif
@cd $(SYMROOT)/../../doc && xxd -i BootHelp.txt > $(SYMROOT)/embedded.h
.PHONY: $(SYMROOT)/vers.h
#dependencies
-include $(OBJROOT)/Makedep
clean-local:
@for o in $(SYMROOT)/boot $(SYMROOT)/boot.sys $(SYMROOT)/embedded.h $(OBJROOT)/Symbols_LINKER_ONLY.dylib; do \
if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@if [ -d "$(OBJROOT)" ];then echo "\t[RM] all objects in $(OBJROOT)"; fi
@rm -f $(SYMROOT)/boot $(SYMROOT)/boot.sys $(SYMROOT)/embedded.h $(OBJS)
@rm -rf $(OBJROOT)
branches/azimutz/Package/i386/boot2/gui.c
831831
832832
833833
834
835
834
835
836836
837837
838838
......
892892
893893
894894
895
895
896896
897
898897
899898
900899
......
907906
908907
909908
909
910910
911911
912912
void drawDeviceList (int start, int end, int selection)
{
inti;
boolshoWinfo = true; //Azi:showinfo
extern bool showBootBanner; //
boolshoWinfo = false;
extern bool showBootBanner;
position_tp, p_prev, p_next;
//uint8_tmaxDevices = MIN( gui.maxdevices, menucount );
getBoolForKey(kShowInfoKey, &shoWinfo, &bootInfo->chameleonConfig);
if (shoWinfo && showBootBanner) // no boot banner, no showinfo.
if (shoWinfo && showBootBanner)
{
// keep formatted with spaces instead of tabs
gui.debug.cursor = pos( 10, 100);
dprintf( &gui.screen, "label: %s\n", param->label );
dprintf( &gui.screen, "biosdev: 0x%x\n", param->biosdev );
dprintf( &gui.screen, "name: %s\n", param->name );
dprintf( &gui.screen, "type_name: %s\n", param->type_name );
dprintf( &gui.screen, "modtime: %d\n", param->modTime );
//// res
dprintf( &gui.screen, "width: %d\n", gui.screen.width );
dprintf( &gui.screen, "height: %d\n", gui.screen.height );
//dprintf( &gui.screen, "attr: 0x%x\n", gui.screen.attr ); //Azi: reminder
branches/azimutz/Package/i386/config/cconfig.c
797797
798798
799799
800
800
801801
802802
803803
int main(int ac, char **av)
{
int saved_x, saved_y;
int saved_x = 0, saved_y = 0;
char *mode;
int res;
int rebuild = 0;
branches/azimutz/Package/i386/config/Makefile
33
44
55
6
6
77
88
99
......
1515
1616
1717
18
18
1919
2020
2121
22
23
2224
2325
2426
......
3032
3133
3234
33
35
3436
3537
3638
......
4648
4749
4850
49
51
5052
5153
52
54
55
56
57
# we'll just keep the generated files in this directory
# and install them directly, rather than generating them again.
#
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/config
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
DIR = util
include ${SRCROOT}/Make.rules
OBJECTS = cconfig.o32 cconfig.o64 zconf.tab.o32 zconf.tab.o64 \
OBJS = cconfig.o32 cconfig.o64 zconf.tab.o32 zconf.tab.o64 \
yesno.o32 yesno.o64 textbox.o32 textbox.o64 menubox.o32 \
menubox.o64 checklist.o32 checklist.o64 inputbox.o32 inputbox.o64
OBJS := $(addprefix $(OBJROOT)/, $(OBJS))
DEFINES = -DKBUILD_NO_NLS -DCURSES_LOC=\<ncurses.h\> -DPATH_MAX=256 -DPACKAGE=\"chameleon\"
LDFLAGS = -lncurses -lmenu
all: $(DIRS_NEEDED) $(SYMPROG)
$(SYMPROG): $(addprefix $(OBJROOT)/, $(OBJECTS))
$(SYMPROG): $(OBJS)
@echo "\t[LD32] $(@F)_32"
@$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -arch i386 -o $(SYMROOT)/$(@F)_32 $(OBJROOT)/*.o32
@echo "\t[LD64] $(@F)_64"
@cd ${SRCROOT} && $(SYMPROG) $(SRCROOT)/Cconfig rebuild
.PHONY: config
.PHONY: config rebuild_config
#dependencies
-include $(OBJROOT)/Makedep
-include $(OBJROOT)/Makedep
distclean-local:
@rm -f $(SYMPROG) $(OBJS) $(OBJROOT)/Makedep
branches/azimutz/Package/i386/modules/MakeInc.dir
1
1
22
3
3
44
55
66
......
2222
2323
2424
25
25
2626
2727
2828
......
3636
3737
3838
39
39
4040
4141
4242
......
7171
7272
7373
74
75
74
7675
7776
7877
79
78
8079
8180
8281
......
8685
8786
8887
89
90
88
9189
9290
9391
94
92
9593
9694
9795
......
107105
108106
109107
108
110109
111110
112111
113
112
114113
115114
116115
......
126125
127126
128127
129
128
130129
131
130
132131
133132
134133
......
143142
144143
145144
146
145
147146
148147
149148
150
151
152
153
154
155
156
157
158
149
150
151
152
153
154
155
159156
160
157
161158
162159
163160
164161
165
166
167162
168163
169164
170165
171166
172
167
173168
174169
175
170
176171
177172
178
173
179174
180175
181176
182177
183
178
SRCROOT = $(shell pwd)/../../../
SRCROOT = $(abspath $(CURDIR)/../../..)
OBJROOT = $(SRCROOT)/obj/i386/modules/$(DIR)
SYMROOT = $(SRCROOT)/sym/i386/modules/
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
DOCROOT = $(SRCROOT)/doc
IMGROOT = $(SRCROOT)/sym/cache
-fno-builtin -DSAIO_INTERNAL_USER -static $(OMIT_FRAME_POINTER_CFLAG) \
-mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \
-march=pentium4 -msse2 -mfpmath=sse -msoft-float -nostdinc -include $(SRCROOT)/autoconf.h
CPPFLAGS := $(CPPFLAGS) -arch i386 -static -nostdinc++ -Wmost -Werror \
-fno-builtin -mpreferred-stack-boundary=2 \
-fno-align-functions -fno-stack-protector \
-fno-align-functions -fno-stack-protector \
-march=pentium4 -msse2 -mfpmath=sse -msoft-float \
-arch i386 -include $(SRCROOT)/autoconf.h
CPPFLAGS := $(CPPFLAGS) -nostdinc++ -Wmost -Werror \
-fno-builtin -mpreferred-stack-boundary=2 \
-fno-align-functions -fno-stack-protector \
ifneq ($(BUILT_IN),yes)
# Make this as a *MODULE*
all: dylib
@for d in $(SUBDIRS); do (cd $$d; $(MAKE) $@ ); done
all: $(CONFIG_HEADERS) $(HEADER_VERSION) dylib all-recursive
else
# Module not selected to be compiled as a module
all:
all: $(CONFIG_HEADERS) $(HEADER_VERSION) all-recursive
endif
ifeq ($(BUILT_IN),yes)
# Make this *BUILT IN*
all: dylib_LINKER
@for d in $(SUBDIRS); do (cd $$d; $(MAKE) $@ ); done
all: $(CONFIG_HEADERS) $(HEADER_VERSION) dylib_LINKER all-recursive
else
# Module not selected to be built in
all:
all: $(CONFIG_HEADERS) $(HEADER_VERSION) all-recursive
endif
else
dylib: ${SYMROOT}/modules/ ${OBJROOT} $(SYMROOT)/modules/$(MODULE_NAME).dylib
MODULE_OBJS := $(addprefix $(OBJROOT)/, ${MODULE_OBJS})
ifeq ($(BUILT_IN),yes)
$(SYMROOT)/modules/$(MODULE_NAME).dylib: $(addprefix $(OBJROOT)/, ${MODULE_OBJS}) $(MODULE_DEPENDENCIES) $(OBJROOT)/$(MODULE_NAME).desc $(OBJROOT)/$(MODULE_NAME).author Makefile
$(SYMROOT)/modules/$(MODULE_NAME).dylib: $(MODULE_OBJS) $(MODULE_DEPENDENCIES) $(OBJROOT)/$(MODULE_NAME).desc $(OBJROOT)/$(MODULE_NAME).author Makefile
@echo "\t[LD] $(MODULE_NAME).dylib"
@ld -arch i386 -undefined dynamic_lookup \
-dylib -read_only_relocs suppress \
else
$(SYMROOT)/modules/$(MODULE_NAME).dylib: $(addprefix $(OBJROOT)/, ${MODULE_OBJS}) $(MODULE_DEPENDENCIES) $(OBJROOT)/$(MODULE_NAME).desc $(OBJROOT)/$(MODULE_NAME).author $(SRCROOT)/obj/i386/boot2/Symbols_LINKER_ONLY.dylib Makefile
$(SYMROOT)/modules/$(MODULE_NAME).dylib: $(MODULE_OBJS) $(MODULE_DEPENDENCIES) $(OBJROOT)/$(MODULE_NAME).desc $(OBJROOT)/$(MODULE_NAME).author $(SRCROOT)/obj/i386/boot2/Symbols_LINKER_ONLY.dylib Makefile
@echo "\t[LD] $(MODULE_NAME).dylib"
@ld -arch i386 \
-alias _$(MODULE_START) start \
-dylib -read_only_relocs suppress \
-sectcreate __INFO __description $(OBJROOT)/$(MODULE_NAME).desc \
-macosx_version_min 10.6 \
-o $@
endif
clean:
@for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@ ); done
@echo "\t[RM] $(SYMROOT)/modules/$(MODULE_NAME).dylib"
@echo "\t[RM] $(OBJROOT)"
@echo "\t[RM] $(DSTROOT)"
@echo "\t[RM] $(SRCROOT)/revision"
@echo "\t[RM] $(SRCROOT)/i386/modules/module_includes"
@rm -rf $(SYMROOT)/modules/$(MODULE_NAME).dylib &> /dev/null
@rm -rf $(OBJROOT) $(DSTROOT) $(SRCROOT)/revision $(SRCROOT)/i386/modules/module_includes
clean-local:
@if [ -f "$(SYMROOT)/modules/$(MODULE_NAME).dylib" ];then \
echo "\t[RM] $(SYMROOT)/modules/$(MODULE_NAME).dylib";\
fi
@for o in $(MODULE_OBJS); do if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@rm -f $(SYMROOT)/modules/$(MODULE_NAME).dylib
@rm -rf $(OBJROOT)
${SYMROOT}/modules/:
@echo "\t[MKDIR] $@"
@$(MKDIRS) $@
.PHONY: $(SRCROOT)/sym/i386/boot_modules.h
.PHONY: $(SRCROOT)/sym/i386/boot_modules.c
$(SRCROOT)/sym/i386/boot_modules.c:
@echo "\tstart_built_in_module(\"$(MODULE_NAME)\", \"$(MODULE_AUTHOR)\", \"$(MODULE_DESCRIPTION)\", 0, 0, &$(MODULE_START));" >> $@
$(SRCROOT)/sym/i386/boot_modules.h:
@echo "void $(MODULE_START)(); // $(MODULE_NAME)" >> $@
$(OBJROOT)/$(MODULE_NAME).author: Makefile
@echo "$(MODULE_AUTHOR)" > $@
$(OBJROOT)/$(MODULE_NAME).desc: Makefile
@echo "$(MODULE_DESCRIPTION)" > $@
#dependencies
-include $(OBJROOT)/Makedep
-include $(OBJROOT)/Makedep
branches/azimutz/Package/i386/modules/Makefile
1
2
1
2
33
44
55
......
3737
3838
3939
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
40
5641
5742
5843
5944
6045
61
46
6247
6348
6449
......
8570
8671
8772
73
74
75
#Makefile for i386 modules
SRCROOT = $(shell pwd)/../../
# Makefile for i386 modules
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/modules/
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
ifeq (${CONFIG_MODULES}, y)
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
@for i in ${SUBDIRS}; \
do \
echo ================= make $@ for $$i =================; \
( cd $$i; $(MKDIRS) $(OBJROOT)/$$i; ${MAKE} \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)/" \
"DSTROOT=$(DSTROOT)/" \
"SRCROOT=$(SRCROOT)" \
"RC_ARCHS=$(RC_ARCHS)" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$(RC_CFLAGS)" $@ \
) || exit $$?; \
done
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h all-recursive
@# Finish up boot_modules.c
@echo "}" >> $(SYMROOT)/boot_modules.c
else
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h all-recursive
@# Finish up boot_modules.c
@echo "}" >> $(SYMROOT)/boot_modules.c
@echo "// Autogenerated - do not modify" > $@
@echo "void start_built_in_modules(); " > $@
endif
clean-local:
@rm -f $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
branches/azimutz/Package/i386/cdboot/Makefile
1
1
22
33
44
......
2525
2626
2727
28
28
29
30
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/cdboot
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
| perl -ane "print pack('V',@F[0]);" \
| dd of=$(SYMROOT)/cdboot bs=1 count=4 seek=2044 conv=notrunc &> /dev/null
#dependencies
clean-local:
@if [ -f "$(SYMROOT)/cdboot" ];then echo "\t[RM] $(SYMROOT)/cdboot"; fi
@rm -f $(SYMROOT)/cdboot
branches/azimutz/Package/i386/libsa/Makefile
1
1
22
33
44
......
2222
2323
2424
25
25
2626
2727
2828
29
30
2931
3032
3133
......
3436
3537
3638
37
39
3840
3941
4042
......
4446
4547
4648
49
50
51
52
53
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/libsa
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
INC = -I. -I$(SYMROOT) -I$(LIBSAIODIR) -I${SRCROOT}/i386/include
SA_OBJS = prf.o printf.o zalloc.o \
OBJS = prf.o printf.o zalloc.o \
string.o strtol.o error.o \
setjmp.o qsort.o efi_tables.o
OBJS := $(addprefix $(OBJROOT)/, $(OBJS))
LIBS = libsa.a
LIBS := $(addprefix $(SYMROOT)/, $(LIBS))
all embedtheme: $(DIRS_NEEDED) $(LIBS)
$(LIBS): $(addprefix $(OBJROOT)/, $(SA_OBJS))
$(LIBS): $(OBJS)
@echo "\t[RM] $@"
@rm -f $@
@echo "\t[AR] $(@F)"
# dependencies
-include $(OBJROOT)/Makedep
clean-local:
@for o in $(OBJS); do if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@for l in $(LIBS); do if [ -f "$${l}" ];then echo "\t[RM] $${l}"; fi; done
@rm -f $(LIBS) $(OBJS)
branches/azimutz/Package/i386/Makefile
33
44
55
6
6
77
88
99
......
1616
1717
1818
19
19
2020
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
21
22
3623
37
24
3825
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# these paths are only valid in subdirectories of this directory
#
SRCROOT = $(shell pwd)/../
SRCROOT = $(abspath $(CURDIR)/..)
OBJROOT = $(SRCROOT)/obj/i386
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
# The order of building is important.
SUBDIRS_PRE = util
SUBDIRS = libsa libsaio boot0 boot1 boot2 cdboot modules
SUBDIRS = $(SUBDIRS_PRE) libsa libsaio boot0 boot1 boot2 cdboot modules
all:
@for i in ${SUBDIRS_PRE}; \
do \
echo ================= make $@ for $$i =================; \
( cd $$i; ${MAKE} \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)" \
"DSTROOT=$(DSTROOT)" \
"SRCROOT=$(SRCROOT)" \
"RC_ARCHS=$(RC_ARCHS)" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$(RC_CFLAGS)" $@ \
) || exit $$?; \
done
modules-builtin:
@cd modules; ${MAKE} BUILT_IN=yes
@cd modules; ${MAKE} BUILT_IN=yes $@
all: $(CONFIG_HEADERS) modules-builtin all-recursive
@for i in ${SUBDIRS}; \
do \
echo ================= make $@ for $$i =================; \
( cd $$i; ${MAKE} \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)" \
"DSTROOT=$(DSTROOT)" \
"SRCROOT=$(SRCROOT)" \
"RC_ARCHS=$(RC_ARCHS)" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$(RC_CFLAGS)" $@ \
) || exit $$?; \
done
config rebuild_config:
@for i in config; \
do \
echo ================= make $@ for $$i =================; \
( cd $$i; ${MAKE} \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)" \
"DSTROOT=$(DSTROOT)" \
"SRCROOT=$(SRCROOT)" \
"RC_ARCHS=$(RC_ARCHS)" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$(RC_CFLAGS)" $@ \
) || exit $$?; \
done
.PHONY: config
branches/azimutz/Package/i386/util/fdisk/Cconfig
33
44
55
6
6
77
default y
help
Say Y here if you want to compile the fdisk440 utility.
fdisk440 is used to update the boot0 file on the partition by replacing the first 440 bytes, instead of the first 446 bytes as with frisk.
fdisk440 is used to update the boot0 file on the partition by replacing the first 440 bytes, instead of the first 446 bytes as with fdisk.
When in doubt, say "Y".
branches/azimutz/Package/i386/util/fdisk/Makefile
1
1
22
33
44
......
1919
2020
2121
22
2223
2324
2425
2526
26
2727
2828
2929
3030
31
31
3232
3333
3434
......
4747
4848
4949
50
51
52
53
SRCROOT = $(shell pwd)/../../../
SRCROOT = $(abspath $(CURDIR)/../../..)
OBJROOT = $(SRCROOT)/obj/i386/util/fdisk
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
OBJS = cmd.o32 disk.o32 fdisk.o32 getrawpartition.o32 mbr.o32 misc.o32 opendev.o32 part.o32 user.o32 auto.o32 \
cmd.o64 disk.o64 fdisk.o64 getrawpartition.o64 mbr.o64 misc.o64 opendev.o64 part.o64 user.o64 auto.o64
OBJS := $(addprefix $(OBJROOT)/, $(OBJS))
PROGRAM = fdisk440
PROGRAM:= $(addprefix $(SYMROOT)/, $(PROGRAM))
ifeq ($(CONFIG_FDISK440),y)
all: $(SYMROOT) $(OBJROOT) $(PROGRAM)
$(PROGRAM): $(addprefix $(OBJROOT)/, $(OBJS))
$(PROGRAM): $(OBJS)
@echo "\t[LD32] $@_32"
@$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -arch i386 -o $@_32 $(filter %.o32,$^)
@echo "\t[LD64] $@_64"
#dependencies
-include $(OBJROOT)/Makedep
clean-local:
@for p in $(PROGRAMS); do if [ -f "$${p}" ];then echo "\t[RM] $${p}"; fi; done
@for o in $(OBJS); do if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@rm -f $(PROGRAM) $(OBJS)
branches/azimutz/Package/i386/util/Makefile
33
44
55
6
6
77
88
99
......
1717
1818
1919
20
20
2121
2222
2323
2424
25
25
2626
2727
2828
2929
30
30
3131
3232
33
3334
3435
3536
......
3738
3839
3940
40
41
4142
42
43
44
45
4346
4447
4548
......
4851
4952
5053
54
55
5156
52
53
54
55
56
57
58
59
60
57
58
59
60
# we'll just keep the generated files in this directory
# and install them directly, rather than generating them again.
#
SRCROOT = $(shell pwd)/../../
SRCROOT = $(abspath $(CURDIR)/../..)
OBJROOT = $(SRCROOT)/obj/i386/util
SYMROOT = $(SRCROOT)/sym/i386
DSTROOT = $(SRCROOT)/dst/i386
include ${SRCROOT}/Make.rules
PROGRAMS = machOconv dyldsymboltool
OBJECTS = dyldsymboltool.o32 dyldsymboltool.o64 machOconv.o32 machOconv.o64
OBJS = dyldsymboltool.o32 dyldsymboltool.o64 machOconv.o32 machOconv.o64
ifeq (${CONFIG_BDMESG}, y)
PROGRAMS += bdmesg
OBJECTS += bdmesg.o32 bdmesg.o64
OBJS += bdmesg.o32 bdmesg.o64
endif
ifeq (${CONFIG_OPENUP}, y)
PROGRAMS += openUp
OBJECTS += openUp.o64 openUp.o32
OBJS += openUp.o64 openUp.o32
endif
OBJS := $(addprefix $(OBJROOT)/, $(OBJS))
LDFLAGS := $(LDFALGS) -framework IOKit -framework CoreFoundation -mmacosx-version-min=10.5
DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
all: $(DIRS_NEEDED) $(SYMPROG) fdisk440
SUBDIRS = fdisk
$(SYMPROG): $(addprefix $(OBJROOT)/, $(OBJECTS))
all: $(DIRS_NEEDED) $(SYMPROG) all-recursive
$(SYMPROG): $(OBJS)
@echo "\t[LD32] $(@F)_32"
@$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -arch i386 -o $(SYMROOT)/$(@F)_32 $(OBJROOT)/$(@F).o32
@echo "\t[LD64] $(@F)_64"
@lipo -create -arch i386 $(SYMROOT)/$(@F)_32 -arch x86_64 $(SYMROOT)/$(@F)_64 -output $(SYMROOT)/$(@F)
@$(RM) $(SYMROOT)/$(@F)_32 $(SYMROOT)/$(@F)_64
#dependencies
-include $(OBJROOT)/Makedep
.PHONY: fdisk440
fdisk440:
@echo ================= make all for fdisk =================;
@$(MAKE) -C fdisk
#dependencies
-include $(OBJROOT)/Makedep
clean-local:
@for o in $(OBJS); do if [ -f "$${o}" ];then echo "\t[RM] $${o}"; fi; done
@for p in $(SYMPROG); do if [ -f "$${p}" ];then echo "\t[RM] $${p}"; fi; done
@rm -f $(SYMPROG) $(OBJS)
branches/azimutz/Package/package/slimpkg.sh
1818
1919
2020
21
21
2222
2323
24
25
24
25
2626
2727
2828
COL_BLUE="\x1b[34;01m"
COL_RESET="\x1b[39;49;00m"
#version=$( grep I386BOOT_CHAMELEONVERSION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' )
#version=$( grep I386BOOT_CHAMELEONVERSION vers.h | awk '{ print $3 }' | tr -d '\"' )
version=$( cat version )
stage=${version##*-}
revision=$( grep I386BOOT_CHAMELEONREVISION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
revision=$( grep I386BOOT_CHAMELEONREVISION vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
# =================
branches/azimutz/Package/package/builddmg.sh
3636
3737
3838
39
40
39
40
4141
4242
4343
version=$( cat version )
stage=${version##*-}
revision=$( grep I386BOOT_CHAMELEONREVISION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
revision=$( grep I386BOOT_CHAMELEONREVISION vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
# =========================
branches/azimutz/Package/package/Scripts/Standard/postinstall
11
22
3
34
45
56
......
1415
1516
1617
17
18
19
2018
2119
2220
......
3230
3331
3432
35
33
3634
3735
3836
3937
4038
4139
40
41
4242
4343
4444
......
234234
235235
236236
237
237
238238
239239
240240
......
290290
291291
292292
293
294
293
294
295295
296296
297297
298298
299
300
299
300
301301
302302
303303
304304
305305
306306
307
308
307
308
309309
310310
311
311312
312
313
313
314314
315315
316316
317
317
318318
319319
320
321
322
320
323321
324322
325323
......
327325
328326
329327
330
328
329
331330
332331
333332
334333
335
336334
337335
338336
339
337
340338
341339
342340
343341
344342
345343
346
347
344
345
348346
349
347
350348
351349
352350
......
362360
363361
364362
365
363
364
366365
367366
368367
#!/bin/bash
diskloader="boot0"
diskloaderdualboot="boot0md"
partitionloaderhfs="boot1h"
# $1 volume
bootvolume="${@}"
echo "Volume is $bootvolume"
bootresources="${0%/*}"
echo "$bootresources"
if [ -z "${bootvolume}" ]; then
echo
echo
echo "ERROR Volume does not use slices."
echo
exit
exit
fi
bootdisk=${bootdev%s*}
bootrdisk=${bootdisk/disk/rdisk}
bootslice=${bootdev#*disk*s}
bootresources="${bootvolume}/usr/local/bin/"
echo "==============================================="
echo "Installer Variables:"
echo "********************"
efiformat="hfs"
fi
if [ "$( fstyp ${bootdev} | grep msdos )" ]; then
echo "${bootdev} is currently formatted as msdos" #Azipkg: hum... it's not really msdos, but ok...
echo "${bootdev} is currently formatted as msdos" #Azi: hum... it's not really msdos, but ok...
efiformat="msdos"
fi
echo "-----------------------------------------------"
#---------------------------------------------------------------------
if [ ${disksignature} == "00000000" ]; then
echo "Executing command: fdisk440 -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}"
fdisk440 -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk}
echo "Executing command: ${bootresources}fdisk440 -u -f ${bootvolume}/usr/standalone/i386/${diskloader} -y ${bootrdisk}"
"${bootresources}fdisk440" -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootrdisk}
else
#---------------------------------------------------------------------
# If it exists then Windows is also installed on the HDD and we need to write boot0hfs
#---------------------------------------------------------------------
echo "Executing command: fdisk440 -u -f /usr/standalone/i386/${diskloaderdualboot} -y ${bootdisk}"
fdisk440 -u -f "${bootvolume}/usr/standalone/i386/${diskloaderdualboot}" -y ${bootdisk}
echo "Executing command: ${bootresources}fdisk440 -u -f ${bootvolume}/usr/standalone/i386/${diskloaderdualboot} -y ${bootrdisk}"
"${bootresources}fdisk440" -u -f "${bootvolume}/usr/standalone/i386/${diskloaderdualboot}" -y ${bootrdisk}
fi
else
echo "Diskupdate is false, so no stage 0 file was written"
fi
if [ ${efiformat} = "hfs" ]; then
echo "Executing command: dd if=/usr/standalone/i386/${partitionloaderhfs} of=${bootrdev}"
dd if="${bootvolume}/usr/standalone/i386/${partitionloaderhfs}" of=${bootrdev}
echo "Executing command: dd if=${bootvolume}/usr/standalone/i386/${partitionloaderhfs} of=${bootrdev}"
dd if="${bootvolume}/usr/standalone/i386/${partitionloaderhfs}" of=${bootrdev} #Azi: dd rdisk or disk ?*****
fi
#Azi: hum ???*****
if [ ${efiformat} = "msdos" ]; then
echo "Executing command: dd if=/usr/standalone/i386/${partitionloaderfat} of=${bootrdev}"
#Azipkg: just like this??... no preparation???
echo "Executing command: dd if=${bootvolume}/usr/standalone/i386/${partitionloaderfat} of=${bootrdev}"
dd if="${bootvolume}/usr/standalone/i386/${partitionloaderfat}" of=${bootrdev}
fi
echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}"
echo "Executing command: cp ${bootvolume}/usr/standalone/i386/${filesystemloader} ${bootvolume}"
cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}"
#Azipkg: at this point, we don't know if the user has setfile installed...
# and it looks like it's not found on "booteresources" ???
# do we really want to hide "boot"?... i never do...! IS THIS DONE HERE ??? SEE AT THE END OF THE FILE...
#Azi: this makes little sense here, unless boot1f32 works in other than EFI partition ?? (not for me, but need more test...)
#echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}"
#"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}"
echo ""
echo ""
#Azi: this is useless on GPT, the only thing to make active is the pMBR
# remember badaxe
echo "==============================================="
echo "Set Active Partition ONLY if Windows is not installed"
echo "*****************************************************"
#Azipkg: works for EFI, but does it work for other GPT partitions?... check, was under the impression that NO??!
if [ ${disksignature} == "00000000" ]; then
# echo "Windows is not installed so let's change the active partition"
partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}')
partitionactive=$( "${bootresources}fdisk440" -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}')
echo "Current Active Partition: ${partitionactive}"
if [ "${partitionactive}" = "${bootslice}" ]; then
echo "${bootvolume} is already flagged as active"
else
echo "${bootvolume} is not flagged as active, so let's do it."
# BadAxe requires EFI partition to be flagged active.
# but it doesn't' hurt to do it for any non-windows partition.
# BadAxe requires EFI partition to be flagged active. #Azi: EFI ??
# but it doesn't hurt to do it for any non-windows partition.
fdisk440 -e ${bootrdisk} <<-MAKEACTIVE
"${bootresources}fdisk440" -e ${bootrdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
echo ""
# hide boot file
#Azipkg: do we really want to hide "boot"?... i never do...
#Azi: do we really want to hide "boot"?... i never do...
# Should be turned into user option
chflags hidden "${3}/boot"
echo "boot file hidden ${3}/boot"
branches/azimutz/Package/package/Scripts/EFI/postinstall
77
88
99
10
11
1210
1311
1412
......
6361
6462
6563
64
6665
6766
6867
......
7069
7170
7271
72
73
7374
7475
7576
......
8384
8485
8586
87
8688
8789
8890
......
244246
245247
246248
247
249
248250
249251
250252
......
271273
272274
273275
274
276
275277
276278
277279
......
301303
302304
303305
304
305
306
307
306308
307309
308310
309311
310312
311
312
313
313
314
315
314316
315317
316318
......
319321
320322
321323
322
324
323325
324326
325327
326328
327329
328
330
329331
330332
331
333
332334
333335
334336
......
341343
342344
343345
344
346
345347
346348
347349
348350
349351
350
352
351353
352354
353355
......
355357
356358
357359
358
360
359361
360362
361363
362364
365
363366
364367
365368
366
369
367370
368371
369372
......
372375
373376
374377
375
376378
377379
378380
379
381
380382
381383
382384
383385
384386
385387
386
388
387389
388390
389
391
390392
391393
392394
......
407409
408410
409411
410
411412
412413
413414
414415
415416
416417
417
418
418419
419420
420421
421
422
422423
423424
424425
425426
426427
427
428
428429
429
430
430431
431432
432
433
433434
434435
435
436436
437
438
439
440
441
442
443
444
445
446
437447
438448
439449
bootervolumename="EFI"
booterextensions="Extra/Extensions"
bootresources="${0%/*}"
diskmicrocodetype[1]="GRUB,47525542"
diskmicrocodetype[2]="LILO,4c494c4f"
echo ""
echo ""
bootvolume="/Volumes/$bootervolumename"
bootdev=${bootdev%s*}s1
bootrdev=${bootdev/disk/rdisk}
bootrdisk=${bootdisk/disk/rdisk}
bootslice=${bootdev#*disk*s}
bootresources="${osxvolume}/usr/local/bin/"
echo "==============================================="
echo "Installer Variables Part 2:"
echo "***************************"
echo "Partition loader HFS is ${partitionloaderhfs}"
echo "Partition loader FAT is ${partitionloaderfat}"
echo "Filesystem loader is ${filesystemloader}"
echo "bootresources: Boot Resources is ${bootresources}"
echo "-----------------------------------------------"
echo ""
echo ""
}
} #Azipkg: ???
} #Azi: ???
start ${3}
efiformat="hfs"
fi
if [ "$( fstyp ${bootdev} | grep msdos )" ]; then
echo "${bootdev} is currently formatted as msdos" #Azipkg: hum... it's not really msdos, but ok...
echo "${bootdev} is currently formatted as msdos" #Azi: hum... it's not really msdos, but ok...
efiformat="msdos"
fi
echo "-----------------------------------------------"
#---------------------------------------------------------------------
if [ ${disksignature} == "00000000" ]; then
echo "Executing command: fdisk -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk}"
fdisk -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} #Azipkg
echo "Executing command: ${bootresources}fdisk440 -u -f ${osxvolume}/usr/standalone/i386/${diskloader} -y ${bootrdisk}"
"${bootresources}fdisk440" -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootrdisk} #Azipkg
else
#---------------------------------------------------------------------
# If it exists then Windows is also installed on the HDD and we need to write boot0hfs
#---------------------------------------------------------------------
#Azipkg: diskloader=boot0 ??? boot0hfs/boot0md - remenber this is for GPT!!
echo "Executing command: fdisk -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk}"
fdisk -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} #Azipkg
#Azi: diskloader=boot0 ??? boot0hfs/boot0md - remenber this is for GPT!!
echo "Executing command: ${bootresources}fdisk440 -u -f ${osxvolume}/usr/standalone/i386/${diskloader} -y ${bootrdisk}"
"${bootresources}fdisk440" -u -f "${osxvolume}/usr/standalone/i386/${diskloader}" -y ${bootrdisk} #Azipkg
fi
else
echo "Diskupdate is false, so no stage 0 file was written"
#echo "Executing command: dd if=${partitionloader} of=${bootrdev}"
#dd if="${osxvolume}/${partitionloader}" of=${bootrdev}
# if we have an original EFI ("FAT"), copy boot1f32 to newbs
# if we have an original EFI ("FAT")
if [ ${efiformat} = "msdos" ]; then
echo "Prepare Stage 1 loader"
# copy partition boot sector to origbs
echo "Executing command: dd if=${bootrdev} count=1 bs=512 of=/tmp/origbs"
dd if=${bootrdev} count=1 bs=512 of=/tmp/origbs
dd if=${bootrdev} count=1 bs=512 of=/tmp/origbs #Azi: dd rdisk or disk ?*****
# copy boot1f32 to newbs
echo "Executing command: cp "${osxvolume}/usr/standalone/i386/${partitionloaderfat}" /tmp/newbs"
echo "Executing command: cp ${osxvolume}/usr/standalone/i386/${partitionloaderfat} /tmp/newbs"
cp "${osxvolume}/usr/standalone/i386/${partitionloaderfat}" /tmp/newbs
# "merge" origbs into newbs
echo "Executing command: dd if=/tmp/newbs of=${bootrdev}"
dd if=/tmp/newbs of=${bootrdev}
else
#Azipkg: this is was failing for me, hanged at boot0: done. Got fine when i removed "bs=512 count=1" ??
#Azi: this is was failing for me, hanged at boot0: done. Got fine when i removed "bs=512 count=1" ??
# makes no sense but... anyway, i'd remove this!.. no need to change EFI fs if boot1f32 works fine.
# In fact, i'm not a fan of EFI installs so, i'd remove it all!! :)
echo "Write Stage 1 loader"
# just write boot1h to the partition boot sector
echo "Executing command: dd if="${osxvolume}/usr/standalone/i386/${partitionloaderhfs}" of=${bootrdev}"
echo "Executing command: dd if=${osxvolume}/usr/standalone/i386/${partitionloaderhfs} of=${bootrdev}"
dd if="${osxvolume}/usr/standalone/i386/${partitionloaderhfs}" of=${bootrdev}
fi
echo ""
echo ""
#Azi: this is useless on GPT, the only thing to make active is the pMBR
echo "==============================================="
echo "Set Active Partition ONLY if Windows is not installed:"
echo "*****************************************************"
#Azi: seems to me this should be on the Standard script ??
# If table is MBR make the correct slice active. If table is GPT make the first partition active (BadAxe compatibility).
#[ "${partitiontable}" = "GUID_partition_scheme" ] && bootslice=1
#if [[ "${partitiontable}" = "FDisk_partition_scheme" || "${partitiontable}" = "GUID_partition_scheme" ]]; then
#fdisk -e ${bootdisk} <<-MAKEACTIVE
#"${bootresources}fdisk440" -e ${bootdisk} <<-MAKEACTIVE
#print
#flag ${bootslice}
#write
#MAKEACTIVE
#fi
#Azipkg: works for EFI, but does it work for other GPT partitions?... check, was under the impression that NO??!
if [ ${disksignature} == "00000000" ]; then
# echo "Windows is not installed so let's change the active partition"
partitionactive=$( fdisk -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}')
partitionactive=$( "${bootresources}fdisk440" -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}')
echo "Current Active Partition: ${partitionactive}"
if [ "${partitionactive}" = "${bootslice}" ]; then
echo "${bootvolume} is already flagged as active"
else
echo "${bootvolume} is not flagged as active, so let's do it."
# BadAxe requires EFI partition to be flagged active.
# BadAxe requires EFI partition to be flagged active. #Azi: ????
# but it doesn't' hurt to do it for any non-windows partition.
fdisk -e ${bootrdisk} <<-MAKEACTIVE
"${bootresources}fdisk440" -e ${bootrdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
#checkpartitionbootcode check
#checkpartitionactive
#Azipkg: this forces the user to unmount the EFI part via terminal --> sudo umount /volumes/efi...?!
echo "==============================================="
echo "Mount EFI partition:"
echo "********************"
if [ ${efiformat} = "hfs" ]; then
[ -d "${bootvolume}" ] || mkdir -p "${bootvolume}"
echo "Executing command: mount_hfs -u 0 -g 0 ${bootdev} ${bootvolume}"
mount_hfs -u 0 -g 0 "${bootdev}" "${bootvolume}"
mount_hfs -u 0 -g 0 ${bootdev} ${bootvolume}
else
[ -d "${bootvolume}" ] || mkdir -p "${bootvolume}"
echo "Executing command: mount_msdos -u 0 -g 0 ${bootdev} ${bootvolume}"
mount_msdos -u 0 -g 0 "${bootdev}" "${bootvolume}"
mount_msdos -u 0 -g 0 ${bootdev} ${bootvolume}
fi
echo "-----------------------------------------------"
echo ""
echo ""
#Azi: this needs a rule for noboot pkg***
echo "==============================================="
echo "Write Stage 2 loader"
echo "Write files to EFI partition:"
echo "********************"
echo "Executing command: cp "${osxvolume}/usr/standalone/i386/${filesystemloader}" ${bootvolume}/boot"
echo "Executing command: cp ${osxvolume}/usr/standalone/i386/${filesystemloader} ${bootvolume}/boot"
cp "${osxvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}/boot"
echo "boot written"
#Azipkg: we're still missing copy Extra folder into EFI, else no themes & modules...???
#Azi: hidding boot file makes no sense since EFI is always hidden;.. reminder
#Azi: just getting the feel...
echo "Executing command: rsync ${osxvolume}/Extra/ ${bootvolume}/Extra"
#rsync -r -u
rsync -r "${osxvolume}/Extra/" "${bootvolume}/Extra"
rm -rf "${osxvolume}/Extra" # !?
echo "/Extra moved to ${bootvolume}"
#Azi: umount /volumes/efi...?
echo "-----------------------------------------------"
echo ""
echo ""
branches/azimutz/Package/package/Scripts/Advanced/ForceHPET/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ForceHPET has been written or not
ForceHPETCheck = False
branches/azimutz/Package/package/Scripts/Advanced/EHCIacquire/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EHCIacquire has been written or not
EHCIacquireCheck = False
branches/azimutz/Package/package/Scripts/Advanced/VBIOS/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if VBIOS has been written or not
VBIOSCheck = False
branches/azimutz/Package/package/Scripts/Advanced/GUI/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
......
2731
2832
2933
30
34
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GUI has been written or not
GUICheck = False
outfile = open(plist, "w")
outfile.write(body)
outfile.close()
outfile.close()
branches/azimutz/Package/package/Scripts/Advanced/SMBIOSdefaults/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if SMBIOSdefault has been written or not
SMBIOSdefaultCheck = False
branches/azimutz/Package/package/Scripts/Advanced/UseMemDetect/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseMemDetect has been written or not
UseMemDetectCheck = False
branches/azimutz/Package/package/Scripts/Advanced/LegacyLogo/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
......
1620
1721
1822
19
23
2024
2125
2226
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if LegacyLogo has been written or not
LegacyLogoCheck = False
for line in infile:
# if we finish the tags and haven't written LegacyLogo Yet
if "</dict>" in line and LegacyLogoCheck == False:
line = " <key>LegacyLogo</key>\n"
line = " <key>Legacy Logo</key>\n"
line += " <string>Yes</string>\n"
line += "</dict>\n"
LegacyLogoCheck = True
branches/azimutz/Package/package/Scripts/Advanced/Wake/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Wake has been written or not
WakeCheck = False
branches/azimutz/Package/package/Scripts/Advanced/BootBanner/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
......
1620
1721
1822
19
23
2024
2125
2226
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if BootBanner has been written or not
BootBannerCheck = False
for line in infile:
# if we finish the tags and haven't written BootBanner Yet
if "</dict>" in line and BootBannerCheck == False:
line = " <key>BootBanner</key>\n"
line = " <key>Boot Banner</key>\n"
line += " <string>No</string>\n"
line += "</dict>\n"
BootBannerCheck = True
branches/azimutz/Package/package/Scripts/Advanced/Npci/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Kernel Flags has been written or not
KernelFlagsCheck = False
branches/azimutz/Package/package/Scripts/Advanced/UHCIreset/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UHCIreset has been written or not
UHCIresetCheck = False
branches/azimutz/Package/package/Scripts/Advanced/ShowInfo/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
......
2731
2832
2933
30
34
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ShowInfo has been written or not
ShowInfoCheck = False
outfile = open(plist, "w")
outfile.write(body)
outfile.close()
outfile.close()
branches/azimutz/Package/package/Scripts/Advanced/Wait/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Wait has been written or not
WaitCheck = False
branches/azimutz/Package/package/Scripts/Advanced/UseNvidiaROM/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseNvidiaROM has been written or not
UseNvidiaROMCheck = False
branches/azimutz/Package/package/Scripts/Advanced/ForceWake/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ForceWake has been written or not
ForceWakeCheck = False
branches/azimutz/Package/package/Scripts/Advanced/UseAtiROM/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseAtiROM has been written or not
UseAtiROMCheck = False
branches/azimutz/Package/package/Scripts/Advanced/QuietBoot/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if QuietBoot has been written or not
QuietBootCheck = False
branches/azimutz/Package/package/Scripts/Post/postinstall
1313
1414
1515
16
17
16
17
1818
1919
2020
......
3535
3636
3737
38
38
3939
40
40
# /
echo "preinstall: Path to installer....... $1"
echo "preinstall: Path to destination..... $2"
echo "preinstall: Path to dest volume..... $3"
echo "preinstall: Path to destination..... $2" # same ??
echo "preinstall: Path to dest volume..... $3" # ||
echo "preinstall: Root of system folder... $4"
set -x
# delete the temporary Chameleon folder
rm -rf "$dest_vol/tmpcham" #Azipkg: were's this? sandbox???
rm -rf "$dest_vol/tmpcham" #Azipkg: ok, noboot & resolutions pkgs
echo "Done..."
echo "Done..."
branches/azimutz/Package/package/Scripts/BaseOptions/GenerateCStates/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GenerateCStates has been written or not
GenerateCStatesCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/DropSSDT/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if DropSSDT has been written or not
DropSSDTCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EthernetBuiltIn has been written or not
EthernetBuiltInCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/InstantMenu/postinstall
44
55
66
7
78
89
910
1011
12
13
14
1115
1216
1317
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Instant Menu has been written or not
InstantMenuCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GraphicsEnabler has been written or not
GraphicsEnablerCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/RestartFix/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if RestartFix has been written or not
RestartFixCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if CSTUsingSystemIO has been written or not
CSTUsingSystemIOCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/EnableC2State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC2State has been written or not
EnableC2StateCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/EnableC3State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC3State has been written or not
EnableC3StateCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/arch/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if arch has been written or not
archCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/EnableC4State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC4State has been written or not
EnableC4StateCheck = False
branches/azimutz/Package/package/Scripts/BaseOptions/GeneratePStates/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GeneratePStates has been written or not
GeneratePStatesCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1024x768x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1024x600x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1920x1200x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1600x900x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1280x1024x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1440x900x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1280x800x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1680x1050x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1920x1080x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/Scripts/Resolutions/1280x960x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/azimutz/Package/package/buildpkg.sh
1818
1919
2020
21
21
2222
2323
24
25
24
25
2626
2727
2828
......
4747
4848
4949
50
51
52
50
51
52
5353
5454
5555
......
6161
6262
6363
64
65
66
67
68
69
70
7164
7265
7366
......
8174
8275
8376
77
8478
8579
86
87
8880
8981
9082
......
9688
9789
9890
99
91
10092
10193
10294
......
10597
10698
10799
108
100
109101
110102
111103
......
121113
122114
123115
124
125
126
127116
128
129117
130118
131119
132120
133121
134
122
135123
136124
137125
138
139126
140127
141128
......
331318
332319
333320
334
321
335322
336323
337324
325
338326
339327
340328
......
354342
355343
356344
357
345
358346
359347
360348
......
408396
409397
410398
411
399
412400
413401
414402
......
453441
454442
455443
456
444
457445
458446
459447
......
464452
465453
466454
467
468
455
456
469457
470458
471459
......
474462
475463
476464
477
478
479
465
466
467
480468
481
482
483
484
485
486
487
469
470
471
472
473
474
475
488476
489477
490478
COL_BLUE="\x1b[34;01m"
COL_RESET="\x1b[39;49;00m"
#version=$( grep I386BOOT_CHAMELEONVERSION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' )
#version=$( grep I386BOOT_CHAMELEONVERSION vers.h | awk '{ print $3 }' | tr -d '\"' )
version=$( cat version )
stage=${version##*-}
revision=$( grep I386BOOT_CHAMELEONREVISION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
revision=$( grep I386BOOT_CHAMELEONREVISION vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
# =================
rm -R -f "${1}"
echo ""
echo -e $COL_BLACK"----------------------------------"$COL_RESET
echo -e $COL_BLACK"Building $packagename Install Package"$COL_RESET
echo -e $COL_BLACK"----------------------------------"$COL_RESET
echo -e $COL_RED"----------------------------------"$COL_RESET
echo -e $COL_RED"Building $packagename Install Package"$COL_RESET
echo -e $COL_RED"----------------------------------"$COL_RESET
echo ""
outline[$((outlinecount++))]="${indent[$xmlindent]}<choices-outline>"
#mkdir -p ${1}/Core/Root/usr/sbin #Azipkg
mkdir -p ${1}/Core/Root/usr/local/bin
mkdir -p ${1}/Core/Root/usr/standalone/i386
# if [ "$(ls -A "${1%/*}/i386/modules")" ]; then
# echo "Modules found."
# mkdir -p ${1}/Core/Root/usr/standalone/i386/modules
# cp -R ${1%/*}/i386/modules ${1}/Core/Root/usr/standalone/i386
# else
# echo "No found modules into dir module"
# fi
ditto --noextattr --noqtn ${1%/*}/i386/boot ${1}/Core/Root/usr/standalone/i386
ditto --noextattr --noqtn ${1%/*}/i386/boot0 ${1}/Core/Root/usr/standalone/i386
ditto --noextattr --noqtn ${1%/*}/i386/boot0md ${1}/Core/Root/usr/standalone/i386
# fixperms "${1}/Core/Root/"
ditto --noextattr --noqtn ${1%/*}/i386/fdisk440 ${1}/Core/Root/usr/local/bin #Azipkg
ditto --noextattr --noqtn ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/local/bin #Azipkg
# ditto --arch i386 `which SetFile` ${1}/Core/Root/usr/local/bin/SetFile
local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} )
echo "[BUILD] i386 "
#Azipkg: relocatable=\"false\" were to place it ??? needed ???
# $1 Path to package to build containing Root and or Scripts $2 Install Location $3 Size $4 Options
buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\"" >/dev/null 2>&1
# build Chameleon package
mkdir -p ${1}/Standard/Root
mkdir -p ${1}/Standard/Scripts/Tools
cp -f ${pkgroot}/Scripts/Standard/* ${1}/Standard/Scripts
# ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile
#ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile
echo "[BUILD] Standard "
buildpackage "${1}/Standard" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EFI']) &amp;&amp; exclusive(choices['noboot'])\"" >/dev/null 2>&1
# End build standard package
mkdir -p ${1}/EFI/Root
mkdir -p ${1}/EFI/Scripts/Tools
cp -f ${pkgroot}/Scripts/EFI/* ${1}/EFI/Scripts
# ditto --arch i386 `which SetFile` ${1}/EFI/Scripts/Tools/SetFile
#ditto --arch i386 `which SetFile` ${1}/EFI/Scripts/Tools/SetFile
echo "[BUILD] EFI "
buildpackage "${1}/EFI" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) &amp;&amp; exclusive(choices['noboot'])\"" >/dev/null 2>&1
# End build efi package
###############################
# Supported Modules #
###############################
# AMDGraphicsEnabler.dylib #
# ATiGraphicsEnabler.dylib #
# IntelGraphicsEnabler.dylib #
# klibc.dylib #
# NVIDIAGraphicsEnabler.dylib #
# Resolution.dylib #
# uClibcxx.dylib #
###############################
if [ "$(ls -A "${1%/*}/i386/modules")" ]; then
{
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Module\">"
outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Module\">" #Azi module or modules ?
choices[$((choicescount++))]="<choice\n\tid=\"Module\"\n\ttitle=\"Module_title\"\n\tdescription=\"Module_description\"\n>\n</choice>\n"
((xmlindent++))
packagesidentity="org.chameleon.modules"
# -
if [ -e ${1%/*}/i386/modules/klibc.dylib ]; then
{
# clean up
#rm -R -f "${1}" #Azipkg: don't delete sym/package - uncoment when done
#rm -R -f "${1}" #Azi: don't delete sym/package - uncoment when done
}
#Azi: not used
fixperms ()
{
# $1 path
local packagename="${1##*/}"
local identifier=$( echo ${packagesidentity}.${packagename//_/.} | tr [:upper:] [:lower:] )
find "${1}" -name '.DS_Store' -delete #Azipkg: DS_store cleaner
find "${1}" -name '.DS_Store' -delete #Azi: .DS_store cleaner
local filecount=$( find "${1}/Root" | wc -l )
if [ "${3}" ]; then
local installedsize="${3}"
fi
choices[$((choicescount++))]="<choice\n\tid=\"${packagename// /}\"\n\ttitle=\"${packagename}_title\"\n\tdescription=\"${packagename}_description\"\n${choiceoptions}>\n\t<pkg-ref id=\"${identifier}\" installKBytes='${installedsize}' version='${version}.0.0.${timestamp}' auth='root'>#${packagename// /}.pkg</pkg-ref>\n</choice>\n"
#rm -R -f "${1}" #Azipkg: don't delete e.g. sym/package/Core - uncoment when done
#rm -R -f "${1}" #Azi: don't delete e.g. sym/package/Core - uncoment when done
fi
}
stage=${stage/FINAL/2.0 Final}
perl -i -p -e "s/%CHAMELEONSTAGE%/${stage}/g" `find "${1}/${packagename}/Resources" -type f`
find "${1}/${packagename}" -name '.DS_Store' -delete
find "${1}/${packagename}" -name '.DS_Store' -delete #Azi: another .DS_store cleaner
pushd "${1}/${packagename}" >/dev/null
xar -c -f "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" --compression none .
popd >/dev/null
# ----
# ditto -xk "${pkgroot}/Icons/pkg.zip" "${pkgroot}/Icons/"
# DeRez -only icns "${pkgroot}/Icons/Icons/pkg.icns" > tempicns.rsrc
# Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
# SetFile -a C "${1%/*}/${packagename// /}-${version}-r${revision}.pkg"
# Rez -append tempicns.rsrc -o "${1%/*}/$packagename-${version}-r$revision.pkg"
# SetFile -a C "${1%/*}/$packagename-${version}-r$revision.pkg"
# rm -f tempicns.rsrc
# rm -rf "${pkgroot}/Icons/Icons"
# End
echo "MD5 (${packagename// /}-${version}-r${revision}.pkg) = ${md5}" > "${1%/*}/${packagename// /}-${version}-r${revision}.pkg.md5"
echo ""
echo -e $COL_BLACK"--------------------------"$COL_RESET
echo -e $COL_BLACK"Building process complete!"$COL_RESET
echo -e $COL_BLACK"--------------------------"$COL_RESET
echo -e $COL_RED"--------------------------"$COL_RESET
echo -e $COL_RED"Building process complete!"$COL_RESET
echo -e $COL_RED"--------------------------"$COL_RESET
echo ""
echo -e $COL_BLACK"Build info."
echo -e $COL_BLACK"==========="
echo -e $COL_BLUE"Package name:"$COL_BLACK"$packagename-${version}-r$revision.pkg"$COL_RESET
echo -e $COL_BLUE"MD5:"$COL_BLACK"$md5"$COL_RESET
echo -e $COL_BLUE"Version:"$COL_BLACK"$version"$COL_RESET
echo -e $COL_BLUE"Stage:"$COL_BLACK"$stage"$COL_RESET
echo -e $COL_BLUE"Date/Time:"$COL_BLACK"$builddate"$COL_RESET
echo -e $COL_RED"Build info."
echo -e $COL_RED"==========="
echo -e $COL_BLUE"Package name:"$COL_GREEN"$packagename-${version}-r$revision.pkg"$COL_RESET
echo -e $COL_BLUE"MD5:"$COL_GREEN"$md5"$COL_RESET
echo -e $COL_BLUE"Version:"$COL_GREEN"$version"$COL_RESET
echo -e $COL_BLUE"Stage:"$COL_GREEN"$stage"$COL_RESET
echo -e $COL_BLUE"Date/Time:"$COL_GREEN"$builddate"$COL_RESET
echo ""
}
branches/azimutz/Package/CREDITS
33
44
55
6
6
77
88
99
10
10
1111
1212
1313
Developers:
----------
zef, Turbo, dfe, netkas, mackerintel, fassl, Kabyl, kaitek, iNDi, asereBLN, mozodojo, meklort, AzimutZ, Slice, cosmo1t, cparm
zef, Turbo, dfe, netkas, mackerintel, fassl, Kabyl, kaitek, iNDi, JrCs, asereBLN, mozodojo, meklort, AzimutZ, Slice, cosmo1t, cparm
Thanks to:
---------
JrCs, mercurysquad, munky, rekursor, kalyway, Krazubu, XyZ, blackosx, DHP, nawcom, anval, scorpius, macman
mercurysquad, munky, rekursor, kalyway, Krazubu, XyZ, blackosx, DHP, nawcom, anval, scorpius, macman
Package:
---------
branches/azimutz/Package/Make.rules
1
12
23
34
4
55
66
77
......
2020
2121
2222
23
2324
2425
2526
......
7475
7576
7677
77
78
7879
7980
8081
......
8283
8384
8485
86
87
88
89
8590
91
92
93
94
95
96
97
98
99
86100
87101
88102
89103
90
91
92
93
94104
95
96
97
105
106
107
108
98109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
99156
157
158
159
160
161
162
163
164
-include $(SRCROOT)/auto.conf
export USE_APPLE_PB_SUPPORT = all
ifneq "" "$(wildcard /bin/mkdirs)"
MKDIRS = /bin/mkdirs
CPPFLAGS = $(MORECPP) -g -Wmost -Werror -fno-exceptions -fno-rtti
DEFINES=
DIST_SUBDIRS += $(SUBDIRS)
#
# Common makefile targets.
@$(CC) -Wa,-n -c $(INC) -arch i386 -o $(OBJROOT)/$(@F) boot2.s \
-MD -dependency-file $*.d
@md -u $(OBJROOT)/Makedep -f -d $*.d
$(OBJROOT)/%.o: %.s
@echo "\t[AS] $<"
@$(CC) $(CPPFLAGS) -c $(INC) -arch i386 -o $@ $< \
@md -u $(OBJROOT)/Makedep -f -d $*.d
CONFIG_FILES=$(SRCROOT)/auto.conf $(SRCROOT)/autoconf.h $(SRCROOT)/autoconf.inc $(SRCROOT)/.config
$(CONFIG_FILES): $(SRCROOT)/.config
@echo "\t[MAKE] config"
@make -C $(SRCROOT)/i386/config rebuild_config
HEADER_VERSION=$(SRCROOT)/vers.h
$(HEADER_VERSION): $(SRCROOT)/version
@echo "#define I386BOOT_VERSION \"5.0.132\"" > $@
@echo "#define I386BOOT_BUILDDATE \"`date \"+%Y-%m-%d %H:%M:%S\"`\"" >> $@
@echo "#define I386BOOT_CHAMELEONVERSION \"`cat $(SRCROOT)/version`\"" >> $@
@echo "#define I386BOOT_CHAMELEONREVISION \"`svnversion -n | tr -d [:alpha:]`\"" >> $@
CONFIG_HEADERS=$(CONFIG_FILES) $(HEADER_VERSION)
# This breaks make, must use make all (FIXME)
$(DIRS_NEEDED) $(INSTALLDIR) $(OBJROOT) $(SYMROOT):
@echo "\t[MKDIR] $@"
@$(MKDIRS) $@
$(SRCROOT)/auto.conf $(SRCROOT)/autoconf.h $(SRCROOT)/.config:
@echo "\t[MAKE] config"
@cd $(SRCROOT) && make rebuild_config
.PHONY: clean
clean:
@for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@ ); done
# Recursive rules
RECURSIVE_TARGETS = all-recursive
RECURSIVE_CLEAN_TARGETS = distclean-recursive clean-recursive
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS)
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo ================= Making $$target in $$subdir =================; \
(cd $$subdir && $(MAKE) $$target)\
|| eval $$failcom;\
done;
$(RECURSIVE_CLEAN_TARGETS):
@failcom='exit 1'; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-local"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $$local_target) \
|| eval $$failcom; \
done
clean-dep:
@if [ -f "$(OBJROOT)/Makedep" ];then echo "\t[RM] $(OBJROOT)/Makedep"; fi
@rm -f $(OBJROOT)/Makedep
clean: clean-recursive clean-dep
distclean: distclean-recursive clean-local clean-dep
clean-local:
distclean-local:
.DEFAULT_GOAL := all
# Local Variables: #
# mode: Makefile #
# tab-width: 2 #
# indent-tabs-mode: t #
# End: #
#
# vi: set noexpandtab ts=2 sw=2 sts=2: #
branches/azimutz/Package/Makefile
11
2
2
33
44
55
......
2727
2828
2929
30
3031
3132
3233
34
35
3336
37
38
39
3440
3541
3642
3743
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
44
5545
46
47
5648
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
9649
50
51
52
53
9754
9855
9956
......
11875
11976
12077
78
12179
80
81
12282
123
83
12484
12585
12686
......
13191
13292
13393
134
135
136
137
138
139
140
141
142
94
95
96
97
14398
144
99
100
101
102
103
104
105
106
107
108
109
110
145111
146
147
112
113
148114
149115
150116
......
152118
153119
154120
155
156
157
158
159
160
161
162
163
164121
165122
166123
#Makefile for kernel booter
SRCROOT = $(shell pwd)
SRCROOT = $(CURDIR)
OBJROOT = $(SRCROOT)/obj
SYMROOT = $(SRCROOT)/sym
DSTROOT = $(SRCROOT)/dst
EXCLUDE = --exclude=.svn --exclude=.DS_Store --exclude=sym --exclude=obj \
--exclude=package --exclude=archive --exclude=User_Guide_src --exclude=*.sh
#RC_CFLAGS = i386
ARCHLESS_RC_CFLAGS=`echo $(RC_CFLAGS) | sed 's/-arch [a-z0-9]*//g'`
GENERIC_SUBDIRS =
SUBDIRS = $(GENERIC_SUBDIRS) i386
DIST_SUBDIRS = $(SUBDIRS)
$(SRCROOT)/revision:
@svnversion -n | tr -d [:alpha:] > $(SRCROOT)/revision
#
# Currently builds for i386
#
config rebuild_config:
@if [ -e ".svn" ]; then svnversion -n | tr -d [:alpha:] > revision; fi
@echo ================= make config for i386 =================;
@( OBJROOT=$(OBJROOT)/i386; \
SYMROOT=$(SYMROOT)/i386; \
DSTROOT=$(DSTROOT); \
SRCROOT=$(SRCROOT); \
cd i386; ${MAKE} \
"OBJROOT=$$OBJROOT" \
"SYMROOT=$$SYMROOT" \
"DSTROOT=$$DSTROOT" \
"SRCROOT=$$SRCROOT" \
"RC_ARCHS=$$RC_ARCHS" \
"TARGET=$$i" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$$XCFLAGS" $@ \
) || exit $$?; \
@make -C $(SRCROOT)/i386/config $@
all: $(SYMROOT) $(OBJROOT) $(CONFIG_HEADERS) $(HEADER_VERSION) $(SRCROOT)/revision
@$(MAKE) all-recursive
all: $(SYMROOT) $(OBJROOT) $(SRCROOT)/auto.conf $(SRCROOT)/autoconf.h $(SRCROOT)/autoconf.inc $(SRCROOT)/.config $(SYMROOT)/i386/vers.h
@if [ -e ".svn" ]; then svnversion -n | tr -d [:alpha:] > revision; fi
@if [ -z "$(RC_ARCHS)" ]; then \
RC_ARCHS="i386"; \
fi; \
SUBDIRS="$(GENERIC_SUBDIRS) $$RC_ARCHS"; \
for i in $$SUBDIRS; \
do \
if [ -d $$i ]; then \
echo ================= make $@ for $$i =================; \
( OBJROOT=$(OBJROOT)/$${i}; \
SYMROOT=$(SYMROOT)/$${i}; \
DSTROOT=$(DSTROOT); \
SRCROOT=$(SRCROOT); \
XCFLAGS=$(ARCHLESS_RC_CFLAGS); \
GENSUBDIRS="$(GENERIC_SUBDIRS)"; \
for x in $$GENSUBDIRS; \
do \
if [ "$$x" == "$$i" ]; then \
XCFLAGS="$(RC_CFLAGS)"; \
break; \
fi \
done; \
cd $$i; ${MAKE} \
"OBJROOT=$$OBJROOT" \
"SYMROOT=$$SYMROOT" \
"DSTROOT=$$DSTROOT" \
"SRCROOT=$$SRCROOT" \
"RC_ARCHS=$$RC_ARCHS" \
"TARGET=$$i" \
"RC_KANJI=$(RC_KANJI)" \
"JAPANESE=$(JAPANESE)" \
"RC_CFLAGS=$$XCFLAGS" $@ \
) || exit $$?; \
else \
echo "========= nothing to build for $$i ========="; \
fi; \
done
dist image: all
@# To force the read of auto.conf (generated by 'all' target)
@make $@-local
dist-local image-local:
@echo "================= Distrib ================="
@echo "\t[RM] ${IMGROOT}"
@rm -rf ${IMGROOT}
@cp -f ${SYMROOT}/i386/boot0md ${IMGROOT}/usr/standalone/i386
@cp -f ${SYMROOT}/i386/boot1h ${IMGROOT}/usr/standalone/i386
@cp -f ${SYMROOT}/i386/boot1f32 ${IMGROOT}/usr/standalone/i386
ifdef CONFIG_FDISK440
@cp -f ${SYMROOT}/i386/fdisk440 ${IMGROOT}/usr/bin
endif
ifdef CONFIG_BDMESG
@cp -f ${SYMROOT}/i386/bdmesg ${IMGROOT}/usr/bin
endif
@echo "\t[HDIUTIL] ${ISOIMAGE}"
@hdiutil makehybrid -iso -joliet -hfs -hfs-volume-name \
${CDLABEL} -eltorito-boot ${CDBOOT} -no-emul-boot -ov -o \
@gzip --best ${DISTFILE}.tar
@mv ${DISTFILE}.tar.gz ${DISTFILE}.tgz
clean:
@echo "\t[RM] $(OBJROOT)"
@echo "\t[RM] $(SYMROOT)"
@echo "\t[RM] $(DSTROOT)"
@echo "\t[RM] $(SRCROOT)/revision"
@echo "\t[RM] $(SRCROOT)/i386/modules/module_includes"
@echo "\t[RM] $(SRCROOT)/auto.conf"
@echo "\t[RM] $(SRCROOT)/autoconf.h"
@echo "\t[RM] $(SRCROOT)/autoconf.inc"
clean-local:
@if [ -f "$(HEADER_VERSION)" ];then echo "\t[RM] $(HEADER_VERSION)"; fi
@if [ -f "$(SRCROOT)/revision" ];then echo "\t[RM] $(SRCROOT)/revision"; fi
@rm -f $(HEADER_VERSION) $(SRCROOT)/revision
@rm -rf $(OBJROOT) $(SYMROOT) $(DSTROOT) $(SRCROOT)/revision \
distclean-local:
@if [ -d "$(OBJROOT)" ];then echo "\t[RMDIR] $(OBJROOT)"; fi
@if [ -d "$(SYMROOT)" ];then echo "\t[RMDIR] $(SYMROOT)"; fi
@if [ -d "$(DSTROOT)" ];then echo "\t[RMDIR] $(DSTROOT)"; fi
@if [ -d "$(SRCROOT)/i386/modules/module_includes" ];then \
echo "\t[RMDIR] $(SRCROOT)/i386/modules/module_includes"; \
fi
@if [ -f "$(SRCROOT)/auto.conf" ];then echo "\t[RM] $(SRCROOT)/auto.conf"; fi
@if [ -f "$(SRCROOT)/autoconf.h" ];then echo "\t[RM] $(SRCROOT)/autoconf.h"; fi
@if [ -f "$(SRCROOT)/autoconf.inc" ];then echo "\t[RM] $(SRCROOT)/autoconf.inc"; fi
@rm -rf $(OBJROOT) $(SYMROOT) $(DSTROOT) \
$(SRCROOT)/i386/modules/module_includes \
$(SRCROOT)/auto.conf \
$(SRCROOT)/autoconf.h \
$(SRCROOT)/auto.conf \
$(SRCROOT)/autoconf.h \
$(SRCROOT)/autoconf.inc
pkg installer: all
@echo "\t[GZ] ${DISTFILE}.pkg"
@gzip --best ${DISTFILE}.pkg
$(SYMROOT)/i386/vers.h: version
@echo "#define I386BOOT_VERSION \"5.0.132\"" > $@
@echo "#define I386BOOT_BUILDDATE \"`date \"+%Y-%m-%d %H:%M:%S\"`\"" >> $@
@echo "#define I386BOOT_CHAMELEONVERSION \"`cat version`\"" >> $@
@echo "#define I386BOOT_CHAMELEONREVISION \"`svnversion -n | tr -d [:alpha:]`\"" >> $@
.PHONY: $(SYMROOT)/i386/vers.h
.PHONY: config
.PHONY: clean
.PHONY: image

Archive Download the corresponding diff file

Revision: 1510