Changeset 1462 in Sophya for trunk/ArchTOIPipe/SMakefile
- Timestamp:
- Apr 10, 2001, 6:35:25 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/SMakefile
r1442 r1462 1 USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA 1 # USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO -DWITH_SOPHYA 2 USERFLAGS = -I$(EXTLIBDIR)/Include/FitsIO 2 3 include $(DPCBASEREP)/Include/MakefileUser.h 3 4 ALIB := ./ Objs/5 AOBJ := ./ Objs/4 5 ALIB := ./$(MACHDIR)/ 6 AOBJ := ./$(MACHDIR)/ 6 7 7 8 $(AOBJ)%.o:%.cc 8 $(COMPILE.cc) 9 $(COMPILE.cc) $(USERFLAGS) -o $@ $< 9 10 $(AOBJ)%.o:%.c 10 $(COMPILE.c) -c$(CFLAGS) $(USERFLAGS) -o $@ $<11 $(COMPILE.c) $(CFLAGS) $(USERFLAGS) -o $@ $< 11 12 12 LIBOLIST := $(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 $(AOBJ)simtoipr.o 14 EXEOLIST := $(AOBJ)fits2asc.o $(AOBJ)tsttoi.o $(AOBJ)tsttoi2.o 15 EXELIST := $(AOBJ)simtst $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi $(AOBJ)tsttoi2 13 LIBOLIST := $(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 17 EXEOLIST := $(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 20 EXELIST := $(AOBJ)simtst $(AOBJ)tstrztoi $(AOBJ)fits2asc $(AOBJ)tsttoi \ 21 $(AOBJ)tsttoi2 $(AOBJ)fits2ascii $(AOBJ)tstmap2toi $(AOBJ)tsttoi2map 16 22 17 23 INCLIST := asciitoiwtr.h fitstoirdr.h fitstoiwtr.h toi.h config.h conf.h \ 18 toiprocessor.h toimanager.h toiseqbuff.h simtoipr.h 19 24 toiprocessor.h toimanager.h toiseqbuff.h simtoipr.h map2toi.h toi2map.h 20 25 21 26 all : $(EXELIST) 27 lib : $(LIBOLIST) 22 28 23 29 clean: … … 25 31 rm -f $(EXEOLIST) 26 32 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.o28 33 29 34 LIBF = $(SLB)libsophya.so $(SLB)libextsophya.so 30 LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm35 LIBS = -L$(SLB) -lextsophya -lsophya -lpthread -lm 31 36 ifeq ($(MACHEROS),OSF1) 32 37 LIBS := $(LIBS) -lfor … … 44 49 $(AOBJ)tsttoi2: $(AOBJ)tsttoi2.o $(LIBOLIST) 45 50 $(LINK.cc) -o $@ $^ $(LIBS) 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) 46 57 47 58 $(AOBJ)tstrztoi.o: tstrztoi.cc rztoi.h $(INCLIST) … … 50 61 $(AOBJ)tsttoi.o: tsttoi.cc $(INCLIST) 51 62 $(AOBJ)tsttoi2.o: tsttoi2.cc $(INCLIST) 63 $(AOBJ)fits2ascii.o: fits2ascii.cc $(INCLIST) 64 $(AOBJ)tstmap2toi.o: tstmap2toi.cc $(INCLIST) 65 $(AOBJ)tsttoi2toi.o: tsttoi2map.cc $(INCLIST) 52 66 53 54 67 $(AOBJ)asciitoiwtr.o: asciitoiwtr.cc asciitoiwtr.h toi.h config.h conf.h \ 55 toiprocessor.h toimanager.h68 toiprocessor.h toimanager.h 56 69 $(AOBJ)fitstoirdr.o: fitstoirdr.cc fitstoirdr.h toiprocessor.h config.h conf.h 57 70 $(AOBJ)fitstoiwtr.o: fitstoiwtr.cc fitstoiwtr.h toi.h config.h conf.h … … 59 72 $(AOBJ)toimanager.o: toimanager.cc toimanager.h 60 73 $(AOBJ)toiprocessor.o: toiprocessor.cc toiprocessor.h config.h conf.h toi.h \ 61 toimanager.h74 toimanager.h 62 75 $(AOBJ)toisqfilter.o: toisqfilter.cc toisqfilter.h toiprocessor.h config.h \ 63 conf.h toi.h toimanager.h76 conf.h toi.h toimanager.h 64 77 $(AOBJ)toiseqbuff.o: toiseqbuff.cc toiprocessor.h config.h conf.h toi.h \ 65 toiseqbuff.h78 toiseqbuff.h 66 79 $(AOBJ)simtoipr.o: simtoipr.cc toiprocessor.h config.h conf.h toi.h \ 67 simtoipr.h 80 simtoipr.h 81 $(AOBJ)map2toi.o: map2toi.cc map2toi.h 82 $(AOBJ)toi2map.o: toi2map.cc toi2map.h
Note:
See TracChangeset
for help on using the changeset viewer.