makefile.mk (5d01f2c8) makefile.mk (0a45483e)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 28 unchanged lines hidden (view full) ---

37 @echo "Therefore the version provided here does not need to be built in addition."
38.ENDIF
39
40
41# --- Files --------------------------------------------------------
42
43
44TARFILE_NAME=Python-$(PYVERSION)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 28 unchanged lines hidden (view full) ---

37 @echo "Therefore the version provided here does not need to be built in addition."
38.ENDIF
39
40
41# --- Files --------------------------------------------------------
42
43
44TARFILE_NAME=Python-$(PYVERSION)
45TARFILE_MD5=e81c2f0953aa60f8062c05a4673f2be0
45TARFILE_MD5=c57477edd6d18bd9eeca2f21add73919
46PATCH_FILES=\
46PATCH_FILES=\
47 Python-$(PYVERSION).patch \
48 Python-parallel-make.patch \
49 Python-ssl.patch \
50 Python-2.6.1-sysbase.patch \
51 Python-2.6.1-nohardlink.patch \
52 Python-2.6.1-security-flags.patch \
53 Python-disable-dbm.patch \
54 Python-linux3.patch \
55 Python-subversion-1-7.patch
47 python-$(PYVERSION).patch \
48 python-freebsd.patch \
49 python-md5.patch \
50 python-ssl.patch \
51 python-$(PYVERSION)-sysbase.patch \
52 python-$(PYVERSION)-nohardlink.patch \
53 python-$(PYVERSION)-pcbuild.patch
56
57CONFIGURE_DIR=
58
59.IF "$(GUI)"=="UNX"
60BUILD_DIR=
61MYCWD=$(shell @pwd)/$(INPATH)/misc/build
62
63# CLFLAGS get overwritten in Makefile.pre.in

--- 15 unchanged lines hidden (view full) ---

79CONFIGURE_ACTION += --disable-ipv6
80.ENDIF
81BUILD_ACTION=$(ENV_BUILD) $(GNUMAKE) -j$(EXTMAXPROCESS) && $(GNUMAKE) install && chmod -R ug+w $(MYCWD)/python-inst && chmod g+w Include
82.ELSE
83# ----------------------------------
84# WINDOWS
85# ----------------------------------
86.IF "$(COM)"=="GCC"
54
55CONFIGURE_DIR=
56
57.IF "$(GUI)"=="UNX"
58BUILD_DIR=
59MYCWD=$(shell @pwd)/$(INPATH)/misc/build
60
61# CLFLAGS get overwritten in Makefile.pre.in

--- 15 unchanged lines hidden (view full) ---

77CONFIGURE_ACTION += --disable-ipv6
78.ENDIF
79BUILD_ACTION=$(ENV_BUILD) $(GNUMAKE) -j$(EXTMAXPROCESS) && $(GNUMAKE) install && chmod -R ug+w $(MYCWD)/python-inst && chmod g+w Include
80.ELSE
81# ----------------------------------
82# WINDOWS
83# ----------------------------------
84.IF "$(COM)"=="GCC"
87PATCH_FILES=Python-$(PYVERSION)-mingw.patch
85PATCH_FILES=python-$(PYVERSION)-mingw.patch
88BUILD_DIR=
89MYCWD=$(shell cygpath -m $(shell @pwd))/$(INPATH)/misc/build
90python_CFLAGS=-mno-cygwin -mthreads
91python_LDFLAGS=-mno-cygwin -mthreads
92.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
93python_LDFLAGS+=-shared-libgcc
94.ENDIF
95python_LDFLAGS+=-shared-libgcc -Wl,--enable-runtime-pseudo-reloc-v2

--- 11 unchanged lines hidden (view full) ---

107#ADDITIONALLIBS=ws2_32.lib
108#.ELSE #"$(WINDOWS_VISTA_PSDK)"!=""
109#EXFLAGS="/EHa /Zc:wchar_t- /D "_CRT_SECURE_NO_DEPRECATE""
110#.ENDIF #"$(WINDOWS_VISTA_PSDK)"!=""
111#.ENDIF
112
113BUILD_DIR=PCbuild
114
86BUILD_DIR=
87MYCWD=$(shell cygpath -m $(shell @pwd))/$(INPATH)/misc/build
88python_CFLAGS=-mno-cygwin -mthreads
89python_LDFLAGS=-mno-cygwin -mthreads
90.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
91python_LDFLAGS+=-shared-libgcc
92.ENDIF
93python_LDFLAGS+=-shared-libgcc -Wl,--enable-runtime-pseudo-reloc-v2

--- 11 unchanged lines hidden (view full) ---

105#ADDITIONALLIBS=ws2_32.lib
106#.ELSE #"$(WINDOWS_VISTA_PSDK)"!=""
107#EXFLAGS="/EHa /Zc:wchar_t- /D "_CRT_SECURE_NO_DEPRECATE""
108#.ENDIF #"$(WINDOWS_VISTA_PSDK)"!=""
109#.ENDIF
110
111BUILD_DIR=PCbuild
112
113PATCH_FILES=Python-$(PYVERSION)-vc.patch \
114 Python-$(PYVERSION)-ssl-vc.patch
115
115# Build python executable and then runs a minimal script. Running the minimal script
116# ensures that certain *.pyc files are generated which would otherwise be created on
117# solver during registration in insetoo_native
118.IF "$(SYSBASE)" != ""
119BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe -useenv pcbuild.sln "Release|Win32"
120.ELSE
121BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe pcbuild.sln "Release|Win32"
122.ENDIF # "$(SYSBASE)" != ""

--- 34 unchanged lines hidden ---
116# Build python executable and then runs a minimal script. Running the minimal script
117# ensures that certain *.pyc files are generated which would otherwise be created on
118# solver during registration in insetoo_native
119.IF "$(SYSBASE)" != ""
120BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe -useenv pcbuild.sln "Release|Win32"
121.ELSE
122BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe pcbuild.sln "Release|Win32"
123.ENDIF # "$(SYSBASE)" != ""

--- 34 unchanged lines hidden ---