/[ascend]/trunk/pygtk/interface/Makefile
ViewVC logotype

Diff of /trunk/pygtk/interface/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 390 by johnpye, Sun Mar 19 23:01:39 2006 UTC revision 391 by johnpye, Thu Mar 30 07:19:05 2006 UTC
# Line 3  SOURCE_ROOT = ../.. Line 3  SOURCE_ROOT = ../..
3  CXX = g++  CXX = g++
4  CC = gcc  CC = gcc
5    
6  SO_SUFF = .dll  SO_SUFF = .so
7  PLATFORM_CPPFLAGS =  PLATFORM_CPPFLAGS =
8    
9  COVERAGE_FLAGS =  COVERAGE_FLAGS =
# Line 70  ifeq ($(USE_PYTHON),1) Line 70  ifeq ($(USE_PYTHON),1)
70          PYTHON_CPPFLAGS := -I$(PYTHON_ROOT)/include          PYTHON_CPPFLAGS := -I$(PYTHON_ROOT)/include
71          PYTHON_LDFLAGS := -L$(PYTHON_ROOT)/libs -lpython$(PYTHON_VERSION)          PYTHON_LDFLAGS := -L$(PYTHON_ROOT)/libs -lpython$(PYTHON_VERSION)
72      else      else
73          ifeq ($(TERM),cygwin)          ifeq ($(TERM),cygwin)
74          PYTHON_VERSION := 24              PYTHON_VERSION := 24
75          PYTHON_ROOT := /cygdrive/c/Python$(PYTHON_VERSION)              PYTHON_ROOT := /cygdrive/c/Python$(PYTHON_VERSION)
76          PYTHON_CPPFLAGS := -I$(PYTHON_ROOT)/include              PYTHON_CPPFLAGS := -I$(PYTHON_ROOT)/include
77          PYTHON_LDFLAGS := -L$(PYTHON_ROOT)/libs -lpython24              PYTHON_LDFLAGS := -L$(PYTHON_ROOT)/libs -lpython24
78          else          else
79          PYTHON_VERSION := $(shell python -V 2>&1 | sed s/Python\ // | sed s/^\\\([0-9][0-9]*\\.[0-9][0-9]*\\\).*/\\1/ )              PYTHON_VERSION := $(shell python -V 2>&1 | sed s/Python\ // | sed s/^\\\([0-9][0-9]*\\.[0-9][0-9]*\\\).*/\\1/ )
80          PYTHON_CPPFLAGS := -I/usr/include/python$(PYTHON_VERSION)              PYTHON_CPPFLAGS := -I/usr/include/python$(PYTHON_VERSION)
81          PYTHON_LDFLAGS := -lpython$(PYTHON_VERSION)              PYTHON_LDFLAGS := -lpython$(PYTHON_VERSION)
82          endif          endif
83      endif      endif
84  endif  endif
85    

Legend:
Removed from v.390  
changed lines
  Added in v.391

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22