Kaydet (Commit) aa233f18 authored tarafından Guido van Rossum's avatar Guido van Rossum

Changes for 1.4 install targets

üst d0fe8454
...@@ -50,7 +50,7 @@ script. ...@@ -50,7 +50,7 @@ script.
# XXX Change the following line to point to your Tools/freeze directory # XXX Change the following line to point to your Tools/freeze directory
PACK = '/ufs/guido/src/python/Tools/freeze' PACK = '/home/guido/python/src/Tools/freeze'
# XXX Change the following line to point to your install prefix # XXX Change the following line to point to your install prefix
PREFIX = '/usr/local' PREFIX = '/usr/local'
...@@ -126,15 +126,14 @@ def main(): ...@@ -126,15 +126,14 @@ def main():
exec_prefix = prefix exec_prefix = prefix
# locations derived from options # locations derived from options
binlib = os.path.join(exec_prefix, 'lib/python/lib') binlib = os.path.join(exec_prefix, 'lib/python1.4/config')
incldir = os.path.join(prefix, 'include/Py') incldir = os.path.join(prefix, 'include/python1.4')
config_c_in = os.path.join(binlib, 'config.c.in') config_c_in = os.path.join(binlib, 'config.c.in')
frozenmain_c = os.path.join(binlib, 'frozenmain.c') frozenmain_c = os.path.join(binlib, 'frozenmain.c')
getpath_c = os.path.join(binlib, 'getpath.c') getpath_c = os.path.join(binlib, 'getpath.c')
supp_sources = [frozenmain_c, getpath_c] supp_sources = [frozenmain_c, getpath_c]
makefile_in = os.path.join(binlib, 'Makefile') makefile_in = os.path.join(binlib, 'Makefile')
defines = ['-DHAVE_CONFIG_H', defines = ['-DPYTHONPATH=\\"$(PYTHONPATH)\\"']
'-DPYTHONPATH=\\"$(PYTHONPATH)\\"']
includes = ['-I' + incldir, '-I' + binlib] includes = ['-I' + incldir, '-I' + binlib]
# sanity check of directories and files # sanity check of directories and files
...@@ -261,7 +260,7 @@ def main(): ...@@ -261,7 +260,7 @@ def main():
somevars[key] = makevars[key] somevars[key] = makevars[key]
somevars['CFLAGS'] = string.join(cflags) # override somevars['CFLAGS'] = string.join(cflags) # override
files = ['$(OPT)', config_c, frozen_c] + \ files = ['$(OPT)', '$(LDFLAGS)', config_c, frozen_c] + \
supp_sources + addfiles + libs + \ supp_sources + addfiles + libs + \
['$(MODLIBS)', '$(LIBS)', '$(SYSLIBS)'] ['$(MODLIBS)', '$(LIBS)', '$(SYSLIBS)']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment