Changeset 1455 for branches/alma/src/Makefile
- Timestamp:
- 12/12/08 12:07:23 (16 years ago)
- 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'. 1 9 TARGET := /tmp/_asap.so 2 10 3 11 # 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/casa12 CASAROOT := $(word 1, $(CASAPATH)) 13 CASAARCH := $(word 2, $(CASAPATH)) 14 CASAINC := -I$(CASAROOT)/code/include -I$(CASAROOT)/$(CASAARCH)/include/casacore -I$(CASAROOT)/$(CASAARCH)/include 7 15 CASALIB := $(CASAROOT)/$(CASAARCH)/lib 8 16 … … 16 24 CXXFLAGS := -fPIC -O3 -g 17 25 CXXFLAGS += -ansi -Wno-long-long -Wall 18 CXXOPTS := -DAIPS_NO_TEMPLATE_SRC26 #CXXOPTS := -DAIPS_NO_TEMPLATE_SRC 19 27 20 28 # darwin specific flags … … 38 46 G2CARCH := $(G2CROOT)/lib/gcc/i386-apple-darwin8.7.1/4.2.0/libgcc.a 39 47 G2CARCH := $(G2CROOT)/lib/gcc/powerpc-apple-darwin8.7.0/4.2.0/libgcc.a 48 G2CARCH := $(G2CROOT)/lib/gcc/i386-redhat-linux/4.1.0/libgcc.a 40 49 #G2CLIB := $(G2CROOT)/lib/libgfortran.a 41 50 G2CLIB := -lg2c … … 44 53 # if not than there might by symbol resolution errors. 45 54 CASAPPLIB := -L$(CASALIB) \ 46 -latnf -l images -lms -lcomponents -lcoordinates \47 -l lattices -lfits -lmeasures -lmeasures_f \48 -l tables -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 \ 49 58 $(CASALIB)/libwcs.a \ 50 59 $(RPFITSLIB) $(CFITSIOLIB) $(G2CLIB) -lstdc++
Note:
See TracChangeset
for help on using the changeset viewer.