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

Last change on this file since 1330 was 1306, checked in by ansari, 25 years ago

Creation module PrgUtil , programmes utilitaires - Reza 8/11/2000

File size: 1.9 KB
Line 
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)
16ifdef ORACLE_HOME
17LIBSORA := -L$(LIB) -lDb++ $(LIBS) -lErosDb -L$(ORACLE_HOME)/lib -lclntsh
18endif
19LDLIBS := $(LIBS) $(LDLIBS)
20PROGS = $(EXE)runcxx $(EXE)scanppf
21
22all: $(PROGS)
23
24clean:
25 rm -f $(PROGS)
26 if [ -d $(OBJ)cxxrep_PrgUtil ] ; then cd $(OBJ)cxxrep_PrgUtil ; rm -f *.o ; fi
27
28runcxx: $(EXE)runcxx
29
30$(EXE)runcxx: $(OBJ)runcxx.o
31 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
32
33scanppf: $(EXE)scanppf
34
35$(EXE)scanppf: $(OBJ)scanppf.o
36 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
37
38scanfits: $(EXE)scanfits
39
40$(EXE)scanfits: $(OBJ)scanfits.o
41 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
42
43$(OBJ)runcxx.o: runcxx.cc $(INC)sambainit.h \
44 $(INC)skymapinit.h \
45 $(INC)sophyainit.h \
46 $(INC)machdefs.h \
47 $(INC)ntoolsinit.h \
48 $(INC)tarrinit.h \
49 $(INC)skyinit.h \
50 $(INC)pexceptions.h \
51 $(INC)cxxcmplnk.h \
52 $(INC)pdlmgr.h \
53 $(INC)timing.h
54$(OBJ)scanfits.o: scanfits.cc $(INC)histinit.h \
55 $(INC)ntoolsinit.h \
56 $(INC)tarrinit.h \
57 $(INC)sophyainit.h \
58 $(INC)machdefs.h \
59 $(INC)dvlist.h \
60 $(INC)objfio.h \
61 $(INC)anydataobj.h \
62 $(INC)ppersist.h \
63 $(INC)pexceptions.h \
64 $(INC)gnumd5.h \
65 $(INC)mutyv.h \
66 $(INC)ntuple.h \
67 $(INC)ntupintf.h \
68 $(INC)xntuple.h \
69 $(INC)fitsxntuple.h \
70 $(INC)fitsfile.h \
71 $(INC)ndatablock.h \
72 $(INC)fitsntuple.h
73$(OBJ)scanppf.o: scanppf.cc $(INC)ppersist.h \
74 $(INC)machdefs.h \
75 $(INC)pexceptions.h \
76 $(INC)gnumd5.h \
77 $(INC)anydataobj.h \
78 $(INC)sambainit.h \
79 $(INC)skymapinit.h \
80 $(INC)sophyainit.h \
81 $(INC)ntoolsinit.h \
82 $(INC)tarrinit.h
Note: See TracBrowser for help on using the repository browser.