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