summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/Makefile.am
blob: 7a182430b05ba43dc3a883e885c80dfd68584297 (plain) (blame)
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
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
#
# Single Processor Testuite
#

ACLOCAL_AMFLAGS = -I ../aclocal

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am

sp_tests =
sp_screens =
sp_docs =
sp_libs =

support_includes = -I$(top_srcdir)/../support/include

if TEST_sp01
sp_tests += sp01
sp_screens += sp01/sp01.scn
sp_docs += sp01/sp01.doc
sp01_SOURCES = sp01/init.c sp01/task1.c sp01/system.h
sp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp01) $(support_includes)
endif

if TEST_sp02
sp_tests += sp02
sp_screens += sp02/sp02.scn
sp_docs += sp02/sp02.doc
sp02_SOURCES = sp02/init.c sp02/task1.c sp02/task2.c sp02/task3.c \
	sp02/preempt.c sp02/system.h
sp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp02) $(support_includes)
endif

if TEST_sp03
sp_tests += sp03
sp_screens += sp03/sp03.scn
sp_docs += sp03/sp03.doc
sp03_SOURCES = sp03/init.c sp03/task1.c sp03/task2.c sp03/system.h
sp03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp03) $(support_includes)
endif

if TEST_sp04
sp_tests += sp04
sp_screens += sp04/sp04.scn
sp_docs += sp04/sp04.doc
sp04_SOURCES = sp04/init.c sp04/task1.c sp04/task2.c sp04/task3.c \
	sp04/tswitch.c sp04/system.h
sp04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp04) $(support_includes)
endif

if TEST_sp05
sp_tests += sp05
sp_screens += sp05/sp05.scn
sp_docs += sp05/sp05.doc
sp05_SOURCES = sp05/init.c sp05/task1.c sp05/task2.c sp05/task3.c \
	sp05/system.h
sp05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp05) $(support_includes)
endif

if TEST_sp06
sp_tests += sp06
sp_screens += sp06/sp06.scn
sp_docs += sp06/sp06.doc
sp06_SOURCES = sp06/init.c sp06/task1.c sp06/task2.c sp06/task3.c \
	sp06/system.h
sp06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp06) $(support_includes)
endif

if TEST_sp07
sp_tests += sp07
sp_screens += sp07/sp07.scn
sp_docs += sp07/sp07.doc
sp07_SOURCES = sp07/init.c sp07/task1.c sp07/task2.c sp07/task3.c \
	sp07/task4.c sp07/taskexit.c sp07/tcreate.c sp07/tdelete.c \
	sp07/trestart.c sp07/tstart.c sp07/system.h
sp07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp07) $(support_includes)
endif

if TEST_sp08
sp_tests += sp08
sp_screens += sp08/sp08.scn
sp_docs += sp08/sp08.doc
sp08_SOURCES = sp08/init.c
sp08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp08) $(support_includes)
endif

if TEST_sp11
sp_tests += sp11
sp_screens += sp11/sp11.scn
sp_docs += sp11/sp11.doc
sp11_SOURCES = sp11/init.c sp11/task1.c sp11/task2.c sp11/timer.c \
	sp11/system.h
sp11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp11) $(support_includes)
endif

if TEST_sp12
sp_tests += sp12
sp_screens += sp12/sp12.scn
sp_docs += sp12/sp12.doc
sp12_SOURCES = sp12/init.c sp12/task1.c sp12/task2.c sp12/task3.c \
	sp12/task4.c sp12/task5.c sp12/pridrv.c sp12/pritask.c sp12/system.h
sp12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp12) $(support_includes)
endif

if TEST_sp13
sp_tests += sp13
sp_screens += sp13/sp13.scn
sp_docs += sp13/sp13.doc
sp13_SOURCES = sp13/init.c sp13/fillbuff.c sp13/putbuff.c sp13/task1.c \
	sp13/task2.c sp13/task3.c sp13/system.h
sp13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp13) $(support_includes)
endif

if TEST_sp14
sp_tests += sp14
sp_screens += sp14/sp14.scn
sp_docs += sp14/sp14.doc
sp14_SOURCES = sp14/init.c sp14/asr.c sp14/task1.c sp14/task2.c \
	sp14/system.h
sp14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp14) $(support_includes)
endif

if TEST_sp15
sp_tests += sp15
sp_screens += sp15/sp15.scn
sp_docs += sp15/sp15.doc
sp15_SOURCES = sp15/init.c sp15/task1.c sp15/system.h
sp15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp15) $(support_includes)
endif

if TEST_sp16
sp_tests += sp16
sp_screens += sp16/sp16.scn
sp_docs += sp16/sp16.doc
sp16_SOURCES = sp16/init.c sp16/task1.c sp16/task2.c sp16/task3.c \
	sp16/task4.c sp16/task5.c sp16/system.h
sp16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp16) $(support_includes)
endif

if TEST_sp17
sp_tests += sp17
sp_screens += sp17/sp17.scn
sp_docs += sp17/sp17.doc
sp17_SOURCES = sp17/init.c sp17/asr.c sp17/task1.c sp17/task2.c \
	sp17/system.h
sp17_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp17) $(support_includes)
endif

if TEST_sp18
sp_tests += sp18
sp_screens += sp18/sp18.scn
sp_docs += sp18/sp18.doc
sp18_SOURCES = sp18/init.c
sp18_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp18) $(support_includes)
endif

if TEST_sp19
sp_tests += sp19
sp_screens += sp19/sp19.scn
sp_docs += sp19/sp19.doc
sp19_SOURCES = sp19/init.c sp19/first.c sp19/fptask.c sp19/task1.c \
	sp19/system.h sp19/fptest.h sp19/inttest.h
sp19_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp19) $(support_includes)
endif

if TEST_sp20
sp_tests += sp20
sp_screens += sp20/sp20.scn
sp_docs += sp20/sp20.doc
sp20_SOURCES = sp20/init.c sp20/getall.c sp20/task1.c sp20/system.h
sp20_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp20) $(support_includes)
endif

if TEST_sp2038
sp_tests += sp2038
sp_screens += sp2038/sp2038.scn
sp_docs += sp2038/sp2038.doc
sp2038_SOURCES = sp2038/init.c
sp2038_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp2038) \
	$(support_includes)
endif

if TEST_sp21
sp_tests += sp21
sp_screens += sp21/sp21.scn
sp_docs += sp21/sp21.doc
sp21_SOURCES = sp21/init.c
sp21_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp21) $(support_includes) \
	-Wno-deprecated-declarations
endif

if TEST_sp22
sp_tests += sp22
sp_screens += sp22/sp22.scn
sp_docs += sp22/sp22.doc
sp22_SOURCES = sp22/init.c sp22/prtime.c sp22/delay.c sp22/task1.c \
	sp22/system.h
sp22_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp22) $(support_includes)
endif

if TEST_sp23
sp_tests += sp23
sp_screens += sp23/sp23.scn
sp_docs += sp23/sp23.doc
sp23_SOURCES = sp23/init.c sp23/task1.c sp23/system.h
sp23_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp23) $(support_includes)
endif

if TEST_sp24
sp_tests += sp24
sp_screens += sp24/sp24.scn
sp_docs += sp24/sp24.doc
sp24_SOURCES = sp24/init.c sp24/resume.c sp24/task1.c sp24/system.h
sp24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp24) $(support_includes)
endif

if TEST_sp25
sp_tests += sp25
sp_screens += sp25/sp25.scn
sp_docs += sp25/sp25.doc
sp25_SOURCES = sp25/init.c sp25/task1.c sp25/system.h
sp25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp25) $(support_includes)
endif

if TEST_sp26
sp_tests += sp26
sp_screens += sp26/sp26.scn
sp_docs += sp26/sp26.doc
sp26_SOURCES = sp26/init.c sp26/task1.c sp26/system.h
sp26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp26) $(support_includes)
endif

if TEST_sp27
sp_tests += sp27
sp_screens += sp27/sp27.scn
sp_docs += sp27/sp27.doc
sp27_SOURCES = sp27/init.c
sp27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp27) $(support_includes)
endif

if TEST_sp27a
sp_tests += sp27a
sp_screens += sp27a/sp27a.scn
sp_docs += sp27a/sp27a.doc
sp27a_SOURCES = sp27/init.c
sp27a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp27a) \
	$(support_includes) -DUSE_COUNTING_SEMAPHORE
endif

if NO_SMP
if TEST_sp29
sp_tests += sp29
sp_screens += sp29/sp29.scn
sp_docs += sp29/sp29.doc
sp29_SOURCES = sp29/init.c
sp29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp29) $(support_includes)
endif
endif

if TEST_sp30
sp_tests += sp30
sp_screens += sp30/sp30.scn
sp_docs += sp30/sp30.doc
sp30_SOURCES = sp30/init.c sp30/resume.c sp30/task1.c sp30/system.h
sp30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp30) $(support_includes)
endif

if TEST_sp31
sp_tests += sp31
sp_screens += sp31/sp31.scn
sp_docs += sp31/sp31.doc
sp31_SOURCES = sp31/delay.c sp31/init.c sp31/prtime.c sp31/task1.c \
	sp31/system.h
sp31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp31) $(support_includes)
endif

if TEST_sp32
sp_tests += sp32
sp_screens += sp32/sp32.scn
sp_docs += sp32/sp32.doc
sp32_SOURCES = sp32/init.c
sp32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp32) $(support_includes)
endif

if TEST_sp33
sp_tests += sp33
sp_screens += sp33/sp33.scn
sp_docs += sp33/sp33.doc
sp33_SOURCES = sp33/init.c
sp33_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp33) $(support_includes)
endif

if TEST_sp34
sp_tests += sp34
sp_screens += sp34/sp34.scn
sp_docs += sp34/sp34.doc
sp34_SOURCES = sp34/changepri.c
sp34_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp34) $(support_includes)
endif

if TEST_sp35
sp_tests += sp35
sp_screens += sp35/sp35.scn
sp_docs += sp35/sp35.doc
sp35_SOURCES = sp35/priinv.c
sp35_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp35) $(support_includes)
endif

if TEST_sp37
sp_tests += sp37
sp_screens += sp37/sp37.scn
sp_docs += sp37/sp37.doc
sp37_SOURCES = sp37/init.c sp37/system.h
sp37_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp37) $(support_includes)
endif

if TEST_sp38
sp_tests += sp38
sp_screens += sp38/sp38.scn
sp_docs += sp38/sp38.doc
sp38_SOURCES = sp38/init.c sp38/system.h
sp38_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp38) $(support_includes)
endif

if TEST_sp40
sp_tests += sp40
sp_screens += sp40/sp40.scn
sp_docs += sp40/sp40.doc
sp40_SOURCES = sp40/init.c
sp40_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp40) $(support_includes)
endif

if TEST_sp41
sp_tests += sp41
sp_screens += sp41/sp41.scn
sp_docs += sp41/sp41.doc
sp41_SOURCES = sp41/init.c
sp41_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp41) $(support_includes)
endif

if TEST_sp42
sp_tests += sp42
sp_screens += sp42/sp42.scn
sp_docs += sp42/sp42.doc
sp42_SOURCES = sp42/init.c
sp42_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp42) $(support_includes)
endif

if TEST_sp43
sp_tests += sp43
sp_screens += sp43/sp43.scn
sp_docs += sp43/sp43.doc
sp43_SOURCES = sp43/init.c sp43/system.h
sp43_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp43) $(support_includes)
endif

if TEST_sp44
sp_tests += sp44
sp_screens += sp44/sp44.scn
sp_docs += sp44/sp44.doc
sp44_SOURCES = sp44/init.c
sp44_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp44) $(support_includes)
endif

if TEST_sp45
sp_tests += sp45
sp_screens += sp45/sp45.scn
sp_docs += sp45/sp45.doc
sp45_SOURCES = sp45/init.c
sp45_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp45) $(support_includes)
endif

if TEST_sp46
sp_tests += sp46
sp_screens += sp46/sp46.scn
sp_docs += sp46/sp46.doc
sp46_SOURCES = sp46/init.c
sp46_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp46) $(support_includes)
endif

if TEST_sp47
sp_tests += sp47
sp_screens += sp47/sp47.scn
sp_docs += sp47/sp47.doc
sp47_SOURCES = sp47/init.c
sp47_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp47) $(support_includes)
endif

if TEST_sp48
sp_tests += sp48
sp_screens += sp48/sp48.scn
sp_docs += sp48/sp48.doc
sp48_SOURCES = sp48/init.c
sp48_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp48) $(support_includes)
endif

if TEST_sp49
sp_tests += sp49
sp_screens += sp49/sp49.scn
sp_docs += sp49/sp49.doc
sp49_SOURCES = sp49/init.c
sp49_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp49) $(support_includes)
endif

if TEST_sp50
sp_tests += sp50
sp_screens += sp50/sp50.scn
sp_docs += sp50/sp50.doc
sp50_SOURCES = sp50/init.c
sp50_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp50) $(support_includes)
endif

if TEST_sp51
sp_tests += sp51
sp_screens += sp51/sp51.scn
sp_docs += sp51/sp51.doc
sp51_SOURCES = sp51/init.c
sp51_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp51) $(support_includes)
endif

if TEST_sp52
sp_tests += sp52
sp_screens += sp52/sp52.scn
sp_docs += sp52/sp52.doc
sp52_SOURCES = sp52/init.c
sp52_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp52) $(support_includes)
endif

if TEST_sp53
sp_tests += sp53
sp_screens += sp53/sp53.scn
sp_docs += sp53/sp53.doc
sp53_SOURCES = sp52/init.c
sp53_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp53) $(support_includes) \
	-DUSE_TIMER_SERVER
endif

if TEST_sp54
sp_tests += sp54
sp_screens += sp54/sp54.scn
sp_docs += sp54/sp54.doc
sp54_SOURCES = sp54/init.c
sp54_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp54) $(support_includes)
endif

if TEST_sp55
sp_tests += sp55
sp_screens += sp55/sp55.scn
sp_docs += sp55/sp55.doc
sp55_SOURCES = sp55/init.c
sp55_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp55) $(support_includes)
endif

if TEST_sp56
sp_tests += sp56
sp_screens += sp56/sp56.scn
sp_docs += sp56/sp56.doc
sp56_SOURCES = sp56/init.c
sp56_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp56) $(support_includes)
endif

if TEST_sp57
sp_tests += sp57
sp_screens += sp57/sp57.scn
sp_docs += sp57/sp57.doc
sp57_SOURCES = sp57/init.c
sp57_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp57) $(support_includes)
endif

if TEST_sp58
sp_tests += sp58
sp_screens += sp58/sp58.scn
sp_docs += sp58/sp58.doc
sp58_SOURCES = sp58/init.c
sp58_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp58) $(support_includes)
endif

if TEST_sp59
sp_tests += sp59
sp_screens += sp59/sp59.scn
sp_docs += sp59/sp59.doc
sp59_SOURCES = sp59/init.c
sp59_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp59) $(support_includes)
endif

if TEST_sp60
sp_tests += sp60
sp_screens += sp60/sp60.scn
sp_docs += sp60/sp60.doc
sp60_SOURCES = sp60/init.c
sp60_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp60) $(support_includes)
endif

if TEST_sp62
sp_tests += sp62
sp_screens += sp62/sp62.scn
sp_docs += sp62/sp62.doc
sp62_SOURCES = sp62/init.c
sp62_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp62) $(support_includes)
endif

if TEST_sp63
sp_tests += sp63
sp_screens += sp63/sp63.scn
sp_docs += sp63/sp63.doc
sp63_SOURCES = sp63/init.c
sp63_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp63) $(support_includes)
endif

if TEST_sp64
sp_tests += sp64
sp_screens += sp64/sp64.scn
sp_docs += sp64/sp64.doc
sp64_SOURCES = sp64/init.c
sp64_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp64) $(support_includes) \
	-I$(top_srcdir)/include
endif

if TEST_sp65
sp_tests += sp65
sp_screens += sp65/sp65.scn
sp_docs += sp65/sp65.doc
sp65_SOURCES = sp65/init.c
sp65_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp65) $(support_includes) \
	-I$(top_srcdir)/include
endif

if TEST_sp66
sp_tests += sp66
sp_screens += sp66/sp66.scn
sp_docs += sp66/sp66.doc
sp66_SOURCES = sp65/init.c
sp66_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp66) $(support_includes) \
	-I$(top_srcdir)/include -DINHERIT_CEILING
endif

if TEST_sp67
sp_tests += sp67
sp_screens += sp67/sp67.scn
sp_docs += sp67/sp67.doc
sp67_SOURCES = sp67/init.c
sp67_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp67) $(support_includes)
endif

if TEST_sp68
sp_tests += sp68
sp_screens += sp68/sp68.scn
sp_docs += sp68/sp68.doc
sp68_SOURCES = sp68/init.c
sp68_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp68) $(support_includes)
endif

if TEST_sp69
sp_tests += sp69
sp_screens += sp69/sp69.scn
sp_docs += sp69/sp69.doc
sp69_SOURCES = sp69/init.c ../support/src/spin.c
sp69_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp69) $(support_includes)
endif

if TEST_sp70
sp_tests += sp70
sp_screens += sp70/sp70.scn
sp_docs += sp70/sp70.doc
sp70_SOURCES = sp70/init.c
sp70_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp70) $(support_includes)
endif

if TEST_sp71
sp_tests += sp71
sp_screens += sp71/sp71.scn
sp_docs += sp71/sp71.doc
sp71_SOURCES = sp71/init.c
sp71_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp71) $(support_includes)
endif

if TEST_sp72
sp_tests += sp72
sp_screens += sp72/sp72.scn
sp_docs += sp72/sp72.doc
sp72_SOURCES = sp72/init.c
sp72_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp72) $(support_includes)
endif

if TEST_sp73
sp_tests += sp73
sp_screens += sp73/sp73.scn
sp_docs += sp73/sp73.doc
sp73_SOURCES = sp73/init.c
sp73_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp73) $(support_includes)
endif

if TEST_sp74
sp_tests += sp74
sp_screens += sp74/sp74.scn
sp_docs += sp74/sp74.doc
sp74_SOURCES = sp74/init.c
sp74_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp74) $(support_includes)
endif

if TEST_sp75
sp_tests += sp75
sp_screens += sp75/sp75.scn
sp_docs += sp75/sp75.doc
sp75_SOURCES = sp75/init.c
sp75_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp75) $(support_includes)
endif

if TEST_sp76
sp_tests += sp76
sp_screens += sp76/sp76.scn
sp_docs += sp76/sp76.doc
sp76_SOURCES = sp76/init.c
sp76_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp76) $(support_includes)
endif

if TEST_sp77
sp_tests += sp77
sp_screens += sp77/sp77.scn
sp_docs += sp77/sp77.doc
sp77_SOURCES = sp77/init.c
sp77_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp77) $(support_includes)
endif

if TEST_spassoc01
sp_tests += spassoc01
sp_screens += spassoc01/spassoc01.scn
sp_docs += spassoc01/spassoc01.doc
spassoc01_SOURCES = spassoc01/init.c
spassoc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spassoc01) \
	$(support_includes)
endif

if TEST_spatomic01
sp_tests += spatomic01
sp_screens += spatomic01/spatomic01.scn
sp_docs += spatomic01/spatomic01.doc
spatomic01_SOURCES = spatomic01/init.c
spatomic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spatomic01) \
	$(support_includes)
endif

if TEST_spcache01
sp_tests += spcache01
sp_screens += spcache01/spcache01.scn
sp_docs += spcache01/spcache01.doc
spcache01_SOURCES = spcache01/init.c
spcache01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcache01) \
	$(support_includes)
endif

if TEST_spcbssched01
sp_tests += spcbssched01
sp_screens += spcbssched01/spcbssched01.scn
sp_docs += spcbssched01/spcbssched01.doc
spcbssched01_SOURCES = spcbssched01/init.c spcbssched01/task1.c \
	spcbssched01/system.h
spcbssched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched01) \
	$(support_includes)
endif

if TEST_spcbssched02
sp_tests += spcbssched02
sp_screens += spcbssched02/spcbssched02.scn
sp_docs += spcbssched02/spcbssched02.doc
spcbssched02_SOURCES = spcbssched02/init.c \
	spcbssched02/task_periodic.c spcbssched02/system.h
spcbssched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched02) \
	$(support_includes)
endif

if TEST_spcbssched03
sp_tests += spcbssched03
sp_screens += spcbssched03/spcbssched03.scn
sp_docs += spcbssched03/spcbssched03.doc
spcbssched03_SOURCES = spcbssched03/init.c \
	spcbssched03/tasks_periodic.c spcbssched03/tasks_aperiodic.c \
	spcbssched03/system.h spcbssched03/cbsparams.h
spcbssched03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched03) \
	$(support_includes)
endif

if TEST_spchain
sp_tests += spchain
sp_screens += spchain/spchain.scn
sp_docs += spchain/spchain.doc
spchain_SOURCES = spchain/init.c
spchain_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spchain) \
	$(support_includes)
endif

if TEST_spclock_err01
sp_tests += spclock_err01
sp_screens += spclock_err01/spclock_err01.scn
sp_docs += spclock_err01/spclock_err01.doc
spclock_err01_SOURCES = spclock_err01/init.c spclock_err01/delay.c \
	spclock_err01/system.h
spclock_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_err01) \
	$(support_includes)
endif

if TEST_spclock_err02
sp_tests += spclock_err02
sp_screens += spclock_err02/spclock_err02.scn
sp_docs += spclock_err02/spclock_err02.doc
spclock_err02_SOURCES = spclock_err02/init.c
spclock_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_err02) \
	$(support_includes)
endif

if TEST_spconfig01
sp_tests += spconfig01
sp_screens += spconfig01/spconfig01.scn
sp_docs += spconfig01/spconfig01.doc
spconfig01_SOURCES = spconfig01/init.c
spconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconfig01) \
	$(support_includes)
endif

if TEST_spconsole01
sp_tests += spconsole01
sp_screens += spconsole01/spconsole01.scn
sp_docs += spconsole01/spconsole01.doc
spconsole01_SOURCES = spconsole01/init.c
spconsole01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconsole01) \
	$(support_includes)
spconsole01_LDADD = -lm
endif

if TEST_spcontext01
sp_tests += spcontext01
sp_screens += spcontext01/spcontext01.scn
sp_docs += spcontext01/spcontext01.doc
spcontext01_SOURCES = spcontext01/init.c
spcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcontext01) \
	$(support_includes)
endif

if TEST_spcoverage
sp_tests += spcoverage
sp_screens += spcoverage/spcoverage.scn
sp_docs += spcoverage/spcoverage.doc
spcoverage_SOURCES = spcoverage/init.c
spcoverage_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcoverage) \
	$(support_includes) -I$(top_srcdir)/include
endif

if TEST_spcpucounter01
sp_tests += spcpucounter01
sp_screens += spcpucounter01/spcpucounter01.scn
sp_docs += spcpucounter01/spcpucounter01.doc
spcpucounter01_SOURCES = spcpucounter01/init.c
spcpucounter01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpucounter01) \
	$(support_includes)
endif

if TEST_spcpuset01
sp_tests += spcpuset01
sp_screens += spcpuset01/spcpuset01.scn
sp_docs += spcpuset01/spcpuset01.doc
spcpuset01_SOURCES = spcpuset01/test.c spcpuset01/init.c
spcpuset01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpuset01) \
	$(support_includes) -DSMPTEST
endif

if TEST_spedfsched01
sp_tests += spedfsched01
sp_screens += spedfsched01/spedfsched01.scn
sp_docs += spedfsched01/spedfsched01.doc
spedfsched01_SOURCES = spedfsched01/init.c spedfsched01/task1.c \
	spedfsched01/system.h
spedfsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched01) \
	$(support_includes)
endif

if TEST_spedfsched02
sp_tests += spedfsched02
sp_screens += spedfsched02/spedfsched02.scn
sp_docs += spedfsched02/spedfsched02.doc
spedfsched02_SOURCES = spedfsched02/init.c spedfsched02/getall.c \
	spedfsched02/task1.c spedfsched02/system.h
spedfsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched02) \
	$(support_includes)
endif

if TEST_spedfsched03
sp_tests += spedfsched03
sp_screens += spedfsched03/spedfsched03.scn
sp_docs += spedfsched03/spedfsched03.doc
spedfsched03_SOURCES = spedfsched03/init.c \
	spedfsched03/tasks_periodic.c spedfsched03/tasks_aperiodic.c \
	spedfsched03/system.h spedfsched03/edfparams.h
spedfsched03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched03) \
	$(support_includes)
endif

if TEST_spedfsched04
sp_tests += spedfsched04
sp_screens += spedfsched04/spedfsched04.scn
sp_docs += spedfsched04/spedfsched04.doc
spedfsched04_SOURCES = spedfsched04/init.c ../support/src/spin.c
spedfsched04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched04) \
	$(support_includes)
endif

if TEST_sperror01
sp_tests += sperror01
sp_screens += sperror01/sperror01.scn
sp_docs += sperror01/sperror01.doc
sperror01_SOURCES = sperror01/init.c
sperror01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror01) \
	$(support_includes)
endif

if TEST_sperror02
sp_tests += sperror02
sp_screens += sperror02/sperror02.scn
sp_docs += sperror02/sperror02.doc
sperror02_SOURCES = sperror02/init.c
sperror02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror02) \
	$(support_includes)
endif

if TEST_sperror03
sp_tests += sperror03
sp_screens += sperror03/sperror03.scn
sp_docs += sperror03/sperror03.doc
sperror03_SOURCES = sperror03/init.c
sperror03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror03) \
	$(support_includes)
endif

if TEST_spevent_err03
sp_tests += spevent_err03
sp_screens += spevent_err03/spevent_err03.scn
sp_docs += spevent_err03/spevent_err03.doc
spevent_err03_SOURCES = spevent_err03/init.c spevent_err03/system.h
spevent_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spevent_err03) \
	$(support_includes)
endif

if TEST_speventsystem01
sp_tests += speventsystem01
sp_screens += speventsystem01/speventsystem01.scn
sp_docs += speventsystem01/speventsystem01.doc
speventsystem01_SOURCES = speventsystem01/init.c
speventsystem01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_speventsystem01) $(support_includes)
endif

if TEST_speventtransient01
sp_tests += speventtransient01
sp_screens += speventtransient01/speventtransient01.scn
sp_docs += speventtransient01/speventtransient01.doc
speventtransient01_SOURCES = speventtransient01/init.c
speventtransient01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_speventtransient01) $(support_includes)
endif

if TEST_spextensions01
sp_tests += spextensions01
sp_screens += spextensions01/spextensions01.scn
sp_docs += spextensions01/spextensions01.doc
spextensions01_SOURCES = spextensions01/init.c
spextensions01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spextensions01) \
	$(support_includes)
endif

if TEST_spfatal01
sp_tests += spfatal01
sp_screens += spfatal01/spfatal01.scn
sp_docs += spfatal01/spfatal01.doc
spfatal01_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal01/testcase.h
spfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal01) \
	$(support_includes) -I$(top_srcdir)/spfatal01
endif

if TEST_spfatal02
sp_tests += spfatal02
sp_screens += spfatal02/spfatal02.scn
sp_docs += spfatal02/spfatal02.doc
spfatal02_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal02/testcase.h
spfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal02) \
	$(support_includes) -I$(top_srcdir)/spfatal02
endif

if TEST_spfatal03
sp_tests += spfatal03
sp_screens += spfatal03/spfatal03.scn
sp_docs += spfatal03/spfatal03.doc
spfatal03_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal03/testcase.h
spfatal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal03) \
	$(support_includes) -I$(top_srcdir)/spfatal03
endif

if TEST_spfatal04
sp_tests += spfatal04
sp_screens += spfatal04/spfatal04.scn
sp_docs += spfatal04/spfatal04.doc
spfatal04_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal04/testcase.h
spfatal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal04) \
	$(support_includes) -I$(top_srcdir)/spfatal04
endif

if TEST_spfatal05
sp_tests += spfatal05
sp_screens += spfatal05/spfatal05.scn
sp_docs += spfatal05/spfatal05.doc
spfatal05_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal05/testcase.h
spfatal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal05) \
	$(support_includes) -I$(top_srcdir)/spfatal05
endif

if TEST_spfatal06
sp_tests += spfatal06
sp_screens += spfatal06/spfatal06.scn
sp_docs += spfatal06/spfatal06.doc
spfatal06_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal06/testcase.h
spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \
	$(support_includes) -I$(top_srcdir)/spfatal06
endif

if TEST_spfatal08
sp_tests += spfatal08
sp_screens += spfatal08/spfatal08.scn
sp_docs += spfatal08/spfatal08.doc
spfatal08_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal08/testcase.h
spfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal08) \
	$(support_includes) -I$(top_srcdir)/spfatal08
endif

if TEST_spfatal09
sp_tests += spfatal09
sp_screens += spfatal09/spfatal09.scn
sp_docs += spfatal09/spfatal09.doc
spfatal09_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal09/testcase.h
spfatal09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal09) \
	$(support_includes) -I$(top_srcdir)/spfatal09
endif

if TEST_spfatal10
sp_tests += spfatal10
sp_screens += spfatal10/spfatal10.scn
sp_docs += spfatal10/spfatal10.doc
spfatal10_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal10/testcase.h
spfatal10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal10) \
	$(support_includes) -I$(top_srcdir)/spfatal10
endif

if TEST_spfatal11
sp_tests += spfatal11
sp_screens += spfatal11/spfatal11.scn
sp_docs += spfatal11/spfatal11.doc
spfatal11_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal11/testcase.h
spfatal11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal11) \
	$(support_includes) -I$(top_srcdir)/spfatal11
endif

if TEST_spfatal12
sp_tests += spfatal12
sp_screens += spfatal12/spfatal12.scn
sp_docs += spfatal12/spfatal12.doc
spfatal12_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal12/testcase.h
spfatal12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal12) \
	$(support_includes) -I$(top_srcdir)/spfatal12
endif

if TEST_spfatal13
sp_tests += spfatal13
sp_screens += spfatal13/spfatal13.scn
sp_docs += spfatal13/spfatal13.doc
spfatal13_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal13/testcase.h
spfatal13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal13) \
	$(support_includes) -I$(top_srcdir)/spfatal13
endif

if TEST_spfatal14
sp_tests += spfatal14
sp_screens += spfatal14/spfatal14.scn
sp_docs += spfatal14/spfatal14.doc
spfatal14_SOURCES = spfatal_support/init.c \
	spfatal_support/consume_sems.c spfatal_support/system.h \
	spfatal14/testcase.h
spfatal14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal14) \
	$(support_includes) -I$(top_srcdir)/spfatal14
endif

if TEST_spfatal15
sp_tests += spfatal15
sp_screens += spfatal15/spfatal15.scn
sp_docs += spfatal15/spfatal15.doc
spfatal15_SOURCES = spfatal_support/init.c \
	spfatal_support/consume_sems.c spfatal_support/system.h \
	spfatal15/testcase.h
spfatal15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal15) \
	$(support_includes) -I$(top_srcdir)/spfatal15
endif

if TEST_spfatal16
sp_tests += spfatal16
sp_screens += spfatal16/spfatal16.scn
sp_docs += spfatal16/spfatal16.doc
spfatal16_SOURCES = spfatal_support/init.c \
	spfatal_support/consume_sems.c spfatal_support/system.h \
	spfatal16/testcase.h
spfatal16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal16) \
	$(support_includes) -I$(top_srcdir)/spfatal16 \
	-DSEMAPHORES_REMAINING=4
endif

if TEST_spfatal24
sp_tests += spfatal24
sp_screens += spfatal24/spfatal24.scn
sp_docs += spfatal24/spfatal24.doc
spfatal24_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal24/testcase.h
spfatal24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal24) \
	$(support_includes) -I$(top_srcdir)/spfatal24
endif

if TEST_spfatal25
sp_tests += spfatal25
sp_screens += spfatal25/spfatal25.scn
sp_docs += spfatal25/spfatal25.doc
spfatal25_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal25/testcase.h
spfatal25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal25) \
	$(support_includes) -I$(top_srcdir)/spfatal25
endif

if TEST_spfatal26
sp_tests += spfatal26
sp_screens += spfatal26/spfatal26.scn
sp_docs += spfatal26/spfatal26.doc
spfatal26_SOURCES = spfatal26/init.c
spfatal26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal26) \
	$(support_includes)
endif

if TEST_spfatal27
sp_tests += spfatal27
sp_screens += spfatal27/spfatal27.scn
sp_docs += spfatal27/spfatal27.doc
spfatal27_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal27/testcase.h
spfatal27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal27) \
	$(support_includes) -I$(top_srcdir)/spfatal27
endif

if TEST_spfatal28
sp_tests += spfatal28
sp_screens += spfatal28/spfatal28.scn
sp_docs += spfatal28/spfatal28.doc
spfatal28_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal28/testcase.h
spfatal28_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal28) \
	$(support_includes) -I$(top_srcdir)/spfatal28
endif

if TEST_spfatal29
sp_tests += spfatal29
sp_screens += spfatal29/spfatal29.scn
sp_docs += spfatal29/spfatal29.doc
spfatal29_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal29/testcase.h
spfatal29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal29) \
	$(support_includes) -I$(top_srcdir)/spfatal29
endif

if TEST_spfatal30
sp_tests += spfatal30
sp_screens += spfatal30/spfatal30.scn
sp_docs += spfatal30/spfatal30.doc
spfatal30_SOURCES = spfatal30/init.c
spfatal30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal30) \
	$(support_includes)
endif

if TEST_spfatal31
sp_tests += spfatal31
sp_screens += spfatal31/spfatal31.scn
sp_docs += spfatal31/spfatal31.doc
spfatal31_SOURCES = spfatal31/init.c
spfatal31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal31) \
	$(support_includes)
endif

if TEST_spfatal32
sp_tests += spfatal32
sp_screens += spfatal32/spfatal32.scn
sp_docs += spfatal32/spfatal32.doc
spfatal32_SOURCES = spfatal_support/init.c spfatal_support/system.h \
	spfatal32/testcase.h
spfatal32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal32) \
	$(support_includes) -I$(top_srcdir)/spfatal32
endif

if TEST_spfifo01
sp_tests += spfifo01
sp_screens += spfifo01/spfifo01.scn
sp_docs += spfifo01/spfifo01.doc
spfifo01_SOURCES = spfifo01/init.c
spfifo01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo01) \
	$(support_includes)
endif

if TEST_spfifo02
sp_tests += spfifo02
sp_screens += spfifo02/spfifo02.scn
sp_docs += spfifo02/spfifo02.doc
spfifo02_SOURCES = spfifo02/init.c
spfifo02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo02) \
	$(support_includes)
endif

if TEST_spfifo03
sp_tests += spfifo03
sp_screens += spfifo03/spfifo03.scn
sp_docs += spfifo03/spfifo03.doc
spfifo03_SOURCES = spfifo03/init.c
spfifo03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo03) \
	$(support_includes)
endif

if TEST_spfifo04
sp_tests += spfifo04
sp_screens += spfifo04/spfifo04.scn
sp_docs += spfifo04/spfifo04.doc
spfifo04_SOURCES = spfifo04/init.c
spfifo04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo04) \
	$(support_includes)
endif

if TEST_spfifo05
sp_tests += spfifo05
sp_screens += spfifo05/spfifo05.scn
sp_docs += spfifo05/spfifo05.doc
spfifo05_SOURCES = spfifo05/init.c
spfifo05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo05) \
	$(support_includes)
endif

if TEST_spfreechain01
sp_tests += spfreechain01
sp_screens += spfreechain01/spfreechain01.scn
sp_docs += spfreechain01/spfreechain01.doc
spfreechain01_SOURCES = spfreechain01/init.c
spfreechain01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfreechain01) \
	$(support_includes)
endif

if HAS_CPLUSPLUS
if TEST_spglobalcon01
sp_tests += spglobalcon01
sp_screens += spglobalcon01/spglobalcon01.scn
sp_docs += spglobalcon01/spglobalcon01.doc
spglobalcon01_SOURCES = spglobalcon01/init.cc
spglobalcon01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon01) \
	$(support_includes)
endif
endif

if TEST_spglobalcon02
sp_tests += spglobalcon02
sp_screens += spglobalcon02/spglobalcon02.scn
sp_docs += spglobalcon02/spglobalcon02.doc
spglobalcon02_SOURCES = spglobalcon02/init.c
spglobalcon02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon02) \
	$(support_includes)
endif

if TEST_spheapprot
sp_tests += spheapprot
sp_screens += spheapprot/spheapprot.scn
sp_docs += spheapprot/spheapprot.doc
spheapprot_SOURCES = spheapprot/init.c
spheapprot_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spheapprot) \
	$(support_includes)
endif

if TEST_spinternalerror01
sp_tests += spinternalerror01
sp_screens += spinternalerror01/spinternalerror01.scn
sp_docs += spinternalerror01/spinternalerror01.doc
spinternalerror01_SOURCES = spinternalerror01/init.c
spinternalerror01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spinternalerror01) $(support_includes)
endif

if TEST_spinternalerror02
sp_tests += spinternalerror02
sp_screens += spinternalerror02/spinternalerror02.scn
sp_docs += spinternalerror02/spinternalerror02.doc
spinternalerror02_SOURCES = spinternalerror02/init.c
spinternalerror02_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spinternalerror02) $(support_includes)
endif

if TEST_spintr_err01
sp_tests += spintr_err01
sp_screens += spintr_err01/spintr_err01.scn
sp_docs += spintr_err01/spintr_err01.doc
spintr_err01_SOURCES = spintr_err01/init.c spintr_err01/isr.c \
	spintr_err01/system.h
spintr_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spintr_err01) \
	$(support_includes)
endif

if TEST_spintrcritical01
sp_tests += spintrcritical01
sp_screens += spintrcritical01/spintrcritical01.scn
sp_docs += spintrcritical01/spintrcritical01.doc
spintrcritical01_SOURCES = spintrcritical01/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical01) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DFIFO_NO_TIMEOUT
endif

if TEST_spintrcritical02
sp_tests += spintrcritical02
sp_screens += spintrcritical02/spintrcritical02.scn
sp_docs += spintrcritical02/spintrcritical02.doc
spintrcritical02_SOURCES = spintrcritical01/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical02_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical02) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DFIFO_WITH_TIMEOUT
endif

if TEST_spintrcritical03
sp_tests += spintrcritical03
sp_screens += spintrcritical03/spintrcritical03.scn
sp_docs += spintrcritical03/spintrcritical03.doc
spintrcritical03_SOURCES = spintrcritical01/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical03_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical03) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT
endif

if TEST_spintrcritical04
sp_tests += spintrcritical04
sp_screens += spintrcritical04/spintrcritical04.scn
sp_docs += spintrcritical04/spintrcritical04.doc
spintrcritical04_SOURCES = spintrcritical01/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical04_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical04) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DPRIORITY_WITH_TIMEOUT
endif

if TEST_spintrcritical05
sp_tests += spintrcritical05
sp_screens += spintrcritical05/spintrcritical05.scn
sp_docs += spintrcritical05/spintrcritical05.doc
spintrcritical05_SOURCES = spintrcritical01/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical05_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical05) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
endif

if TEST_spintrcritical06
sp_tests += spintrcritical06
sp_screens += spintrcritical06/spintrcritical06.scn
sp_docs += spintrcritical06/spintrcritical06.doc
spintrcritical06_SOURCES = spintrcritical06/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical06_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical06) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_FORWARD
endif

if TEST_spintrcritical07
sp_tests += spintrcritical07
sp_screens += spintrcritical07/spintrcritical07.scn
sp_docs += spintrcritical07/spintrcritical07.doc
spintrcritical07_SOURCES = spintrcritical06/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical07_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical07) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
endif

if TEST_spintrcritical08
sp_tests += spintrcritical08
sp_screens += spintrcritical08/spintrcritical08.scn
sp_docs += spintrcritical08/spintrcritical08.doc
spintrcritical08_SOURCES = spintrcritical08/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical08_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical08) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical09
sp_tests += spintrcritical09
sp_screens += spintrcritical09/spintrcritical09.scn
sp_docs += spintrcritical09/spintrcritical09.doc
spintrcritical09_SOURCES = spintrcritical09/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical09_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical09) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical10
sp_tests += spintrcritical10
sp_screens += spintrcritical10/spintrcritical10.scn
sp_docs += spintrcritical10/spintrcritical10.doc
spintrcritical10_SOURCES = spintrcritical10/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical10_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical10) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical11
sp_tests += spintrcritical11
sp_screens += spintrcritical11/spintrcritical11.scn
sp_docs += spintrcritical11/spintrcritical11.doc
spintrcritical11_SOURCES = spintrcritical11/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical11_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical11) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DEVENT_ANY
endif

if TEST_spintrcritical12
sp_tests += spintrcritical12
sp_screens += spintrcritical12/spintrcritical12.scn
sp_docs += spintrcritical12/spintrcritical12.doc
spintrcritical12_SOURCES = spintrcritical11/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical12_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical12) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DEVENT_ALL
endif

if TEST_spintrcritical13
sp_tests += spintrcritical13
sp_screens += spintrcritical13/spintrcritical13.scn
sp_docs += spintrcritical13/spintrcritical13.doc
spintrcritical13_SOURCES = spintrcritical13/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical13_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical13) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DFIRE_AFTER
endif

if TEST_spintrcritical14
sp_tests += spintrcritical14
sp_screens += spintrcritical14/spintrcritical14.scn
sp_docs += spintrcritical14/spintrcritical14.doc
spintrcritical14_SOURCES = spintrcritical13/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical14_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical14) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support -DSERVER_FIRE_AFTER
endif

if TEST_spintrcritical15
sp_tests += spintrcritical15
sp_screens += spintrcritical15/spintrcritical15.scn
sp_docs += spintrcritical15/spintrcritical15.doc
spintrcritical15_SOURCES = spintrcritical15/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical15_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical15) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical16
sp_tests += spintrcritical16
sp_screens += spintrcritical16/spintrcritical16.scn
sp_docs += spintrcritical16/spintrcritical16.doc
spintrcritical16_SOURCES = spintrcritical16/init.c \
	spintrcritical_support/intrcritical.c \
	spintrcritical_support/intrcritical.h
spintrcritical16_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical16) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical18
sp_tests += spintrcritical18
sp_screens += spintrcritical18/spintrcritical18.scn
sp_docs += spintrcritical18/spintrcritical18.doc
spintrcritical18_SOURCES = spintrcritical18/init.c \
	spintrcritical_support/intrcritical.h \
	spintrcritical_support/intrcritical.c
spintrcritical18_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical18) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical20
sp_tests += spintrcritical20
sp_screens += spintrcritical20/spintrcritical20.scn
sp_docs += spintrcritical20/spintrcritical20.doc
spintrcritical20_SOURCES = spintrcritical20/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical20_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical20) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical21
sp_tests += spintrcritical21
sp_screens += spintrcritical21/spintrcritical21.scn
sp_docs += spintrcritical21/spintrcritical21.doc
spintrcritical21_SOURCES = spintrcritical21/init.c \
	spintrcritical_support/intrcritical.c
spintrcritical21_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical21) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical22
sp_tests += spintrcritical22
sp_screens += spintrcritical22/spintrcritical22.scn
sp_docs += spintrcritical22/spintrcritical22.doc
spintrcritical22_SOURCES = spintrcritical22/init.c \
	spintrcritical_support/intrcritical.h \
	spintrcritical_support/intrcritical.c
spintrcritical22_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical22) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical23
sp_tests += spintrcritical23
sp_screens += spintrcritical23/spintrcritical23.scn
sp_docs += spintrcritical23/spintrcritical23.doc
spintrcritical23_SOURCES = spintrcritical23/init.c \
	spintrcritical_support/intrcritical.h \
	spintrcritical_support/intrcritical.c
spintrcritical23_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical23) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_spintrcritical24
sp_tests += spintrcritical24
sp_screens += spintrcritical24/spintrcritical24.scn
sp_docs += spintrcritical24/spintrcritical24.doc
spintrcritical24_SOURCES = spintrcritical24/init.c \
	spintrcritical_support/intrcritical.h \
	spintrcritical_support/intrcritical.c
spintrcritical24_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spintrcritical24) $(support_includes) \
	-I$(top_srcdir)/spintrcritical_support
endif

if TEST_splinkersets01
sp_tests += splinkersets01
sp_screens += splinkersets01/splinkersets01.scn
sp_docs += splinkersets01/splinkersets01.doc
splinkersets01_SOURCES = splinkersets01/init.c
splinkersets01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_splinkersets01) \
	$(support_includes)
splinkersets01_LDADD = libsplinkersets01.a
endif

if TEST_spmkdir
sp_tests += spmkdir
sp_screens += spmkdir/spmkdir.scn
sp_docs += spmkdir/spmkdir.doc
spmkdir_SOURCES = spmkdir/init.c
spmkdir_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmkdir) \
	$(support_includes)
endif

if TEST_spmisc01
sp_tests += spmisc01
sp_screens += spmisc01/spmisc01.scn
sp_docs += spmisc01/spmisc01.doc
spmisc01_SOURCES = spmisc01/init.c
spmisc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmisc01) \
	$(support_includes)
endif

if TEST_spmountmgr01
sp_tests += spmountmgr01
sp_screens += spmountmgr01/spmountmgr01.scn
sp_docs += spmountmgr01/spmountmgr01.doc
spmountmgr01_SOURCES = spmountmgr01/init.c
spmountmgr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmountmgr01) \
	$(support_includes)
endif

if TEST_spmrsp01
sp_tests += spmrsp01
sp_screens += spmrsp01/spmrsp01.scn
sp_docs += spmrsp01/spmrsp01.doc
spmrsp01_SOURCES = spmrsp01/init.c
spmrsp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmrsp01) \
	$(support_includes)
endif

if TEST_spmsgq_err01
sp_tests += spmsgq_err01
sp_screens += spmsgq_err01/spmsgq_err01.scn
sp_docs += spmsgq_err01/spmsgq_err01.doc
spmsgq_err01_SOURCES = spmsgq_err01/init.c spmsgq_err01/system.h
spmsgq_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err01) \
	$(support_includes)
endif

if TEST_spmsgq_err02
sp_tests += spmsgq_err02
sp_screens += spmsgq_err02/spmsgq_err02.scn
sp_docs += spmsgq_err02/spmsgq_err02.doc
spmsgq_err02_SOURCES = spmsgq_err02/init.c spmsgq_err02/task3.c \
	spmsgq_err02/system.h
spmsgq_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err02) \
	$(support_includes)
endif

if TEST_spmutex01
sp_tests += spmutex01
sp_screens += spmutex01/spmutex01.scn
sp_docs += spmutex01/spmutex01.doc
spmutex01_SOURCES = spmutex01/init.c
spmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmutex01) \
	$(support_includes)
endif

if TEST_spnsext01
sp_tests += spnsext01
sp_screens += spnsext01/spnsext01.scn
sp_docs += spnsext01/spnsext01.doc
spnsext01_SOURCES = spnsext01/init.c
spnsext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spnsext01) \
	$(support_includes)
endif

if TEST_spobjgetnext
sp_tests += spobjgetnext
sp_screens += spobjgetnext/spobjgetnext.scn
sp_docs += spobjgetnext/spobjgetnext.doc
spobjgetnext_SOURCES = spobjgetnext/init.c spobjgetnext/system.h
spobjgetnext_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spobjgetnext) \
	$(support_includes)
endif

if TEST_sppagesize
sp_tests += sppagesize
sp_screens += sppagesize/sppagesize.scn
sp_docs += sppagesize/sppagesize.doc
sppagesize_SOURCES = sppagesize/init.c
sppagesize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sppagesize) \
	$(support_includes)
endif

if TEST_sppartition_err01
sp_tests += sppartition_err01
sp_screens += sppartition_err01/sppartition_err01.scn
sp_docs += sppartition_err01/sppartition_err01.doc
sppartition_err01_SOURCES = sppartition_err01/init.c \
	sppartition_err01/system.h
sppartition_err01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sppartition_err01) $(support_includes)
endif

if TEST_sppercpudata01
sp_tests += sppercpudata01
sp_screens += sppercpudata01/sppercpudata01.scn
sp_docs += sppercpudata01/sppercpudata01.doc
sppercpudata01_SOURCES = sppercpudata01/init.c sppercpudata01/item.c
sppercpudata01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sppercpudata01) \
	$(support_includes)
endif

if TEST_spport_err01
sp_tests += spport_err01
sp_screens += spport_err01/spport_err01.scn
sp_docs += spport_err01/spport_err01.doc
spport_err01_SOURCES = spport_err01/init.c spport_err01/system.h
spport_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spport_err01) \
	$(support_includes)
endif

if TEST_spprintk
sp_tests += spprintk
sp_screens += spprintk/spprintk.scn
sp_docs += spprintk/spprintk.doc
spprintk_SOURCES = spprintk/init.c
spprintk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprintk) \
	$(support_includes)
endif

if TEST_spprivenv01
sp_tests += spprivenv01
sp_screens += spprivenv01/spprivenv01.scn
sp_docs += spprivenv01/spprivenv01.doc
spprivenv01_SOURCES = spprivenv01/init.c
spprivenv01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprivenv01) \
	$(support_includes)
endif

if TEST_spprofiling01
sp_tests += spprofiling01
sp_screens += spprofiling01/spprofiling01.scn
sp_docs += spprofiling01/spprofiling01.doc
spprofiling01_SOURCES = spprofiling01/init.c
spprofiling01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprofiling01) \
	$(support_includes)
endif

if TEST_spqreslib
sp_tests += spqreslib
sp_screens += spqreslib/spqreslib.scn
sp_docs += spqreslib/spqreslib.doc
spqreslib_SOURCES = spqreslib/init.c spqreslib/task_periodic.c \
	spqreslib/system.h
spqreslib_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spqreslib) \
	$(support_includes)
spqreslib_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
endif

if TEST_spratemon_err01
sp_tests += spratemon_err01
sp_screens += spratemon_err01/spratemon_err01.scn
sp_docs += spratemon_err01/spratemon_err01.doc
spratemon_err01_SOURCES = spratemon_err01/init.c \
	spratemon_err01/screen10.c spratemon_err01/task4.c \
	spratemon_err01/system.h
spratemon_err01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spratemon_err01) $(support_includes)
endif

if TEST_sprbtree01
sp_tests += sprbtree01
sp_screens += sprbtree01/sprbtree01.scn
sp_docs += sprbtree01/sprbtree01.doc
sprbtree01_SOURCES = sprbtree01/init.c
sprbtree01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprbtree01) \
	$(support_includes)
endif

if TEST_spregion_err01
sp_tests += spregion_err01
sp_screens += spregion_err01/spregion_err01.scn
sp_docs += spregion_err01/spregion_err01.doc
spregion_err01_SOURCES = spregion_err01/init.c spregion_err01/system.h
spregion_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spregion_err01) \
	$(support_includes)
endif

if TEST_sprmsched01
sp_tests += sprmsched01
sp_screens += sprmsched01/sprmsched01.scn
sp_docs += sprmsched01/sprmsched01.doc
sprmsched01_SOURCES = sprmsched01/init.c ../support/src/spin.c
sprmsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched01) \
	$(support_includes)
endif

if TEST_sprmsched02
sp_tests += sprmsched02
sp_screens += sprmsched02/sprmsched02.scn
sp_docs += sprmsched02/sprmsched02.doc
sprmsched02_SOURCES = sprmsched02/init.c ../support/src/spin.c
sprmsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched02) \
	$(support_includes)
endif

if TEST_spscheduler01
sp_tests += spscheduler01
sp_screens += spscheduler01/spscheduler01.scn
sp_docs += spscheduler01/spscheduler01.doc
spscheduler01_SOURCES = spscheduler01/init.c
spscheduler01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spscheduler01) \
	$(support_includes)
endif

if TEST_spsem01
sp_tests += spsem01
sp_screens += spsem01/spsem01.scn
sp_docs += spsem01/spsem01.doc
spsem01_SOURCES = spsem01/init.c
spsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem01) \
	$(support_includes)
endif

if TEST_spsem02
sp_tests += spsem02
sp_screens += spsem02/spsem02.scn
sp_docs += spsem02/spsem02.doc
spsem02_SOURCES = spsem02/init.c
spsem02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem02) \
	$(support_includes)
endif

if TEST_spsem03
sp_tests += spsem03
sp_screens += spsem03/spsem03.scn
sp_docs += spsem03/spsem03.doc
spsem03_SOURCES = spsem03/init.c
spsem03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem03) \
	$(support_includes)
endif

if TEST_spsem_err01
sp_tests += spsem_err01
sp_screens += spsem_err01/spsem_err01.scn
sp_docs += spsem_err01/spsem_err01.doc
spsem_err01_SOURCES = spsem_err01/init.c spsem_err01/system.h
spsem_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err01) \
	$(support_includes)
endif

if TEST_spsem_err02
sp_tests += spsem_err02
sp_screens += spsem_err02/spsem_err02.scn
sp_docs += spsem_err02/spsem_err02.doc
spsem_err02_SOURCES = spsem_err02/init.c spsem_err02/task2.c \
	spsem_err02/system.h
spsem_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err02) \
	$(support_includes)
endif

if TEST_spsignal_err01
sp_tests += spsignal_err01
sp_screens += spsignal_err01/spsignal_err01.scn
sp_docs += spsignal_err01/spsignal_err01.doc
spsignal_err01_SOURCES = spsignal_err01/init.c spsignal_err01/isr.c \
	spsignal_err01/system.h
spsignal_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsignal_err01) \
	$(support_includes)
endif

if TEST_spsimplesched01
sp_tests += spsimplesched01
sp_screens += spsimplesched01/spsimplesched01.scn
sp_docs += spsimplesched01/spsimplesched01.doc
spsimplesched01_SOURCES = spsimplesched01/init.c
spsimplesched01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spsimplesched01) $(support_includes)
endif

if TEST_spsimplesched02
sp_tests += spsimplesched02
sp_screens += spsimplesched02/spsimplesched02.scn
sp_docs += spsimplesched02/spsimplesched02.doc
spsimplesched02_SOURCES = spsimplesched02/init.c
spsimplesched02_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spsimplesched02) $(support_includes)
endif

if TEST_spsimplesched03
sp_tests += spsimplesched03
sp_screens += spsimplesched03/spsimplesched03.scn
sp_docs += spsimplesched03/spsimplesched03.doc
spsimplesched03_SOURCES = spsimplesched03/init.c
spsimplesched03_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_spsimplesched03) $(support_includes)
endif

if TEST_spsize
sp_tests += spsize
sp_screens += spsize/spsize.scn
sp_docs += spsize/spsize.doc
spsize_SOURCES = spsize/init.c spsize/getint.c spsize/size.c \
	spsize/system.h
spsize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsize) \
	$(support_includes)
endif

if TEST_spstdthreads01
sp_tests += spstdthreads01
sp_screens += spstdthreads01/spstdthreads01.scn
sp_docs += spstdthreads01/spstdthreads01.doc
spstdthreads01_SOURCES = spstdthreads01/init.c
spstdthreads01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstdthreads01) \
	$(support_includes)
endif

if TEST_spstkalloc
sp_tests += spstkalloc
sp_screens += spstkalloc/spstkalloc.scn
sp_docs += spstkalloc/spstkalloc.doc
spstkalloc_SOURCES = spstkalloc/init.c
spstkalloc_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc) \
	$(support_includes)
endif

if TEST_spstkalloc02
sp_tests += spstkalloc02
sp_screens += spstkalloc02/spstkalloc02.scn
sp_docs += spstkalloc02/spstkalloc02.doc
spstkalloc02_SOURCES = spstkalloc02/init.c
spstkalloc02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc02) \
	$(support_includes)
endif

if TEST_spsysinit01
sp_tests += spsysinit01
sp_screens += spsysinit01/spsysinit01.scn
sp_docs += spsysinit01/spsysinit01.doc
spsysinit01_SOURCES = spsysinit01/init.c
spsysinit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsysinit01) \
	$(support_includes)
endif

if TEST_spsyslock01
sp_tests += spsyslock01
sp_screens += spsyslock01/spsyslock01.scn
sp_docs += spsyslock01/spsyslock01.doc
spsyslock01_SOURCES = spsyslock01/init.c
spsyslock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsyslock01) \
	$(support_includes)
endif

if TEST_sptask_err01
sp_tests += sptask_err01
sp_screens += sptask_err01/sptask_err01.scn
sp_docs += sptask_err01/sptask_err01.doc
sptask_err01_SOURCES = sptask_err01/init.c sptask_err01/task2.c \
	sptask_err01/system.h
sptask_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err01) \
	$(support_includes)
endif

if TEST_sptask_err02
sp_tests += sptask_err02
sp_screens += sptask_err02/sptask_err02.scn
sp_docs += sptask_err02/sptask_err02.doc
sptask_err02_SOURCES = sptask_err02/init.c sptask_err02/system.h
sptask_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err02) \
	$(support_includes)
endif

if TEST_sptask_err03
sp_tests += sptask_err03
sp_screens += sptask_err03/sptask_err03.scn
sp_docs += sptask_err03/sptask_err03.doc
sptask_err03_SOURCES = sptask_err03/init.c sptask_err03/system.h
sptask_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err03) \
	$(support_includes)
endif

if TEST_sptask_err04
sp_tests += sptask_err04
sp_screens += sptask_err04/sptask_err04.scn
sp_docs += sptask_err04/sptask_err04.doc
sptask_err04_SOURCES = sptask_err04/init.c sptask_err04/task1.c \
	sptask_err04/system.h
sptask_err04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err04) \
	$(support_includes)
endif

if TEST_sptasknopreempt01
sp_tests += sptasknopreempt01
sp_screens += sptasknopreempt01/sptasknopreempt01.scn
sp_docs += sptasknopreempt01/sptasknopreempt01.doc
sptasknopreempt01_SOURCES = sptasknopreempt01/init.c
sptasknopreempt01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptasknopreempt01) $(support_includes)
endif

if TEST_spthread01
sp_tests += spthread01
sp_screens += spthread01/spthread01.scn
sp_docs += spthread01/spthread01.doc
spthread01_SOURCES = spthread01/init.c
spthread01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthread01) \
	$(support_includes)
endif

if TEST_spthreadlife01
sp_tests += spthreadlife01
sp_screens += spthreadlife01/spthreadlife01.scn
sp_docs += spthreadlife01/spthreadlife01.doc
spthreadlife01_SOURCES = spthreadlife01/init.c
spthreadlife01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadlife01) \
	$(support_includes)
endif

if TEST_spthreadq01
sp_tests += spthreadq01
sp_screens += spthreadq01/spthreadq01.scn
sp_docs += spthreadq01/spthreadq01.doc
spthreadq01_SOURCES = spthreadq01/init.c
spthreadq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadq01) \
	$(support_includes)
endif

if TEST_sptimecounter01
sp_tests += sptimecounter01
sp_screens += sptimecounter01/sptimecounter01.scn
sp_docs += sptimecounter01/sptimecounter01.doc
sptimecounter01_SOURCES = sptimecounter01/init.c
sptimecounter01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptimecounter01) $(support_includes)
endif

if TEST_sptimecounter02
sp_tests += sptimecounter02
sp_screens += sptimecounter02/sptimecounter02.scn
sp_docs += sptimecounter02/sptimecounter02.doc
sptimecounter02_SOURCES = sptimecounter02/init.c ../support/src/spin.c
sptimecounter02_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptimecounter02) $(support_includes)
endif

if TEST_sptimecounter03
sp_tests += sptimecounter03
sp_screens += sptimecounter03/sptimecounter03.scn
sp_docs += sptimecounter03/sptimecounter03.doc
sptimecounter03_SOURCES = sptimecounter03/init.c
sptimecounter03_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptimecounter03) $(support_includes)
endif

if TEST_sptimecounter04
sp_tests += sptimecounter04
sp_screens += sptimecounter04/sptimecounter04.scn
sp_docs += sptimecounter04/sptimecounter04.doc
sptimecounter04_SOURCES = sptimecounter04/init.c
sptimecounter04_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptimecounter04) $(support_includes)
endif

if TEST_sptimer_err01
sp_tests += sptimer_err01
sp_screens += sptimer_err01/sptimer_err01.scn
sp_docs += sptimer_err01/sptimer_err01.doc
sptimer_err01_SOURCES = sptimer_err01/init.c
sptimer_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err01) \
	$(support_includes)
endif

if TEST_sptimer_err02
sp_tests += sptimer_err02
sp_screens += sptimer_err02/sptimer_err02.scn
sp_docs += sptimer_err02/sptimer_err02.doc
sptimer_err02_SOURCES = sptimer_err02/init.c
sptimer_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err02) \
	$(support_includes)
endif

if TEST_sptimerserver01
sp_tests += sptimerserver01
sp_screens += sptimerserver01/sptimerserver01.scn
sp_docs += sptimerserver01/sptimerserver01.doc
sptimerserver01_SOURCES = sptimerserver01/init.c
sptimerserver01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_sptimerserver01) $(support_includes)
endif

if TEST_sptimespec01
sp_tests += sptimespec01
sp_screens += sptimespec01/sptimespec01.scn
sp_docs += sptimespec01/sptimespec01.doc
sptimespec01_SOURCES = sptimespec01/init.c
sptimespec01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimespec01) \
	$(support_includes)
endif

if TEST_sptls01
sp_tests += sptls01
sp_screens += sptls01/sptls01.scn
sp_docs += sptls01/sptls01.doc
sptls01_SOURCES = sptls01/init.c
sptls01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls01) \
	$(support_includes)
endif

if HAS_CPLUSPLUS
if TEST_sptls02
sp_tests += sptls02
sp_screens += sptls02/sptls02.scn
sp_docs += sptls02/sptls02.doc
sptls02_SOURCES = sptls02/init.cc
sptls02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls02) \
	$(support_includes)
endif
endif

if TEST_sptls03
sp_tests += sptls03
sp_screens += sptls03/sptls03.scn
sp_docs += sptls03/sptls03.doc
sptls03_SOURCES = sptls03/init.c
sptls03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls03) \
	$(support_includes)
endif

if TEST_sptls04
sp_tests += sptls04
sp_screens += sptls04/sptls04.scn
sp_docs += sptls04/sptls04.doc
sptls04_SOURCES = sptls04/init.c
sptls04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls04) \
	$(support_includes)
endif

if TEST_spversion01
sp_tests += spversion01
sp_screens += spversion01/spversion01.scn
sp_docs += spversion01/spversion01.doc
spversion01_SOURCES = spversion01/init.c
spversion01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spversion01) \
	$(support_includes)
endif

if TEST_spwatchdog
sp_tests += spwatchdog
sp_screens += spwatchdog/spwatchdog.scn
sp_docs += spwatchdog/spwatchdog.doc
spwatchdog_SOURCES = spwatchdog/init.c spwatchdog/task1.c \
	spwatchdog/system.h spwatchdog/prtime.c spwatchdog/delay.c
spwatchdog_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwatchdog) \
	$(support_includes)
endif

if TEST_spwkspace
sp_tests += spwkspace
sp_screens += spwkspace/spwkspace.scn
sp_docs += spwkspace/spwkspace.doc
spwkspace_SOURCES = spwkspace/init.c
spwkspace_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwkspace) \
	$(support_includes)
endif

if TEST_splinkersets01
sp_libs += libsplinkersets01.a
libsplinkersets01_a_SOURCES = splinkersets01/sets.c \
	splinkersets01/items.c
endif

rtems_tests_PROGRAMS = $(sp_tests)
noinst_LIBRARIES = $(sp_libs)
dist_rtems_tests_DATA = $(sp_screens) $(sp_docs)