Changeset 1762 for branches/alma/src/Makefile
- Timestamp:
- 07/07/10 09:47:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/Makefile
r1757 r1762 17 17 WCSLIBLIBD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=WCSLIBLIBD eval_vars) && echo $$WCSLIBLIBD) 18 18 WCSLIBLIB := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=WCSLIBLIB eval_vars) && echo $$WCSLIBLIB) 19 PYTHONROOT := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONROOT eval_vars) && echo $$PYTHONROOT) 19 20 PYTHONLIBD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONLIBD eval_vars) && echo $$PYTHONLIBD) 20 21 PYTHONINCD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONINCD eval_vars) && echo $$PYTHONINCD) 21 22 PYTHONLIB := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONLIB eval_vars) && echo $$PYTHONLIB) 23 #PYTHONVER := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONVER eval_vars) && echo $$PYTHONVER) 22 24 BOOSTROOT := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=BOOSTROOT eval_vars) && echo $$BOOSTROOT) 25 RPFITSLIBD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=RPFITSLIBD eval_vars) && echo $$RPFITSLIBD) 23 26 24 27 CASAINC := -I$(CASAROOT)/code/include -I$(COREINCD) -I$(CASAROOT)/$(CASAARCH)/include 25 28 CASALIB := $(CASAROOT)/$(CASAARCH)/lib 26 USELIB := lib64 29 #USELIB := lib64 30 USELIB := lib 27 31 28 32 # the compiler … … 34 38 CXXFLAGS := -fPIC -O3 -g 35 39 CXXFLAGS += -ansi -Wno-long-long -Wall 36 CXXOPTS := -DAIPS_64B40 #CXXOPTS := -DAIPS_64B 37 41 38 42 # darwin specific flags 39 43 ifeq "$(CASAARCH)" "darwin" 44 #CXXFLAGS +=-DAIPS_DARWIN -arch i386 #For 10.6 40 45 CXXFLAGS +=-DAIPS_DARWIN 41 CXXFLAGS += -Wno-long-double46 #CXXFLAGS += -Wno-long-double 42 47 endif 43 48 … … 58 63 CASAPPLIB := -L$(CASALIB) -latnf $(CORELIB) \ 59 64 -L$(WCSLIBLIBD) $(WCSLIBLIB) \ 60 $(RPFITSLIB) $(CFITSIOLIB) $(G2CLIB) -lstdc++65 -L$(RPFITSLIBD) $(RPFITSLIB) $(CFITSIOLIB) $(G2CLIB) -lstdc++ 61 66 62 67 # darwin specific CASA flags … … 72 77 73 78 # use python universal build 74 ifeq "$(CASAARCH)" "darwin"75 PYVERSION := 2.576 PYTHONROOT := /Library/Frameworks/Python.framework/Versions/$(PYVERSION)77 PYTHONINC := -I$(PYTHONROOT)/include/python$(PYVERSION)78 PYTHONLIB := -L$(PYTHONROOT)/lib -framework Python79 endif79 #ifeq "$(CASAARCH)" "darwin" 80 # PYVERSION := 2.5 81 # PYTHONROOT := /Library/Frameworks/Python.framework/Versions/$(PYVERSION) 82 # PYTHONINC := -I$(PYTHONROOT)/include/python$(PYVERSION) 83 # PYTHONLIB := -L$(PYTHONROOT)/lib -framework Python 84 #endif 80 85 81 86 # the linker
Note:
See TracChangeset
for help on using the changeset viewer.