Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  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
  53
  54
  55
  56
  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
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 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
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 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
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20201101

	* dirdeps.mk: most leaf makefiles are not suitable for building
	dirdeps.cache so if RELDIR is not "." use dirdeps.mk

2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20201028

	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
	when building dirdeps.cache for leaf directory use -f dirdeps.mk

	* sys.vars.mk: add M_JOT and M_RANGE

2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20201001

	* meta2deps.{py,sh}: throw an error if we don't see filemon version

2020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200909

	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target

2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
	(even more rare that use of static cache is playing clever tricks
	with it)

2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-cache-update.mk: allow
	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
	actually update STATIC_DIRDEPS_CACHE.

	* stage-install.sh: create dest directory if needed
	before running install(1)

2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-targets.mk: include Makefile.dirdeps.options

	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE

2020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty

	* dirdeps-cache-update.mk: building parallel cache update
	under the context of dirdeps-cached would be ideal, but
	is problematic, so it runs as a sibling.
	Use cache-built target to ensure we wait for it to complete if
	necessary.

2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200806

	* dirdeps-options: allow TARGET_SPEC to affect option values.
	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*

	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
	before looking for STATIC_DIRDEPS_CACHE

2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* host-target.mk: Darwin use MACHINE for HOST_ARCH too

	* dirdeps-options.mk: improve debug output

2020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
	for use by dirdeps-cache-update.mk

	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
	for use by dirdeps-cache-update.mk even if we don't use it.

	* dirdeps-cache-update.mk: we only need worry about the background
	update case, with the above, the update from DIRDEPS_CACHE is
	simple.

	* meta2deps.py: R 1234 . is not interesting

2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE

	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
	allows use of lower case for pseudo options.

	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE

2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
	which allows us to have a static cache for expensive targets.
	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
	to regenerate the dirdeps.cache it is a copy of.

2020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>

	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.

2020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
	load averages at intervals during build.

2020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200715

	* dirdeps.mk: tweak Checking line to make matching Finished
	lines for post-build analysis easier.

	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)

	* progs.mk: avoid prog.mk outputting multiple Finished lines

2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: further optimize dirdeps.cache
	generate a DIRDEPS.${.TARGET} list for other purposes
	and improve the layout.

2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: optimize content of dirdeps.cache

2020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* sys/*.mk: make it easier for local*sys.mk to customize by
	using ?=

2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
	it is much safer to guard local depends with a simple check for
	.MAKE.LEVEL > 0

2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200610

	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok

2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200606

	* dirdeps-targets.mk: allow for filtering of .TARGETS

	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
	entries - and we don't care about 'W'rite entries.
	Also ignore absolute paths that do not exist.

2020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200525

	* init.mk: expand and simplify handling of qualified vars
	like CPPFLAGS.${.TARGET:T}

2020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200515

	* dirdeps.mk: set _debug_* earlier and allow passing -d*
	flags to submake when building DIRDEPS_CACHE

2020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>

	* whats.mk: more easily extensible

2020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* whats.mk: greatly simplify by adding what.c to SRCS

2020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* whats.mk: for libs take care how we add to *OBJS

	* lib.mk: : works better with whats.mk

2020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200420

	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}

2020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20200416

	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
	  interfere with user env.

	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL

	* autodep.mk: use MAKE_SHELL.

2019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
	  wasted effort, and unexport _meta_files when no longer needed as
	  it consumes space we need for command line.

2019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
	  DIRDEP_USE_PRELUDE at start - facilitates job distribution

2019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
	TARGET_SPEC qualified depend files.

2019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-targets.mk: encapsulate logic for finding top-level
	  targets to set initial DIRDEPS for DIRDEPS_BUILD

2019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20190911

	* compiler.mk: set COMPILER_TYPE

2019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20190704

	* sys/Darwin.mk: support for Objective-C and clang

2019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps.mk: avoid insanely long command line when generating cache

2019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20190505

	* whats.mk: handle corner case SHLIB defined but not LIB

2018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20180919

	* dirdeps-options.mk: .undef cannot handle var that expands to
	  more than one var.

2018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>

	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.

2018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* meta.autodep.mk: export META_FILES to avoid command line limit
	* gendirdeps.mk: if we have lots of .meta files put them in
	  an @list

2018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* dirdeps-options.mk: use local.dirdeps-options.mk
	  not local.dirdeps-option.mk

2018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20180420
	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
	  ie. we are building something.

2018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.

2018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20180405

	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
	  if needed.

2018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20180118

	* ldorder.mk: let make compute correct link order

2017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* install-mk (MK_VERSION): 20171212

	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER

2017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20171111

	* lib.mk: ensure META_NOECHO is set

2017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Allow for host32 on rare occasions.

2017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20171018

	* whats.mk: include what_thing in what_uuid to avoid problem
	  when building multiple apps in the same directory.

2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170812

	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
	  add dependencies for config.recheck and config.gen

2017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170630

	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.

2017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta2deps.py: take special care of '..'

2017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170515

	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
	useful/necessary for a Makefile.depend file to export some knobs.
	This is complicated when we are doing DIRDEPS_CACHE, so we will
	handle export of any variables listed in DEP_EXPORT_VARS.

2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170505

	* meta2deps.py: fix botched indenation.

2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys/*.mk: Remove setting of MAKE it is unnecessary and
	  in many cases wrong (basname rather than full path)

	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk

	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc

2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170501

	* doc.mk: fix typo in DOC_INSTALL_OWN

	* inc.mk: handle INCGROUPS similar to freebsd

	* files.mk: add something for files too

	* add staging logic to lib.mk prog.mk etc.

2017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170424

	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
	  also target of bootstrap-this when sed is needed should be ${_want:T}

2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170418

	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.

2017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170401

	* meta2deps.py: add is_src so we can check if obj dependency
	  is also a src dependency.

2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170326

	* meta.stage.mk: do nothing if NO_STAGING is defined.

2017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.

2017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*

2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170301

	* dirdeps.mk (_build_all_dirs): update this outside test for empty
	  DIRDEPS.

	* meta.stage.mk: allow multiple inclusion to the extent it makes
	  sense.

2017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* prog.mk (install_links): depends on realinstall

2017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170212

	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries

2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20170130

	* dirdeps.mk: use :range if we can.

	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130

	* meta2deps.py: clean paths without using realpath() where possible.
	  fix sort_unique.

2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20161212

	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
	rather than when we detect pid change.

2016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20161207

	* meta.stage.mk: add stage_as_and_symlink for staging packages.
	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
	  to use foo.tgz to reference the latest staged version - so we
	  make foo.tgz a symlink to it.
	  Using a target to do both operations ensures we stay in sync.

2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20161126

	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
	  so it can add dependencies.

2016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
	  do that they can influence the result correctly.

	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC

	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST

2016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: remove dependence on jot (normal situations anyway).
	  Before we read another Makefile.depend* set DEP_* vars from
	  _DEP_TARGET_SPEC in case it uses any of them with :=
	  When bootstrapping, trim any ,* from extention of chosen _src
	  Makefile.depend* to get the machine value we subst for.

2016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER

	* sys.mk: extract some bits to sys.{debug,vars}.mk
	  for easier re-use by others.

2016-09-23  Simon Gerraty  <sjg@sjg-mba13>

	* lib.mk: Use ${PICO} for extension for PIC objects.
	  default to .pico (like NetBSD) safe on case insensitive filesystem.

2016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default

2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160815

	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.

2016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
	  in meta mode we can ignore the mtime of makefiles

2016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160802

	* lib.mk (libinstall): depends on beforinstall

	* prog.mk (proginstall): depends on beforinstall
	  patch from Lauri Tirkkonen

	* dirdeps.mk (bootstrap): When bootstrapping; creat
	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
	.MAKE.DEPENDFILE_BOOTSTRAP_SED

	* dirdeps.mk: move some comments to where they make sense.

2016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk (DIRDEPS_CACHE): no dirname.

2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160602
	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
	  do not apply :T to META_XTRAS
	  patch from Bryan Drewery at FreeBSD.org.

2016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160530
	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
	  make it so.

2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160512

	* dpadd.mk: always include local.dpadd.mk if it exists
	  remove some things that better belong in local.dpadd.mk
	  skip INCLUDES_* for staged libs unless SRC_* defined.

	* own.mk: add INCLUDEDIR

2016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
	  TARGET_MACHINE - :E will be empty or match part of path, use
	  ${MACHINE}

2016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
	  NO_FILEMON_COOKIE

	* dirdeps.mk: move the logic that allows for
	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
	  inside the check for !target(_DIRDEP_USE)

2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Use <> when including local*.mk and others which may exist
	  elsewhere so that user can better control what they get.

	* meta.autodep.mk (NO_FILEMON_COOKIE):
	  create a cookie if we ever build dir with nofilemon
	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.

2016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160401

	* meta2deps.py: fix old print statement when debugging.

	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
	  patch from Bryan Drewery

2016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160317 (St. Pats)

	* warnings.mk: g++ does not like -Wimplicit

	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
	  pelthora of common suffixes for C++

	* lib.mk: use .So for shared objects

2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160315

	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
	  normally only applies to scripts.

	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
	  well as outside it.

2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160310

	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
	  we have processed; the list gets very inefficient as number of
	  DIRDEPS gets large.

	* sys.dependfile.mk: fix comment wrt MACHINE

	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
	  patch from Bryan Drewery

2016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta2deps.sh: don't ignore subdirs.
	  patch from Bryan Drewery

2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160226

	* gendirdeps.mk: mark _DEPENDFILE .NOMETA

2016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: we shouldn't normally include .depend but if we do
	  use .dinclude if we can.

2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20160218
	* sys.clean-env.mk: with recent change to Var_Subst()
	  we cannot use the '$$' trick, but .export-literal does the job
	  we need.
	* auto.dep.mk: make use .dinclude if we can.


2016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk:
	  Add _build_all_dirs such that local.dirdeps.mk can
	  add fully qualified dirs to it.
	  These will be built normally but the current
	  DEP_RELDIR will not depend on then (to avoid cycles).
	  This makes it easy to hook things like unit-tests into build.


2016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: add bootstrap-empty

2015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20151212
	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
	  only apply :tA to __objdir when comparing to .OBJDIR

2015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20151111

	* meta.sys.mk: include sys.dependfile.mk

	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
	  include local.sys.env.mk early
	  include local.sys.mk later

	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk

2015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.sys.mk (META_COOKIE_TOUCH):
	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie

	* meta.stage.mk: stage_libs should ignore SYMLINKS.

2015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20151022

	* sys.mk: BSD/OS does not have 'type' as a shell builtin.

2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20151020

	* dirdeps.mk: Add logic for
	  make -f dirdeps.mk some/dir.${TARGET_SPEC}

2015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20151010

2015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
	  to have stage_lins run last in non-jobs mode.
	  Use .ORDER only for jobs mode.

2015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* rst2htm.mk: allow for per target flags etc.

2015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150901

	* doc.mk: create dir if needed use DOC_INSTALL_OWN

2015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150615

	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
	  Follow make's normal precedence rules.

	* gendirdeps.mk: allow customization of the header.
	  eg. for FreeBSD:
	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';

	* meta.autodep.mk: ignore dirdeps.cache*

	* meta.stage.mk: when bootstrapping options it can be handy to
	  throw warnings rather than errors for staging conflicts.

	* meta.sys.mk: include local.meta.sys.mk for customization

2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150606

	* dirdeps.mk: don't rely on manually maintained Makefile.depend
	  to set DEP_RELDIR and reset DIRDEPS.
	  By setting DEP_RELDIR ourselves we can skip :tA

	* gendirdeps.mk: skip setting DEP_RELDIR.

2015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: avoid wildcards like make(bootstrap*)

2015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150520

	* dirdeps.mk: when we are building dirdeps cache file we *want*
	  meta_oodate to look at all the Makefile.depend files, so
	  set .MAKE.DEPENDFILE to something that won't match.

	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
	  so first use absolute path as key.
	  Also skip staging at level 0.

2015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150430

	* dirdeps.mk: fix _count_dirdeps for non-cache case.

2015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150411
	  bump version

	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
	  it is here mainly for documentation purposes, since
	  if using auto.obj.mk it is better done via sys.mk

2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150401

	* meta2deps.sh: support @list

	* meta2deps.py: updates from Juniper
	  o add EXCLUDES
	  o skip bogus input files.
	  o treat 'M' and 'L' as both an 'R' and a 'W'

2015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20150303

	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
	  which is built via sub-make so we have a .meta file to tell if
	  it is out-of-date.
	  The dirdeps-cache contains the same dependency rules that we
	  normaly construct on the fly.
	  This adds a few seconds overhead when the cache is out of date,
	  but for a large target, the savings can be significant (10-20min).

2014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20141118

	* meta.stage.mk: add stale_staged

	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
	  only useful under very rare conditions such as
	  FreeBSD's make universe.

	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto

2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20141111

	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts

2014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* FILES: include mkopt.sh which allows handling options in shell
	  scripts in a manner compatible with options.mk

2014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
	  for GENDIRDEPS_FILTER to avoid surprises.

2014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
	  the time it is applied to __depdirs they have.

	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
	  expects patterns like *.${MACHINE}

	* cython.mk (pyprefix?): use pyprefix to find python bits
	  since prefix might be something else (where we install our
	  stuff)

2014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20140911

	* dirdeps.mk: add bootstrap target to simplify adding support for
	  new MACHINE.

2014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
	  Makefile.depend files.

2014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20140828

	* cython.mk: capture logic for building python extension modules
	  with Cython.

2014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant

2014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20140801

	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
	identify the autodep.mk variant.

	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
	initial value does not match .MAKE.DEPENDFILE_PREFIX

	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS

2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20140522

	* lib.mk: use CC to link shlib for linux too
	  patch from Brendan MacDonell

2014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
	  if WITH_META_STATS is defined.

2014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
	  to supress dirdeps outside of .CURDIR.

2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Fix spelling errors - patch from Pedro Giffuni

2014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20140314

	* dirdeps.mk (beforedirdeps): a handy hook

	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
	  to visit leaf dirs to be intercepted (eg. for distributed
	  build).

	* dirdeps.mk (__depdirs): ensure // don't sneak in

	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in


2014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* rst2htm.mk (RST2PDF): add support for rst2pdf

2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version
	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
	  available.

2014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* options.mk: avoid :U so this isn't bmake dependent

2014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* options.mk: cleanup and simplify semanitcs
	  NO_* dominates all, if both WITH_* and WITHOUT_*
	  are defined then result is DOMINATE_* which defaults to "no".
	  Ie. WITHOUT_ normally wins.

2013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version
	* meta2deps.py: convert to print function for python3 compat.
	  we also need to open files with mode 'r' rather than 'rb'
	  otherwise we get bytes instead of strings.

2013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version

	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
	  apply the same filtering (M_dep_qual_fixes) when setting _machines
	  as _build_dirs.
	  Also fix the filtering of Makefile.depend files - for reporting
	  what we are looking for (M_dep_qual_fixes can get confused by
	  Makefile.depend)
	  Add some more debug info.

2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* gendirdeps.mk (_objtops): fix typo also
	  while processing M2D_OBJROOTS to gather qualdir_list
	  qualify $ql with loop iterator to ensure correct results.

2013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20130801
	* libs.mk: update to match progs.mk

2013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20130726
	  some updates from Juniper and FreeBSD
	  o meta2deps.py: indicate file and line number when we hit parse
	    errors
	    also allow @file to provide huge list of .meta files.
	* meta2deps.py: add try_parse() to cleanup the above.

2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20130716
	* own.mk: add GPROG as an option
	* prog.mk: honor MK_GPROF==yes

2013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20130505
	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
	  for when $MACHINE isn't enough for objdir distinction.
	  Bring meta2deps.sh closer to par with meta2deps.py.

2013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
	  also if the target 'beforeinstall' exists, make it depend on
	  .dirdep (incase it uses STAGE_INSTALL).

2013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): 20130401 ;-)
	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
	  wrapper around install(1).
	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_

2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
	* install-mk (MK_VERSION): bump version

2013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version
	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
	  any trailing /., rather apply :tA only when needed.
	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
	  consistently.
	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.

2013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
	  it is simpler to just not update when say building for "host"
	  (where we know we apply filters to DIRDEPS), and using a
	  non-machine qualified dependfile.

2013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
	* meta2deps.py: if machine is "host", then also trim
	  self.host_target from any OBJROOTS.


2013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.

2013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
	  and hook to all: via staging:

2013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
	  use a separate variable for the default .MAKE.DEPENDFILE value
	  so that it can be controlled independently of
	  .MAKE.DEPENDFILE_PREFERENCE

	* meta.stage.mk: throw error if cp fails etc.
	  Stage*() return early if passed no args.
	  .ORDER stage_*

2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version
	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.

2013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20130210
	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
	  from Juniper.
	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
	    than just MACHINE.
	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.

2013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20130123
	* meta.stage.mk: add stage_links (hard links).
	  if doing hard links, we add dest to link as well.
	  Default the stage dir for [sym]links to STAGE_OBJTOP since
	  these are typically specified as absolute paths.
	  Add -m "mode" flag to StageFiles and StageAs.

2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20121111
	* autoconf.mk: avoid meta mode seeing changed commands for config.status
	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
	  in case we were found via .../mk
	* sys.clean-env.mk: move it from examples, we and others use it
	  "as is".
	* FILES: add srctop.mk and options.mk
	* own.mk: convert to using options.mk
	  which is modeled after FreeBSD's handling of MK_*
	  but more flexible.
	  This allows MK_* for boolean knobs to not be confused
	  with MK* which can be commands.

	* examples/sys.clean-env.mk: add WITH[OUT]_ to
	  MAKE_ENV_SAVE_PREFIX_LIST.
	  Mention that HOME=/var/empty might be a good idea.

2012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.dependfile.mk: if not depend file exists, $MACHINE
	  specific ones are supported but not the default,
	  check if any exist and follow suit.

2012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20121106

2012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* import latest dirdeps.mk and meta2deps.py from Juniper.
	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
	  appropriate.

2012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: update CLEANFILES
	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
	* progs.mk: Add LDADD to PROG_VARS

2012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
	  _STAGED_DIRS so that these can be turned into filters for
	  GENDIRDEPS_FILTER.

2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20121010
	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
	target.dirdep matches .dirdep

2012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120808
	* import latest meta2deps.py from Juniper.

2012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120711
	* dep.mk: add explicit dependencies on SRCS after applying
	  SRCS_DEP_FILTER
	* meta.autodep.mk: add explicit dependencies on SRCS after
	  applying SRCS_DEP_FILTER
	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.

2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120626
	* meta.sys.mk: ignore PYTHON if it does not exist
	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
	  entries ending in .${MACHINE} to decide if qualified _dirdep is
	  needed.
	* gendirdeps.mk: only produce unqualified deps if no
	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
	* meta.subdir.mk: apply SUBDIRDEPS_FILTER

2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120420
	* add sys.dependfile.mk so we can experiment with
	  .MAKE.DEPENDFILE_PREFERENCE
	* meta.autodep.mk: _DEPENDFILE is precious!

2012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120315
	* install-new.mk: avoid being interrupted

2012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* man.mk: MAN might have multiple values so be careful with exists().

2012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20120112
	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'

2011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION):  bump version to 20111201
	* import dirdeps.mk from Juniper sjg@
	  o more consistent handling of DEP_MACHINE, especially when
	    dealing with an odd Makefile.depend, when normally using
	    Makefile.depend.${MACHINE}

2011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20111122
	* meta.autodep.mk: add some debug output, be more crisp about
	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend

2011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20111111
	  it's too cool to miss
	* import meta* updates from Juniper sjg@
	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
	    normally using Makefile.depend.${MACHINE}), handy for
	    read-only manually maintained dependencies.
	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
	    anything.

2011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-new.mk separate the cmp and copy logic to its own function.

2011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20111028
	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
	* subdir.mk: ensure _SUBDIRUSE is provided
	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
	* meta.subdir.mk: always allow for Makefile.depend

2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20111010
	  o minor tweak to *dirdeps.mk from Juniper sjg@

2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20111001
	  o add meta2deps.py from Juniper sjg@
	  o tweak gendirdeps.mk to work with meta2deps.py when not
	    cross-building
	* autoconf.mk: add autoconf-input as a hook for regenerating
	  AUTOCONF_INPUTS (configure).

2011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
	  trigger for updating Makefile.depend*

2011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110808
	* obj.mk: minor cleanup
	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.

2011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
	  specified dir.

2011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.autodep.mk: if XMAKE_META_FILE is set
	  the makefile uses a foreign make, and so dependencies
	  can only be gathered from a clean tree build.

2011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110622
	* meta.autodep.mk: improve bootstraping

2011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* yacc.mk: handle the corner case of .c being removed
	  while .h remains.

2011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* yacc.mk: do .y.h and .y.c separately

2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110606
	* don't store SRC_DIRDEPS in Makefile.depend* by default
	  not everyone needs it.

2011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110505
	  first release including meta mode makefiles

2011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: add STAGE_AS_SETS and stage_as
	  for things that need to be staged with different names.

2011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: add notion of STAGE_SETS
	  so a makefile can stage to multiple dirs

2011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
	  on target name.

2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110330

2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
	* sys.mk: re-define M_whence in terms of M_type.
	  M_type is useful for checking if something is a builtin.

2011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
	  stage_libs

2011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dirdeps.mk: correct value for _depdir_files depends on
	  .MAKE.DEPENDFILE
	  Add our copyright - just to make it clear we have frobbed this
	  quite a bit.
	  DEP_MACHINE needs to be set to MACHINE each time, if using only
	  Makefile.depend (cf. Makefile.depend.${MACHINE})

	* meta.stage.mk: meta mode version of staging

	* init.mk, final.mk: include local.*.mk to simplify customization

2011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* auto.obj.mk: just because we are doing mk destroy, we should
	  still set .OBJDIR correctly if it exists.

	* install-mk (mksrc): do not exclude meta.sys.mk

2011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* host-target.mk: set/export _HOST_ARCH etc separately,
	  catch junk resulting from uname -p, so we can find sys/Linux.mk
	  correctly.

2011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.sys.mk: throw an error if /dev/filemon is missing and we
	  expected to be updating Makefile.depend*

2011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20110214
	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES

2010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.sys.mk: not valid for older bmake

2010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100919
	include dirdeps.mk et al from Juniper Networks,
	for meta mode - requires filemon(9).
	* sys.mk, subdir.mk: Add hooks for meta mode.
	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
	to make turning it on/off simple.

2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100616
	* fix typo in sys.mk

2010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100612
	* lib.mk: remove duplicate addition to SOBJS

2010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk: Add a means of selectively turning on debug flags.
	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
	  will act as if we did make -dv if .CURDIR ends in lib/sjg
	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
	  the start of sys.mk rather than the end.
	  This only makes sense for leaf dirs, so we check that
	  .MAKE.LEVEL > 0

2010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100608
	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
	  also make it easier for folk to tweak

2010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100606
	  do not install examples/*
	* FILES: add examples/sys.clean-env.mk
	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
	  this requires bmake-20100606 or later to work.

2010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk (M_tA): better simulate the result of :tA if not available.

2010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk: canonicalize MAKE_VERSION
	  old versions reported bmake-<src-date> build-<build-date>
	  whereas we only care about <src-date>

2010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
	  is !empty

2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dpadd.mk: use LDADD_* if defined.

2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100420
	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
	* autoconf.mk allow AUTO_AUTOCONF

2010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* obj.mk: add objwarn to keep freebsd makefiles happy
	* auto.obj.mk: ensure Mkdirs is available.
	* FILES: add auto.dep.mk - a simpler version of autodep.mk
	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
	  asked to do that.
	  fix/simplify the tests for when to run mkdep.
	* auto.dep.mk: add some explanation of how/what we do.
	* autodep.mk: skip the .OPTIONAL frobbing of .depend
	  bmake's FROM_DEPEND flag makes it redundant.

2010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100404
	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
	Also create a target _SUBDIRUSE so that we can  be used without
	subdir.mk

2010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dep.mk: use <> when .including so can override.

2010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* lib.mk (SHLIB_LINKS): ensure a string comparison.

2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100102
	* own.mk: ensure PRINTOBJDIR works
	* autoconf.mk: pass on CONFIGURE_ARGS
	* init.mk: handle COPTS.${.IMPSRC:T} etc.
	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
	  fix handling of symlinks for darwin
	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
	* man.mk: suppress chown when not root.
	* rst2htm.mk: allow srcs from multiple locations.
	* sys.mk: M_whence, stop after 1st line of output.
	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
	* sys/SunOS.mk: we need to export PATH

2009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	  include rst2htm.mk

2009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* sys.mk,libnames.mk add .-include <local.*>
	  this allows local customization without the need to edit the
	  distributed files.

2009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
	  older versions already installed.

2009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>

	* stage.mk (.stage-install): generalize lib.mk's .libinstall
	* rules.mk rules for generic Makefile.
	* inc.mk install for includes.

2009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
	  this, so provide it if using native make.

2009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* FILES: move all the platform *.sys.mk files to sys/*.mk
	* Rename Generic.sys.mk to sys.mk - we always want it.

2009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* host-target.mk: only export the expensive stuff
	* Generic.sys.mk (sys_mk): for SunOS we need to look for
	  ${HOST_OS}.${HOST_OSMAJOR} too!

2009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
	  based on patch from Greg Olszewski.
	* Generic.sys.mk: if we have nothing to work with
	set LORDER etc only if we can find it.

2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* man.mk: cleanman: remove CLEANMAN if defined.

2009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk

2009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	include auto.obj.mk


2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.

2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	man.mk: ensure we generate *.cat1 etc in .

2008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	add prlist.mk

2007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>

	* Generic.sys.mk: Allow os specific sys.mk to be in a
	subdir of ${.PARSEDIR}

2007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* general cleanup
	* dpadd.mk introduce DPMAGIC_LIBS_*

2007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version

	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
	depend files and ensure clean is called for each lib/prog.

2007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* autodep.mk (.depend): delete lines that do not start with
	space and do not contain ':'

2007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
	so make sure the transform for .OPTIONAL copes.

2007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version

	* own.mk: make sure RM and LN are defined.

	* obj.mk: fix a typo, and objlink target.

2006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* added libs.mk - analogous to progs.mk
	  make both of them always inlcude {lib,prog}.mk

2006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* progs.mk: add a means of building multiple apps in one dir.

2006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20061126

	* warnings.mk: detect invalid WARNINGS_SET

	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
	specific warnings.

	* For .cc sources, turn off warnings that g++ vomits on.

2006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk: if __initialized__ target doesn't exist and we are
	FreeBSD we got here directly from sys.mk

2006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20061106
	add scripts.mk

2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060318

	* autodep.mk: avoid := when modifying OBJS into __dependsrcs

2006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060302
	* autodep.mk: use -MF et al to help gcc+ccache DTRT.

2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060301
	* autodep.mk (.depend):
	if MAKE_VERSION is newer than  20050530 we can make .END depend on
	.depend and make .depend depend on __depsrcs that exist.
	* dpadd.mk: add SRC_PATHADD

2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20051104
	* prog.mk: remove all the LIBC?= junk, use
	.-include libnames.mk instead (none by default).
	also if USE_DPADD_MK is set, include that.

2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20051001
	Add UnixWare.sys.mk from Klaus Heinz.

2005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: always install *.sys.mk and if need be symlink one
	to sys.mk

2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* subdir.mk, own.mk: use .MAKE rather than MAKE

2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk: don't use NetBSD's _SRC_TOP_ it can
	cause confusion.  Also don't take just 'mk' as a
	srctop indicator.

2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* warnings.mk: overhauled, now very powerful.

2004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().

2004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20040201
	* extract HOST_TARGET stuff to host-target.mk so own.mk and
	Generic.sys.mk can share.
	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.

2003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): 20030930
	* rename generic.sys.mk to Generic.sys.mk
	so that it does not get installed (unless being used as sys.mk)
	* set OS and ROOT_GROUP for those that we know the value.
	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
	we don't do it again for each sub-make.

2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): 20030928
	Add some extra *.sys.mk from bootstrap-pkgsrc
	some of these likely still need work.
	Make everything default to root:wheel ownership,
	sys.mk can set ROOT_GROUP accordingly.

2003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
	not the portable ones.

2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: add ability to use cp -f when updating
	destination .mk files.  Also now possible to play games with
	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
	into dest - not recommended unless you seriously want to.

2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
	for semi-compatability with NetBSD.

2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: add a version indicator

2003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null

	* install-mk: Allow FORCE_SYS_MK to come from env