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

Diff of /trunk/pygtk/interface/Makefile.in

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

revision 380 by johnpye, Wed Mar 15 11:32:33 2006 UTC revision 381 by johnpye, Sun Mar 19 23:01:39 2006 UTC
# 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.380  
changed lines
  Added in v.381

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