source: trunk/external/libpyrap/Makefile@ 1891

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#####
10EXTDIR := $(shell pwd)
11PYRAPDIR := $(EXTDIR)/pyrap-0.3.2/pyrap/Converters
12
13# the casa environment AIPSPATH has to be defined
14CASAROOT := $(word 1, $(CASAPATH))
15CASAARCH := $(word 2, $(CASAPATH))
16ifeq "$(CASAARCH)" "darwin"
17 CASADIST := /usr/lib/casapy
18else
19 CASADIST := /opt/casa
20endif
21
22
23# CASACORE
24COREINCD := $(CASAROOT)/$(CASAARCH)/include/casacore
25CORELIBD := $(CASAROOT)/$(CASAARCH)/lib
26
27# boost include directory
28BOOSTINCD :=
29BOOSTLIBD :=
30
31# numpy include directory (assume to use numpy in CASA)
32NUMPYROOT := $(CASADIST)/lib/python2.5/site-packages/numpy
33NUMPYINCD := $(NUMPYROOT)/core/include
34NUMPYLIBD := $(NUMPYROOT)/core/
35
36
37
38OBJECTS := $(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
46all:
Note: See TracBrowser for help on using the repository browser.