source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1504

Last change on this file since 1504 was 1496, checked in by ansari, 24 years ago

2eme version de genwproc + programme de test rz+cmv 16/5/2001

File size: 3.8 KB
Line 
1USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA
2include $(DPCBASEREP)/Include/MakefileUser.h
3
4ALIB := ./$(MACHDIR)/
5AOBJ := ./$(MACHDIR)/
6
7$(AOBJ)%.o:%.cc
8 $(COMPILE.cc) $(USERFLAGS) -o $@ $<
9$(AOBJ)%.o:%.c
10 $(COMPILE.c) $(CFLAGS) $(USERFLAGS) -o $@ $<
11
12LIBOLIST := $(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)simtoipr.o $(AOBJ)map2toi.o $(AOBJ)toi2map.o $(AOBJ)nooppr.o
16EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o $(AOBJ)simtst.o \
17 $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o \
18 $(AOBJ)fits2ascii.o $(AOBJ)tgenw.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o
19EXELIST := $(AOBJ)sfftc $(AOBJ)simtst $(AOBJ)mesovh $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
20 $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tgenw $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map
21
22INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
23 toiprocessor.h genwproc.h toimanager.h toiseqbuff.h toiregwindow.h \
24 simtoipr.h map2toi.h toi2map.h nooppr.h
25
26all : $(EXELIST)
27lib : $(LIBOLIST)
28
29clean:
30 rm -f $(LIBOLIST)
31 rm -f $(EXEOLIST)
32 rm -f $(EXELIST)
33
34LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
35LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm
36ifeq ($(MACHEROS),OSF1)
37LIBS := $(LIBS) -lfor
38endif
39
40
41$(AOBJ)tstrztoi: $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(LIBOLIST)
42 $(LINK.cc) -o $@ $^ $(LIBS)
43$(AOBJ)sfftc: $(AOBJ)sfftc.o $(LIBOLIST)
44 $(LINK.cc) -o $@ $^ $(LIBS)
45$(AOBJ)mesovh: $(AOBJ)mesovh.o $(LIBOLIST)
46 $(LINK.cc) -o $@ $^ $(LIBS)
47$(AOBJ)simtst: $(AOBJ)simtst.o $(LIBOLIST)
48 $(LINK.cc) -o $@ $^ $(LIBS)
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)
55$(AOBJ)fits2ascii: $(AOBJ)fits2ascii.o $(LIBOLIST)
56 $(LINK.cc) -o $@ $^ $(LIBS)
57$(AOBJ)tgenw: $(AOBJ)tgenw.o $(LIBOLIST)
58 $(LINK.cc) -o $@ $^ $(LIBS)
59$(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST)
60 $(LINK.cc) -o $@ $^ $(LIBS)
61$(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST)
62 $(LINK.cc) -o $@ $^ $(LIBS)
63
64$(AOBJ)simtst.o: simtst.cc $(INCLIST)
65$(AOBJ)sfftc.o: sfftc.cc $(INCLIST)
66$(AOBJ)mesovh.o: mesovh.cc $(INCLIST)
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)
72$(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST)
73$(AOBJ)tgenw.o: tgenw.cc $(INCLIST)
74$(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST)
75$(AOBJ)tsttoi2map.o: tsttoi2map.cc $(INCLIST)
76
77$(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \
78 toiprocessor.h toimanager.h
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 \
84 toimanager.h
85$(AOBJ)genwproc.o: genwproc.h toiprocessor.h toimanager.h
86$(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \
87 conf.h toi.h toimanager.h
88$(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \
89 toiseqbuff.h
90$(AOBJ)toiregwindow.o: toiregwindow.cc toiprocessor.h config.h conf.h toi.h \
91 toiregwindow.h
92$(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \
93 simtoipr.h
94$(AOBJ)map2toi.o: map2toi.cc map2toi.h
95$(AOBJ)toi2map.o: toi2map.cc toi2map.h
96$(AOBJ)nooppr.o: nooppr.cc nooppr.h
Note: See TracBrowser for help on using the repository browser.