source: Sophya/trunk/ArchTOIPipe/SMakefile@ 1437

Last change on this file since 1437 was 1437, checked in by ansari, 25 years ago

Protections diverses dans TOIProcessor et FITSTOIReader/Writer
Ajout d'un TOI (TOISeqBuffered) avec gestion d'un buffer entre put/get
Ajout de processeurs de test (RZTOIProc...) , programme test associe
et SMakefile (pour compil avec SOPHYA)

Reza 12/3/2001

File size: 2.2 KB
Line 
1USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA
2include $(DPCBASEREP)/Include/MakefileUser.h
3
4ALIB := ./Objs/
5AOBJ := ./Objs/
6
7$(AOBJ)%.o:%.cc
8 $(COMPILE.cc) $(USERFLAGS) -o $@ $<
9$(AOBJ)%.o:%.c
10 $(COMPILE.c) -c $(CFLAGS) $(USERFLAGS) -o $@ $<
11
12LIBOLIST := $(AOBJ)asciitoiwtr.o $(AOBJ)fitstoirdr.o $(AOBJ)fitstoiwtr.o $(AOBJ)toi.o $(AOBJ)toimanager.o $(AOBJ)toiprocessor.o $(AOBJ)toisqfilter.o \
13$(AOBJ)toiseqbuff.o
14EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o
15EXELIST := $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi $(AOBJ)tsttoi2
16
17INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \
18 toiprocessor.h toimanager.h toiseqbuff.h
19
20
21all : $(EXELIST)
22
23clean:
24 rm -f $(LIBOLIST)
25 rm -f $(EXEOLIST)
26 rm -f $(EXELIST)
27# rm -f $(AOBJ)asciitoiwtr.o $(AOBJ)fitstoirdr.o $(AOBJ)fitstoiwtr.o $(AOBJ)toi.o $(AOBJ)toimanager.o $(AOBJ)toiprocessor.o $(AOBJ)toisqfilter.o $(AOBJ)tsttoi.o
28
29LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so
30LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm
31ifeq ($(MACHEROS),OSF1)
32LIBS := $(LIBS) -lfor
33endif
34
35
36$(AOBJ)tstrztoi: $(AOBJ)tstrztoi.o $(AOBJ)rztoi.o $(LIBOLIST)
37 $(LINK.cc) -o $@ $^ $(LIBS)
38$(AOBJ)fits2asc: $(AOBJ)fits2asc.o $(LIBOLIST)
39 $(LINK.cc) -o $@ $^ $(LIBS)
40$(AOBJ)tsttoi: $(AOBJ)tsttoi.o $(LIBOLIST)
41 $(LINK.cc) -o $@ $^ $(LIBS)
42$(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST)
43 $(LINK.cc) -o $@ $^ $(LIBS)
44
45$(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST)
46$(AOBJ)rztoi.o: rztoi.cc rztoi.h $(INCLIST)
47$(AOBJ)fits2asc.o: fits2asc.cc $(INCLIST)
48$(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST)
49$(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST)
50
51
52$(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \
53 toiprocessor.h toimanager.h
54$(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h
55$(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h
56$(AOBJ)toi.o: toi.cc toiprocessor.h config.h conf.h toi.h
57$(AOBJ)toimanager.o: toimanager.cc toimanager.h
58$(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h \
59 toimanager.h
60$(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \
61 conf.h toi.h toimanager.h
62$(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \
63toiseqbuff.h
Note: See TracBrowser for help on using the repository browser.