Changeset 1455
- Timestamp:
- 12/12/08 12:07:23 (16 years ago)
- Location:
- branches/alma
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/Makefile
r1454 r1455 1 ### Notice: 2 ### This Makefile assumes CASA+CASACore enviroment. 3 ### For who wants to build ASAP with older CASA without CASACore 4 ### environment, replace $(CASAPATH) with $(AIPSPATH). 1 5 PREFIX := /opt/casa/darwin 2 6 #PREFIX := /export/home/minor/casa/active/linux_gnu … … 12 16 BINS := bin/asap 13 17 14 CASAROOT := $(word 1, $( AIPSPATH))15 PLATFORM := $(word 2, $( AIPSPATH))18 CASAROOT := $(word 1, $(CASAPATH)) 19 PLATFORM := $(word 2, $(CASAPATH)) 16 20 DISTDIR := asap_$(PLATFORM) 17 21 -
branches/alma/src/Makefile
r1446 r1455 1 ### Notice: 2 ### This Makefile assumes CASA+CASACore enviroment. 3 ### For who wants to build ASAP with older CASA without CASACore, 4 ### 1. Replace $(CASAPATH) with $(AIPSPATH). 5 ### 2. CASAINC should be 6 ### '-I$(CASAROOT)/code/include -I$(CASAROOT)/code/casa' 7 ### 3. Replase library names in G2CARCH '-lcasa_*' with '-l*'. 8 ### 4. Comment-IN the definition of 'CXXOPTS'. 1 9 TARGET := /tmp/_asap.so 2 10 3 11 # the casa environment AIPSPATH has to be defined 4 CASAROOT := $(word 1, $( AIPSPATH))5 CASAARCH := $(word 2, $( AIPSPATH))6 CASAINC := -I$(CASAROOT)/code/include -I$(CASAROOT)/ code/casa12 CASAROOT := $(word 1, $(CASAPATH)) 13 CASAARCH := $(word 2, $(CASAPATH)) 14 CASAINC := -I$(CASAROOT)/code/include -I$(CASAROOT)/$(CASAARCH)/include/casacore -I$(CASAROOT)/$(CASAARCH)/include 7 15 CASALIB := $(CASAROOT)/$(CASAARCH)/lib 8 16 … … 16 24 CXXFLAGS := -fPIC -O3 -g 17 25 CXXFLAGS += -ansi -Wno-long-long -Wall 18 CXXOPTS := -DAIPS_NO_TEMPLATE_SRC26 #CXXOPTS := -DAIPS_NO_TEMPLATE_SRC 19 27 20 28 # darwin specific flags … … 38 46 G2CARCH := $(G2CROOT)/lib/gcc/i386-apple-darwin8.7.1/4.2.0/libgcc.a 39 47 G2CARCH := $(G2CROOT)/lib/gcc/powerpc-apple-darwin8.7.0/4.2.0/libgcc.a 48 G2CARCH := $(G2CROOT)/lib/gcc/i386-redhat-linux/4.1.0/libgcc.a 40 49 #G2CLIB := $(G2CROOT)/lib/libgfortran.a 41 50 G2CLIB := -lg2c … … 44 53 # if not than there might by symbol resolution errors. 45 54 CASAPPLIB := -L$(CASALIB) \ 46 -latnf -l images -lms -lcomponents -lcoordinates \47 -l lattices -lfits -lmeasures -lmeasures_f \48 -l tables -lscimath -lscimath_f -lcasa \55 -latnf -lcasa_images -lcasa_ms -lcasa_components -lcasa_coordinates \ 56 -lcasa_lattices -lcasa_fits -lcasa_measures -lcasa_measures_f \ 57 -lcasa_tables -lcasa_scimath -lcasa_scimath_f -lcasa_casa \ 49 58 $(CASALIB)/libwcs.a \ 50 59 $(RPFITSLIB) $(CFITSIOLIB) $(G2CLIB) -lstdc++ -
branches/alma/src/Templates.cpp
r1446 r1455 33 33 #include <casa/aips.h> 34 34 #include <casa/namespace.h> 35 #include <casa/Exceptions/Error. cc>36 #include <casa/Utilities/CountedPtr. cc>35 #include <casa/Exceptions/Error.h> 36 #include <casa/Utilities/CountedPtr.h> 37 37 38 38 template class casa::CountedConstPtr<asap::Scantable>; … … 45 45 template class casa::SimpleCountedPtr<asap::STPol>; 46 46 47 #include <casa/Arrays/ArrayLogical. cc>48 #include <casa/Arrays/ArrayMath. cc>49 #include <casa/Arrays/MaskArrMath. cc>50 #include <casa/Arrays/MaskedArray. cc>47 #include <casa/Arrays/ArrayLogical.h> 48 #include <casa/Arrays/ArrayMath.h> 49 #include <casa/Arrays/MaskArrMath.h> 50 #include <casa/Arrays/MaskedArray.h> 51 51 #include <casa/Arrays/Array.h> 52 #include <casa/Arrays/Array.cc>53 52 #include <casa/Arrays/Vector.h> 54 #include <casa/Utilities/BinarySearch. cc>55 #include <coordinates/Coordinates/FrequencyAligner. cc>53 #include <casa/Utilities/BinarySearch.h> 54 #include <coordinates/Coordinates/FrequencyAligner.h> 56 55 #include <lattices/Lattices/Lattice.h> 57 #include <lattices/Lattices/LatticeUtilities. cc>58 #include <scimath/Mathematics/InterpolateArray1D. cc>59 #include <tables/Tables/BaseMappedArrayEngine. cc>56 #include <lattices/Lattices/LatticeUtilities.h> 57 #include <scimath/Mathematics/InterpolateArray1D.h> 58 #include <tables/Tables/BaseMappedArrayEngine.h> 60 59 #include <tables/Tables/TableVector.h> 61 #include <tables/Tables/TVec.cc> 62 #include <tables/Tables/TableVector.cc> 63 #include <tables/Tables/TVecScaCol.cc> 64 #include <tables/Tables/TVecTemp.cc> 60 #include <tables/Tables/TVec.h> 61 #include <tables/Tables/TVecScaCol.h> 62 #include <tables/Tables/TVecTemp.h> 65 63 //#include <tables/Tables/TVecMath.h> 66 64
Note:
See TracChangeset
for help on using the changeset viewer.