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.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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++
Note: See TracChangeset for help on using the changeset viewer.