| [1984] | 1 | USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA
 | 
|---|
 | 2 | include $(DPCBASEREP)/Include/MakefileUser.h
 | 
|---|
| [1437] | 3 | 
 | 
|---|
| [1984] | 4 | ALIB := ./$(MACHDIR)/
 | 
|---|
 | 5 | AOBJ := ./$(MACHDIR)/
 | 
|---|
| [1462] | 6 | 
 | 
|---|
| [1984] | 7 | $(AOBJ)%.o:%.cc
 | 
|---|
 | 8 |         $(COMPILE.cc) $(USERFLAGS) -o $@ $<
 | 
|---|
 | 9 | $(AOBJ)%.o:%.c
 | 
|---|
 | 10 |         $(COMPILE.c) $(CFLAGS) $(USERFLAGS) -o $@ $<
 | 
|---|
| [1437] | 11 | 
 | 
|---|
| [1984] | 12 | LIBOLIST := $(AOBJ)asciitoiwtr.o $(AOBJ)fitstoirdr.o $(AOBJ)fitstoiwtr.o \
 | 
|---|
 | 13 |             $(AOBJ)toi.o $(AOBJ)toimanager.o $(AOBJ)toiprocessor.o $(AOBJ)genwproc.o \
 | 
|---|
 | 14 |             $(AOBJ)toisqfilter.o $(AOBJ)toiregwindow.o $(AOBJ)toiseqbuff.o \
 | 
|---|
 | 15 |             $(AOBJ)toisegment.o \
 | 
|---|
 | 16 |             $(AOBJ)simtoipr.o $(AOBJ)map2toi.o $(AOBJ)toi2map.o $(AOBJ)nooppr.o \
 | 
|---|
 | 17 |             $(AOBJ)ring33.o $(AOBJ)PSB2ring.o $(AOBJ)Bolos2ring.o
 | 
|---|
 | 18 | EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o $(AOBJ)simtst.o \
 | 
|---|
 | 19 |             $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(AOBJ)sfftc.o $(AOBJ)mesovh.o \
 | 
|---|
 | 20 |             $(AOBJ)fits2ascii.o $(AOBJ)tgenw.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o \
 | 
|---|
 | 21 |             $(AOBJ)tstflag.o $(AOBJ)tstdemopipe.o $(AOBJ)gph425_ring.o
 | 
|---|
 | 22 | EXELIST := $(AOBJ)sfftc $(AOBJ)simtst $(AOBJ)mesovh $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
 | 
|---|
 | 23 |            $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tgenw $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map \
 | 
|---|
 | 24 |            $(AOBJ)tstflag $(AOBJ)tstdemopipe $(AOBJ)gph425_ring
 | 
|---|
| [1437] | 25 | 
 | 
|---|
| [1984] | 26 | INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
 | 
|---|
 | 27 |            toiprocessor.h genwproc.h toimanager.h toiseqbuff.h toiregwindow.h \
 | 
|---|
 | 28 |            simtoipr.h map2toi.h toi2map.h nooppr.h toisegment.h ring33.h PSB2ring.h Bolos2ring.h
 | 
|---|
| [1437] | 29 | 
 | 
|---|
| [1984] | 30 | all : $(EXELIST) 
 | 
|---|
 | 31 | lib : $(LIBOLIST)
 | 
|---|
| [1437] | 32 | 
 | 
|---|
| [1984] | 33 | clean:
 | 
|---|
 | 34 |         rm -f  $(LIBOLIST)
 | 
|---|
 | 35 |         rm -f  $(EXEOLIST)
 | 
|---|
 | 36 |         rm -f  $(EXELIST)
 | 
|---|
| [1437] | 37 | 
 | 
|---|
| [1984] | 38 | LIBF =  $(SLB)libsophya.so $(SLB)libextsophya.so 
 | 
|---|
 | 39 | LIBS =  -L$(SLB) -lextsophya -lsophya -lpthread -lm
 | 
|---|
 | 40 | ####ifeq ($(MACHEROS),OSF1)
 | 
|---|
 | 41 | ####LIBS := $(LIBS) -lfor
 | 
|---|
 | 42 | ####endif
 | 
|---|
| [1437] | 43 | 
 | 
|---|
| [1984] | 44 | ########################################
 | 
|---|
 | 45 | #### Les Executables des Programmes ####
 | 
|---|
 | 46 | ########################################
 | 
|---|
 | 47 | tstrztoi: $(AOBJ)tstrztoi
 | 
|---|
 | 48 |         @echo done
 | 
|---|
 | 49 | $(AOBJ)tstrztoi: $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(LIBOLIST)
 | 
|---|
 | 50 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 51 | 
 | 
|---|
| [1984] | 52 | sfftc: $(AOBJ)sfftc
 | 
|---|
 | 53 |         @echo done
 | 
|---|
 | 54 | $(AOBJ)sfftc: $(AOBJ)sfftc.o  $(LIBOLIST)
 | 
|---|
 | 55 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 56 | 
 | 
|---|
| [1984] | 57 | mesovh: $(AOBJ)mesovh
 | 
|---|
 | 58 |         @echo done
 | 
|---|
 | 59 | $(AOBJ)mesovh: $(AOBJ)mesovh.o  $(LIBOLIST)
 | 
|---|
 | 60 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 61 | 
 | 
|---|
| [1984] | 62 | simtst: $(AOBJ)simtst
 | 
|---|
 | 63 |         @echo done
 | 
|---|
 | 64 | $(AOBJ)simtst: $(AOBJ)simtst.o  $(LIBOLIST)
 | 
|---|
 | 65 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 66 | 
 | 
|---|
| [1984] | 67 | fits2asc: $(AOBJ)fits2asc
 | 
|---|
 | 68 |         @echo done
 | 
|---|
 | 69 | $(AOBJ)fits2asc: $(AOBJ)fits2asc.o $(LIBOLIST)
 | 
|---|
 | 70 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 71 | 
 | 
|---|
| [1984] | 72 | tsttoi: $(AOBJ)tsttoi
 | 
|---|
 | 73 |         @echo done
 | 
|---|
 | 74 | $(AOBJ)tsttoi: $(AOBJ)tsttoi.o $(LIBOLIST)
 | 
|---|
 | 75 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 76 | 
 | 
|---|
| [1984] | 77 | tsttoi2: $(AOBJ)tsttoi2
 | 
|---|
 | 78 |         @echo done
 | 
|---|
 | 79 | $(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST)
 | 
|---|
 | 80 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 81 | 
 | 
|---|
| [1984] | 82 | fits2ascii: $(AOBJ)fits2ascii
 | 
|---|
 | 83 |         @echo done
 | 
|---|
 | 84 | $(AOBJ)fits2ascii: $(AOBJ)fits2ascii.o $(LIBOLIST)
 | 
|---|
 | 85 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 86 | 
 | 
|---|
| [1984] | 87 | tgenw: $(AOBJ)tgenw
 | 
|---|
 | 88 |         @echo done
 | 
|---|
 | 89 | $(AOBJ)tgenw: $(AOBJ)tgenw.o  $(LIBOLIST)
 | 
|---|
 | 90 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 91 | 
 | 
|---|
| [1984] | 92 | tstmap2toi: $(AOBJ)tstmap2toi
 | 
|---|
 | 93 |         @echo done
 | 
|---|
 | 94 | $(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST)
 | 
|---|
 | 95 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 96 | 
 | 
|---|
| [1984] | 97 | tsttoi2map: $(AOBJ)tsttoi2map
 | 
|---|
 | 98 |         @echo done
 | 
|---|
 | 99 | $(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST)
 | 
|---|
 | 100 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1437] | 101 | 
 | 
|---|
| [1984] | 102 | tstflag: $(AOBJ)tstflag
 | 
|---|
 | 103 |         @echo done
 | 
|---|
 | 104 | $(AOBJ)tstflag: $(AOBJ)tstflag.o $(LIBOLIST)
 | 
|---|
 | 105 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1529] | 106 | 
 | 
|---|
| [1984] | 107 | tstdemopipe: $(AOBJ)tstdemopipe
 | 
|---|
 | 108 |         @echo done
 | 
|---|
 | 109 | $(AOBJ)tstdemopipe: $(AOBJ)tstdemopipe.o $(LIBOLIST)
 | 
|---|
 | 110 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1668] | 111 | 
 | 
|---|
| [1984] | 112 | gph425_ring: $(AOBJ)gph425_ring
 | 
|---|
 | 113 |         @echo done
 | 
|---|
 | 114 | $(AOBJ)gph425_ring: $(AOBJ)gph425_ring.o $(LIBOLIST)
 | 
|---|
 | 115 |         $(LINK.cc)  -o $@ $^ $(LIBS)
 | 
|---|
| [1437] | 116 | 
 | 
|---|
| [1983] | 117 | 
 | 
|---|
| [1984] | 118 | ################################################
 | 
|---|
 | 119 | #### Compilation des Sources des Programmes ####
 | 
|---|
 | 120 | ################################################
 | 
|---|
 | 121 | $(AOBJ)simtst.o: simtst.cc $(INCLIST)
 | 
|---|
 | 122 | $(AOBJ)sfftc.o: sfftc.cc $(INCLIST)
 | 
|---|
 | 123 | $(AOBJ)mesovh.o: mesovh.cc $(INCLIST)
 | 
|---|
 | 124 | $(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST)
 | 
|---|
 | 125 | $(AOBJ)rztoi.o: rztoi.cc rztoi.h $(INCLIST)
 | 
|---|
 | 126 | $(AOBJ)fits2asc.o: fits2asc.cc $(INCLIST)
 | 
|---|
 | 127 | $(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST)
 | 
|---|
 | 128 | $(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST)
 | 
|---|
 | 129 | $(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST)
 | 
|---|
 | 130 | $(AOBJ)tgenw.o: tgenw.cc $(INCLIST)
 | 
|---|
 | 131 | $(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST)
 | 
|---|
 | 132 | $(AOBJ)tsttoi2map.o: tsttoi2map.cc $(INCLIST)
 | 
|---|
 | 133 | $(AOBJ)tstflag.o: tstflag.cc $(INCLIST)
 | 
|---|
 | 134 | $(AOBJ)tstdemopipe.o: tstdemopipe.cc $(INCLIST)
 | 
|---|
 | 135 | $(AOBJ)gph425_ring.o: gph425_ring.cc $(INCLIST)
 | 
|---|
| [1529] | 136 | 
 | 
|---|
| [1984] | 137 | ################################################
 | 
|---|
 | 138 | #### Compilation des Sources des Librairies ####
 | 
|---|
 | 139 | ################################################
 | 
|---|
 | 140 | $(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h toiprocessor.h toimanager.h 
 | 
|---|
 | 141 | $(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h
 | 
|---|
 | 142 | $(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h
 | 
|---|
 | 143 | $(AOBJ)toi.o: toi.cc toiprocessor.h config.h conf.h toi.h 
 | 
|---|
 | 144 | $(AOBJ)toimanager.o: toimanager.cc toimanager.h
 | 
|---|
 | 145 | $(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h toimanager.h
 | 
|---|
 | 146 | $(AOBJ)genwproc.o: genwproc.h toiprocessor.h toimanager.h
 | 
|---|
 | 147 | $(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h conf.h toi.h toimanager.h
 | 
|---|
 | 148 | $(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h toiseqbuff.h 
 | 
|---|
 | 149 | $(AOBJ)toiregwindow.o: toiregwindow.cc toiprocessor.h config.h conf.h toi.h toiregwindow.h 
 | 
|---|
 | 150 | $(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h simtoipr.h 
 | 
|---|
 | 151 | $(AOBJ)map2toi.o: map2toi.cc map2toi.h 
 | 
|---|
 | 152 | $(AOBJ)toi2map.o: toi2map.cc toi2map.h 
 | 
|---|
 | 153 | $(AOBJ)nooppr.o: nooppr.cc nooppr.h 
 | 
|---|
 | 154 | $(AOBJ)toisegment.o: toisegment.cc toiprocessor.h config.h conf.h toi.h
 | 
|---|
 | 155 | $(AOBJ)ring33.o: ring33.cc ring33.h 
 | 
|---|
 | 156 | $(AOBJ)PSB2ring.o: PSB2ring.cc PSB2ring.h 
 | 
|---|
 | 157 | $(AOBJ)Bolos2ring.o: Bolos2ring.cc Bolos2ring.h 
 | 
|---|