| Last change
 on this file since 3203 was             2735, checked in by cmv, 20 years ago | 
        
          | 
memorisation makefile old-fashion Mgr  cmv 19/05/05
 | 
        
          | File size:
            2.0 KB | 
      
      
| Line |  | 
|---|
| 1 | MODULECXXREPNAME :=  PrgUtil | 
|---|
| 2 | include ../Mgr/Makefile.h | 
|---|
| 3 |  | 
|---|
| 4 | ifdef NOSHLIB | 
|---|
| 5 | LIBF =  $(LIB)libFitsIOServer.a $(LIB)libSamba.a $(LIB)libSkyMap.a $(LIB)libSkyT.a $(LIB)libNTools.a $(LIB)libHiStats.a $(LIB)libTArray.a $(LIB)libSysTools.a | 
|---|
| 6 | LIBS = -L$(LIB) -lFitsIOServer -lSamba -lSkyMap -lSkyT -lNTools -lHiStats -lTArray -lSysTools -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 | 
|---|
| 18 | PROBJS = $(OBJ)runcxx.o $(OBJ)scanppf.o $(OBJ)scanfits.o | 
|---|
| 19 |  | 
|---|
| 20 | all: $(PROGS) | 
|---|
| 21 |  | 
|---|
| 22 | clean: | 
|---|
| 23 | rm -f $(PROGS) | 
|---|
| 24 | rm -f $(PROBJS) | 
|---|
| 25 | if [ -d $(OBJ)cxxrep_PrgUtil ] ; then cd $(OBJ)cxxrep_PrgUtil ; rm -f *.o ; fi | 
|---|
| 26 |  | 
|---|
| 27 | runcxx: $(EXE)runcxx | 
|---|
| 28 | @ echo runcxx done | 
|---|
| 29 | $(EXE)runcxx: $(OBJ)runcxx.o | 
|---|
| 30 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ | 
|---|
| 31 |  | 
|---|
| 32 | scanppf: $(EXE)scanppf | 
|---|
| 33 | @ echo scanppf done | 
|---|
| 34 | $(EXE)scanppf: $(OBJ)scanppf.o | 
|---|
| 35 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ | 
|---|
| 36 |  | 
|---|
| 37 | scanfits: $(EXE)scanfits | 
|---|
| 38 | @ echo scanfits done | 
|---|
| 39 | $(EXE)scanfits: $(OBJ)scanfits.o | 
|---|
| 40 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ | 
|---|
| 41 |  | 
|---|
| 42 | $(OBJ)runcxx.o: runcxx.cc $(INC)sambainit.h \ | 
|---|
| 43 | $(INC)skymapinit.h \ | 
|---|
| 44 | $(INC)sophyainit.h \ | 
|---|
| 45 | $(INC)machdefs.h \ | 
|---|
| 46 | $(INC)ntoolsinit.h \ | 
|---|
| 47 | $(INC)tarrinit.h \ | 
|---|
| 48 | $(INC)skyinit.h \ | 
|---|
| 49 | $(INC)pexceptions.h \ | 
|---|
| 50 | $(INC)cxxcmplnk.h \ | 
|---|
| 51 | $(INC)pdlmgr.h \ | 
|---|
| 52 | $(INC)timing.h | 
|---|
| 53 | $(OBJ)scanfits.o: scanfits.cc $(INC)histinit.h \ | 
|---|
| 54 | $(INC)ntoolsinit.h \ | 
|---|
| 55 | $(INC)tarrinit.h \ | 
|---|
| 56 | $(INC)sophyainit.h \ | 
|---|
| 57 | $(INC)machdefs.h \ | 
|---|
| 58 | $(INC)dvlist.h \ | 
|---|
| 59 | $(INC)objfio.h \ | 
|---|
| 60 | $(INC)anydataobj.h \ | 
|---|
| 61 | $(INC)ppersist.h \ | 
|---|
| 62 | $(INC)pexceptions.h \ | 
|---|
| 63 | $(INC)gnumd5.h \ | 
|---|
| 64 | $(INC)mutyv.h \ | 
|---|
| 65 | $(INC)ntuple.h \ | 
|---|
| 66 | $(INC)ntupintf.h \ | 
|---|
| 67 | $(INC)xntuple.h \ | 
|---|
| 68 | $(INC)fitsxntuple.h \ | 
|---|
| 69 | $(INC)fitsfile.h \ | 
|---|
| 70 | $(INC)ndatablock.h \ | 
|---|
| 71 | $(INC)fitsntuple.h | 
|---|
| 72 | $(OBJ)scanppf.o: scanppf.cc $(INC)ppersist.h \ | 
|---|
| 73 | $(INC)machdefs.h \ | 
|---|
| 74 | $(INC)pexceptions.h \ | 
|---|
| 75 | $(INC)gnumd5.h \ | 
|---|
| 76 | $(INC)anydataobj.h \ | 
|---|
| 77 | $(INC)sambainit.h \ | 
|---|
| 78 | $(INC)skymapinit.h \ | 
|---|
| 79 | $(INC)sophyainit.h \ | 
|---|
| 80 | $(INC)ntoolsinit.h \ | 
|---|
| 81 | $(INC)tarrinit.h | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.