Changeset 1899 for trunk/external/libpyrap/Makefile
- Timestamp:
- 08/25/10 16:11:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/libpyrap/Makefile
r1895 r1899 16 16 CASAROOT := $(word 1, $(CASAPATH)) 17 17 CASAARCH := $(word 2, $(CASAPATH)) 18 ifeq "$(CASAARCH)" "darwin"19 CASADIST := /opt/casa20 else21 CASADIST := /usr/lib/casapy22 endif23 18 24 19 TARGET := libpyrap.so … … 38 33 BOOSTLIB := -L$(BOOSTLIBD) -lboost_python 39 34 40 # numpy (use numpy in CASA)41 NUMPYROOT := $(CASADIST)/lib/python2.5/site-packages/numpy42 NUMPYINCD := $(NUMPYROOT)/core/include43 NUMPYLIBD := $(NUMPYROOT)/core/44 NUMPYLIB := #-L$(NUMPYLIBD) -lmultiarray45 46 35 # python 47 36 PYTHONROOT := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONROOT eval_vars) && echo $$PYTHONROOT) 48 37 PYTHONINCD := $(PYTHONROOT)/include/python2.5 38 39 # numpy (use numpy in CASA) 40 PYTHONLIBD := $(shell $(shell make -s -f $(CASAROOT)/$(CASAARCH)/makedefs VARS=PYTHONLIBD eval_vars) && echo $$PYTHONLIBD) 41 NUMPYROOT := $(PYTHONLIBD)/python2.5/site-packages/numpy 42 NUMPYINCD := $(NUMPYROOT)/core/include 49 43 50 44 # the compiler … … 62 56 63 57 # links to external libraries 64 LIBS := $(CORELIB) $(BOOSTLIB) $(NUMPYLIB)58 LIBS := $(CORELIB) $(BOOSTLIB) 65 59 66 60 # include directories … … 103 97 104 98 clean: 105 rm -rf $(OBJECTS) $(TARGET) 106 rm -rf $(TESTDIR)/$(TESTMOD) $(TESTDIR)/$(TESTOBJ) 99 rm -f $(OBJECTS) $(TARGET) 100 rm -f $(TESTDIR)/$(TESTMOD) $(TESTDIR)/$(TESTOBJ) 101 rm -f $(INSTDIR)/$(TARGET) 107 102 108 103 install:
Note:
See TracChangeset
for help on using the changeset viewer.