- Timestamp:
- 11/11/10 20:27:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r1915 r1951 46 46 CXXFLAGS += -fPIC -DHAVE_LIBPYRAP 47 47 48 PYRAPD := $(ASAPROOT)/external/libpyrap49 PYRAPLIBD := $( PYRAPD)50 PYRAPINCD := $( PYRAPD)/pyrap-0.3.248 PYRAPD := external/libpyrap 49 PYRAPLIBD := $(ASAPROOT)/$(PYRAPD) 50 PYRAPINCD := $(ASAPROOT)/$(PYRAPD)/pyrap-0.3.2 51 51 PYRAPLIB := -L$(PYRAPLIBD) -lpyrap 52 52 … … 181 181 AsapLogSink.h 182 182 183 184 # external libraries 185 ifeq ($(shell uname), Darwin) 186 ATNF := $(ASAPROOT)/$(ATNFD)/libatnf.dylib 187 PYRAP := $(ASAPROOT)/$(PYRAPD)/libpyrap.dylib 188 CASACORELIB = $(CASALIB)/libcasa_casa.dylib \ 189 $(CASALIB)/libcasa_components.dylib \ 190 $(CASALIB)/libcasa_coordinates.dylib \ 191 $(CASALIB)/libcasa_derivedmscal.dylib \ 192 $(CASALIB)/libcasa_fits.dylib \ 193 $(CASALIB)/libcasa_images.dylib \ 194 $(CASALIB)/libcasa_lattices.dylib \ 195 $(CASALIB)/libcasa_measures.dylib \ 196 $(CASALIB)/libcasa_mirlib.dylib \ 197 $(CASALIB)/libcasa_msfits.dylib \ 198 $(CASALIB)/libcasa_ms.dylib \ 199 $(CASALIB)/libcasa_scimath_f.dylib \ 200 $(CASALIB)/libcasa_scimath.dylib \ 201 $(CASALIB)/libcasa_tables.dylib 202 else 203 ATNF := $(ASAPROOT)/$(ATNFD)/libatnf.so 204 PYRAP := $(ASAPROOT)/$(PYRAPD)/libpyrap.so 205 CASACORELIB = $(CASALIB)/libcasa_casa.so \ 206 $(CASALIB)/libcasa_components.so \ 207 $(CASALIB)/libcasa_coordinates.so \ 208 $(CASALIB)/libcasa_derivedmscal.so \ 209 $(CASALIB)/libcasa_fits.so \ 210 $(CASALIB)/libcasa_images.so \ 211 $(CASALIB)/libcasa_lattices.so \ 212 $(CASALIB)/libcasa_measures.so \ 213 $(CASALIB)/libcasa_mirlib.so \ 214 $(CASALIB)/libcasa_msfits.so \ 215 $(CASALIB)/libcasa_ms.so \ 216 $(CASALIB)/libcasa_scimath_f.so \ 217 $(CASALIB)/libcasa_scimath.so \ 218 $(CASALIB)/libcasa_tables.so 219 endif 220 183 221 STATICCCLIB := libasap.a 184 222 MEMBERS := $(patsubst %,$(STATICCCLIB)(%),$(CCOBJECTS)) … … 209 247 relink : cleanso $(TARGET) 210 248 211 objects : $(OBJECTS) 249 objects : $(OBJECTS) 212 250 213 251 $(TARGET) : $(OBJECTS) … … 215 253 $(LD) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) 216 254 217 $(OBJECTS) : $(HEADERS) 255 $(OBJECTS) : $(HEADERS) $(CASACORELIB) $(ATNF) $(PYRAP) 218 256 219 257 staticlib: $(MEMBERS)
Note:
See TracChangeset
for help on using the changeset viewer.