| 1 | MODULECXXREPNAME := PrgUtil
|
|---|
| 2 | include ../Mgr/Makefile.h
|
|---|
| 3 |
|
|---|
| 4 | ifdef NOSHLIB
|
|---|
| 5 | LIBF = $(LIB)libTArray.a $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSkyMap.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)lib.a $(LIB)lib.a
|
|---|
| 6 | LIBS = -L$(LIB) -lTArray -lSysTools -lNTools -lSkyMap -lSamba -lSkyT -l -l -lm
|
|---|
| 7 | ifeq ($(CXX),cxx)
|
|---|
| 8 | # librairie des instances de templates cxx
|
|---|
| 9 | LIBS := $(LIBS) -lertcxx
|
|---|
| 10 | endif
|
|---|
| 11 | else
|
|---|
| 12 | LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
|
|---|
| 13 | LIBS = -L$(SLB) -lsophya -lextsophya -lm
|
|---|
| 14 | endif
|
|---|
| 15 | LIBSORA := $(LIBS)
|
|---|
| 16 | LDLIBS := $(LIBS) $(LDLIBS)
|
|---|
| 17 | PROGS = $(EXE)runcxx $(EXE)scanppf $(EXE)scanfits $(EXE)cl2map $(EXE)map2cl $(EXE)prjsmap
|
|---|
| 18 |
|
|---|
| 19 | all: $(PROGS)
|
|---|
| 20 |
|
|---|
| 21 | clean:
|
|---|
| 22 | rm -f $(PROGS)
|
|---|
| 23 | if [ -d $(OBJ)cxxrep_PrgUtil ] ; then cd $(OBJ)cxxrep_PrgUtil ; rm -f *.o ; fi
|
|---|
| 24 |
|
|---|
| 25 | runcxx: $(EXE)runcxx
|
|---|
| 26 |
|
|---|
| 27 | $(EXE)runcxx: $(OBJ)runcxx.o
|
|---|
| 28 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 29 |
|
|---|
| 30 | scanppf: $(EXE)scanppf
|
|---|
| 31 |
|
|---|
| 32 | $(EXE)scanppf: $(OBJ)scanppf.o
|
|---|
| 33 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 34 |
|
|---|
| 35 | scanfits: $(EXE)scanfits
|
|---|
| 36 |
|
|---|
| 37 | $(EXE)scanfits: $(OBJ)scanfits.o
|
|---|
| 38 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 39 |
|
|---|
| 40 | cl2map: $(EXE)cl2map
|
|---|
| 41 |
|
|---|
| 42 | $(EXE)cl2map: $(OBJ)cl2map.o
|
|---|
| 43 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 44 |
|
|---|
| 45 | map2cl: $(EXE)map2cl
|
|---|
| 46 |
|
|---|
| 47 | $(EXE)map2cl: $(OBJ)map2cl.o
|
|---|
| 48 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 49 |
|
|---|
| 50 | prjsmap: $(EXE)prjsmap
|
|---|
| 51 |
|
|---|
| 52 | $(EXE)prjsmap: $(OBJ)prjsmap.o
|
|---|
| 53 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 54 |
|
|---|
| 55 | : $(EXE)
|
|---|
| 56 |
|
|---|
| 57 | $(EXE):
|
|---|
| 58 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|---|
| 59 |
|
|---|
| 60 | $(OBJ)cl2map.o: cl2map.cc $(INC)machdefs.h \
|
|---|
| 61 | $(INC)nbmath.h \
|
|---|
| 62 | $(INC)smathconst.h \
|
|---|
| 63 | $(INC)timing.h \
|
|---|
| 64 | $(INC)array.h \
|
|---|
| 65 | $(INC)tarray.h \
|
|---|
| 66 | $(INC)basarr.h \
|
|---|
| 67 | $(INC)anydataobj.h \
|
|---|
| 68 | $(INC)mutyv.h \
|
|---|
| 69 | $(INC)dvlist.h \
|
|---|
| 70 | $(INC)objfio.h \
|
|---|
| 71 | $(INC)ppersist.h \
|
|---|
| 72 | $(INC)pexceptions.h \
|
|---|
| 73 | $(INC)gnumd5.h \
|
|---|
| 74 | $(INC)ndatablock.h \
|
|---|
| 75 | $(INC)utilarr.h \
|
|---|
| 76 | $(INC)tmatrix.h \
|
|---|
| 77 | $(INC)tvector.h \
|
|---|
| 78 | $(INC)matharr.h \
|
|---|
| 79 | $(INC)fioarr.h \
|
|---|
| 80 | $(INC)sopemtx.h \
|
|---|
| 81 | $(INC)skymap.h \
|
|---|
| 82 | $(INC)spherethetaphi.h \
|
|---|
| 83 | $(INC)sphericalmap.h \
|
|---|
| 84 | $(INC)pixelmap.h \
|
|---|
| 85 | $(INC)spherepos.h \
|
|---|
| 86 | $(INC)unitvector.h \
|
|---|
| 87 | $(INC)vector3d.h \
|
|---|
| 88 | $(INC)longlat.h \
|
|---|
| 89 | $(INC)utilgeom.h \
|
|---|
| 90 | $(INC)spherehealpix.h \
|
|---|
| 91 | $(INC)HEALPixUtils.h \
|
|---|
| 92 | $(INC)localmap.h \
|
|---|
| 93 | $(INC)fiospherethetaphi.h \
|
|---|
| 94 | $(INC)fiospherehealpix.h \
|
|---|
| 95 | $(INC)fiolocalmap.h \
|
|---|
| 96 | $(INC)samba.h \
|
|---|
| 97 | $(INC)alm.h \
|
|---|
| 98 | $(INC)nbrandom.h \
|
|---|
| 99 | $(INC)srandgen.h \
|
|---|
| 100 | $(INC)triangmtx.h \
|
|---|
| 101 | $(INC)bruit.h \
|
|---|
| 102 | $(INC)circle.h \
|
|---|
| 103 | $(INC)geometry.h \
|
|---|
| 104 | $(INC)lambdaBuilder.h \
|
|---|
| 105 | $(INC)misstime.h \
|
|---|
| 106 | $(INC)mlobe.h \
|
|---|
| 107 | $(INC)prefcount.h \
|
|---|
| 108 | $(INC)scan.h \
|
|---|
| 109 | $(INC)sphericaltransformserver.h \
|
|---|
| 110 | $(INC)fftservintf.h \
|
|---|
| 111 | $(INC)fftpserver.h \
|
|---|
| 112 | $(INC)tod.h \
|
|---|
| 113 | $(INC)sambainit.h \
|
|---|
| 114 | $(INC)skymapinit.h \
|
|---|
| 115 | $(INC)sophyainit.h \
|
|---|
| 116 | $(INC)ntoolsinit.h \
|
|---|
| 117 | $(INC)tarrinit.h \
|
|---|
| 118 | $(INC)fitsspherehealpix.h \
|
|---|
| 119 | $(INC)fitsfile.h \
|
|---|
| 120 | $(INC)fitstarray.h
|
|---|
| 121 | $(OBJ)map2cl.o: map2cl.cc $(INC)machdefs.h \
|
|---|
| 122 | $(INC)nbmath.h \
|
|---|
| 123 | $(INC)smathconst.h \
|
|---|
| 124 | $(INC)timing.h \
|
|---|
| 125 | $(INC)array.h \
|
|---|
| 126 | $(INC)tarray.h \
|
|---|
| 127 | $(INC)basarr.h \
|
|---|
| 128 | $(INC)anydataobj.h \
|
|---|
| 129 | $(INC)mutyv.h \
|
|---|
| 130 | $(INC)dvlist.h \
|
|---|
| 131 | $(INC)objfio.h \
|
|---|
| 132 | $(INC)ppersist.h \
|
|---|
| 133 | $(INC)pexceptions.h \
|
|---|
| 134 | $(INC)gnumd5.h \
|
|---|
| 135 | $(INC)ndatablock.h \
|
|---|
| 136 | $(INC)utilarr.h \
|
|---|
| 137 | $(INC)tmatrix.h \
|
|---|
| 138 | $(INC)tvector.h \
|
|---|
| 139 | $(INC)matharr.h \
|
|---|
| 140 | $(INC)fioarr.h \
|
|---|
| 141 | $(INC)sopemtx.h \
|
|---|
| 142 | $(INC)skymap.h \
|
|---|
| 143 | $(INC)spherethetaphi.h \
|
|---|
| 144 | $(INC)sphericalmap.h \
|
|---|
| 145 | $(INC)pixelmap.h \
|
|---|
| 146 | $(INC)spherepos.h \
|
|---|
| 147 | $(INC)unitvector.h \
|
|---|
| 148 | $(INC)vector3d.h \
|
|---|
| 149 | $(INC)longlat.h \
|
|---|
| 150 | $(INC)utilgeom.h \
|
|---|
| 151 | $(INC)spherehealpix.h \
|
|---|
| 152 | $(INC)HEALPixUtils.h \
|
|---|
| 153 | $(INC)localmap.h \
|
|---|
| 154 | $(INC)fiospherethetaphi.h \
|
|---|
| 155 | $(INC)fiospherehealpix.h \
|
|---|
| 156 | $(INC)fiolocalmap.h \
|
|---|
| 157 | $(INC)samba.h \
|
|---|
| 158 | $(INC)alm.h \
|
|---|
| 159 | $(INC)nbrandom.h \
|
|---|
| 160 | $(INC)srandgen.h \
|
|---|
| 161 | $(INC)triangmtx.h \
|
|---|
| 162 | $(INC)bruit.h \
|
|---|
| 163 | $(INC)circle.h \
|
|---|
| 164 | $(INC)geometry.h \
|
|---|
| 165 | $(INC)lambdaBuilder.h \
|
|---|
| 166 | $(INC)misstime.h \
|
|---|
| 167 | $(INC)mlobe.h \
|
|---|
| 168 | $(INC)prefcount.h \
|
|---|
| 169 | $(INC)scan.h \
|
|---|
| 170 | $(INC)sphericaltransformserver.h \
|
|---|
| 171 | $(INC)fftservintf.h \
|
|---|
| 172 | $(INC)fftpserver.h \
|
|---|
| 173 | $(INC)tod.h \
|
|---|
| 174 | $(INC)sambainit.h \
|
|---|
| 175 | $(INC)skymapinit.h \
|
|---|
| 176 | $(INC)sophyainit.h \
|
|---|
| 177 | $(INC)ntoolsinit.h \
|
|---|
| 178 | $(INC)tarrinit.h \
|
|---|
| 179 | $(INC)fitsspherehealpix.h \
|
|---|
| 180 | $(INC)fitsfile.h \
|
|---|
| 181 | $(INC)fitstarray.h
|
|---|
| 182 | $(OBJ)prjsmap.o: prjsmap.cc $(INC)machdefs.h \
|
|---|
| 183 | $(INC)nbmath.h \
|
|---|
| 184 | $(INC)smathconst.h \
|
|---|
| 185 | $(INC)timing.h \
|
|---|
| 186 | $(INC)array.h \
|
|---|
| 187 | $(INC)tarray.h \
|
|---|
| 188 | $(INC)basarr.h \
|
|---|
| 189 | $(INC)anydataobj.h \
|
|---|
| 190 | $(INC)mutyv.h \
|
|---|
| 191 | $(INC)dvlist.h \
|
|---|
| 192 | $(INC)objfio.h \
|
|---|
| 193 | $(INC)ppersist.h \
|
|---|
| 194 | $(INC)pexceptions.h \
|
|---|
| 195 | $(INC)gnumd5.h \
|
|---|
| 196 | $(INC)ndatablock.h \
|
|---|
| 197 | $(INC)utilarr.h \
|
|---|
| 198 | $(INC)tmatrix.h \
|
|---|
| 199 | $(INC)tvector.h \
|
|---|
| 200 | $(INC)matharr.h \
|
|---|
| 201 | $(INC)fioarr.h \
|
|---|
| 202 | $(INC)sopemtx.h \
|
|---|
| 203 | $(INC)skymap.h \
|
|---|
| 204 | $(INC)spherethetaphi.h \
|
|---|
| 205 | $(INC)sphericalmap.h \
|
|---|
| 206 | $(INC)pixelmap.h \
|
|---|
| 207 | $(INC)spherepos.h \
|
|---|
| 208 | $(INC)unitvector.h \
|
|---|
| 209 | $(INC)vector3d.h \
|
|---|
| 210 | $(INC)longlat.h \
|
|---|
| 211 | $(INC)utilgeom.h \
|
|---|
| 212 | $(INC)spherehealpix.h \
|
|---|
| 213 | $(INC)HEALPixUtils.h \
|
|---|
| 214 | $(INC)localmap.h \
|
|---|
| 215 | $(INC)fiospherethetaphi.h \
|
|---|
| 216 | $(INC)fiospherehealpix.h \
|
|---|
| 217 | $(INC)fiolocalmap.h \
|
|---|
| 218 | $(INC)samba.h \
|
|---|
| 219 | $(INC)alm.h \
|
|---|
| 220 | $(INC)nbrandom.h \
|
|---|
| 221 | $(INC)srandgen.h \
|
|---|
| 222 | $(INC)triangmtx.h \
|
|---|
| 223 | $(INC)bruit.h \
|
|---|
| 224 | $(INC)circle.h \
|
|---|
| 225 | $(INC)geometry.h \
|
|---|
| 226 | $(INC)lambdaBuilder.h \
|
|---|
| 227 | $(INC)misstime.h \
|
|---|
| 228 | $(INC)mlobe.h \
|
|---|
| 229 | $(INC)prefcount.h \
|
|---|
| 230 | $(INC)scan.h \
|
|---|
| 231 | $(INC)sphericaltransformserver.h \
|
|---|
| 232 | $(INC)fftservintf.h \
|
|---|
| 233 | $(INC)fftpserver.h \
|
|---|
| 234 | $(INC)tod.h \
|
|---|
| 235 | $(INC)sambainit.h \
|
|---|
| 236 | $(INC)skymapinit.h \
|
|---|
| 237 | $(INC)sophyainit.h \
|
|---|
| 238 | $(INC)ntoolsinit.h \
|
|---|
| 239 | $(INC)tarrinit.h \
|
|---|
| 240 | $(INC)fitsspherehealpix.h \
|
|---|
| 241 | $(INC)fitsfile.h \
|
|---|
| 242 | $(INC)fitstarray.h
|
|---|
| 243 | $(OBJ)runcxx.o: runcxx.cc $(INC)sambainit.h \
|
|---|
| 244 | $(INC)skymapinit.h \
|
|---|
| 245 | $(INC)sophyainit.h \
|
|---|
| 246 | $(INC)machdefs.h \
|
|---|
| 247 | $(INC)ntoolsinit.h \
|
|---|
| 248 | $(INC)tarrinit.h \
|
|---|
| 249 | $(INC)skyinit.h \
|
|---|
| 250 | $(INC)pexceptions.h \
|
|---|
| 251 | $(INC)cxxcmplnk.h \
|
|---|
| 252 | $(INC)pdlmgr.h \
|
|---|
| 253 | $(INC)timing.h
|
|---|
| 254 | $(OBJ)scanfits.o: scanfits.cc $(INC)histinit.h \
|
|---|
| 255 | $(INC)ntoolsinit.h \
|
|---|
| 256 | $(INC)tarrinit.h \
|
|---|
| 257 | $(INC)sophyainit.h \
|
|---|
| 258 | $(INC)machdefs.h \
|
|---|
| 259 | $(INC)dvlist.h \
|
|---|
| 260 | $(INC)objfio.h \
|
|---|
| 261 | $(INC)anydataobj.h \
|
|---|
| 262 | $(INC)ppersist.h \
|
|---|
| 263 | $(INC)pexceptions.h \
|
|---|
| 264 | $(INC)gnumd5.h \
|
|---|
| 265 | $(INC)mutyv.h \
|
|---|
| 266 | $(INC)ntuple.h \
|
|---|
| 267 | $(INC)ntupintf.h \
|
|---|
| 268 | $(INC)xntuple.h \
|
|---|
| 269 | $(INC)fitsxntuple.h \
|
|---|
| 270 | $(INC)fitsfile.h \
|
|---|
| 271 | $(INC)ndatablock.h \
|
|---|
| 272 | $(INC)fitsntuple.h
|
|---|
| 273 | $(OBJ)scanppf.o: scanppf.cc $(INC)ppersist.h \
|
|---|
| 274 | $(INC)machdefs.h \
|
|---|
| 275 | $(INC)pexceptions.h \
|
|---|
| 276 | $(INC)gnumd5.h \
|
|---|
| 277 | $(INC)anydataobj.h \
|
|---|
| 278 | $(INC)sambainit.h \
|
|---|
| 279 | $(INC)skymapinit.h \
|
|---|
| 280 | $(INC)sophyainit.h \
|
|---|
| 281 | $(INC)ntoolsinit.h \
|
|---|
| 282 | $(INC)tarrinit.h
|
|---|