| 1 |
// Inspect the following #defines. Change them to taste. If you don't |
| 2 |
// need a particular option, change its value into an empty string |
| 3 |
|
| 4 |
// should commands be echoed (ON) or not (OFF) ? |
| 5 |
#define USE_ECHO ON |
| 6 |
|
| 7 |
|
| 8 |
// The final program and source containing main(): |
| 9 |
// =============================================== |
| 10 |
|
| 11 |
// define the name of the program to create: |
| 12 |
#define BINARY "../../poly" |
| 13 |
|
| 14 |
// define the name of the source containing main(): |
| 15 |
#define MAIN "main.cc" |
| 16 |
|
| 17 |
// #defines used for compilation and linking: |
| 18 |
// ========================================== |
| 19 |
|
| 20 |
// define the compiler to use: |
| 21 |
#define COMPILER "g++" |
| 22 |
|
| 23 |
// define the compiler options to use: |
| 24 |
#define COMPILER_OPTIONS "-g -Wall -O2" |
| 25 |
|
| 26 |
// define the pattern to locate sources in a directory: |
| 27 |
#define SOURCES "*.cc" |
| 28 |
|
| 29 |
// define the options used for linking: |
| 30 |
#define LINKER_OPTIONS "-s" |
| 31 |
|
| 32 |
// define any additional libraries BINARY may need: |
| 33 |
#define ADD_LIBRARIES "bobcat" |
| 34 |
|
| 35 |
// define any additional paths (other than the standard paths) the |
| 36 |
// additional libraries are located in: |
| 37 |
#define ADD_LIBRARY_PATHS "" |
| 38 |
|
| 39 |
// #defines used for the final product: |
| 40 |
// ==================================== |
| 41 |
|
| 42 |
#define BIN_INSTALL "/usr/local/bin" |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
// Some advanced #defines, used to create parsers and lexical scanners |
| 47 |
// =================================================================== |
| 48 |
|
| 49 |
|
| 50 |
// Lexical Scanner section |
| 51 |
// ======================= |
| 52 |
|
| 53 |
// Should a lexical scanner be constructed? If so, define the subdirectory |
| 54 |
// containing the scanner's specification file. |
| 55 |
#define SCANNER_DIR "scanner" |
| 56 |
|
| 57 |
// What is the program generating the lexical scanner? |
| 58 |
#define SCANGEN "flex" |
| 59 |
|
| 60 |
// Flags to provide SCANGEN with: |
| 61 |
#define SCANFLAGS "-I" |
| 62 |
|
| 63 |
// Name of the lexical scanner specification file |
| 64 |
#define SCANSPEC "lexer" |
| 65 |
|
| 66 |
// Name of the file generated by the lexical scanner |
| 67 |
#define SCANOUT "yylex.cc" |
| 68 |
|
| 69 |
|
| 70 |
// Parser section |
| 71 |
// ============== |
| 72 |
|
| 73 |
// Should a parser be constructed? If so, define the subdirectory |
| 74 |
// containing the parser's specification file |
| 75 |
#define PARSER_DIR "parser" |
| 76 |
|
| 77 |
// If a parser must be constructed, should the script (provided in the |
| 78 |
// skeleton file parser/gramspec/grambuild) `parser/gramspec/grambuild' |
| 79 |
// **NOT** be called? If it must NOT be called, comment out the following |
| 80 |
// #define directive: |
| 81 |
// #define GRAMBUILD |
| 82 |
|
| 83 |
// What it the program generating a parser? |
| 84 |
#define PARSGEN "bisonc++" |
| 85 |
|
| 86 |
// What it the grammar specificication file? |
| 87 |
#define PARSSPEC "grammar" |
| 88 |
|
| 89 |
// Flags to provide PARSGEN with: |
| 90 |
#define PARSFLAGS "-V -l" |
| 91 |
|
| 92 |
// Name of the file generated by the parser generator containing the |
| 93 |
// parser function |
| 94 |
#define PARSOUT "parse.cc" |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
// Additional defines, which should normally not be modified |
| 99 |
// ========================================================= |
| 100 |
|
| 101 |
// Directory below this directory to contain temporary results |
| 102 |
#define TMP_DIR "tmp" |
| 103 |
|
| 104 |
// Local program library to use (change to an empty string if you want to |
| 105 |
// use the object modules themselves, rather than a library) |
| 106 |
#define LIBRARY "modules" |
| 107 |
|
| 108 |
// The extension of object modules: |
| 109 |
#define OBJ_EXT ".o" |
| 110 |
|
| 111 |
// below #define DEFCOM "program" or "library" may be added by icmstart |
| 112 |
#define DEFCOM "program" |