Changeset 1455


Ignore:
Timestamp:
12/12/08 12:07:23 (16 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready to Release: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Description: This committion is on behalf of Takeshi.

Updated environmental variable and library pathes in Makefiles
for CASA+CASACore software.
Changed include files in Template.cpp for CASA+CASACore software.


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).
    15PREFIX := /opt/casa/darwin
    26#PREFIX := /export/home/minor/casa/active/linux_gnu
     
    1216BINS := bin/asap
    1317
    14 CASAROOT  := $(word 1, $(AIPSPATH))
    15 PLATFORM  := $(word 2, $(AIPSPATH))
     18CASAROOT  := $(word 1, $(CASAPATH))
     19PLATFORM  := $(word 2, $(CASAPATH))
    1620DISTDIR   := asap_$(PLATFORM)
    1721
  • 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'.
    19TARGET   := /tmp/_asap.so
    210
    311# 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/casa
     12CASAROOT  := $(word 1, $(CASAPATH))
     13CASAARCH  := $(word 2, $(CASAPATH))
     14CASAINC   := -I$(CASAROOT)/code/include -I$(CASAROOT)/$(CASAARCH)/include/casacore -I$(CASAROOT)/$(CASAARCH)/include
    715CASALIB   := $(CASAROOT)/$(CASAARCH)/lib
    816
     
    1624CXXFLAGS := -fPIC -O3 -g
    1725CXXFLAGS += -ansi -Wno-long-long -Wall
    18 CXXOPTS := -DAIPS_NO_TEMPLATE_SRC
     26#CXXOPTS := -DAIPS_NO_TEMPLATE_SRC
    1927
    2028# darwin specific flags
     
    3846G2CARCH := $(G2CROOT)/lib/gcc/i386-apple-darwin8.7.1/4.2.0/libgcc.a
    3947G2CARCH := $(G2CROOT)/lib/gcc/powerpc-apple-darwin8.7.0/4.2.0/libgcc.a
     48G2CARCH := $(G2CROOT)/lib/gcc/i386-redhat-linux/4.1.0/libgcc.a
    4049#G2CLIB := $(G2CROOT)/lib/libgfortran.a
    4150G2CLIB := -lg2c
     
    4453# if not than there might by symbol resolution errors.
    4554CASAPPLIB := -L$(CASALIB) \
    46              -latnf -limages -lms -lcomponents -lcoordinates \
    47              -llattices -lfits -lmeasures -lmeasures_f \
    48              -ltables -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  \
    4958             $(CASALIB)/libwcs.a \
    5059             $(RPFITSLIB) $(CFITSIOLIB) $(G2CLIB) -lstdc++
  • branches/alma/src/Templates.cpp

    r1446 r1455  
    3333#include <casa/aips.h>
    3434#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>
    3737
    3838template class casa::CountedConstPtr<asap::Scantable>;
     
    4545template class casa::SimpleCountedPtr<asap::STPol>;
    4646
    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>
    5151#include <casa/Arrays/Array.h>
    52 #include <casa/Arrays/Array.cc>
    5352#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>
    5655#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>
    6059#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>
    6563//#include <tables/Tables/TVecMath.h>
    6664
Note: See TracChangeset for help on using the changeset viewer.