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