summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* When running regen for the plat directories we should use the BUILDEXTJack Jansen2001-12-191-1/+1
| | | | | extension, not the EXT one, as regen uses the python binary in the build directory. Fixes #493959.
* Test wether we are building on a case-insensitive filesystem (suchJack Jansen2001-12-061-16/+18
| | | | | as OSX HFS+) and if so add an extension to the python executable, but only in the build directory, not on the installed python.
* The parser now also needs to link with mysnprintf.o.Guido van Rossum2001-12-041-0/+1
|
* The parser doesn't need its own implementation of assert, and having itsTim Peters2001-12-041-1/+0
| | | | own interfered with including Python.h. Remove Python's assert.h.
* LIBSUBDIRS: Add test/data so it gets installed and test_email.py canBarry Warsaw2001-12-031-2/+2
| | | | pass. Closes SF # 485080
* Compute thread headers through shell expansion in configure.Martin v. Löwis2001-12-021-1/+1
| | | | Fixes #485679.
* Add hotshot to LIBSUBDIRS. Fixes #484642.Martin v. Löwis2001-11-241-1/+1
|
* Now that Misc/Makefile.pre.in is gone, do not attempt to install it.Fred Drake2001-10-261-1/+0
|
* Patch from SF bug #473150: configure weaknesses on HP-UX (Michael Piotrowski)Guido van Rossum2001-10-201-2/+2
| | | | | | | | | | 1. configure doesn't handle HP-UX release numbers (e.g., B.11.00), resulting in MACHDEP = "hpuxB". 2. After checking for wchar.h, configure doesn't include it when checking the size of wchar_t. (Python 2.2b1 on HP-UX 11.00)
* SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.Guido van Rossum2001-10-181-0/+2
| | | | | | | | | | | | | | | | | This is a big one, touching lots of files. Some of the platforms aren't tested yet. Briefly, this changes the return value of the os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the time functions localtime(), gmtime(), and strptime() from tuples into pseudo-sequences. When accessed as a sequence, they behave exactly as before. But they also have attributes like st_mtime or tm_year. The stat return value, moreover, has a few platform-specific attributes that are not available through the sequence interface (because everybody expects the sequence to have a fixed length, these couldn't be added there). If your platform's struct stat doesn't define st_blksize, st_blocks or st_rdev, they won't be accessible from Python either. (Still missing is a documentation update.)
* SF patch #471894: Makefile installs pydoc incorrectlyGuido van Rossum2001-10-171-0/+1
| | | | | Add --install-scripts=$(BINDIR) argument to "setup.py install" invocation.
* Add dependencies for the weakref object.Fred Drake2001-10-051-0/+2
|
* Clarify the warning about the relative dates of Setup.dist and Setup;Guido van Rossum2001-09-291-0/+1
| | | | | Jeremy had seen the warning but not realized what he should do about it. Add the hint "Usually, copying Setup.dist to Setup will work."
* Install the new compiler and email packagesAndrew M. Kuchling2001-09-281-0/+1
|
* Sort the headers in PYTHON_HEADERS alphabetically. AddGuido van Rossum2001-09-181-31/+32
| | | | | | structmember.h, which was missing (and caused me a snide comment by Tim when he fixed something I missed because of the missed dependency :-).
* When MAKEFLAGS contains '-s', invoke setup.py with '-q', to silenceGuido van Rossum2001-09-121-1/+4
| | | | | | | its normally chatty nature. (This completes a side project to make "make -s" truly silent unless errors occur.)
* When frameworks are not enabled don't put an empty target in the Makefile.Jack Jansen2001-09-111-5/+5
| | | | Older make's can apparently choke on this.
* Always compile gcmodule.Neil Schemenauer2001-08-291-1/+2
|
* Add dependencies for Python/thread.c on all of the header files thatGuido van Rossum2001-08-181-0/+4
| | | | | | | | it may depend on. It's really annoying that thread.o doesn't get rebuilt when the .h file is changed! :-) The dependency is on *all* the Python/thread_*.h files -- that should be sufficient and rarely cause unneeded recompilations.
* The OSX framework Headers symlink pointed the wrong way. Fixed.Jack Jansen2001-08-171-1/+1
| | | | Bill Fancher found this one.
* Patch #445762: Support --disable-unicodeMartin v. Löwis2001-08-171-2/+2
| | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
* Strip trailing whitespace, including two lines containing only one orGuido van Rossum2001-08-171-11/+11
| | | | more tabs that XEmacs Makefile mode found suspicious.
* Lots of changes in the framework support:Jack Jansen2001-08-151-4/+75
| | | | | | | | | | | | | | - Made framework builds work for MacOSX. The configure arg is now "--enable-framework". - Added an install target frameworkinstall which installs the framework. - Ripped out Next/OpenStep support, which was broken anyway. - Made the MacOSX toolbox glue dependant on a --enable-toolbox-glue configure arg. This should make naked darwin build work again (untested). A few targets have been added to Makefile.pre.in, and on inspection they look harmless to non-MacOSX machines, but it is worth checking. Closes bug #420601 and patch #450350.
* Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.Martin v. Löwis2001-08-101-1/+1
| | | | This fixes the problem reported in bug report #438786.
* Removed special rule for Mac/Python/macglue.o, it is not needed anymore.Jack Jansen2001-08-081-3/+0
|
* Take MANDIR and INCLUDEDIR from configure. Fixes bug #446671.Martin v. Löwis2001-08-021-2/+2
|
* Merge of descr-branch back into trunk.Tim Peters2001-08-021-0/+2
|
* This patch turns the Python API mismatch notice into a standardMarc-André Lemburg2001-07-311-0/+1
| | | | | | | | | | | | Python warning which can be catched by means of the Python warning framework. It also adds two new APIs which hopefully make it easier for Python to switch to buffer overflow safe [v]snprintf() APIs for error reporting et al. The two new APIs are PyOS_snprintf() and PyOS_vsnprintf() and work just like the standard ones in many C libs. On platforms which have snprintf(), the native APIs are used, on all other an emulation with snprintf() tries to do its best.
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-5/+5
|
* Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer2001-07-231-10/+10
| | | | and PYTHONPATH).
* Thomas, I don't care about unset either, but setting PYTHONHOME=Guido van Rossum2001-07-191-2/+1
| | | | | | | doesn't work -- it actually prevents the extensions from being built properly. So I'm changing the "sharedmods" target to what I presume it was before: PYTHONPATH= ./$(PYTHON) $(srcdir)/setup.py build
* Patch #418659: Fixes for UnixWare and ReliantUnix.Martin v. Löwis2001-07-191-4/+1
| | | | | | back-out 1.215 of configure.in and 1.34 of Makefile.pre.in Check for -Kpthread compiler support, and use this as the sole option for MT if available.
* Avoid the use of 'unset', which isn't available on all platforms. Fixes SFThomas Wouters2001-07-191-1/+1
| | | | bug #442627.
* Added a MACHDEP_OBJS to the python link. Use this on MacOSX to includeJack Jansen2001-06-191-0/+4
| | | | | | | Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define.
* Acknowledge the existence of the 'platform' file, generated by theGuido van Rossum2001-06-061-1/+1
| | | | | Makefile and used by the setup.py script. Ignore it in .cvsignore; remove it in "make clobber".
* Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessorNeil Schemenauer2001-06-021-5/+7
| | | | directives, which is the role of CPPFLAGS. Closes SF patch #414991.
* Iterators phase 1. This comprises:Guido van Rossum2001-04-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | new slot tp_iter in type object, plus new flag Py_TPFLAGS_HAVE_ITER new C API PyObject_GetIter(), calls tp_iter new builtin iter(), with two forms: iter(obj), and iter(function, sentinel) new internal object types iterobject and calliterobject new exception StopIteration new opcodes for "for" loops, GET_ITER and FOR_ITER (also supported by dis.py) new magic number for .pyc files new special method for instances: __iter__() returns an iterator iteration over dictionaries: "for x in dict" iterates over the keys iteration over files: "for x in file" iterates over lines TODO: documentation test suite decide whether to use a different way to spell iter(function, sentinal) decide whether "for key in dict" is a good idea use iterators in map/filter/reduce, min/max, and elsewhere (in/not in?) speed tuning (make next() a slot tp_next???)
* Fix compileall.py so that it fails on SyntaxErrorsJeremy Hylton2001-04-181-2/+3
| | | | | | | | | | | | | | | | The changes cause compilation failures in any file in the Python installation lib directory to cause the install to fail. It looks like compileall.py intended to behave this way, but a change to py_compile.py and a separate bug defeated it. Fixes SF bug #412436 This change affects the test suite, which contains several files that contain intentional errors. The solution is to extend compileall.py with the ability to skip compilation of selected files. NB compileall.py is changed so that compile_dir() returns success only if all recursive calls to compile_dir() also check success.
* Remove shared libraries as part of "make clean" rather than in "makeGuido van Rossum2001-04-141-1/+2
| | | | | clobber". This is done so that after a "make clean", setup.py will also recompile all extensions.
* Unixware 7 support by Billy G. Allie (SF patch 413011)Guido van Rossum2001-04-111-1/+4
|
* Use INSTALL_SCRIPT to install script files. INSTALL_PROGRAM may try toNeil Schemenauer2001-04-101-10/+11
| | | | strip them. Closes patch #406287.
* Make on Alpha Tru64 5.1 (as installed on the SF compile farm) doesn'tGuido van Rossum2001-04-091-1/+1
| | | | | | think that a command starting with '#' is a comment, so move the one comment in such a position (in the rule for building $(LIBRARY)) to a harmless position.
* - Remove WITH makefile variable. Its not used for anything.Neil Schemenauer2001-03-221-13/+4
| | | | | | - Add CONFIG_ARGS variable and use it to re-run configure rather than using config.status. This prevents an infinite loop if configure dies while re-configuring.
* Install the Python DLL with execute priviledge set. This is required forNeil Schemenauer2001-03-161-1/+1
| | | | | Cygwin Python to startup correctly when in ntsec mode. Cygwin operating in this mode is probably not the only system with this requirement.
* Move all knowledge that $(MAINOBJ) is built in the Modules/ directoryFred Drake2001-03-061-4/+5
| | | | | | | | into Makefile.pre.in; the configure script will only determine the basename of the file. This fixes installation of a Python built using C++, reported by Greg Wilson.
* Added `memtest' target which excludes the quicktest modules plusBarry Warsaw2001-03-031-0/+7
| | | | | test_dl, test___all__, test_fork1, and test_longexp. All these either take way too long with Insure or crash it.
* UseGuido van Rossum2001-03-011-2/+2
| | | | | | | | find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f to remove all .py[co] files before testing, rather than just those in the Lib/test directory. "find" is used all over the Makefile so I suppose it's safe; how about xargs?
* Improved __future__ parser; still more to doJeremy Hylton2001-02-271-0/+1
| | | | | | | | | | | | | | | Makefile.pre.in: add target future.o Include/compile.h: define PyFutureFeaters and PyNode_Future() add c_future slot to struct compiling Include/symtable.h: add st_future slot to struct symtable Python/future.c: implementation of PyNode_Future() Python/compile.c: use PyNode_Future() for nested_scopes support Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
* Change EXEEXT back to EXE in the Makefile. Other tools may depend on the name.Neil Schemenauer2001-02-271-8/+8
| | | | | The name in configure is still EXEEXT because that's what autoconf calls it. Also, replace a few occurrences of "python" with "$(PYTHON)".
* Add Vladimir Marangozov's object allocator. It is disabled by default. ThisNeil Schemenauer2001-02-271-0/+1
| | | | closes SF patch #401229.