1 | |
---|
2 | .SUFFIXES: .o .cxx .depend .h .genh |
---|
3 | |
---|
4 | OBJECTS=$(subst .cxx,.o,$(wildcard *.cxx)) |
---|
5 | |
---|
6 | GENERATED_HEADERS= \ |
---|
7 | arb_msg.h \ |
---|
8 | arb_misc.h \ |
---|
9 | arb_string.h \ |
---|
10 | arb_signal.h \ |
---|
11 | arb_file.h \ |
---|
12 | arb_diff.h \ |
---|
13 | arb_match.h \ |
---|
14 | |
---|
15 | LIB_SHARED=../lib/$(MAIN:.a=).$(SHARED_LIB_SUFFIX) |
---|
16 | |
---|
17 | # MAIN contains .a (instead of wanted .so). Translate via do_...-target |
---|
18 | it: do_$(MAIN) |
---|
19 | |
---|
20 | do_CORE.a: |
---|
21 | @echo "Error: MAIN='$(MAIN)' is set wrong" |
---|
22 | false |
---|
23 | |
---|
24 | do_libCORE.a: $(LIB_SHARED) |
---|
25 | |
---|
26 | $(LIB_SHARED): $(OBJECTS) |
---|
27 | $(LINK_SHARED_LIB) $(LIB_SHARED) $(OBJECTS) |
---|
28 | |
---|
29 | .cxx.o: |
---|
30 | $(A_CXX) $(shared_cflags) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) |
---|
31 | |
---|
32 | .cxx.genh: |
---|
33 | ../AISC_MKPTPS/aisc_mkpt -P -G -w $(subst .genh,.h,$@) $< > $@ |
---|
34 | |
---|
35 | %.genheader: %.genh |
---|
36 | ../SOURCE_TOOLS/mv_if_diff $< $(subst .genheader,.h,$@) |
---|
37 | |
---|
38 | proto: $(subst .h,.genheader,$(GENERATED_HEADERS)) |
---|
39 | |
---|
40 | clean: |
---|
41 | rm -f $(OBJECTS) *.a *.so |
---|
42 | |
---|
43 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
44 | depends: $(DEPENDS) |
---|
45 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
46 | @rm $(DEPENDS) |
---|
47 | $(DEPENDS): depend.init |
---|
48 | depend.init: |
---|
49 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
50 | .c.depend: |
---|
51 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
52 | .cxx.depend: |
---|
53 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
54 | |
---|
55 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
56 | |
---|
57 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
58 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
59 | |
---|
60 | arb_cs.o: arb_assert.h |
---|
61 | arb_cs.o: arb_core.h |
---|
62 | arb_cs.o: arb_cs.h |
---|
63 | arb_cs.o: arb_msg.h |
---|
64 | arb_cs.o: arb_pattern.h |
---|
65 | arb_cs.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
66 | arb_cs.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
67 | arb_cs.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
68 | arb_cs.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
69 | arb_cs.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
70 | arb_cs.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
71 | arb_cs.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
72 | arb_cs.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
73 | |
---|
74 | arb_diff.o: arb_assert.h |
---|
75 | arb_diff.o: arb_core.h |
---|
76 | arb_diff.o: arb_diff.h |
---|
77 | arb_diff.o: arb_file.h |
---|
78 | arb_diff.o: arb_match.h |
---|
79 | arb_diff.o: arb_msg.h |
---|
80 | arb_diff.o: arb_string.h |
---|
81 | arb_diff.o: $(ARBHOME)/INCLUDE/arb_str.h |
---|
82 | arb_diff.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
83 | arb_diff.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
84 | arb_diff.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
85 | arb_diff.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
86 | arb_diff.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
87 | arb_diff.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
88 | arb_diff.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
89 | arb_diff.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
90 | |
---|
91 | arb_file.o: arb_assert.h |
---|
92 | arb_file.o: arb_core.h |
---|
93 | arb_file.o: arb_file.h |
---|
94 | arb_file.o: arb_msg.h |
---|
95 | arb_file.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
96 | arb_file.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
97 | arb_file.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
98 | arb_file.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
99 | arb_file.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
100 | arb_file.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
101 | arb_file.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
102 | |
---|
103 | arb_handlers.o: arb_assert.h |
---|
104 | arb_handlers.o: arb_core.h |
---|
105 | arb_handlers.o: arb_handlers.h |
---|
106 | arb_handlers.o: arb_misc.h |
---|
107 | arb_handlers.o: arb_msg.h |
---|
108 | arb_handlers.o: $(ARBHOME)/INCLUDE/arb_algo.h |
---|
109 | arb_handlers.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
110 | arb_handlers.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
111 | arb_handlers.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
112 | arb_handlers.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
113 | arb_handlers.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
114 | arb_handlers.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
115 | arb_handlers.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
116 | |
---|
117 | arb_match.o: arb_assert.h |
---|
118 | arb_match.o: arb_core.h |
---|
119 | arb_match.o: arb_match.h |
---|
120 | arb_match.o: arb_msg.h |
---|
121 | arb_match.o: arb_strbuf.h |
---|
122 | arb_match.o: arb_string.h |
---|
123 | arb_match.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
124 | arb_match.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
125 | arb_match.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
126 | arb_match.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
127 | arb_match.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
128 | arb_match.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
129 | |
---|
130 | arb_misc.o: arb_assert.h |
---|
131 | arb_misc.o: arb_core.h |
---|
132 | arb_misc.o: arb_misc.h |
---|
133 | arb_misc.o: arb_msg.h |
---|
134 | arb_misc.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
135 | arb_misc.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
136 | arb_misc.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
137 | arb_misc.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
138 | |
---|
139 | arb_msg.o: arb_assert.h |
---|
140 | arb_msg.o: arb_core.h |
---|
141 | arb_msg.o: arb_handlers.h |
---|
142 | arb_msg.o: arb_msg.h |
---|
143 | arb_msg.o: arb_msg_fwd.h |
---|
144 | arb_msg.o: arb_string.h |
---|
145 | arb_msg.o: $(ARBHOME)/INCLUDE/arb_backtrace.h |
---|
146 | arb_msg.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
147 | arb_msg.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
148 | arb_msg.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
149 | arb_msg.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
150 | arb_msg.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
151 | arb_msg.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
152 | arb_msg.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
153 | |
---|
154 | arb_pattern.o: arb_assert.h |
---|
155 | arb_pattern.o: arb_core.h |
---|
156 | arb_pattern.o: arb_msg.h |
---|
157 | arb_pattern.o: arb_pattern.h |
---|
158 | arb_pattern.o: arb_strbuf.h |
---|
159 | arb_pattern.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
160 | arb_pattern.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
161 | arb_pattern.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
162 | arb_pattern.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
163 | arb_pattern.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
164 | arb_pattern.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
165 | arb_pattern.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
166 | |
---|
167 | arb_progress.o: arb_assert.h |
---|
168 | arb_progress.o: arb_core.h |
---|
169 | arb_progress.o: arb_handlers.h |
---|
170 | arb_progress.o: arb_msg.h |
---|
171 | arb_progress.o: arb_progress.h |
---|
172 | arb_progress.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
173 | arb_progress.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
174 | arb_progress.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
175 | arb_progress.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
176 | arb_progress.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
177 | arb_progress.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
178 | arb_progress.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
179 | arb_progress.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
180 | |
---|
181 | arb_signal.o: arb_assert.h |
---|
182 | arb_signal.o: arb_core.h |
---|
183 | arb_signal.o: arb_msg.h |
---|
184 | arb_signal.o: arb_signal.h |
---|
185 | arb_signal.o: $(ARBHOME)/INCLUDE/arb_backtrace.h |
---|
186 | arb_signal.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
187 | arb_signal.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
188 | arb_signal.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
189 | arb_signal.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
190 | arb_signal.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
191 | arb_signal.o: $(ARBHOME)/INCLUDE/SigHandler.h |
---|
192 | arb_signal.o: $(ARBHOME)/INCLUDE/SuppressOutput.h |
---|
193 | arb_signal.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
194 | arb_signal.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
195 | arb_signal.o: $(ARBHOME)/INCLUDE/valgrind.h |
---|
196 | |
---|
197 | arb_sort.o: arb_sort.h |
---|
198 | |
---|
199 | arb_strarray.o: arb_assert.h |
---|
200 | arb_strarray.o: arb_core.h |
---|
201 | arb_strarray.o: arb_sort.h |
---|
202 | arb_strarray.o: arb_strarray.h |
---|
203 | arb_strarray.o: arb_strbuf.h |
---|
204 | arb_strarray.o: arb_string.h |
---|
205 | arb_strarray.o: $(ARBHOME)/INCLUDE/arb_str.h |
---|
206 | arb_strarray.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
207 | arb_strarray.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
208 | arb_strarray.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
209 | arb_strarray.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
210 | arb_strarray.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
211 | arb_strarray.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
212 | arb_strarray.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
213 | |
---|
214 | arb_strbuf.o: arb_assert.h |
---|
215 | arb_strbuf.o: arb_core.h |
---|
216 | arb_strbuf.o: arb_strbuf.h |
---|
217 | arb_strbuf.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
218 | arb_strbuf.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
219 | arb_strbuf.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
220 | arb_strbuf.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
221 | arb_strbuf.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
222 | arb_strbuf.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
223 | |
---|
224 | arb_string.o: arb_assert.h |
---|
225 | arb_string.o: arb_core.h |
---|
226 | arb_string.o: arb_string.h |
---|
227 | arb_string.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
228 | arb_string.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
229 | arb_string.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
230 | arb_string.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
231 | arb_string.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
232 | arb_string.o: $(ARBHOME)/INCLUDE/Keeper.h |
---|
233 | arb_string.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
234 | arb_string.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
235 | |
---|
236 | BufferedFileReader.o: arb_assert.h |
---|
237 | BufferedFileReader.o: arb_core.h |
---|
238 | BufferedFileReader.o: BufferedFileReader.h |
---|
239 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
240 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
241 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
242 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
243 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
244 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
245 | BufferedFileReader.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
246 | |
---|
247 | FileContent.o: arb_assert.h |
---|
248 | FileContent.o: arb_core.h |
---|
249 | FileContent.o: arb_file.h |
---|
250 | FileContent.o: arb_msg.h |
---|
251 | FileContent.o: arb_strarray.h |
---|
252 | FileContent.o: arb_string.h |
---|
253 | FileContent.o: BufferedFileReader.h |
---|
254 | FileContent.o: FileContent.h |
---|
255 | FileContent.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
256 | FileContent.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
257 | FileContent.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
258 | FileContent.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
259 | FileContent.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
260 | FileContent.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
261 | FileContent.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
262 | |
---|
263 | MultiFileReader.o: arb_assert.h |
---|
264 | MultiFileReader.o: arb_core.h |
---|
265 | MultiFileReader.o: arb_msg.h |
---|
266 | MultiFileReader.o: arb_strarray.h |
---|
267 | MultiFileReader.o: BufferedFileReader.h |
---|
268 | MultiFileReader.o: MultiFileReader.h |
---|
269 | MultiFileReader.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
270 | MultiFileReader.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
271 | MultiFileReader.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
272 | MultiFileReader.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
273 | MultiFileReader.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
274 | MultiFileReader.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
275 | MultiFileReader.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
276 | |
---|
277 | pos_range.o: arb_assert.h |
---|
278 | pos_range.o: arb_core.h |
---|
279 | pos_range.o: arb_msg.h |
---|
280 | pos_range.o: pos_range.h |
---|
281 | pos_range.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
282 | pos_range.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
283 | pos_range.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
284 | pos_range.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
285 | pos_range.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
286 | pos_range.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
287 | pos_range.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
288 | pos_range.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|