source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1837

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

intro des toisegmented + constructeur avec char* pour compat cmv 15/10/01

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