Rev | Line | |
---|
[1] | 1 | |
---|
| 2 | cflags = $(CFLAGS) |
---|
| 3 | cppflags = $(CFLAGS) |
---|
| 4 | fflags = $(CFLAGS) |
---|
| 5 | |
---|
| 6 | cc = cc |
---|
| 7 | ccomp = $(cc) -c -I$(inc) $(cflags) |
---|
| 8 | clink = $(cc) |
---|
| 9 | |
---|
| 10 | cpp = g++ |
---|
| 11 | cppcomp = $(cpp) -c -I$(inc) $(cppflags) |
---|
| 12 | cpplink = $(cpp) |
---|
| 13 | |
---|
| 14 | for = f77 |
---|
| 15 | fcomp = $(for) -c -I$(inc) $(fflags) |
---|
| 16 | flink = $(for) |
---|
| 17 | |
---|
| 18 | lexflags = |
---|
| 19 | lex = lex $(lexflags) |
---|
| 20 | |
---|
| 21 | yaccflags = |
---|
| 22 | yacc = yacc $(yaccflags) |
---|
| 23 | |
---|
| 24 | mkdir = mkdir |
---|
| 25 | |
---|
| 26 | comp = $(ccomp) |
---|
| 27 | link = $(cc) |
---|
| 28 | |
---|
| 29 | ar = ar -crl |
---|
| 30 | ranlib = ranlib |
---|
| 31 | |
---|
| 32 | cmtexe = $(CMTROOT)/$(CMTBIN)/cmt.exe |
---|
| 33 | |
---|
| 34 | #--------------------------------------------- |
---|
| 35 | # Controlling the verbosity of Make |
---|
| 36 | # |
---|
| 37 | |
---|
| 38 | ifdef QUIET |
---|
| 39 | LEX_QUIET = 1 |
---|
| 40 | YACC_QUIET = 1 |
---|
| 41 | C_QUIET = 1 |
---|
| 42 | CPP_QUIET = 1 |
---|
| 43 | FORTRAN_QUIET = 1 |
---|
| 44 | JAVA_QUIET = 1 |
---|
| 45 | LINK_QUIET = 1 |
---|
| 46 | LIB_QUIET = 1 |
---|
| 47 | CLEANUP_QUIET = 1 |
---|
| 48 | silent = @ |
---|
| 49 | echo = @/bin/echo |
---|
| 50 | else |
---|
| 51 | silent = |
---|
| 52 | echo = @- echo |
---|
| 53 | endif |
---|
| 54 | |
---|
| 55 | ifdef LEX_QUIET |
---|
| 56 | lex_silent = @ |
---|
| 57 | lex_echo = @/bin/echo rebuilding |
---|
| 58 | else |
---|
| 59 | lex_silent = |
---|
| 60 | lex_echo = $(echo) |
---|
| 61 | endif |
---|
| 62 | |
---|
| 63 | ifdef YACC_QUIET |
---|
| 64 | yacc_silent = @ |
---|
| 65 | yacc_echo = @/bin/echo rebuilding |
---|
| 66 | else |
---|
| 67 | yacc_silent = |
---|
| 68 | yacc_echo = $(echo) |
---|
| 69 | endif |
---|
| 70 | |
---|
| 71 | ifdef C_QUIET |
---|
| 72 | c_silent = @ |
---|
| 73 | c_echo = @/bin/echo rebuilding |
---|
| 74 | else |
---|
| 75 | c_silent = |
---|
| 76 | c_echo = $(echo) |
---|
| 77 | endif |
---|
| 78 | |
---|
| 79 | ifdef CPP_QUIET |
---|
| 80 | cpp_silent = @ |
---|
| 81 | cpp_echo = @/bin/echo rebuilding |
---|
| 82 | else |
---|
| 83 | cpp_silent = |
---|
| 84 | cpp_echo = $(echo) |
---|
| 85 | endif |
---|
| 86 | |
---|
| 87 | ifdef FORTRAN_QUIET |
---|
| 88 | fortran_silent = @ |
---|
| 89 | fortran_echo = @/bin/echo rebuilding |
---|
| 90 | else |
---|
| 91 | fortran_silent = |
---|
| 92 | fortran_echo = $(echo) |
---|
| 93 | endif |
---|
| 94 | |
---|
| 95 | ifdef JAVA_QUIET |
---|
| 96 | java_silent = @ |
---|
| 97 | java_echo = @/bin/echo rebuilding |
---|
| 98 | else |
---|
| 99 | java_silent = |
---|
| 100 | java_echo = $(echo) |
---|
| 101 | endif |
---|
| 102 | |
---|
| 103 | ifdef LINK_QUIET |
---|
| 104 | link_silent = @ |
---|
| 105 | link_echo = @/bin/echo rebuilding |
---|
| 106 | else |
---|
| 107 | link_silent = |
---|
| 108 | link_echo = $(echo) |
---|
| 109 | endif |
---|
| 110 | |
---|
| 111 | ifdef LIB_QUIET |
---|
| 112 | lib_silent = @ |
---|
| 113 | lib_echo = @/bin/echo rebuilding |
---|
| 114 | else |
---|
| 115 | lib_silent = |
---|
| 116 | lib_echo = $(echo) |
---|
| 117 | endif |
---|
| 118 | |
---|
| 119 | ifdef CLEANUP_QUIET |
---|
| 120 | cleanup_silent = @ |
---|
| 121 | cleanup_echo = @/bin/echo removing |
---|
| 122 | else |
---|
| 123 | cleanup_silent = |
---|
| 124 | cleanup_echo = $(echo) |
---|
| 125 | endif |
---|
| 126 | |
---|
| 127 | SHELL = /bin/sh |
---|
| 128 | |
---|
| 129 | src = ../src/ |
---|
| 130 | inc = ../src/ |
---|
| 131 | mgr = ../mgr/ |
---|
| 132 | cmt = ../cmt/ |
---|
| 133 | bin = ../$(tag)/ |
---|
| 134 | |
---|
| 135 | # |
---|
| 136 | #dirs :: |
---|
| 137 | # @if test ! -r requirements ; then echo "No requirements file" ; fi; \ |
---|
| 138 | # if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi |
---|
| 139 | # |
---|
Note: See
TracBrowser
for help on using the repository browser.