source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1462

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

changement getData... intermediaire NE COMPILE PAS cmv+rz 10/4/2001

File size: 3.2 KB
RevLine 
[1462]1# USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA
2USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO
[1437]3include $(DPCBASEREP)/Include/MakefileUser.h
4
[1462]5ALIB := ./$(MACHDIR)/
6AOBJ := ./$(MACHDIR)/
7
[1437]8$(AOBJ)%.o:%.cc
[1462]9 $(COMPILE.cc) $(USERFLAGS) -o $@ $<
[1437]10$(AOBJ)%.o:%.c
[1462]11 $(COMPILE.c) $(CFLAGS) $(USERFLAGS) -o $@ $<
[1437]12
[1462]13LIBOLIST := $(AOBJ)asciitoiwtr.o $(AOBJ)fitstoirdr.o $(AOBJ)fitstoiwtr.o \
14 $(AOBJ)toi.o $(AOBJ)toimanager.o $(AOBJ)toiprocessor.o \
15 $(AOBJ)toisqfilter.o $(AOBJ)toiseqbuff.o $(AOBJ)simtoipr.o \
16 $(AOBJ)map2toi.o $(AOBJ)toi2map.o
17EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o $(AOBJ)simtst.o \
18 $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o \
19 $(AOBJ)fits2ascii.o $(AOBJ)tstmap2toi.o $(AOBJ)tsttoi2map.o
20EXELIST := $(AOBJ)simtst $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \
21 $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map
[1437]22
23INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
[1462]24 toiprocessor.h toimanager.h toiseqbuff.h simtoipr.h map2toi.h toi2map.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)
[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
[1442]79$(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \
[1462]80 simtoipr.h
81$(AOBJ)map2toi.o: map2toi.cc map2toi.h
82$(AOBJ)toi2map.o: toi2map.cc toi2map.h
Note: See TracBrowser for help on using the repository browser.