Changeset 684 for trunk/src/Makefile
- Timestamp:
- 09/22/05 12:06:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r655 r684 1 TARGET := _asap.so1 TARGET := /tmp/_asap.so 2 2 ifndef CXX 3 3 CXX := g++ … … 6 6 CXXFLAGS += -ansi 7 7 CXXFLAGS += -pedantic -Wno-long-long 8 CXXOPTS := -DAIPS_NO_TEMPLATE_SRC 8 9 9 10 CFITSIOROOT := /usr/local If aips++ is build with LFS you need to have 10 11 # libcfitsio with lfs support 11 # CFITSIOLIB := /usr/local/lib/libcfitsio_lfs.a 12 CFITSIOINC := -I$(CFITSIOROOT)/include/cfitsio 13 CFITSIOLIB := -L$(CFITSIOROOT) -lcfitsio 12 CFITSIOLIB := /usr/local/lib/libcfitsio_lfs.a 13 #CFITSIOINC := -I$(CFITSIOROOT)/include/cfitsio 14 #CFITSIOLIB := -L$(CFITSIOROOT) -lcfitsio 15 14 16 15 17 CASAROOT := $(word 1, $(AIPSPATH)) 16 18 CASAARCH := $(word 2, $(AIPSPATH)) 17 CASAINC := -I$(CASAROOT)/code/include 19 CASAINC := -I$(CASAROOT)/code/include -I$(CASAROOT)/code/casa/wcslib 18 20 CASALIB := $(CASAROOT)/$(CASAARCH)/lib 21 22 19 23 # This assumes all casa libs are static only (*.a) 20 24 # if not than there might by symbol resolution errors. … … 23 27 -latnf -limages -lms -lcomponents -lcoordinates \ 24 28 -llattices -lfits -lmeasures -lmeasures_f \ 25 -ltables -lscimath -lscimath_f -lcasa -lwcs \ 29 -ltables -lscimath -lscimath_f -lcasa \ 30 $(CASALIB)/libwcs.a \ 26 31 -lrpfits $(CFITSIOLIB) -dy -llapack -lblas -lg2c 27 32 … … 36 41 37 42 BOOSTROOT := /usr 38 BOOSTLIB := -L$(BOOSTROOT)/lib -lboost_python $(PYVERSION)43 BOOSTLIB := -L$(BOOSTROOT)/lib -lboost_python 39 44 BOOSTINC := -I$(BOOSTROOT)/include/boost 40 45 … … 97 102 .cpp.o: 98 103 -@ echo 99 $(CXX) -c $(CXXFLAGS) $(INCDIRS) -o $@ $<104 $(CXX) $(CXXOPTS) -c $(CXXFLAGS) $(INCDIRS) -o $@ $< 100 105 101 106 .cc.o: 102 107 -@ echo 103 $(CXX) -c $(CXXFLAGS) $(INCDIRS) -o $@ $<108 $(CXX) $(CXXOPTS) -c $(CXXFLAGS) $(INCDIRS) -o $@ $< 104 109 105 110 .cxx.o: 106 111 -@ echo 107 $(CXX) -c $(CXXFLAGS) $(INCDIRS) -o $@ $<112 $(CXX) $(CXXOPTS) -c $(CXXFLAGS) $(INCDIRS) -o $@ $< 108 113 109 114 .C.o: 110 115 -@ echo 111 $(CXX) -c $(CXXFLAGS) $(INCDIRS) -o $@ $<116 $(CXX) $(CXXOPTS) -c $(CXXFLAGS) $(INCDIRS) -o $@ $< 112 117 113 118
Note:
See TracChangeset
for help on using the changeset viewer.