source: Sophya/trunk/SophyaProg/PrgUtil/Makefile@ 1531

Last change on this file since 1531 was 1528, checked in by cmv, 24 years ago

optimisation cmv 14/6/01

File size: 9.0 KB
RevLine 
[1306]1MODULECXXREPNAME := PrgUtil
2include ../Mgr/Makefile.h
3
4ifdef NOSHLIB
5LIBF = $(LIB)libTArray.a $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSkyMap.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)lib.a $(LIB)lib.a
6LIBS = -L$(LIB) -lTArray -lSysTools -lNTools -lSkyMap -lSamba -lSkyT -l -l -lm
7ifeq ($(CXX),cxx)
8# librairie des instances de templates cxx
9LIBS := $(LIBS) -lertcxx
10endif
11else
12LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
13LIBS = -L$(SLB) -lsophya -lextsophya -lm
14endif
15LIBSORA := $(LIBS)
16LDLIBS := $(LIBS) $(LDLIBS)
[1522]17PROGS = $(EXE)runcxx $(EXE)scanppf $(EXE)scanfits $(EXE)cl2map $(EXE)map2cl $(EXE)prjsmap \
[1526]18 $(EXE)cremskfrsph $(EXE)extrapsph $(EXE)extrap2sph
[1522]19
20PROBJS = $(OBJ)runcxx.o $(OBJ)scanppf.o $(OBJ)scanfits.o $(OBJ)cl2map.o $(OBJ)map2cl.o \
[1526]21 $(OBJ)prjsmap.o $(OBJ)cremskfrsph.o $(OBJ)extrapsph.o $(OBJ)extrap2sph.o
[1522]22
[1306]23all: $(PROGS)
24
25clean:
26 rm -f $(PROGS)
[1522]27 rm -f $(PROBJS)
[1306]28 if [ -d $(OBJ)cxxrep_PrgUtil ] ; then cd $(OBJ)cxxrep_PrgUtil ; rm -f *.o ; fi
29
30runcxx: $(EXE)runcxx
[1522]31 @ echo runcxx done
[1306]32$(EXE)runcxx: $(OBJ)runcxx.o
33 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]34
[1306]35scanppf: $(EXE)scanppf
[1522]36 @ echo scanppf done
[1306]37$(EXE)scanppf: $(OBJ)scanppf.o
38 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]39
[1306]40scanfits: $(EXE)scanfits
[1522]41 @ echo scanfits done
[1306]42$(EXE)scanfits: $(OBJ)scanfits.o
43 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]44
[1427]45cl2map: $(EXE)cl2map
[1522]46 @ echo cl2map done
[1427]47$(EXE)cl2map: $(OBJ)cl2map.o
48 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]49
[1427]50map2cl: $(EXE)map2cl
[1522]51 @ echo map2cl done
[1427]52$(EXE)map2cl: $(OBJ)map2cl.o
53 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]54
[1432]55prjsmap: $(EXE)prjsmap
[1522]56 @ echo prjsmap done
[1432]57$(EXE)prjsmap: $(OBJ)prjsmap.o
58 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
[1522]59
60cremskfrsph: $(EXE)cremskfrsph
61 @ echo cremskfrsph done
62$(EXE)cremskfrsph: $(OBJ)cremskfrsph.o
63 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
64
[1526]65extrapsph: $(EXE)extrapsph
66 @ echo extrapsph done
67$(EXE)extrapsph: $(OBJ)extrapsph.o
68 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
69
70extrap2sph: $(EXE)extrap2sph
71 @ echo extrap2sph done
72$(EXE)extrap2sph: $(OBJ)extrap2sph.o
73 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
74
[1427]75: $(EXE)
[1522]76
[1427]77$(EXE):
78 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
79
80$(OBJ)cl2map.o: cl2map.cc $(INC)machdefs.h \
81 $(INC)nbmath.h \
82 $(INC)smathconst.h \
83 $(INC)timing.h \
84 $(INC)array.h \
85 $(INC)tarray.h \
86 $(INC)basarr.h \
87 $(INC)anydataobj.h \
88 $(INC)mutyv.h \
89 $(INC)dvlist.h \
90 $(INC)objfio.h \
[1331]91 $(INC)ppersist.h \
92 $(INC)pexceptions.h \
93 $(INC)gnumd5.h \
94 $(INC)ndatablock.h \
[1427]95 $(INC)utilarr.h \
96 $(INC)tmatrix.h \
97 $(INC)tvector.h \
98 $(INC)matharr.h \
99 $(INC)fioarr.h \
100 $(INC)sopemtx.h \
101 $(INC)skymap.h \
102 $(INC)spherethetaphi.h \
103 $(INC)sphericalmap.h \
104 $(INC)pixelmap.h \
105 $(INC)spherepos.h \
106 $(INC)unitvector.h \
107 $(INC)vector3d.h \
108 $(INC)longlat.h \
109 $(INC)utilgeom.h \
110 $(INC)spherehealpix.h \
111 $(INC)HEALPixUtils.h \
112 $(INC)localmap.h \
113 $(INC)fiospherethetaphi.h \
114 $(INC)fiospherehealpix.h \
115 $(INC)fiolocalmap.h \
116 $(INC)samba.h \
117 $(INC)alm.h \
118 $(INC)nbrandom.h \
[1331]119 $(INC)srandgen.h \
[1427]120 $(INC)triangmtx.h \
121 $(INC)bruit.h \
122 $(INC)circle.h \
123 $(INC)geometry.h \
124 $(INC)lambdaBuilder.h \
125 $(INC)misstime.h \
126 $(INC)mlobe.h \
127 $(INC)prefcount.h \
128 $(INC)scan.h \
129 $(INC)sphericaltransformserver.h \
130 $(INC)fftservintf.h \
131 $(INC)fftpserver.h \
132 $(INC)tod.h \
133 $(INC)sambainit.h \
134 $(INC)skymapinit.h \
135 $(INC)sophyainit.h \
[1331]136 $(INC)ntoolsinit.h \
137 $(INC)tarrinit.h \
[1427]138 $(INC)fitsspherehealpix.h \
139 $(INC)fitsfile.h \
140 $(INC)fitstarray.h
141$(OBJ)map2cl.o: map2cl.cc $(INC)machdefs.h \
142 $(INC)nbmath.h \
143 $(INC)smathconst.h \
144 $(INC)timing.h \
145 $(INC)array.h \
[1331]146 $(INC)tarray.h \
147 $(INC)basarr.h \
[1427]148 $(INC)anydataobj.h \
149 $(INC)mutyv.h \
150 $(INC)dvlist.h \
151 $(INC)objfio.h \
152 $(INC)ppersist.h \
153 $(INC)pexceptions.h \
154 $(INC)gnumd5.h \
155 $(INC)ndatablock.h \
[1331]156 $(INC)utilarr.h \
[1427]157 $(INC)tmatrix.h \
158 $(INC)tvector.h \
159 $(INC)matharr.h \
160 $(INC)fioarr.h \
[1331]161 $(INC)sopemtx.h \
162 $(INC)skymap.h \
163 $(INC)spherethetaphi.h \
164 $(INC)sphericalmap.h \
165 $(INC)pixelmap.h \
166 $(INC)spherepos.h \
167 $(INC)unitvector.h \
168 $(INC)vector3d.h \
169 $(INC)longlat.h \
170 $(INC)utilgeom.h \
171 $(INC)spherehealpix.h \
172 $(INC)HEALPixUtils.h \
173 $(INC)localmap.h \
174 $(INC)fiospherethetaphi.h \
175 $(INC)fiospherehealpix.h \
176 $(INC)fiolocalmap.h \
177 $(INC)samba.h \
178 $(INC)alm.h \
[1427]179 $(INC)nbrandom.h \
180 $(INC)srandgen.h \
[1331]181 $(INC)triangmtx.h \
182 $(INC)bruit.h \
183 $(INC)circle.h \
184 $(INC)geometry.h \
185 $(INC)lambdaBuilder.h \
186 $(INC)misstime.h \
187 $(INC)mlobe.h \
188 $(INC)prefcount.h \
189 $(INC)scan.h \
190 $(INC)sphericaltransformserver.h \
[1427]191 $(INC)fftservintf.h \
[1432]192 $(INC)fftpserver.h \
193 $(INC)tod.h \
194 $(INC)sambainit.h \
195 $(INC)skymapinit.h \
196 $(INC)sophyainit.h \
197 $(INC)ntoolsinit.h \
198 $(INC)tarrinit.h \
199 $(INC)fitsspherehealpix.h \
200 $(INC)fitsfile.h \
201 $(INC)fitstarray.h
202$(OBJ)prjsmap.o: prjsmap.cc $(INC)machdefs.h \
203 $(INC)nbmath.h \
204 $(INC)smathconst.h \
205 $(INC)timing.h \
206 $(INC)array.h \
207 $(INC)tarray.h \
208 $(INC)basarr.h \
209 $(INC)anydataobj.h \
210 $(INC)mutyv.h \
211 $(INC)dvlist.h \
212 $(INC)objfio.h \
213 $(INC)ppersist.h \
214 $(INC)pexceptions.h \
215 $(INC)gnumd5.h \
216 $(INC)ndatablock.h \
217 $(INC)utilarr.h \
218 $(INC)tmatrix.h \
219 $(INC)tvector.h \
220 $(INC)matharr.h \
221 $(INC)fioarr.h \
222 $(INC)sopemtx.h \
223 $(INC)skymap.h \
224 $(INC)spherethetaphi.h \
225 $(INC)sphericalmap.h \
226 $(INC)pixelmap.h \
227 $(INC)spherepos.h \
228 $(INC)unitvector.h \
229 $(INC)vector3d.h \
230 $(INC)longlat.h \
231 $(INC)utilgeom.h \
232 $(INC)spherehealpix.h \
233 $(INC)HEALPixUtils.h \
234 $(INC)localmap.h \
235 $(INC)fiospherethetaphi.h \
236 $(INC)fiospherehealpix.h \
237 $(INC)fiolocalmap.h \
238 $(INC)samba.h \
239 $(INC)alm.h \
240 $(INC)nbrandom.h \
241 $(INC)srandgen.h \
242 $(INC)triangmtx.h \
243 $(INC)bruit.h \
244 $(INC)circle.h \
245 $(INC)geometry.h \
246 $(INC)lambdaBuilder.h \
247 $(INC)misstime.h \
248 $(INC)mlobe.h \
249 $(INC)prefcount.h \
250 $(INC)scan.h \
251 $(INC)sphericaltransformserver.h \
252 $(INC)fftservintf.h \
[1427]253 $(INC)fftpserver.h \
[1331]254 $(INC)tod.h \
[1427]255 $(INC)sambainit.h \
256 $(INC)skymapinit.h \
257 $(INC)sophyainit.h \
258 $(INC)ntoolsinit.h \
259 $(INC)tarrinit.h \
260 $(INC)fitsspherehealpix.h \
261 $(INC)fitsfile.h \
262 $(INC)fitstarray.h
[1306]263$(OBJ)runcxx.o: runcxx.cc $(INC)sambainit.h \
264 $(INC)skymapinit.h \
265 $(INC)sophyainit.h \
266 $(INC)machdefs.h \
267 $(INC)ntoolsinit.h \
268 $(INC)tarrinit.h \
269 $(INC)skyinit.h \
270 $(INC)pexceptions.h \
271 $(INC)cxxcmplnk.h \
272 $(INC)pdlmgr.h \
273 $(INC)timing.h
274$(OBJ)scanfits.o: scanfits.cc $(INC)histinit.h \
275 $(INC)ntoolsinit.h \
276 $(INC)tarrinit.h \
277 $(INC)sophyainit.h \
278 $(INC)machdefs.h \
279 $(INC)dvlist.h \
280 $(INC)objfio.h \
281 $(INC)anydataobj.h \
282 $(INC)ppersist.h \
283 $(INC)pexceptions.h \
284 $(INC)gnumd5.h \
285 $(INC)mutyv.h \
286 $(INC)ntuple.h \
287 $(INC)ntupintf.h \
288 $(INC)xntuple.h \
289 $(INC)fitsxntuple.h \
290 $(INC)fitsfile.h \
291 $(INC)ndatablock.h \
292 $(INC)fitsntuple.h
293$(OBJ)scanppf.o: scanppf.cc $(INC)ppersist.h \
294 $(INC)machdefs.h \
295 $(INC)pexceptions.h \
296 $(INC)gnumd5.h \
297 $(INC)anydataobj.h \
298 $(INC)sambainit.h \
299 $(INC)skymapinit.h \
300 $(INC)sophyainit.h \
301 $(INC)ntoolsinit.h \
302 $(INC)tarrinit.h
[1528]303$(OBJ)cremskfrsph.o: cremskfrsph.cc \
304 $(INC)machdefs.h \
305 $(INC)skymapinit.h \
306 $(INC)sophyainit.h \
307 $(INC)skymap.h \
308 $(INC)spherethetaphi.h \
309 $(INC)sphericalmap.h \
310 $(INC)smathconst.h \
311 $(INC)pixelmap.h \
312 $(INC)ppersist.h \
313 $(INC)pexceptions.h \
314 $(INC)gnumd5.h \
315 $(INC)dvlist.h \
316 $(INC)objfio.h \
317 $(INC)anydataobj.h \
318 $(INC)mutyv.h \
319 $(INC)spherepos.h \
320 $(INC)unitvector.h \
321 $(INC)vector3d.h \
322 $(INC)longlat.h \
323 $(INC)utilgeom.h \
324 $(INC)tvector.h \
325 $(INC)tmatrix.h \
326 $(INC)tarray.h \
327 $(INC)basarr.h \
328 $(INC)ndatablock.h \
329 $(INC)utilarr.h \
330 $(INC)spherehealpix.h \
331 $(INC)HEALPixUtils.h \
332 $(INC)localmap.h \
333 $(INC)fiospherethetaphi.h \
334 $(INC)fiospherehealpix.h \
335 $(INC)fiolocalmap.h \
336 $(INC)fitsspherehealpix.h \
337 $(INC)fitsfile.h
338$(OBJ)extrapsph.o: extrapsph.cc \
339 $(INC)machdefs.h \
340 $(INC)skymapinit.h \
341 $(INC)sophyainit.h \
342 $(INC)skymap.h \
343 $(INC)spherethetaphi.h \
344 $(INC)sphericalmap.h \
345 $(INC)smathconst.h \
346 $(INC)pixelmap.h \
347 $(INC)ppersist.h \
348 $(INC)pexceptions.h \
349 $(INC)gnumd5.h \
350 $(INC)dvlist.h \
351 $(INC)objfio.h \
352 $(INC)anydataobj.h \
353 $(INC)mutyv.h \
354 $(INC)spherepos.h \
355 $(INC)unitvector.h \
356 $(INC)vector3d.h \
357 $(INC)longlat.h \
358 $(INC)utilgeom.h \
359 $(INC)tvector.h \
360 $(INC)tmatrix.h \
361 $(INC)tarray.h \
362 $(INC)basarr.h \
363 $(INC)ndatablock.h \
364 $(INC)utilarr.h \
365 $(INC)spherehealpix.h \
366 $(INC)HEALPixUtils.h \
367 $(INC)localmap.h \
368 $(INC)fiospherethetaphi.h \
369 $(INC)fiospherehealpix.h \
370 $(INC)fiolocalmap.h \
371 $(INC)fitsspherehealpix.h \
372 $(INC)fitsfile.h
373$(OBJ)extrap2sph.o: extrap2sph.cc \
374 $(INC)machdefs.h \
375 $(INC)skymapinit.h \
376 $(INC)sophyainit.h \
377 $(INC)skymap.h \
378 $(INC)spherethetaphi.h \
379 $(INC)sphericalmap.h \
380 $(INC)smathconst.h \
381 $(INC)pixelmap.h \
382 $(INC)ppersist.h \
383 $(INC)pexceptions.h \
384 $(INC)gnumd5.h \
385 $(INC)dvlist.h \
386 $(INC)objfio.h \
387 $(INC)anydataobj.h \
388 $(INC)mutyv.h \
389 $(INC)spherepos.h \
390 $(INC)unitvector.h \
391 $(INC)vector3d.h \
392 $(INC)longlat.h \
393 $(INC)utilgeom.h \
394 $(INC)tvector.h \
395 $(INC)tmatrix.h \
396 $(INC)tarray.h \
397 $(INC)basarr.h \
398 $(INC)ndatablock.h \
399 $(INC)utilarr.h \
400 $(INC)spherehealpix.h \
401 $(INC)HEALPixUtils.h \
402 $(INC)localmap.h \
403 $(INC)fiospherethetaphi.h \
404 $(INC)fiospherehealpix.h \
405 $(INC)fiolocalmap.h \
406 $(INC)fitsspherehealpix.h \
407 $(INC)fitsfile.h
Note: See TracBrowser for help on using the repository browser.