Changeset 635


Ignore:
Timestamp:
05/11/05 10:00:33 (19 years ago)
Author:
mar637
Message:

update to reflect /usr instead of /usr/local as default lib/incdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r465 r635  
    1 TARGET   := ../lib/_asap.so
     1TARGET   := _asap.so
     2ifndef CXX
     3   CXX      := g++
     4endif
     5CXXFLAGS := -O3 -fPIC
     6CXXFLAGS += -ansi
     7CXXFLAGS += -pedantic -Wno-long-long
    28
    3 ifdef NARRABRI_ASAP
    4 CXX      := /usr/bin/g++
    5 else
    6 CXX      := g++-3.2.3
    7 endif
    8 
    9 CXXFLAGS := -O -fPIC
    10 
    11 #CXXFLAGS += -ansi
    12 CXXFLAGS += -pedantic -Wno-long-long
    13 #CXXFLAGS += -Wall -Wno-parentheses
    14 
    15 CFITSIOLIB := /usr/local/lib/libcfitsio_lfs.a #-lcfitsio
    16 CFITSIOINC := -I/usr/local/include/cfitsio
     9CFITSIOROOT := /usr
     10# If aips++ is build with LFS
     11# CFITSIOLIB := /usr/local/lib/libcfitsio_lfs.a
     12CFITSIOINC := -I$(CFITSIOROOT)/include/cfitsio
     13CFITSIOLIB := -L$(CFITSIOROOT) -lcfitsio
    1714
    1815CASAROOT  := $(word 1, $(AIPSPATH))
     
    2421             -llattices -lfits -lmeasures -lmeasures_f \
    2522             -ltables -lscimath -lscimath_f -lcasa \
    26               $(CASALIB)/libwcs.a -lmir \
     23              $(CASALIB)/libwcs.a \
    2724             -lrpfits $(CFITSIOLIB) -llapack -lblas -lg2c
    2825
    29 LD        := g++-3.2.3
     26LD        := $(CXX)
    3027LDFLAGS   := -shared -Wl,--soname=$(TARGET)
    3128LDFLAGS   += -s
    3229
    33 BOOSTLIB  := /nfs/atapplic/boost/linux/lib/libboost_python2.3-gcc-mt.a
    34 BOOSTINC  := -I/usr/local/include/boost
     30BOOSTROOT := /usr
     31BOOSTLIB  := -L$(BOOSTROOT)/lib -lboost_python2.3
     32BOOSTINC  := -I$(BOOSTROOT)/include/boost
    3533
    36 
    37 PYTHONINC := -I/usr/local/include/python2.3
    38 PYTHONLIB := -lpython2.3
     34PYTHONROOT := /usr
     35PYTHONINC := -I$(PYTHONROOT)/include/python2.3
     36PYTHONLIB := -L$(PYTHONROOT)/lib -lpython2.3
    3937
    4038INCDIRS   := -I. $(CASAINC) $(BOOSTINC) $(PYTHONINC) $(CFITSIOINC)
Note: See TracChangeset for help on using the changeset viewer.