source: Sophya/trunk/SophyaProg/PrgUtil/Makefile.mgr@ 3396

Last change on this file since 3396 was 2735, checked in by cmv, 20 years ago

memorisation makefile old-fashion Mgr cmv 19/05/05

File size: 2.0 KB
RevLine 
[2735]1MODULECXXREPNAME := PrgUtil
2include ../Mgr/Makefile.h
3
4ifdef NOSHLIB
5LIBF = $(LIB)libFitsIOServer.a $(LIB)libSamba.a $(LIB)libSkyMap.a $(LIB)libSkyT.a $(LIB)libNTools.a $(LIB)libHiStats.a $(LIB)libTArray.a $(LIB)libSysTools.a
6LIBS = -L$(LIB) -lFitsIOServer -lSamba -lSkyMap -lSkyT -lNTools -lHiStats -lTArray -lSysTools -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)
17PROGS = $(EXE)runcxx $(EXE)scanppf $(EXE)scanfits
18PROBJS = $(OBJ)runcxx.o $(OBJ)scanppf.o $(OBJ)scanfits.o
19
20all: $(PROGS)
21
22clean:
23 rm -f $(PROGS)
24 rm -f $(PROBJS)
25 if [ -d $(OBJ)cxxrep_PrgUtil ] ; then cd $(OBJ)cxxrep_PrgUtil ; rm -f *.o ; fi
26
27runcxx: $(EXE)runcxx
28 @ echo runcxx done
29$(EXE)runcxx: $(OBJ)runcxx.o
30 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
31
32scanppf: $(EXE)scanppf
33 @ echo scanppf done
34$(EXE)scanppf: $(OBJ)scanppf.o
35 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
36
37scanfits: $(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.