[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 \
|
---|
| 17 | $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o \
|
---|
[1496] | 18 | $(AOBJ)fits2ascii.o $(AOBJ)tgenw.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o
|
---|
[1487] | 19 | EXELIST := $(AOBJ)sfftc $(AOBJ)simtst $(AOBJ)mesovh $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
|
---|
[1496] | 20 | $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tgenw $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map
|
---|
[1437] | 21 |
|
---|
| 22 | INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
|
---|
[1495] | 23 | toiprocessor.h genwproc.h toimanager.h toiseqbuff.h toiregwindow.h \
|
---|
[1487] | 24 | simtoipr.h map2toi.h toi2map.h nooppr.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)
|
---|
[1484] | 43 | $(AOBJ)sfftc: $(AOBJ)sfftc.o $(LIBOLIST)
|
---|
[1442] | 44 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1487] | 45 | $(AOBJ)mesovh: $(AOBJ)mesovh.o $(LIBOLIST)
|
---|
| 46 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1484] | 47 | $(AOBJ)simtst: $(AOBJ)simtst.o $(LIBOLIST)
|
---|
| 48 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1437] | 49 | $(AOBJ)fits2asc: $(AOBJ)fits2asc.o $(LIBOLIST)
|
---|
| 50 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
| 51 | $(AOBJ)tsttoi: $(AOBJ)tsttoi.o $(LIBOLIST)
|
---|
| 52 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
| 53 | $(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST)
|
---|
| 54 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1462] | 55 | $(AOBJ)fits2ascii: $(AOBJ)fits2ascii.o $(LIBOLIST)
|
---|
| 56 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1496] | 57 | $(AOBJ)tgenw: $(AOBJ)tgenw.o $(LIBOLIST)
|
---|
| 58 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1462] | 59 | $(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST)
|
---|
| 60 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
| 61 | $(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST)
|
---|
| 62 | $(LINK.cc) -o $@ $^ $(LIBS)
|
---|
[1437] | 63 |
|
---|
[1484] | 64 | $(AOBJ)simtst.o: simtst.cc $(INCLIST)
|
---|
| 65 | $(AOBJ)sfftc.o: sfftc.cc $(INCLIST)
|
---|
[1487] | 66 | $(AOBJ)mesovh.o: mesovh.cc $(INCLIST)
|
---|
[1437] | 67 | $(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST)
|
---|
| 68 | $(AOBJ)rztoi.o: rztoi.cc rztoi.h $(INCLIST)
|
---|
| 69 | $(AOBJ)fits2asc.o: fits2asc.cc $(INCLIST)
|
---|
| 70 | $(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST)
|
---|
| 71 | $(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST)
|
---|
[1462] | 72 | $(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST)
|
---|
[1496] | 73 | $(AOBJ)tgenw.o: tgenw.cc $(INCLIST)
|
---|
[1462] | 74 | $(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST)
|
---|
[1484] | 75 | $(AOBJ)tsttoi2map.o: tsttoi2map.cc $(INCLIST)
|
---|
[1437] | 76 |
|
---|
| 77 | $(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \
|
---|
[1462] | 78 | toiprocessor.h toimanager.h
|
---|
[1437] | 79 | $(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h
|
---|
| 80 | $(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h
|
---|
| 81 | $(AOBJ)toi.o: toi.cc toiprocessor.h config.h conf.h toi.h
|
---|
| 82 | $(AOBJ)toimanager.o: toimanager.cc toimanager.h
|
---|
| 83 | $(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h \
|
---|
[1462] | 84 | toimanager.h
|
---|
[1495] | 85 | $(AOBJ)genwproc.o: genwproc.h toiprocessor.h toimanager.h
|
---|
[1437] | 86 | $(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \
|
---|
[1462] | 87 | conf.h toi.h toimanager.h
|
---|
[1437] | 88 | $(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \
|
---|
[1462] | 89 | toiseqbuff.h
|
---|
[1464] | 90 | $(AOBJ)toiregwindow.o: toiregwindow.cc toiprocessor.h config.h conf.h toi.h \
|
---|
| 91 | toiregwindow.h
|
---|
[1442] | 92 | $(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \
|
---|
[1462] | 93 | simtoipr.h
|
---|
| 94 | $(AOBJ)map2toi.o: map2toi.cc map2toi.h
|
---|
| 95 | $(AOBJ)toi2map.o: toi2map.cc toi2map.h
|
---|
[1487] | 96 | $(AOBJ)nooppr.o: nooppr.cc nooppr.h
|
---|