Changeset 2763 in Sophya for trunk/SophyaExt/XAstroPack
- Timestamp:
- May 24, 2005, 7:19:29 PM (20 years ago)
- Location:
- trunk/SophyaExt/XAstroPack
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XAstroPack/Makefile
r2751 r2763 1 1 include ../BuildMgr/sophyamake.inc 2 2 3 3 all: $(SOPHYALIBP)libXAstroPack.a 4 5 clean: cleantest 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstxastro.o \ 7 $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 4 5 clean: 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstmollweide.o $(SOPHYAOBJP)tstxastro.o $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 8 7 rm -f $(SOPHYALIBP)libXAstroPack.a 9 10 cleantest:11 rm -f *.o tstxastro tstmollweide mollw.data mollw2.data12 13 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o \14 $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o15 $(AR) $(ARFLAGS) $@ $?16 8 17 $(SOPHYAOBJP)mollweide.o: mollweide.cc mollweide.h 9 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o 10 $(AR) $(ARFLAGS) $@ $? 11 touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist 12 13 $(SOPHYAOBJP)mollweide.o: mollweide.cc \ 14 $(SOPHYAINCP)sopnamsp.h \ 15 mollweide.h 18 16 $(CXXCOMPILELIB) -o $@ $< 19 20 $(SOPHYAOBJP)xastropack.o: xastropack.cc xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 17 18 $(SOPHYAOBJP)xastropack.o: xastropack.cc \ 19 $(SOPHYAINCP)sopnamsp.h \ 20 xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 23 23 $(CXXCOMPILELIB) -o $@ $< 24 24 25 25 $(SOPHYAOBJP)magfield.o: magfield.c magfield.h 26 26 $(CCOMPILE) -o $@ $< 27 28 #--------------------- 29 tstxastro: tstxastro.o $(SOPHYAOBJP)xastropack.o 30 $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -lxastro -lc -lm 31 32 tstxastro.o: tstxastro.cc 33 $(CXXCOMPILEPROG) -o $@ $< 34 35 #--------------------- 36 tstmollweide: tstmollweide.o $(SOPHYAOBJP)mollweide.o 37 $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -lxastro -lc -lm 38 39 tstmollweide.o: tstmollweide.cc 40 $(CXXCOMPILEPROG) -o $@ $< 27 -
trunk/SophyaExt/XAstroPack/Maketest
r2437 r2763 1 MODULECXXREPNAME := CmvTests 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $(SOPHYABASEREP)/Include/MakefileUser.h 1 include $(SOPHYABASE)/include/sophyamake.inc 4 2 5 LIBNEED := -L$(SLB) -lsophya -L$(LIB) -lFitsIOServer -L$(EXTLIBPATH) -lcfitsio 6 7 all: tstxastro mollweide 3 all: tstxastro tstmollweide 8 4 9 5 clean: 10 rm -f tstxastro mollweide 11 rm -f core *.o 12 rm -f mollw.data mollw2.data paw.metafile last.kumacold 6 rm -f *.o tstxastro tstmollweide mollw.data mollw2.data 13 7 14 ############################################################################## 15 tstxastro: tstxastro.o xastropack.o 16 $(LINK.cc) $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS) 8 #--------------------- 9 tstxastro: tstxastro.o 10 $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm 11 17 12 tstxastro.o: tstxastro.cc 18 xastropack.o: xastropack.cc 19 ############################################################################## 20 mollweide: mollweide.o 21 $(LINK.cc) -DTEST_MOLLWEIDE $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS) 22 mollweide.o: mollweide.cc mollweide.h 23 $(COMPILE.cc) -DTEST_MOLLWEIDE -o $@ $< 24 ############################################################################## 13 $(CXXCOMPILE) -o $@ $< 14 15 #--------------------- 16 tstmollweide: tstmollweide.o 17 $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm 18 19 tstmollweide.o: tstmollweide.cc 20 $(CXXCOMPILE) -o $@ $< -
trunk/SophyaExt/XAstroPack/smakefile
r2751 r2763 1 1 include $(SOPHYABASE)/include/sophyamake.inc 2 2 3 3 all: $(SOPHYALIBP)libXAstroPack.a 4 5 clean: cleantest 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstxastro.o \ 7 $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 4 5 clean: 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstmollweide.o $(SOPHYAOBJP)tstxastro.o $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 8 7 rm -f $(SOPHYALIBP)libXAstroPack.a 9 10 cleantest:11 rm -f *.o tstxastro tstmollweide mollw.data mollw2.data12 13 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o \14 $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o15 $(AR) $(ARFLAGS) $@ $?16 8 17 $(SOPHYAOBJP)mollweide.o: mollweide.cc mollweide.h 9 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o 10 $(AR) $(ARFLAGS) $@ $? 11 touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist 12 13 $(SOPHYAOBJP)mollweide.o: mollweide.cc \ 14 $(SOPHYAINCP)sopnamsp.h \ 15 mollweide.h 18 16 $(CXXCOMPILELIB) -o $@ $< 19 20 $(SOPHYAOBJP)xastropack.o: xastropack.cc xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 17 18 $(SOPHYAOBJP)xastropack.o: xastropack.cc \ 19 $(SOPHYAINCP)sopnamsp.h \ 20 xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 23 23 $(CXXCOMPILELIB) -o $@ $< 24 24 25 25 $(SOPHYAOBJP)magfield.o: magfield.c magfield.h 26 26 $(CCOMPILE) -o $@ $< 27 28 #--------------------- 29 tstxastro: tstxastro.o $(SOPHYAOBJP)xastropack.o 30 $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -lxastro -lc -lm 31 32 tstxastro.o: tstxastro.cc 33 $(CXXCOMPILEPROG) -o $@ $< 34 35 #--------------------- 36 tstmollweide: tstmollweide.o $(SOPHYAOBJP)mollweide.o 37 $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -lxastro -lc -lm 38 39 tstmollweide.o: tstmollweide.cc 40 $(CXXCOMPILEPROG) -o $@ $< 27
Note:
See TracChangeset
for help on using the changeset viewer.