| [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 \ | 
|---|
|  | 13 | $(AOBJ)toi.o $(AOBJ)toimanager.o $(AOBJ)toiprocessor.o \ | 
|---|
| [1464] | 14 | $(AOBJ)toisqfilter.o $(AOBJ)toiregwindow.o $(AOBJ)toiseqbuff.o \ | 
|---|
|  | 15 | $(AOBJ)simtoipr.o $(AOBJ)map2toi.o $(AOBJ)toi2map.o | 
|---|
| [1462] | 16 | EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o $(AOBJ)simtst.o \ | 
|---|
|  | 17 | $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o \ | 
|---|
|  | 18 | $(AOBJ)fits2ascii.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o | 
|---|
|  | 19 | EXELIST := $(AOBJ)simtst $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \ | 
|---|
|  | 20 | $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map | 
|---|
| [1437] | 21 |  | 
|---|
|  | 22 | INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \ | 
|---|
| [1464] | 23 | toiprocessor.h toimanager.h toiseqbuff.h toiregwindow.h \ | 
|---|
|  | 24 | simtoipr.h map2toi.h toi2map.h | 
|---|
| [1437] | 25 |  | 
|---|
|  | 26 | all : $(EXELIST) | 
|---|
| [1462] | 27 | lib : $(LIBOLIST) | 
|---|
| [1437] | 28 |  | 
|---|
|  | 29 | clean: | 
|---|
|  | 30 | rm -f  $(LIBOLIST) | 
|---|
|  | 31 | rm -f  $(EXEOLIST) | 
|---|
|  | 32 | rm -f  $(EXELIST) | 
|---|
|  | 33 |  | 
|---|
|  | 34 | LIBF =  $(SLB)libsophya.so $(SLB)libextsophya.so | 
|---|
| [1462] | 35 | LIBS =  -L$(SLB) -lextsophya -lsophya -lpthread -lm | 
|---|
| [1437] | 36 | ifeq ($(MACHEROS),OSF1) | 
|---|
|  | 37 | LIBS := $(LIBS) -lfor | 
|---|
|  | 38 | endif | 
|---|
|  | 39 |  | 
|---|
|  | 40 |  | 
|---|
|  | 41 | $(AOBJ)tstrztoi: $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(LIBOLIST) | 
|---|
|  | 42 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
| [1442] | 43 | $(AOBJ)simtst: $(AOBJ)simtst.o $(AOBJ)simtoipr.o $(LIBOLIST) | 
|---|
|  | 44 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
| [1437] | 45 | $(AOBJ)fits2asc: $(AOBJ)fits2asc.o $(LIBOLIST) | 
|---|
|  | 46 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
|  | 47 | $(AOBJ)tsttoi: $(AOBJ)tsttoi.o $(LIBOLIST) | 
|---|
|  | 48 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
|  | 49 | $(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST) | 
|---|
|  | 50 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
| [1462] | 51 | $(AOBJ)fits2ascii: $(AOBJ)fits2ascii.o $(LIBOLIST) | 
|---|
|  | 52 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
|  | 53 | $(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST) | 
|---|
|  | 54 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
|  | 55 | $(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST) | 
|---|
|  | 56 | $(LINK.cc)  -o $@ $^ $(LIBS) | 
|---|
| [1437] | 57 |  | 
|---|
|  | 58 | $(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST) | 
|---|
|  | 59 | $(AOBJ)rztoi.o: rztoi.cc rztoi.h $(INCLIST) | 
|---|
|  | 60 | $(AOBJ)fits2asc.o: fits2asc.cc $(INCLIST) | 
|---|
|  | 61 | $(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST) | 
|---|
|  | 62 | $(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST) | 
|---|
| [1462] | 63 | $(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST) | 
|---|
|  | 64 | $(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST) | 
|---|
|  | 65 | $(AOBJ)tsttoi2toi.o: tsttoi2map.cc $(INCLIST) | 
|---|
| [1437] | 66 |  | 
|---|
|  | 67 | $(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \ | 
|---|
| [1462] | 68 | toiprocessor.h toimanager.h | 
|---|
| [1437] | 69 | $(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h | 
|---|
|  | 70 | $(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h | 
|---|
|  | 71 | $(AOBJ)toi.o: toi.cc toiprocessor.h config.h conf.h toi.h | 
|---|
|  | 72 | $(AOBJ)toimanager.o: toimanager.cc toimanager.h | 
|---|
|  | 73 | $(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h \ | 
|---|
| [1462] | 74 | toimanager.h | 
|---|
| [1437] | 75 | $(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \ | 
|---|
| [1462] | 76 | conf.h toi.h toimanager.h | 
|---|
| [1437] | 77 | $(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \ | 
|---|
| [1462] | 78 | toiseqbuff.h | 
|---|
| [1464] | 79 | $(AOBJ)toiregwindow.o: toiregwindow.cc toiprocessor.h config.h conf.h toi.h \ | 
|---|
|  | 80 | toiregwindow.h | 
|---|
| [1442] | 81 | $(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \ | 
|---|
| [1462] | 82 | simtoipr.h | 
|---|
|  | 83 | $(AOBJ)map2toi.o: map2toi.cc map2toi.h | 
|---|
|  | 84 | $(AOBJ)toi2map.o: toi2map.cc toi2map.h | 
|---|