source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1668

Last change on this file since 1668 was 1668, checked in by cmv, 24 years ago

job de demo pour utilisateur cmv 05/10/01

File size: 5.0 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 $(AOBJ)sfftc.o $(AOBJ)mesovh.o \
18 $(AOBJ)fits2ascii.o $(AOBJ)tgenw.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o \
19 $(AOBJ)tstflag.o $(AOBJ)tstdemopipe.o
20EXELIST := $(AOBJ)sfftc $(AOBJ)simtst $(AOBJ)mesovh $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
21 $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tgenw $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map \
22 $(AOBJ)tstflag $(AOBJ)tstdemopipe
23
24INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
25 toiprocessor.h genwproc.h toimanager.h toiseqbuff.h toiregwindow.h \
26 simtoipr.h map2toi.h toi2map.h nooppr.h
27
28all : $(EXELIST)
29lib : $(LIBOLIST)
30
31clean:
32 rm -f $(LIBOLIST)
33 rm -f $(EXEOLIST)
34 rm -f $(EXELIST)
35
36LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
37LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm
38####ifeq ($(MACHEROS),OSF1)
39####LIBS := $(LIBS) -lfor
40####endif
41
42########################################
43#### Les Executables des Programmes ####
44########################################
45tstrztoi: $(AOBJ)tstrztoi
46 @echo done
47$(AOBJ)tstrztoi: $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(LIBOLIST)
48 $(LINK.cc) -o $@ $^ $(LIBS)
49
50sfftc: $(AOBJ)sfftc
51 @echo done
52$(AOBJ)sfftc: $(AOBJ)sfftc.o $(LIBOLIST)
53 $(LINK.cc) -o $@ $^ $(LIBS)
54
55mesovh: $(AOBJ)mesovh
56 @echo done
57$(AOBJ)mesovh: $(AOBJ)mesovh.o $(LIBOLIST)
58 $(LINK.cc) -o $@ $^ $(LIBS)
59
60simtst: $(AOBJ)simtst
61 @echo done
62$(AOBJ)simtst: $(AOBJ)simtst.o $(LIBOLIST)
63 $(LINK.cc) -o $@ $^ $(LIBS)
64
65fits2asc: $(AOBJ)fits2asc
66 @echo done
67$(AOBJ)fits2asc: $(AOBJ)fits2asc.o $(LIBOLIST)
68 $(LINK.cc) -o $@ $^ $(LIBS)
69
70tsttoi: $(AOBJ)tsttoi
71 @echo done
72$(AOBJ)tsttoi: $(AOBJ)tsttoi.o $(LIBOLIST)
73 $(LINK.cc) -o $@ $^ $(LIBS)
74
75tsttoi2: $(AOBJ)tsttoi2
76 @echo done
77$(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST)
78 $(LINK.cc) -o $@ $^ $(LIBS)
79
80fits2ascii: $(AOBJ)fits2ascii
81 @echo done
82$(AOBJ)fits2ascii: $(AOBJ)fits2ascii.o $(LIBOLIST)
83 $(LINK.cc) -o $@ $^ $(LIBS)
84
85tgenw: $(AOBJ)tgenw
86 @echo done
87$(AOBJ)tgenw: $(AOBJ)tgenw.o $(LIBOLIST)
88 $(LINK.cc) -o $@ $^ $(LIBS)
89
90tstmap2toi: $(AOBJ)tstmap2toi
91 @echo done
92$(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST)
93 $(LINK.cc) -o $@ $^ $(LIBS)
94
95tsttoi2map: $(AOBJ)tsttoi2map
96 @echo done
97$(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST)
98 $(LINK.cc) -o $@ $^ $(LIBS)
99
100tstflag: $(AOBJ)tstflag
101 @echo done
102$(AOBJ)tstflag: $(AOBJ)tstflag.o $(LIBOLIST)
103 $(LINK.cc) -o $@ $^ $(LIBS)
104
105tstdemopipe: $(AOBJ)tstdemopipe
106 @echo done
107$(AOBJ)tstdemopipe: $(AOBJ)tstdemopipe.o $(LIBOLIST)
108 $(LINK.cc) -o $@ $^ $(LIBS)
109
110################################################
111#### Compilation des Sources des Programmes ####
112################################################
113$(AOBJ)simtst.o: simtst.cc $(INCLIST)
114$(AOBJ)sfftc.o: sfftc.cc $(INCLIST)
115$(AOBJ)mesovh.o: mesovh.cc $(INCLIST)
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)
121$(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST)
122$(AOBJ)tgenw.o: tgenw.cc $(INCLIST)
123$(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST)
124$(AOBJ)tsttoi2map.o: tsttoi2map.cc $(INCLIST)
125$(AOBJ)tstflag.o: tstflag.cc $(INCLIST)
126$(AOBJ)tstdemopipe.o: tstdemopipe.cc $(INCLIST)
127
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
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
137$(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h toimanager.h
138$(AOBJ)genwproc.o: genwproc.h toiprocessor.h toimanager.h
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
143$(AOBJ)map2toi.o: map2toi.cc map2toi.h
144$(AOBJ)toi2map.o: toi2map.cc toi2map.h
145$(AOBJ)nooppr.o: nooppr.cc nooppr.h
Note: See TracBrowser for help on using the repository browser.