diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-12-28 15:57:47 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-12-28 15:57:47 +0000 |
commit | b355efa5260150b7eb6a164425cd530890fa8b74 (patch) | |
tree | 5617ced267ef81d4b3a107f75f244bb5881cb964 /python | |
parent | 8735a8b4e929cac12634d4aef531278ff4187dbc (diff) |
INTEGRATION: CWS sb37 (1.21.2); FILE MERGED
2005/09/15 08:48:55 hjs 1.21.2.1: #125477# SYSBASE support for python
Diffstat (limited to 'python')
-rw-r--r-- | python/makefile.mk | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/python/makefile.mk b/python/makefile.mk index a208467510ad..9f35e917e9bb 100644 --- a/python/makefile.mk +++ b/python/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.22 $ +# $Revision: 1.23 $ # -# last change: $Author: hr $ $Date: 2005-09-26 13:00:50 $ +# last change: $Author: hr $ $Date: 2005-12-28 16:57:47 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -95,14 +95,22 @@ CONFIGURE_DIR= .IF "$(GUI)"=="UNX" BUILD_DIR= MYCWD=$(shell pwd)/$(INPATH)/misc/build -CONFIGURE_ACTION= ./configure --prefix=$(MYCWD)/python-inst --enable-shared + +.IF "$(SYSBASE)"!="" +python_CFLAGS+=-I$(SYSBASE)$/usr$/include +python_LDFLAGS+=-L$(SYSBASE)/usr/lib +.IF "$(COMNAME)"=="sunpro5" +python_CFLAGS+=$(C_RESTRICTIONFLAGS) +.ENDIF # "$(COMNAME)"=="sunpro5" +.ENDIF # "$(SYSBASE)"!="" + +CONFIGURE_ACTION=./configure --prefix=$(MYCWD)/python-inst --enable-shared CFLAGS="$(python_CFLAGS)" LDFLAGS="$(python_LDFLAGS)" .IF "$(OS)$(CPU)" == "SOLARISI" CONFIGURE_ACTION += --disable-ipv6 .ENDIF .IF "$(COMNAME)"=="sunpro5" .IF "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)" CC:=$(COMPATH)$/bin$/cc -CXX:=$(COMPATH)$/bin$/CC .ENDIF # "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)" .ENDIF # "$(COMNAME)"=="sunpro5" |