Last change
on this file since 1891 was 1891, checked in by Takeshi Nakazato, 15 years ago |
New Development: No
JIRA Issue: No
Ready for Test: No
Interface Changes: No
What Interface Changed: Please list interface changes
Test Programs: List test programs
Put in Release Notes: Yes/No
Module(s): Module Names change impacts.
Description: Describe your changes here...
Makefile for pyrap.
This is still under construction.
|
File size:
1.1 KB
|
Line | |
---|
1 | #####
|
---|
2 | # Makefile for libpyrap
|
---|
3 | #
|
---|
4 | # ASSUMPTION:
|
---|
5 | # CASA+CASACORE build environment
|
---|
6 | # numpy is installed (installing CASA is fine since it contains numpy)
|
---|
7 | # boost is installed
|
---|
8 | #
|
---|
9 | #####
|
---|
10 | EXTDIR := $(shell pwd)
|
---|
11 | PYRAPDIR := $(EXTDIR)/pyrap-0.3.2/pyrap/Converters
|
---|
12 |
|
---|
13 | # the casa environment AIPSPATH has to be defined
|
---|
14 | CASAROOT := $(word 1, $(CASAPATH))
|
---|
15 | CASAARCH := $(word 2, $(CASAPATH))
|
---|
16 | ifeq "$(CASAARCH)" "darwin"
|
---|
17 | CASADIST := /usr/lib/casapy
|
---|
18 | else
|
---|
19 | CASADIST := /opt/casa
|
---|
20 | endif
|
---|
21 |
|
---|
22 |
|
---|
23 | # CASACORE
|
---|
24 | COREINCD := $(CASAROOT)/$(CASAARCH)/include/casacore
|
---|
25 | CORELIBD := $(CASAROOT)/$(CASAARCH)/lib
|
---|
26 |
|
---|
27 | # boost include directory
|
---|
28 | BOOSTINCD :=
|
---|
29 | BOOSTLIBD :=
|
---|
30 |
|
---|
31 | # numpy include directory (assume to use numpy in CASA)
|
---|
32 | NUMPYROOT := $(CASADIST)/lib/python2.5/site-packages/numpy
|
---|
33 | NUMPYINCD := $(NUMPYROOT)/core/include
|
---|
34 | NUMPYLIBD := $(NUMPYROOT)/core/
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | OBJECTS := $(PYRAPDIR)/PycArray.o \
|
---|
39 | $(PYRAPDIR)/PycArrayNP.o \
|
---|
40 | $(PYRAPDIR)/PycBasicData.o \
|
---|
41 | $(PYRAPDIR)/PycExp.o \
|
---|
42 | $(PYRAPDIR)/PycRecord.o \
|
---|
43 | $(PYRAPDIR)/PycValueHolder.o #\
|
---|
44 | # $(PYRAPDIR)/PycArrayNA.o
|
---|
45 |
|
---|
46 | all:
|
---|
Note:
See
TracBrowser
for help on using the repository browser.