Also clean qt-x11 builds
[snark14.git] / tools / Display / #Makefile#
1 #############################################################################
2 # Makefile for building snark14Display (previously SnarkDisplay)
3 # Generated by tmake at 13:46, 2002/12/19 
4 #   fidgeted by Deniz 2004-2006
5 #     Project: snark14Display
6 #    Template: app
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 # turned off optimization because eval_helper was putting g++ in 'infinite loop'
12 CC      =       gcc
13 CXX     =       g++
14 # CFLAGS        =       -g -pipe -Wno-deprecated -Wall -W
15 CFLAGS  =       -pipe -Wno-deprecated -O2 -DNO_DEBUG
16 # CXXFLAGS=     -g -pipe -Wno-deprecated -Wall -W -O2 -std=c++98
17 CXXFLAGS=       -pipe -Wno-deprecated -O2 -DNO_DEBUG -std=c++98
18
19 SNARK14ROOT = ../..
20 SNARK14LIB = $(SNARK14ROOT)/lib
21 SNARK14INC = $(SNARK14ROOT)/include
22
23 XERCES = ../..
24 XERCESLIBDIR= $(XERCES)/lib
25 XERCESLIB = xerces-c
26 XERCESINCLUDE = $(XERCES)/include 
27
28 DIGLIBDIR = $(SNARK14LIB)
29
30 DIGFILELIB = DIGFile
31 DIGFILEINCLUDE = $(SNARK14INC)/DIGFile
32
33 DIGFILESNARKLIB = DIGFileSnark
34 DIGFILESNARKINCLUDE = $(SNARK14INC)/DIGFileSnark
35
36 INCPATH =       -I$(QTDIR)/include -I$(XERCESINCLUDE) -I$(DIGFILEINCLUDE) -I$(DIGFILESNARKINCLUDE)
37 LINK    =       $(CXX) -std=c++98
38 LFLAGS  =       
39 LIBS    =       $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L$(XERCESLIBDIR) -L$(DIGLIBDIR) -lqt.so.3 -lm -l$(XERCESLIB) -l$(DIGFILELIB) -l$(DIGFILESNARKLIB)
40 MOC     =       $(QTDIR)/bin/moc
41 UIC     =       $(QTDIR)/bin/uic
42 TAR     =       tar -cf
43 GZIP    =       gzip -9f
44
45 ####### Files
46
47 HEADERS =       chooseRanges.hpp \
48                 chooseYVar.hpp \
49                 displaywindow.hpp \
50                 displaylines.hpp \
51                 displayprojection.hpp \
52                 displaywidget.hpp \
53                 eval_helper.hpp \
54                 image.hpp \
55                 linesimages.hpp \
56                 sd_line_t.hpp \
57                 line_real_t.hpp \
58                 line_real_set_t.hpp \
59                 line_window_t.hpp \
60                 line_window_onevar_t.hpp \
61                 plot_t.hpp \
62                 lines.hpp \
63                 openimages.hpp \
64                 proj.hpp \
65                 range.hpp \
66                 selectEvalExecutions.hpp \
67                 selectimages.hpp \
68                 SnarkDisplay.hpp \
69                 variables.hpp 
70 SOURCES =       SnarkDisplay.cpp \
71                 chooseRanges.cpp \
72                 chooseYVar.cpp \
73                 displaywindow.cpp \
74                 displayprojection.cpp \
75                 displaylines.cpp \
76                 displaywidget.cpp \
77                 eval_helper.cpp \
78                 image.cpp \
79                 linesimages.cpp \
80                 lines.cpp \
81                 proj.cpp \
82                 openimages.cpp \
83                 range.cpp \
84                 sd_line_t.cpp \
85                 line_real_t.cpp \
86                 line_real_set_t.cpp \
87                 line_window_t.cpp \
88                 line_window_onevar_t.cpp \
89                 plot_t.cpp \
90                 selectEvalExecutions.cpp \
91                 selectimages.cpp
92 OBJECTS =       chooseRanges.o \
93                 chooseYVar.o \
94                 displaywindow.o \
95                 displaylines.o \
96                 displayprojection.o \
97                 displaywidget.o \
98                 eval_helper.o \
99                 image.o \
100                 linesimages.o \
101                 lines.o \
102                 openimages.o \
103                 proj.o \
104                 range.o \
105                 sd_line_t.o \
106                 line_real_t.o \
107                 line_real_set_t.o \
108                 line_window_t.o \
109                 line_window_onevar_t.o \
110                 plot_t.o \
111                 selectEvalExecutions.o \
112                 selectimages.o \
113                 SnarkDisplay.o 
114 SRCMOC  =       moc_chooseRanges.cpp \
115                 moc_chooseYVar.cpp \
116                 moc_displaywindow.cpp \
117                 moc_displaylines.cpp \
118                 moc_displayprojection.cpp \
119                 moc_displaywidget.cpp \
120                 moc_linesimages.cpp \
121                 moc_lines.cpp \
122                 moc_openimages.cpp \
123                 moc_range.cpp \
124                 moc_selectEvalExecutions.cpp \
125                 moc_selectimages.cpp \
126                 moc_SnarkDisplay.cpp 
127 OBJMOC  =       moc_chooseRanges.o \
128                 moc_chooseYVar.o \
129                 moc_displaywindow.o \
130                 moc_displaylines.o \
131                 moc_displayprojection.o \
132                 moc_displaywidget.o \
133                 moc_linesimages.o \
134                 moc_lines.o \
135                 moc_openimages.o \
136                 moc_range.o \
137                 moc_selectEvalExecutions.o \
138                 moc_selectimages.o \
139                 moc_SnarkDisplay.o 
140 DIST    =       
141 TARGET  =       $(SNARK14ROOT)/bin/snark14Display
142 INTERFACE_DECL_PATH = .
143
144 ####### Implicit rules
145
146 .SUFFIXES: .cpp .cxx .cpp .C .c
147
148 .cpp.o:
149         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
150
151 .cxx.o:
152         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
153
154 .cc.o:
155         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
156
157 .C.o:
158         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
159
160 .c.o:
161         $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
162
163 ####### Build rules
164
165
166 all: $(TARGET)
167
168 $(TARGET): $(OBJECTS) $(OBJMOC) 
169         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
170
171 moc: $(SRCMOC)
172
173 clean:
174         @rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)
175         @rm -f *~ core*
176
177 ####### Sub-libraries
178
179
180 ###### Combined headers
181
182
183 ####### Compile
184
185 chooseRanges.o: chooseRanges.cpp \
186                 chooseRanges.hpp \
187                 displaylines.hpp \
188                 SnarkDisplay.hpp \
189                 plot_t.hpp \
190                 line_real_set_t.hpp \
191                 line_real_t.hpp \
192                 variables.hpp \
193                 image.hpp \
194                 proj.hpp \
195                 displaywidget.hpp
196
197 chooseYVar.o:   chooseYVar.cpp \
198                 chooseYVar.hpp \
199                 displaylines.hpp \
200                 variables.hpp \
201                 image.hpp \
202                 proj.hpp \
203                 displaywidget.hpp
204
205 displaywindow.o: displaywindow.cpp \
206                 displaywindow.hpp \
207                 displaywidget.hpp \
208                 verbosity.hpp \
209                 variables.hpp \
210                 image.hpp \
211                 proj.hpp \
212                 lines.hpp \
213                 line_real_t.hpp \
214                 plot_t.hpp \
215                 SnarkDisplay.hpp
216
217 displaylines.o: displaylines.cpp \
218                 displaylines.hpp \
219                 verbosity.hpp \
220                 sd_line_t.hpp
221
222 displayprojection.o: displayprojection.cpp \
223                 displayprojection.hpp \
224                 displaywidget.hpp \
225                 verbosity.hpp \
226                 variables.hpp \
227                 image.hpp \
228                 proj.hpp \
229                 lines.hpp \
230                 line_real_t.hpp \
231                 plot_t.hpp \
232                 displaylines.hpp \
233                 SnarkDisplay.hpp
234
235 displaywidget.o: displaywidget.cpp \
236                 displaywidget.hpp \
237                 variables.hpp \
238                 image.hpp \
239                 proj.hpp
240
241 eval_helper.o: eval_helper.cpp \
242                 sd_line_t.hpp \
243                 verbosity.hpp \
244                 eval_helper.hpp \
245                 displaylines.hpp \
246                 chooseRanges.hpp \
247                 line_real_t.hpp \
248                 line_real_set_t.hpp \
249                 plot_t.hpp
250
251 image.o: image.cpp \
252                 image.hpp \
253                 variables.hpp \
254                 image.hpp \
255                 proj.hpp
256
257 linesimages.o: linesimages.cpp \
258                 linesimages.hpp \
259                 variables.hpp \
260                 image.hpp \
261                 proj.hpp
262
263 lines.o: lines.cpp \
264                 lines.hpp \
265                 variables.hpp \
266                 image.hpp \
267                 proj.hpp
268
269 line_real_t.o: line_real_t.cpp \
270                 line_real_t.hpp \
271                 sd_line_t.hpp \
272                 line_real_set_t.hpp
273
274 line_real_set_t.o: line_real_set_t.cpp \
275                 line_real_set_t.hpp \
276                 line_real_t.hpp \
277                 sd_line_t.hpp \
278                 verbosity.hpp
279
280 line_window_t.o: line_window_t.cpp \
281                 line_window_t.hpp \
282                 sd_line_t.hpp
283
284 line_window_onevar_t.o: line_window_onevar_t.cpp \
285                 line_window_onevar_t.hpp \
286                 sd_line_t.hpp \
287                 verbosity.hpp \
288                 line_real_t.hpp
289
290 plot_t.o: plot_t.cpp \
291                 plot_t.hpp \
292                 sd_line_t.hpp \
293                 verbosity.hpp \
294                 line_window_onevar_t.hpp \
295                 line_real_set_t.hpp \
296                 line_real_t.hpp
297
298 openimages.o: openimages.cpp \
299                 openimages.hpp \
300                 variables.hpp \
301                 image.hpp \
302                 proj.hpp
303
304 proj.o: proj.cpp \
305                 variables.hpp \
306                 image.hpp \
307                 proj.hpp
308
309 range.o: range.cpp \
310                 range.hpp \
311                 variables.hpp \
312                 image.hpp \
313                 proj.hpp
314
315 sd_line_t.o: sd_line_t.cpp \
316                 sd_line_t.hpp
317
318 selectEvalExecutions.o: selectEvalExecutions.cpp \
319                         selectEvalExecutions.hpp \
320                         chooseYVar.hpp \
321                         variables.hpp \
322                         image.hpp \
323                         proj.hpp \
324                         SnarkDisplay.hpp
325
326 selectimages.o: selectimages.cpp \
327                 selectimages.hpp \
328                 variables.hpp \
329                 image.hpp \
330                 proj.hpp
331
332 SnarkDisplay.o: SnarkDisplay.cpp \
333                 SnarkDisplay.hpp \
334                 displaylines.hpp \
335                 displayprojection.hpp \
336                 displaywindow.hpp \
337                 image.hpp \
338                 lines.hpp \
339                 linesimages.hpp \
340                 openimages.hpp \
341                 proj.hpp \
342                 range.hpp \
343                 variables.hpp 
344
345
346 moc_chooseRanges.o: moc_chooseRanges.cpp \
347                 chooseRanges.hpp \
348                 sd_line_t.hpp \
349                 displaylines.hpp \
350                 SnarkDisplay.hpp \
351                 plot_t.hpp \
352                 line_real_set_t.hpp \
353                 line_real_t.hpp \
354                 variables.hpp \
355                 image.hpp \
356                 proj.hpp \
357                 displaywidget.hpp
358
359 moc_chooseYVar.o: moc_chooseYVar.cpp \
360                 chooseYVar.hpp \
361                 displaylines.hpp \
362                 variables.hpp \
363                 image.hpp \
364                 proj.hpp \
365                 displaywidget.hpp
366
367 moc_displaywindow.o: moc_displaywindow.cpp \
368                 displaywindow.hpp \
369                 displaywidget.hpp \
370                 verbosity.hpp \
371                 variables.hpp \
372                 image.hpp \
373                 proj.hpp \
374                 lines.hpp \
375                 line_real_t.hpp \
376                 plot_t.hpp \
377                 SnarkDisplay.hpp
378
379 moc_displaylines.o: moc_displaylines.cpp \
380                 displaylines.hpp \
381                 verbosity.hpp \
382                 sd_line_t.hpp
383
384 moc_displayprojection.o: moc_displayprojection.cpp \
385                 displayprojection.hpp \
386                 displaywidget.hpp \
387                 verbosity.hpp \
388                 variables.hpp \
389                 image.hpp \
390                 proj.hpp \
391                 lines.hpp \
392                 line_real_t.hpp \
393                 plot_t.hpp \
394                 displaylines.hpp \
395                 SnarkDisplay.hpp
396
397 moc_displaywidget.o: moc_displaywidget.cpp \
398                 sd_line_t.hpp \
399                 displaywidget.hpp \
400                 variables.hpp \
401                 image.hpp \
402                 proj.hpp
403
404 moc_linesimages.o: moc_linesimages.cpp \
405                 linesimages.hpp \
406                 variables.hpp \
407                 image.hpp \
408                 proj.hpp
409
410 moc_lines.o: moc_lines.cpp \
411                 lines.hpp \
412                 variables.hpp \
413                 image.hpp \
414                 proj.hpp
415
416 moc_openimages.o: moc_openimages.cpp \
417                 openimages.hpp \
418                 variables.hpp \
419                 image.hpp \
420                 proj.hpp
421
422 moc_range.o: moc_range.cpp \
423                 range.hpp \
424                 variables.hpp \
425                 image.hpp \
426                 proj.hpp
427
428 moc_selectEvalExecutions.o: moc_selectEvalExecutions.cpp \
429                 selectEvalExecutions.hpp \
430                 chooseYVar.hpp \
431                 variables.hpp \
432                 image.hpp \
433                 proj.hpp \
434                 SnarkDisplay.hpp
435
436 moc_selectimages.o: moc_selectimages.cpp \
437                 selectimages.hpp \
438                 variables.hpp \
439                 image.hpp \
440                 proj.hpp
441
442 moc_SnarkDisplay.o: moc_SnarkDisplay.cpp \
443                 SnarkDisplay.hpp \
444                 displaylines.hpp \
445                 displayprojection.hpp \
446                 displaywindow.hpp \
447                 image.hpp \
448                 lines.hpp \
449                 linesimages.hpp \
450                 openimages.hpp \
451                 proj.hpp \
452                 range.hpp \
453                 variables.hpp
454
455 moc_chooseRanges.cpp: chooseRanges.hpp
456         $(MOC) chooseRanges.hpp -o moc_chooseRanges.cpp
457
458 moc_chooseYVar.cpp: chooseYVar.hpp
459         $(MOC) chooseYVar.hpp -o moc_chooseYVar.cpp
460
461 moc_displaywindow.cpp: displaywindow.hpp
462         $(MOC) displaywindow.hpp -o moc_displaywindow.cpp
463
464 moc_displaylines.cpp: displaylines.hpp
465         $(MOC) displaylines.hpp -o moc_displaylines.cpp
466
467 moc_displayprojection.cpp: displayprojection.hpp
468         $(MOC) displayprojection.hpp -o moc_displayprojection.cpp
469
470 moc_displaywidget.cpp: displaywidget.hpp
471         $(MOC) displaywidget.hpp -o moc_displaywidget.cpp
472
473 moc_linesimages.cpp: linesimages.hpp
474         $(MOC) linesimages.hpp -o moc_linesimages.cpp
475
476 moc_lines.cpp: lines.hpp
477         $(MOC) lines.hpp -o moc_lines.cpp
478
479 moc_openimages.cpp: openimages.hpp
480         $(MOC) openimages.hpp -o moc_openimages.cpp
481
482 moc_range.cpp: range.hpp
483         $(MOC) range.hpp -o moc_range.cpp
484
485 moc_selectEvalExecutions.cpp: selectEvalExecutions.hpp
486         $(MOC) selectEvalExecutions.hpp -o moc_selectEvalExecutions.cpp
487
488 moc_selectimages.cpp: selectimages.hpp
489         $(MOC) selectimages.hpp -o moc_selectimages.cpp
490
491 moc_SnarkDisplay.cpp: SnarkDisplay.hpp
492         $(MOC) SnarkDisplay.hpp -o moc_SnarkDisplay.cpp