- Timestamp:
- 05/11/05 10:00:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r465 r635 1 TARGET := ../lib/_asap.so 1 TARGET := _asap.so 2 ifndef CXX 3 CXX := g++ 4 endif 5 CXXFLAGS := -O3 -fPIC 6 CXXFLAGS += -ansi 7 CXXFLAGS += -pedantic -Wno-long-long 2 8 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 9 CFITSIOROOT := /usr 10 # If aips++ is build with LFS 11 # CFITSIOLIB := /usr/local/lib/libcfitsio_lfs.a 12 CFITSIOINC := -I$(CFITSIOROOT)/include/cfitsio 13 CFITSIOLIB := -L$(CFITSIOROOT) -lcfitsio 17 14 18 15 CASAROOT := $(word 1, $(AIPSPATH)) … … 24 21 -llattices -lfits -lmeasures -lmeasures_f \ 25 22 -ltables -lscimath -lscimath_f -lcasa \ 26 $(CASALIB)/libwcs.a -lmir\23 $(CASALIB)/libwcs.a \ 27 24 -lrpfits $(CFITSIOLIB) -llapack -lblas -lg2c 28 25 29 LD := g++-3.2.326 LD := $(CXX) 30 27 LDFLAGS := -shared -Wl,--soname=$(TARGET) 31 28 LDFLAGS += -s 32 29 33 BOOSTLIB := /nfs/atapplic/boost/linux/lib/libboost_python2.3-gcc-mt.a 34 BOOSTINC := -I/usr/local/include/boost 30 BOOSTROOT := /usr 31 BOOSTLIB := -L$(BOOSTROOT)/lib -lboost_python2.3 32 BOOSTINC := -I$(BOOSTROOT)/include/boost 35 33 36 37 PYTHONINC := -I /usr/local/include/python2.338 PYTHONLIB := - lpython2.334 PYTHONROOT := /usr 35 PYTHONINC := -I$(PYTHONROOT)/include/python2.3 36 PYTHONLIB := -L$(PYTHONROOT)/lib -lpython2.3 39 37 40 38 INCDIRS := -I. $(CASAINC) $(BOOSTINC) $(PYTHONINC) $(CFITSIOINC)
Note:
See TracChangeset
for help on using the changeset viewer.