Changeset 1915 for trunk/external
- Timestamp:
- 08/30/10 15:13:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/libpyrap/Makefile
r1911 r1915 19 19 ifeq ($(shell uname), Darwin) 20 20 TARGET := libpyrap.dylib 21 TESTMOD := $(TESTDIR)/_tConvert. dylib21 TESTMOD := $(TESTDIR)/_tConvert.so 22 22 else 23 23 TARGET := libpyrap.so … … 40 40 # python 41 41 PYTHONROOT := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONROOT eval_vars) && echo $$PYTHONROOT) 42 PYTHONINCD := $( PYTHONROOT)/include/python2.542 PYTHONINCD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONINCD eval_vars) && echo $$PYTHONINCD) 43 43 PYTHONLIBD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONLIBD eval_vars) && echo $$PYTHONLIBD) 44 44 PYTHONLIB := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONLIB eval_vars) && echo $$PYTHONLIB) 45 45 46 46 # numpy (use numpy in CASA) 47 NUMPYROOT := $(PYTHONLIBD)/python2.5/site-packages/numpy48 NUMPYINCD := $(NUMPYROOT)/core/include47 #NUMPYROOT := $(PYTHONLIBD)/python2.5/site-packages/numpy 48 #NUMPYINCD := $(NUMPYROOT)/core/include 49 49 50 50 # the compiler … … 68 68 69 69 # include directories 70 INCDIRS := -I$(COREINCD) -I$(BOOSTINCD) -I$(NUMPYINCD)\71 -I$(PYRAPROOT) -I$(PYTHONINCD)70 INCDIRS := -I$(COREINCD) -I$(BOOSTINCD) \ 71 -I$(PYRAPROOT) $(addprefix -I, $(PYTHONINCD)) 72 72 73 73 # link option 74 LDFLAGS := -shared 74 LDFLAGS := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=LD_FLAGS eval_vars) && echo $$LD_FLAGS) 75 LDFLAGS += -shared 75 76 76 77 OBJECTS := $(PYRAPDIR)/PycArray.o \
Note:
See TracChangeset
for help on using the changeset viewer.