home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-09-04 | 101.6 KB | 3,340 lines |
- /*****************************************************************************
- //
- // Copyright (C) 1991 Texas Instruments Incorporated.
- //
- // Permission is granted to any individual or institution to use, copy, modify,
- // and distribute this software, provided that this complete copyright and
- // permission notice is maintained, intact, in all copies and supporting
- // documentation.
- //
- // Texas Instruments Incorporated provides this software "as is" without
- // express or implied warranty.
- //
- *****************************************************************************
- *
- * Author: Martin Neath
- * Filename: imake.rul
- * $Revision: $ $Date: $
- * Module: build/config
- * Purpose: Imake generic rules file
- * Abstract:
- * - The "imake.rul" file contains machine-independent rules
- * for compiling, linking, etc.
- *
- * - Do *NOT* change values in this file -- change them in the
- * system configuration files
- *
- * - Surround any new default rules with #ifndef/#endif to
- * allow configuration files to override definitions
- *
- * - Rules are defined as C-preprocessor macros with continuation
- * characters at the end of each line
- *
- * - The rules contained in this file are a modified subset of
- * those from the X11R4 Imake.tmpl file.
- *
- * Related Files: site.def, project.imk, imake.imk
- * Macros Defined:
- *
- * All() - Simple target
- * All[1-24]() - Support for upto 24 targets
- * RCSCheckOut() - Checkout files from RCS
- * LinkIncludes() - Link headers to $(INCDIR)
- * NormalCObject() - Normal C compile rule
- * NormalCPlusObject() - Normal C++ compile rule
- * DebugCObject() - Debug C compile rule
- * DebugCPlusObject() - Debug C++ compile rule
- * TestCObject() - Test code C compile rule
- * TestCPlusObject() - Test code C++ compile rule
- * OptimizeCObject() - Optimize C compile rule
- * OptimizeCPlusObject() - Optimize C++ compile rule
- * LibraryName(name) - Add/Update $(OBJS) to library
- * QuoteName(name) - Add quotes around file name
- * VersionName() - Generate RCS version name
- * InstallProgram(program,dest) - Install program in directory
- * Clobber() - Remove object/scratch files
- * RemoveProgram(program) - Delete final program
- * CleanLibrary(library) - Delete library archive
- * Clean(files) - Delete objects
- * Test() - Compile regression tests
- * CLexScanner(scanner) - User-level LEX rule C file
- * CYaccParser(parser) - User-level YACC rule C file
- * CPlusLexScanner(scanner) - User-level LEX rule C++ file
- * CPlusYaccParser(parser) - User-level YACC rule C++ file
- * AuxillaryCProgram(program) - Additional C program rule
- * AuxillaryCPlusProgram(program) - Additional C++ program rule
- * CProgram(program) - Link $(OBJS) into C program
- * CProgram[1-24](program) - Support upto 24 C targets
- * CPlusProgram(program) - Link $(OBJS) into C++ program
- * CPlusProgram1(program) - Support upto 24 C++ targets
- * Library(archive,objlist) - Add objlist to library
- * RevUp() - Revup to next major revision
- * MakefileT() - Simple makefile target
- * MakefileSubdirs(dirs) - Recursively build makefiles
- * AllSubdirs(dirs) - Recursively make all
- * IncludeSubdirs(dirs) - Recursively make include
- * InstallSubdirs(dirs) - Recursively make install
- * RevupSubdirs(dirs) - Recursively make revup
- * CleanSubdirs(dirs) - Recursively make clean
- * ClobberSubdirs(dirs) - Recursively make clobber
- * DependSubdirs(dirs) - Recursively make depend
- *
- * Creation Date: 05/11/90
- * Changed by\Date\Reason:
- *
- *****************************************************************************/
-
- #ifndef Headers1
- #define Headers1()\
- HDRS = $(HDRS1)
- #endif
-
- #ifndef Headers2
- #define Headers2()\
- Headers1() $(HDRS2)
- #endif
-
- #ifndef Headers3
- #define Headers3()\
- Headers2() $(HDRS3)
- #endif
-
- #ifndef Headers4
- #define Headers4()\
- Headers3() $(HDRS4)
- #endif
-
- #ifndef Headers5
- #define Headers5()\
- Headers4() $(HDRS5)
- #endif
-
- #ifndef Headers6
- #define Headers6()\
- Headers5() $(HDRS6)
- #endif
-
- #ifndef Headers7
- #define Headers7()\
- Headers6() $(HDRS7)
- #endif
-
- #ifndef Headers8
- #define Headers8()\
- Headers7() $(HDRS8)
- #endif
-
- #ifndef Headers9
- #define Headers9()\
- Headers8() $(HDRS9)
- #endif
-
- #ifndef Headers10
- #define Headers10()\
- Headers9() $(HDRS10)
- #endif
-
- #ifndef Headers11
- #define Headers11()\
- Headers10() $(HDRS11)
- #endif
-
- #ifndef Headers12
- #define Headers12()\
- Headers11() $(HDRS12)
- #endif
-
- #ifndef Headers13
- #define Headers13()\
- Headers12() $(HDRS13)
- #endif
-
- #ifndef Headers14
- #define Headers14()\
- Headers13() $(HDRS14)
- #endif
-
- #ifndef Headers15
- #define Headers15()\
- Headers14() $(HDRS15)
- #endif
-
- #ifndef Headers16
- #define Headers16()\
- Headers15() $(HDRS16)
- #endif
-
- #ifndef Headers17
- #define Headers17()\
- Headers16() $(HDRS17)
- #endif
-
- #ifndef Headers18
- #define Headers18()\
- Headers17() $(HDRS18)
- #endif
-
- #ifndef Headers19
- #define Headers19()\
- Headers18() $(HDRS19)
- #endif
-
- #ifndef Headers20
- #define Headers20()\
- Headers19() $(HDRS20)
- #endif
-
- #ifndef Headers21
- #define Headers21()\
- Headers20() $(HDRS21)
- #endif
-
- #ifndef Headers22
- #define Headers22()\
- Headers21() $(HDRS22)
- #endif
-
- #ifndef Headers23
- #define Headers23()\
- Headers22() $(HDRS23)
- #endif
-
- #ifndef Headers24
- #define Headers24()\
- Headers23() $(HDRS24)
- #endif
-
- #ifndef MiscFiles1
- #define MiscFiles1()\
- MISCFILES = $(HDRS1)
- #endif
-
- #ifndef MiscFiles2
- #define MiscFiles2()\
- MiscFiles1() $(MISC2)
- #endif
-
- #ifndef MiscFiles3
- #define MiscFiles3()\
- MiscFiles2() $(MISC3)
- #endif
-
- #ifndef MiscFiles4
- #define MiscFiles4()\
- MiscFiles3() $(MISC4)
- #endif
-
- #ifndef MiscFiles5
- #define MiscFiles5()\
- MiscFiles4() $(MISC5)
- #endif
-
- #ifndef MiscFiles6
- #define MiscFiles6()\
- MiscFiles5() $(MISC6)
- #endif
-
- #ifndef MiscFiles7
- #define MiscFiles7()\
- MiscFiles6() $(MISC7)
- #endif
-
- #ifndef MiscFiles8
- #define MiscFiles8()\
- MiscFiles7() $(MISC8)
- #endif
-
- #ifndef MiscFiles9
- #define MiscFiles9()\
- MiscFiles8() $(MISC9)
- #endif
-
- #ifndef MiscFiles10
- #define MiscFiles10()\
- MiscFiles9() $(MISC10)
- #endif
-
- #ifndef MiscFiles11
- #define MiscFiles11()\
- MiscFiles10() $(MISC11)
- #endif
-
- #ifndef MiscFiles12
- #define MiscFiles12()\
- MiscFiles11() $(MISC12)
- #endif
-
- #ifndef MiscFiles13
- #define MiscFiles13()\
- MiscFiles12() $(MISC13)
- #endif
-
- #ifndef MiscFiles14
- #define MiscFiles14()\
- MiscFiles13() $(MISC14)
- #endif
-
- #ifndef MiscFiles15
- #define MiscFiles15()\
- MiscFiles14() $(MISC15)
- #endif
-
- #ifndef MiscFiles16
- #define MiscFiles16()\
- MiscFiles15() $(MISC16)
- #endif
-
- #ifndef MiscFiles17
- #define MiscFiles17()\
- MiscFiles16() $(MISC17)
- #endif
-
- #ifndef MiscFiles18
- #define MiscFiles18()\
- MiscFiles17() $(MISC18)
- #endif
-
- #ifndef MiscFiles19
- #define MiscFiles19()\
- MiscFiles18() $(MISC19)
- #endif
-
- #ifndef MiscFiles20
- #define MiscFiles20()\
- MiscFiles19() $(MISC20)
- #endif
-
- #ifndef MiscFiles21
- #define MiscFiles21()\
- MiscFiles20() $(MISC21)
- #endif
-
- #ifndef MiscFiles22
- #define MiscFiles22()\
- MiscFiles21() $(MISC22)
- #endif
-
- #ifndef MiscFiles23
- #define MiscFiles23()\
- MiscFiles22() $(MISC23)
- #endif
-
- #ifndef MiscFiles24
- #define MiscFiles24()\
- MiscFiles23() $(MISC24)
- #endif
-
- #ifndef Sources1
- #define Sources1()\
- SRCS = $(SRCS1)
- #endif
-
- #ifndef Sources2
- #define Sources2()\
- Sources1() $(SRCS2)
- #endif
-
- #ifndef Sources3
- #define Sources3()\
- Sources2() $(SRCS3)
- #endif
-
- #ifndef Sources4
- #define Sources4()\
- Sources3() $(SRCS4)
- #endif
-
- #ifndef Sources5
- #define Sources5()\
- Sources4() $(SRCS5)
- #endif
-
- #ifndef Sources6
- #define Sources6()\
- Sources5() $(SRCS6)
- #endif
-
- #ifndef Sources7
- #define Sources7()\
- Sources6() $(SRCS7)
- #endif
-
- #ifndef Sources8
- #define Sources8()\
- Sources7() $(SRCS8)
- #endif
-
- #ifndef Sources9
- #define Sources9()\
- Sources8() $(SRCS9)
- #endif
-
- #ifndef Sources10
- #define Sources10()\
- Sources9() $(SRCS10)
- #endif
-
- #ifndef Sources11
- #define Sources11()\
- Sources10() $(SRCS11)
- #endif
-
- #ifndef Sources12
- #define Sources12()\
- Sources11() $(SRCS12)
- #endif
-
- #ifndef Sources13
- #define Sources13()\
- Sources12() $(SRCS13)
- #endif
-
- #ifndef Sources14
- #define Sources14()\
- Sources13() $(SRCS14)
- #endif
-
- #ifndef Sources15
- #define Sources15()\
- Sources14() $(SRCS15)
- #endif
-
- #ifndef Sources16
- #define Sources16()\
- Sources15() $(SRCS16)
- #endif
-
- #ifndef Sources17
- #define Sources17()\
- Sources16() $(SRCS17)
- #endif
-
- #ifndef Sources18
- #define Sources18()\
- Sources17() $(SRCS18)
- #endif
-
- #ifndef Sources19
- #define Sources19()\
- Sources18() $(SRCS19)
- #endif
-
- #ifndef Sources20
- #define Sources20()\
- Sources19() $(SRCS20)
- #endif
-
- #ifndef Sources21
- #define Sources21()\
- Sources20() $(SRCS21)
- #endif
-
- #ifndef Sources22
- #define Sources22()\
- Sources21() $(SRCS22)
- #endif
-
- #ifndef Sources23
- #define Sources23()\
- Sources22() $(SRCS23)
- #endif
-
- #ifndef Sources24
- #define Sources24()\
- Sources23() $(SRCS24)
- #endif
-
- #ifndef Objects1
- #define Objects1()\
- OBJS = $(OBJS1)
- #endif
-
- #ifndef Objects2
- #define Objects2()\
- Objects1() $(OBJS2)
- #endif
-
- #ifndef Objects3
- #define Objects3()\
- Objects2() $(OBJS3)
- #endif
-
- #ifndef Objects4
- #define Objects4()\
- Objects3() $(OBJS4)
- #endif
-
- #ifndef Objects5
- #define Objects5()\
- Objects4() $(OBJS5)
- #endif
-
- #ifndef Objects6
- #define Objects6()\
- Objects5() $(OBJS6)
- #endif
-
- #ifndef Objects7
- #define Objects7()\
- Objects6() $(OBJS7)
- #endif
-
- #ifndef Objects8
- #define Objects8()\
- Objects7() $(OBJS8)
- #endif
-
- #ifndef Objects9
- #define Objects9()\
- Objects8() $(OBJS9)
- #endif
-
- #ifndef Objects10
- #define Objects10()\
- Objects9() $(OBJS10)
- #endif
-
- #ifndef Objects11
- #define Objects11()\
- Objects10() $(OBJS11)
- #endif
-
- #ifndef Objects12
- #define Objects12()\
- Objects11() $(OBJS12)
- #endif
-
- #ifndef Objects13
- #define Objects13()\
- Objects12() $(OBJS13)
- #endif
-
- #ifndef Objects14
- #define Objects14()\
- Objects13() $(OBJS14)
- #endif
-
- #ifndef Objects15
- #define Objects15()\
- Objects14() $(OBJS15)
- #endif
-
- #ifndef Objects16
- #define Objects16()\
- Objects15() $(OBJS16)
- #endif
-
- #ifndef Objects17
- #define Objects17()\
- Objects16() $(OBJS17)
- #endif
-
- #ifndef Objects18
- #define Objects18()\
- Objects17() $(OBJS18)
- #endif
-
- #ifndef Objects19
- #define Objects19()\
- Objects18() $(OBJS19)
- #endif
-
- #ifndef Objects20
- #define Objects20()\
- Objects19() $(OBJS20)
- #endif
-
- #ifndef Objects21
- #define Objects21()\
- Objects20() $(OBJS21)
- #endif
-
- #ifndef Objects22
- #define Objects22()\
- Objects21() $(OBJS22)
- #endif
-
- #ifndef Objects23
- #define Objects23()\
- Objects22() $(OBJS23)
- #endif
-
- #ifndef Objects24
- #define Objects24()\
- Objects23() $(OBJS24)
- #endif
-
- /*
- * All - generate rules to build necessary things during make all.
- */
-
- #ifndef All_n
- #define All_n(tg,n) @@\
- ClearSuffixList() @@\
- @@\
- SuffixList() @@\
- @@\
- Headers\
- n() @@\
- MiscFiles\
- n() @@\
- Sources\
- n() @@\
- Objects\
- n() @@\
- @@\
- tg ::
- #endif
-
- #ifndef All
- #define All(deps) @@\
- ClearSuffixList() @@\
- @@\
- SuffixList() @@\
- @@\
- all :: deps##$(EXE) @@\
- @@\
- PROGRAM = deps##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All1
- #define All1(deps) @@\
- All_n(all,1) deps##$(EXE) @@\
- @@\
- PROGRAM = deps##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All2
- #define All2(d1,d2) @@\
- All_n(all,2) d1##$(EXE) d2##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All3
- #define All3(d1,d2,d3) @@\
- All_n(all,3) d1##$(EXE) d2##$(EXE) d3##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All4
- #define All4(d1,d2,d3,d4) @@\
- All_n(all,4) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All5
- #define All5(d1,d2,d3,d4,d5) @@\
- All_n(all,5) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All6
- #define All6(d1,d2,d3,d4,d5,d6) @@\
- All_n(all,6) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All7
- #define All7(d1,d2,d3,d4,d5,d6,d7) @@\
- All_n(all,7) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All8
- #define All8(d1,d2,d3,d4,d5,d6,d7,d8) @@\
- All_n(all,8) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All9
- #define All9(d1,d2,d3,d4,d5,d6,d7,d8,d9) @@\
- All_n(all,9) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All10
- #define All10(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10) @@\
- All_n(all,10) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All11
- #define All11(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11) @@\
- All_n(all,11) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All12
- #define All12(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12) @@\
- All_n(all,12) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All13
- #define All13(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13) @@\
- All_n(all,13) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All14
- #define All14(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14) @@\
- All_n(all,14) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All15
- #define All15(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15) @@\
- All_n(all,15) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All16
- #define All16(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16) @@\
- All_n(all,16) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All17
- #define All17(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17)@@\
- All_n(all,17) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All18
- #define All18(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,d18)@@\
- All_n(all,18) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All19
- #define All19(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19) @@\
- All_n(all,19) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All20
- #define All20(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20) @@\
- All_n(all,20) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All21
- #define All21(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21) @@\
- All_n(all,21) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All22
- #define All22(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22) @@\
- All_n(all,22) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All23
- #define All23(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22,d23) @@\
- All_n(all,23) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef All24
- #define All24(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22,d23,d24) @@\
- All_n(all,23) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) \
- d24##$(EXE) @@\
- @@\
- PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) \
- d24##$(EXE) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll
- #define TestAll(deps) @@\
- ClearSuffixList() @@\
- @@\
- SuffixList() @@\
- @@\
- TPROGRAM = deps##$(EXE) @@\
- @@\
- TOUTPUT = deps##$(TESTRUN) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- deps $(OUTPUT) deps##$(TESTRUN) $(ERROR) @@\
- - $(RM) deps##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 1 test with zero errors detected" @@\
- @$(ECHO) "================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" deps##$(TESTRUN) @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll1
- #define TestAll1(d1) @@\
- TPROGRAM = d1##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) @@\
- @@\
- All_n(test,1) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 1 test with zero errors detected" @@\
- @$(ECHO) "================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll2
- #define TestAll2(d1,d2) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) @@\
- @@\
- All_n(test,2) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 2 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll3
- #define TestAll3(d1,d2,d3) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) @@\
- @@\
- All_n(test,3) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 3 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll4
- #define TestAll4(d1,d2,d3,d4) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) @@\
- @@\
- All_n(test,4) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 4 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll5
- #define TestAll5(d1,d2,d3,d4,d5) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) @@\
- @@\
- All_n(test,5) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 5 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll6
- #define TestAll6(d1,d2,d3,d4,d5,d6) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) @@\
- @@\
- All_n(test,6) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 6 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll7
- #define TestAll7(d1,d2,d3,d4,d5,d6,d7) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) @@\
- @@\
- All_n(test,7) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 7 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll8
- #define TestAll8(d1,d2,d3,d4,d5,d6,d7,d8) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) @@\
- @@\
- All_n(test,8) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 8 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll9
- #define TestAll9(d1,d2,d3,d4,d5,d6,d7,d8,d9) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) @@\
- @@\
- All_n(test,9) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 9 tests with zero errors detected" @@\
- @$(ECHO) "=================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll10
- #define TestAll10(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) @@\
- @@\
- All_n(test,10) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 10 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll11
- #define TestAll11(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) @@\
- @@\
- All_n(test,11) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 11 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll12
- #define TestAll12(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) @@\
- @@\
- All_n(test,12) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 12 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll13
- #define TestAll13(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) @@\
- @@\
- All_n(test,13) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 13 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll14
- #define TestAll14(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) @@\
- @@\
- All_n(test,14) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 14 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll15
- #define TestAll15(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) @@\
- @@\
- All_n(test,15) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 15 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll16
- #define TestAll16(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16)@@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) @@\
- @@\
- All_n(test,16) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 16 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll17
- #define TestAll17(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17)@@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) @@\
- @@\
- All_n(test,17) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 17 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll18
- #define TestAll18(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) @@\
- @@\
- All_n(test,18) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 18 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll19
- #define TestAll19(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) @@\
- @@\
- All_n(test,19) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 19 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll20
- #define TestAll20(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) @@\
- @@\
- All_n(test,20) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR) @@\
- - $(RM) d20##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 20 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll21
- #define TestAll21(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN) @@\
- @@\
- All_n(test,21) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR) @@\
- - $(RM) d20##$(EXE) @@\
- d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR) @@\
- - $(RM) d21##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 21 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll22
- #define TestAll22(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN) \
- d22##$(TESTRUN) @@\
- @@\
- All_n(test,22) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR) @@\
- - $(RM) d20##$(EXE) @@\
- d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR) @@\
- - $(RM) d21##$(EXE) @@\
- d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR) @@\
- - $(RM) d22##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 22 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll23
- #define TestAll23(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22,d23) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN) \
- d22##$(TESTRUN) d23##$(TESTRUN) @@\
- @@\
- All_n(test,23) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR) @@\
- - $(RM) d20##$(EXE) @@\
- d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR) @@\
- - $(RM) d21##$(EXE) @@\
- d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR) @@\
- - $(RM) d22##$(EXE) @@\
- d23 $(OUTPUT) d23##$(TESTRUN) $(ERROR) @@\
- - $(RM) d23##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 23 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d23##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- #ifndef TestAll24
- #define TestAll24(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
- d18,d19,d20,d21,d22,d23,d24) @@\
- TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE) \
- d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE) \
- d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
- d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) \
- d24##$(EXE) @@\
- @@\
- TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN) \
- d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
- d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN) \
- d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN) \
- d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN) \
- d22##$(TESTRUN) d23##$(TESTRUN) d24##$(TESTRUN) @@\
- @@\
- All_n(test,23) $(TPROGRAM) @@\
- @@\
- runtest :: $(TPROGRAM) @@\
- d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR) @@\
- - $(RM) d1##$(EXE) @@\
- d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR) @@\
- - $(RM) d2##$(EXE) @@\
- d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR) @@\
- - $(RM) d3##$(EXE) @@\
- d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR) @@\
- - $(RM) d4##$(EXE) @@\
- d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR) @@\
- - $(RM) d5##$(EXE) @@\
- d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR) @@\
- - $(RM) d6##$(EXE) @@\
- d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR) @@\
- - $(RM) d7##$(EXE) @@\
- d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR) @@\
- - $(RM) d8##$(EXE) @@\
- d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR) @@\
- - $(RM) d9##$(EXE) @@\
- d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR) @@\
- - $(RM) d10##$(EXE) @@\
- d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR) @@\
- - $(RM) d11##$(EXE) @@\
- d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR) @@\
- - $(RM) d12##$(EXE) @@\
- d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR) @@\
- - $(RM) d13##$(EXE) @@\
- d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR) @@\
- - $(RM) d14##$(EXE) @@\
- d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR) @@\
- - $(RM) d15##$(EXE) @@\
- d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR) @@\
- - $(RM) d16##$(EXE) @@\
- d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR) @@\
- - $(RM) d17##$(EXE) @@\
- d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR) @@\
- - $(RM) d18##$(EXE) @@\
- d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR) @@\
- - $(RM) d19##$(EXE) @@\
- d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR) @@\
- - $(RM) d20##$(EXE) @@\
- d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR) @@\
- - $(RM) d21##$(EXE) @@\
- d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR) @@\
- - $(RM) d22##$(EXE) @@\
- d23 $(OUTPUT) d23##$(TESTRUN) $(ERROR) @@\
- - $(RM) d23##$(EXE) @@\
- d24 $(OUTPUT) d24##$(TESTRUN) $(ERROR) @@\
- - $(RM) d24##$(EXE) @@\
- @@\
- $(TOUTPUT) :: $(OBJS) @@\
- @@\
- results :: $(TOUTPUT) @@\
- @$(ECHO) "There should be 24 tests with zero errors detected" @@\
- @$(ECHO) "==================================================" @@\
- @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d23##$(TESTRUN) @@\
- @$(SEARCH) $(NOCASE) "detected" d24##$(TESTRUN) @@\
- @@\
- RCSCheckOut() @@\
-
- #endif
-
- /*
- * RCSCheckOut - generate rules to build source files from RCS version
- */
-
- #ifndef MiscCheckOut
- #define MiscCheckOut() @@\
- miscrcs :: $(MISCFILES) @@\
-
- #endif
-
- #ifndef ForceCheckOut
- #define ForceCheckOut() @@\
- forcecheckout :: @@\
- $(GET) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
-
- #endif
-
- #ifndef LockCheckOut
- #define LockCheckOut() @@\
- lockcheckout :: @@\
- $(LOCK) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
-
- #endif
-
- #ifndef RCSCheckOut
- #define RCSCheckOut() @@\
- ForceCheckOut() @@\
- LockCheckOut() @@\
- LocalCheckOut() @@\
- checkout :: $(SRCS) $(HDRS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
- @@\
- RevUp()
- #endif
-
- #ifndef LocalCheckOut
- #define LocalCheckOut() @@\
- localcheckout :: $(SRCS) $(HDRS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
-
- #endif
-
- /*
- * LinkIncludes - generate rules to link header files to include directory
- */
- #ifndef LinkIncludes
- #define LinkIncludes() @@\
- includes :: $(HDRS) @@\
- for i in $? ;\ @@\
- do \ @@\
- $(RM) PrefixDirName($(INCDIR))##$$i; \ @@\
- $(LN) $$i PrefixDirName($(INCDIR)); \ @@\
- done
- #endif
-
-
- /*
- * NormalCObject - generate rules to build "normal" C object files
- */
- #ifndef NormalCObject
- #define NormalCObject() @@\
- .c.$(OBJ) : @@\
- $(CC) $(NOLINK) $(CFLAGS) $*.c
- #endif
-
-
- /*
- * NormalCPlusObject - generate rules to build "normal" C++ object files
- */
- #ifndef NormalCPlusObject
- #define NormalCPlusObject() @@\
- .$(CXX).$(OBJ) : @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $*.$(CXX) @@\
- - $(RM) $*.$(CII)
- #endif
-
- /*
- * DebugCObject - generate rules to build "debug" C object files
- */
- #ifndef DebugCObject
- #define DebugCObject() @@\
- .c.$(OBJ) : @@\
- $(CC) $(NOLINK) $(CFLAGS_DEBUG) $*.c
- #endif
-
-
- /*
- * DebugCPlusObject - generate rules to build "debug" C++ object files
- */
- #ifndef DebugCPlusObject
- #define DebugCPlusObject() @@\
- .$(CXX).$(OBJ) : @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $*.$(CXX) @@\
- - $(RM) $*.$(CII)
- #endif
-
- /*
- * TestCObject - generate rules to build "test" C object files
- */
- #ifndef TestCObject
- #define TestCObject() @@\
- .c.$(OBJ) : @@\
- $(CC) $(NOLINK) $(CFLAGS_DEBUG) $*.c
- #endif
-
-
- /*
- * TestCPlusObject - generate rules to build "test" C++ object files
- */
- #ifndef TestCPlusObject
- #define TestCPlusObject() @@\
- .$(CXX).$(OBJ) : @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $*.$(CXX) @@\
- - $(RM) $*.$(CII)
- #endif
-
- /*
- * OptimizeCObject - generate rules to build "optimized"C object files
- */
- #ifndef OptimizeCObject
- #define OptimizeCObject() @@\
- .c.$(OBJ) : @@\
- $(CC) $(NOLINK) $(C_OPTIMIZE) $(CFLAGS) $*.c
- #endif
-
-
- /*
- * OptimizeCPlusObject - generate rules to build optimized C++ object files
- */
- #ifndef OptimizeCPlusObject
- #define OptimizeCPlusObject() @@\
- .$(CXX).$(OBJ) : @@\
- $(CPLUS) $(NOLINK) $(CPLUS_OPTIMIZE) $(CPLUSFLAGS) $*.$(CXX) @@\
- - $(RM) $*.$(CII)
- #endif
-
-
- /*
- * LibraryName - Create true library name by prefixing with library directory
- * and name prefix characters and appending library suffix
- */
- #ifndef LibraryName
- #define LibraryName(name)\
- PrefixDirName($(LIBDIR))##$(LIBPRE)##name##$(LIBSUF)
- #endif
-
-
- #ifndef QuoteName
- #define QuoteName(name)\
- \"name\"
- #endif
-
- /*
- * VersionName - Create name of RCS version directory
- */
- #ifndef VersionName
- #define VersionName()\
- DirName($(VERSION)##$(CURVER))
- #endif
-
- #ifndef PrevVersionName
- #define PrevVersionName()\
- DirName($(VERSION)##$(PREV))
- #endif
-
- /*
- * InstallProgram - generate rules to install an executable program using any
- * special install flags set in $(INSTALLFLAGS).
- */
- #ifndef InstallProgram
- #define InstallProgram(program,dest) @@\
- SystemSpecificFinalize(program) @@\
- @@\
- install :: program##$(EXE) sys_spec @@\
- $(INSTALL) $(INSTPGMFLAGS) program##$(EXE) dest
- #endif
-
- #ifndef AllInstall
- #define AllInstall() @@\
- all :: install
- #endif
-
- /*
- * Clobber - generate rules to remove any garbage files
- */
- #ifndef Clobber
- #define Clobber() @@\
- clobber :: @@\
- - $(RM) FilesToClean
- #endif
-
-
- #ifndef RemoveProgram
- #define RemoveProgram(program)\
- - $(RM) program##$(EXE)
- #endif
-
- #ifndef ClobberLibrary
- #define ClobberLibrary(archive) @@\
- clobber :: @@\
- - $(RM) LibraryName(archive)
- #endif
-
- #ifndef Clean
- #define Clean(files) @@\
- localclean :: @@\
- - $(RM) files @@\
- @@\
- clean :: @@\
- - $(RM) files
- #endif
-
- #ifndef FastCompile
- #define FastCompile() @@\
- fast :: $(HDRS) $(SRCS) @@\
- $(MAKE) all LIBRARY="$(FASTLIBRARY)" CPLUSFLAGS="$(CPLUS_OPTIMIZE) \
- $(CPLUSFLAGS)" CPLUSFLAGS_DEBUG="$(CPLUS_OPTIMIZE) $(CPLUSFLAGS)" \
- CFLAGS="$(C_OPTIMIZE) $(CFLAGS)" CFLAGS_DEBUG="$(C_OPTIMIZE) $(CFLAGS)"
- #endif
-
-
- /*
- * LexScanner - generate a scanner from a lex file
- */
- #ifndef CLexScanner
- #define CLexScanner(scanner) @@\
- LEXPRG = scanner.c @@\
- LEXPRG2 = -X##scanner.c @@\
- @@\
- scanner.l : $(LEXSRC) @@\
- $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l @@\
- @@\
- scanner.c : scanner.l $(YACCSRC) @@\
- - $(RM) scanner.c @@\
- $(LEX) $(LEXFLAGS) scanner.l @@\
- $(MV) lex_yy.c scanner.c @@\
- @@\
- scanner.$(OBJ) : scanner.c scanner.l @@\
- - $(RM) scanner.$(OBJ) @@\
- $(CC) $(NOLINK) $(CFLAGS) $(YACCLEX) scanner.c @@\
-
- #endif
-
- #ifndef CPlusLexScanner
- #define CPlusLexScanner(scanner) @@\
- LEXPRG = scanner.$(CXX) @@\
- LEXPRG2 = -X##scanner.$(CXX) @@\
- @@\
- scanner.l : $(LEXSRC) @@\
- $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l @@\
- @@\
- scanner.$(CXX) : scanner.l $(YACCSRC) @@\
- - $(RM) scanner.$(CXX) @@\
- $(LEX) $(LEXFLAGS) scanner.l @@\
- $(MV) lex_yy.c scanner.$(CXX) @@\
- @@\
- scanner.$(OBJ) : scanner.$(CXX) scanner.l @@\
- - $(RM) scanner.$(OBJ) @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $(YACCLEX) scanner.$(CXX)@@\
-
- #endif
-
-
- #ifndef CDebugLexScanner
- #define CDebugLexScanner(scanner) @@\
- LEXPRG = scanner.c @@\
- LEXPRG2 = -X##scanner.c @@\
- @@\
- scanner.l : $(LEXSRC) @@\
- $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l @@\
- @@\
- scanner.c : scanner.l $(YACCSRC) @@\
- - $(RM) scanner.c @@\
- $(LEX) $(LEXFLAGS) scanner.l @@\
- $(MV) lex_yy.c scanner.c @@\
- @@\
- scanner.$(OBJ) : scanner.c scanner.l @@\
- - $(RM) scanner.$(OBJ) @@\
- $(CC) $(NOLINK) $(CFLAGS_DEBUG) $(YACCLEX) scanner.c @@\
-
- #endif
-
- #ifndef CPlusDebugLexScanner
- #define CPlusDebugLexScanner(scanner) @@\
- LEXPRG = scanner.$(CXX) @@\
- LEXPRG2 = -X##scanner.$(CXX) @@\
- @@\
- scanner.l : $(LEXSRC) @@\
- $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l @@\
- @@\
- scanner.$(CXX) : scanner.l $(YACCSRC) @@\
- - $(RM) scanner.$(CXX) @@\
- $(LEX) $(LEXFLAGS) scanner.l @@\
- $(MV) lex_yy.c scanner.$(CXX) @@\
- @@\
- scanner.$(OBJ) : scanner.$(CXX) scanner.l @@\
- - $(RM) scanner.$(OBJ) @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $(YACCLEX) scanner.$(CXX)@@\
-
- #endif
-
-
- /*
- * YaccParser - generate a parser from a yacc grammar
- */
- #ifndef CPlusYaccParser
- #define CPlusYaccParser(parser) @@\
- YACCPRG = parser.$(CXX) @@\
- YACCPRG2 = -X##parser.$(CXX) @@\
- @@\
- parser.y : $(YACCSRC) @@\
- $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y @@\
- @@\
- parser.$(CXX) parser.h : parser.y @@\
- - $(RM) parser.$(CXX) parser.h @@\
- $(YACC) $(YACCFLAGS) parser.y @@\
- $(MV) y_tab.h parser.h @@\
- $(MV) y_tab.c parser.$(CXX) @@\
- @@\
- parser.$(OBJ) : parser.$(CXX) parser.y @@\
- - $(RM) parser.$(OBJ) @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $(YACCLEX) parser.$(CXX) @@\
-
- #endif
-
- #ifndef CYaccParser
- #define CYaccParser(parser) @@\
- YACCPRG = parser.c @@\
- YACCPRG2 = -X##parser.c @@\
- @@\
- parser.y : $(YACCSRC) @@\
- $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y @@\
- @@\
- parser.c parser.h : parser.y @@\
- - $(RM) parser.c parser.h @@\
- $(YACC) $(YACCFLAGS) parser.y @@\
- $(MV) y_tab.h parser.h @@\
- $(MV) y_tab.c parser.c @@\
- @@\
- parser.$(OBJ) : parser.c parser.y @@\
- - $(RM) parser.$(OBJ) @@\
- $(CC) $(NOLINK) $(CFLAGS) $(YACCLEX) parser.c @@\
-
- #endif
-
-
- #ifndef CPlusDebugYaccParser
- #define CPlusDebugYaccParser(parser) @@\
- YACCPRG = parser.$(CXX) @@\
- YACCPRG2 = -X##parser.$(CXX) @@\
- @@\
- parser.y : $(YACCSRC) @@\
- $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y @@\
- @@\
- parser.$(CXX) parser.h : parser.y @@\
- - $(RM) parser.$(CXX) parser.h @@\
- $(YACC) $(YACCFLAGS) parser.y @@\
- $(MV) y_tab.h parser.h @@\
- $(MV) y_tab.c parser.$(CXX) @@\
- @@\
- parser.$(OBJ) : parser.$(CXX) parser.y @@\
- - $(RM) parser.$(OBJ) @@\
- $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $(YACCLEX) parser.$(CXX) @@\
-
- #endif
-
- #ifndef CDebugYaccParser
- #define CDebugYaccParser(parser) @@\
- YACCPRG = parser.c @@\
- YACCPRG2 = -X##parser.c @@\
- @@\
- parser.y : $(YACCSRC) @@\
- $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y @@\
- @@\
- parser.c parser.h : parser.y @@\
- - $(RM) parser.c parser.h @@\
- $(YACC) $(YACCFLAGS) parser.y @@\
- $(MV) y_tab.h parser.h @@\
- $(MV) y_tab.c parser.c @@\
- @@\
- parser.$(OBJ) : parser.c parser.y @@\
- - $(RM) parser.$(OBJ) @@\
- $(CC) $(NOLINK) $(CFLAGS_DEBUG) $(YACCLEX) parser.c @@\
-
- #endif
-
-
- #ifndef AuxillaryCProgram
- #define AuxillaryCProgram(program) @@\
- program##$(EXE) :: program.$(OBJ) @@\
- RemoveProgram(program) @@\
- $(CC) $(PROGNAME) $@ program.$(OBJ) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)
- #endif
-
- #ifndef AuxillaryCPlusProgram
- #define AuxillaryCPlusProgram(program) @@\
- program##$(EXE) :: program.$(OBJ) @@\
- RemoveProgram(program) @@\
- $(CPLUS) $(PROGNAME) $@ program.$(OBJ) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS)
- #endif
-
- /*
- * CProgram - generate rules for compiling and linking the C
- * program specified by $(OBJS) and $(SRCS), installing the program, and
- * generating dependencies. It should only be used in Imakefiles that
- * describe a single program.
- */
- #ifndef CProgram
- #define CProgram(program) @@\
- program##$(EXE) :: $(OBJS) @@\
- RemoveProgram(program) @@\
- $(CC) $(PROGNAME) $@ $(OBJS) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS) @@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CProgram1
- #define CProgram1(program) @@\
- program##$(EXE) :: $(OBJS1) @@\
- RemoveProgram(program) @@\
- $(CC) $(PROGNAME) $@ $(OBJS1) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)@@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CProgram_n
- #define CProgram_n(n,program) @@\
- program##$(EXE) :: $(OBJS##n) @@\
- RemoveProgram(program) @@\
- $(CC) $(PROGNAME) $@ $(OBJS##n) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)@@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CProgram2
- #define CProgram2(program) CProgram_n(2,program)
- #endif
-
- #ifndef CProgram3
- #define CProgram3(program) CProgram_n(3,program)
- #endif
-
- #ifndef CProgram4
- #define CProgram4(program) CProgram_n(4,program)
- #endif
-
- #ifndef CProgram5
- #define CProgram5(program) CProgram_n(5,program)
- #endif
-
- #ifndef CProgram6
- #define CProgram6(program) CProgram_n(6,program)
- #endif
-
- #ifndef CProgram7
- #define CProgram7(program) CProgram_n(7,program)
- #endif
-
- #ifndef CProgram8
- #define CProgram8(program) CProgram_n(8,program)
- #endif
-
- #ifndef CProgram9
- #define CProgram9(program) CProgram_n(9,program)
- #endif
-
- #ifndef CProgram10
- #define CProgram10(program) CProgram_n(10,program)
- #endif
-
- #ifndef CProgram11
- #define CProgram11(program) CProgram_n(11,program)
- #endif
-
- #ifndef CProgram12
- #define CProgram12(program) CProgram_n(12,program)
- #endif
-
- #ifndef CProgram13
- #define CProgram13(program) CProgram_n(13,program)
- #endif
-
- #ifndef CProgram14
- #define CProgram14(program) CProgram_n(14,program)
- #endif
-
- #ifndef CProgram15
- #define CProgram15(program) CProgram_n(15,program)
- #endif
-
- #ifndef CProgram16
- #define CProgram16(program) CProgram_n(16,program)
- #endif
-
- #ifndef CProgram17
- #define CProgram17(program) CProgram_n(17,program)
- #endif
-
- #ifndef CProgram18
- #define CProgram18(program) CProgram_n(18,program)
- #endif
-
- #ifndef CProgram19
- #define CProgram19(program) CProgram_n(19,program)
- #endif
-
- #ifndef CProgram20
- #define CProgram20(program) CProgram_n(20,program)
- #endif
-
- #ifndef CProgram21
- #define CProgram21(program) CProgram_n(21,program)
- #endif
-
- #ifndef CProgram22
- #define CProgram22(program) CProgram_n(22,program)
- #endif
-
- #ifndef CProgram23
- #define CProgram23(program) CProgram_n(23,program)
- #endif
-
- #ifndef CProgram24
- #define CProgram24(program) CProgram_n(24,program)
- #endif
-
- /*
- * CPlusProgram - generate rules for compiling and linking the
- * C++ program specified by $(OBJS) and $(SRCS), installing the program, and
- * generating dependencies. It should only be used in Imakefiles that
- * describe a single program.
- */
- #ifndef CPlusProgram
- #define CPlusProgram(program) @@\
- program##$(EXE) :: $(OBJS) @@\
- RemoveProgram(program) @@\
- $(CPLUS) $(PROGNAME) $@ $(OBJS) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CPlusProgram1
- #define CPlusProgram1(program) @@\
- program##$(EXE) :: $(OBJS1) @@\
- RemoveProgram(program) @@\
- $(CPLUS) $(PROGNAME) $@ $(OBJS1) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CPlusProgram_n
- #define CPlusProgram_n(n,program) @@\
- program##$(EXE) :: $(OBJS##n) @@\
- RemoveProgram(program) @@\
- $(CPLUS) $(PROGNAME) $@ $(OBJS##n) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
- @@\
- InstallProgram(program,DirName($(BINDIR))) @@\
- @@\
- Clean($(OBJS)) @@\
- RemoveProgram(program) @@\
-
- #endif
-
- #ifndef CPlusProgram2
- #define CPlusProgram2(program) CPlusProgram_n(2,program)
- #endif
-
- #ifndef CPlusProgram3
- #define CPlusProgram3(program) CPlusProgram_n(3,program)
- #endif
-
- #ifndef CPlusProgram4
- #define CPlusProgram4(program) CPlusProgram_n(4,program)
- #endif
-
- #ifndef CPlusProgram5
- #define CPlusProgram5(program) CPlusProgram_n(5,program)
- #endif
-
- #ifndef CPlusProgram6
- #define CPlusProgram6(program) CPlusProgram_n(6,program)
- #endif
-
- #ifndef CPlusProgram7
- #define CPlusProgram7(program) CPlusProgram_n(7,program)
- #endif
-
- #ifndef CPlusProgram8
- #define CPlusProgram8(program) CPlusProgram_n(8,program)
- #endif
-
- #ifndef CPlusProgram9
- #define CPlusProgram9(program) CPlusProgram_n(9,program)
- #endif
-
- #ifndef CPlusProgram10
- #define CPlusProgram10(program) CPlusProgram_n(10,program)
- #endif
-
- #ifndef CPlusProgram11
- #define CPlusProgram11(program) CPlusProgram_n(11,program)
- #endif
-
- #ifndef CPlusProgram12
- #define CPlusProgram12(program) CPlusProgram_n(12,program)
- #endif
-
- #ifndef CPlusProgram13
- #define CPlusProgram13(program) CPlusProgram_n(13,program)
- #endif
-
- #ifndef CPlusProgram14
- #define CPlusProgram14(program) CPlusProgram_n(14,program)
- #endif
-
- #ifndef CPlusProgram15
- #define CPlusProgram15(program) CPlusProgram_n(15,program)
- #endif
-
- #ifndef CPlusProgram16
- #define CPlusProgram16(program) CPlusProgram_n(16,program)
- #endif
-
- #ifndef CPlusProgram17
- #define CPlusProgram17(program) CPlusProgram_n(17,program)
- #endif
-
- #ifndef CPlusProgram18
- #define CPlusProgram18(program) CPlusProgram_n(18,program)
- #endif
-
- #ifndef CPlusProgram19
- #define CPlusProgram19(program) CPlusProgram_n(19,program)
- #endif
-
- #ifndef CPlusProgram20
- #define CPlusProgram20(program) CPlusProgram_n(20,program)
- #endif
-
- #ifndef CPlusProgram21
- #define CPlusProgram21(program) CPlusProgram_n(21,program)
- #endif
-
- #ifndef CPlusProgram22
- #define CPlusProgram22(program) CPlusProgram_n(22,program)
- #endif
-
- #ifndef CPlusProgram23
- #define CPlusProgram23(program) CPlusProgram_n(23,program)
- #endif
-
- #ifndef CPlusProgram24
- #define CPlusProgram24(program) CPlusProgram_n(24,program)
- #endif
-
- /*
- * Library - generate rules to update a library archive
- */
- #ifndef Library
- #define Library(archive,objlist) @@\
- archive :: LibraryName(archive) @@\
- @@\
- LibraryName(archive) : objlist @@\
- $(AR) $(UPDATE) LibraryName(archive) $? @@\
- $(RANLIB) LibraryName(archive) @@\
- @@\
- makelib :: objlist @@\
- $(AR) $(ADD) LibraryName(archive) objlist @@\
- @@\
- FastCompile() @@\
- @@\
- Clean($(OBJS))
- #endif
-
- #ifndef DependCommand
- #define DependCommand() @@\
- $(DEPEND) $(RCSDEP) $(LINKDEP) $(PFLAG)$(PATHSEP) $(ALLCPLUSDEFS) \
- $(ALLCDEFS) $(YACCPRG2) $(LEXPRG2) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC)
- #endif
-
- /*
- * We have to #undef the preprocessor symbols `TOPDIR' and `REV for the
- * remainder of this file so that macros can be generated that have this
- * symbol spelled out, that is, not substituted for in the macro.
- */
-
- #undef TOPDIR
- #undef REV
-
- /*
- * RevUp -- generate rules to save snapshot of source base and revup to
- * a new major RCS version
- */
-
- #ifndef RevUp
- #define RevUp() @@\
- revup :: lockcheckout @@\
- $(MKDIR) VersionName() @@\
- $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=$(TOP) $(DFLAG)REV=$(NEXT) \
- $(IFLAG)$(CONFIG) \
- DependCommand() @@\
- $(CP) Imakefile Makefile $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) VersionName() @@\
- $(REVUP) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
- $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=$(TOP) $(DFLAG)REV=$(NEXT) \
- $(IFLAG)$(CONFIG) @@\
- $(GET) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) @@\
- $(MAKE) depend @@\
-
- #endif
-
- /*
- * Makefile - generate a new Makefile from an Imakefile
- */
- #ifndef MakefileT
- #define MakefileT() @@\
- makefile :: @@\
- $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) \
- $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG)) @@\
- $(MAKE) depend @@\
- @@\
- mk_only :: @@\
- $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) \
- $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG)) @@\
- @@\
- depend :: $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(YACCPRG) $(LEXPRG) \
- DependCommand() @@\
-
- #endif
-
- #ifndef TopLevelBootStrap
- #define TopLevelBootStrap() @@\
- bootstrap :: @@\
- $(MAKE) includes @@\
-
- #endif
-
-
- #ifndef MakefileSubdirs
- #define MakefileSubdirs() @@\
- makefiles :: @@\
- $(MAKE) TARGET=mk_only $(SUBDIRS) @@\
- $(MAKE) TARGET=checkout $(SUBDIRS) @@\
- $(MAKE) TARGET=depends $(SUBDIRS)
- #endif
-
-
- #ifndef AllSubdirs
- #define AllSubdirs() @@\
- all :: @@\
- $(MAKE) TARGET=all $(SUBDIRS)
- #endif
-
-
- /*
- * BootstrapSubdirs - generate rules to recursively bootstrap subdirectories
- */
-
- #ifndef BootstrapSubdirs
- #define BootstrapSubdirs() @@\
- bootstrap :: @@\
- @for i in $(SUBDIRS) ; \ @@\
- do \ @@\
- $(ECHO) "$(CD) $$i"; \ @@\
- $(ECHO) "$(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG))"; \ @@\
- ( $(CD) $$i; \ @@\
- $(PIMAKE) $(DFLAG)$(MACHINE) \ @@\
- $(DFLAG)TOPDIR=DirName($(TOP)) \ @@\
- $(DFLAG)REV=$(CURVER) \ @@\
- $(IFLAG)DirName($(CONFIG)) ); \ @@\
- done; @@\
- $(MAKE) TARGET=bootstrap $(SUBDIRS) @@\
- $(MAKE) TARGET=mk_only $(SUBDIRS)
- #endif
-
- #ifndef IncludeSubdirs
- #define IncludeSubdirs() @@\
- includes :: @@\
- $(MAKE) TARGET=includes $(SUBDIRS)
- #endif
-
-
- #ifndef CheckoutSubdirs
- #define CheckoutSubdirs() @@\
- checkout :: @@\
- $(MAKE) TARGET=checkout $(SUBDIRS)
- #endif
-
-
- #ifndef ForceCheckoutSubdirs
- #define ForceCheckoutSubdirs() @@\
- forcecheckout :: @@\
- $(MAKE) TARGET=forcecheckout $(SUBDIRS)
- #endif
-
-
- #ifndef InstallSubdirs
- #define InstallSubdirs() @@\
- install :: @@\
- $(MAKE) TARGET=install $(SUBDIRS)
- #endif
-
-
- #ifndef RevupSubdirs
- #define RevupSubdirs() @@\
- revup :: @@\
- $(MAKE) TARGET=revup $(SUBDIRS)
- #endif
-
-
- #ifndef CleanSubdirs
- #define CleanSubdirs() @@\
- clean :: @@\
- $(MAKE) TARGET=clean $(SUBDIRS)
- #endif
-
-
- #ifndef FastSubdirs
- #define FastSubdirs() @@\
- fast :: @@\
- $(MAKE) TARGET=fast $(SUBDIRS)
- #endif
-
-
- #ifndef ClobberSubdirs
- #define ClobberSubdirs() @@\
- clobber :: @@\
- $(MAKE) TARGET=clobber $(SUBDIRS)
- #endif
-
-
- #ifndef RunTestSubdirs
- #define RunTestSubdirs() @@\
- runtest :: @@\
- $(MAKE) TARGET=runtest $(SUBDIRS)
- #endif
-
-
- #ifndef LibSubdirs
- #define LibSubdirs() @@\
- makelib :: @@\
- $(MAKE) TARGET=makelib $(SUBDIRS)
- #endif
-
-
- #ifndef ResultsSubdirs
- #define ResultsSubdirs() @@\
- results :: @@\
- $(MAKE) TARGET=results $(SUBDIRS)
- #endif
-
- #ifndef DependSubdirs
- #define DependSubdirs() @@\
- depends :: depend @@\
- $(MAKE) TARGET=depends $(SUBDIRS)
- #endif
-
- #ifndef ImakeOnlySubdirs
- #define ImakeOnlySubdirs() @@\
- mk_only :: @@\
- $(MAKE) TARGET=mk_only $(SUBDIRS)
- #endif
-
- #ifndef SubdirsRule
- #define SubdirsRule() @@\
- $(SUBDIRS) : always @@\
- cd $@; $(MAKE) $(TARGET) @@\
- @@\
- always : @@\
-
- #endif
-
-
- #ifndef ShellProgram
- #define ShellProgram(programs) @@\
- includes:: @@\
- @for i in programs ;\ @@\
- do \ @@\
- $(ECHO) "$(RM) $(BINDIR)$(PATHSEP)$$i"; \ @@\
- $(ECHO) "$(CP) $$i.sh $(BINDIR)$(PATHSEP)$$i"; \ @@\
- $(ECHO) "$(ATTRIB) $(EXECBIT) $(BINDIR)$(PATHSEP)$$i"; \ @@\
- $(RM) PrefixDirName($(BINDIR))##$$i; \ @@\
- $(CP) $$i##.sh PrefixDirName($(BINDIR))##$$i; \ @@\
- $(ATTRIB) $(EXECBIT) PrefixDirName($(BINDIR))##$$i; \ @@\
- done
- #endif
-