source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1489

Last change on this file since 1489 was 1487, checked in by ansari, 24 years ago

Ajout NoOpProcessor (processeur qui ne fait rien) pour mesure perfo systeme - Reza 6/5/2001

File size: 3.6 KB
RevLine 
[1464]1USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA
[1437]2include $(DPCBASEREP)/Include/MakefileUser.h
3
[1462]4ALIB := ./$(MACHDIR)/
5AOBJ := ./$(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]12LIBOLIST := $(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 \
[1487]15 $(AOBJ)simtoipr.o $(AOBJ)map2toi.o $(AOBJ)toi2map.o $(AOBJ)nooppr.o
[1462]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)tstmap2toi.o $(AOBJ)tsttoi2map.o
[1487]19EXELIST := $(AOBJ)sfftc $(AOBJ)simtst $(AOBJ)mesovh $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
[1462]20 $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map
[1437]21
22INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
[1464]23 toiprocessor.h toimanager.h toiseqbuff.h toiregwindow.h \
[1487]24 simtoipr.h map2toi.h toi2map.h nooppr.h
[1437]25
26all : $(EXELIST)
[1462]27lib : $(LIBOLIST)
[1437]28
29clean:
30 rm -f $(LIBOLIST)
31 rm -f $(EXEOLIST)
32 rm -f $(EXELIST)
33
34LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
[1462]35LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm
[1437]36ifeq ($(MACHEROS),OSF1)
37LIBS := $(LIBS) -lfor
38endif
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)
57$(AOBJ)tstmap2toi: $(AOBJ)tstmap2toi.o $(LIBOLIST)
58 $(LINK.cc) -o $@ $^ $(LIBS)
59$(AOBJ)tsttoi2map: $(AOBJ)tsttoi2map.o $(LIBOLIST)
60 $(LINK.cc) -o $@ $^ $(LIBS)
[1437]61
[1484]62$(AOBJ)simtst.o: simtst.cc $(INCLIST)
63$(AOBJ)sfftc.o: sfftc.cc $(INCLIST)
[1487]64$(AOBJ)mesovh.o: mesovh.cc $(INCLIST)
[1437]65$(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST)
66$(AOBJ)rztoi.o: rztoi.cc rztoi.h $(INCLIST)
67$(AOBJ)fits2asc.o: fits2asc.cc $(INCLIST)
68$(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST)
69$(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST)
[1462]70$(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST)
71$(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST)
[1484]72$(AOBJ)tsttoi2map.o: tsttoi2map.cc $(INCLIST)
[1437]73
74$(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \
[1462]75 toiprocessor.h toimanager.h
[1437]76$(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h
77$(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h
78$(AOBJ)toi.o: toi.cc toiprocessor.h config.h conf.h toi.h
79$(AOBJ)toimanager.o: toimanager.cc toimanager.h
80$(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h \
[1462]81 toimanager.h
[1437]82$(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \
[1462]83 conf.h toi.h toimanager.h
[1437]84$(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \
[1462]85 toiseqbuff.h
[1464]86$(AOBJ)toiregwindow.o: toiregwindow.cc toiprocessor.h config.h conf.h toi.h \
87 toiregwindow.h
[1442]88$(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \
[1462]89 simtoipr.h
90$(AOBJ)map2toi.o: map2toi.cc map2toi.h
91$(AOBJ)toi2map.o: toi2map.cc toi2map.h
[1487]92$(AOBJ)nooppr.o: nooppr.cc nooppr.h
Note: See TracBrowser for help on using the repository browser.