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