summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Guido van Rossum2002-08-091-2/+2
|
* When installing the "python" link in bindir also test for a pre-existingJack Jansen2002-08-091-1/+1
| | | | symlink and remove it.
* By popular demand the frameworkinstall target now installs everything:Jack Jansen2002-08-091-13/+30
| | | | | | | | | the framework, the MacOSX apps and the unix tools. Most of the hard work is done by Mac/OSX/Makefile. Also, it should now be possible to install in a different directory, such as /tmp/dist/Library/Frameworks, for building binary installers. The fink crowd wanted this.
* In the altbininstall target, which is the first subtarget for "make install",Jack Jansen2002-08-061-1/+7
| | | | | | if we are running in an OSX framework enabled build directory, test that the framework infrastructure exists. This catches the very common error of doing "make install" in stead of "make frameworkinstall".
* Use the -n option of ln in stead of -h, as it also works with other ln'sJack Jansen2002-08-041-9/+9
| | | | people may have (fink, gnu).
* Patch #534304: Implement phase 1 of PEP 263.Martin v. Löwis2002-08-041-2/+4
|
* Replaced python.app target with osxapps (it builds more thanJack Jansen2002-08-021-3/+3
| | | | one .app nowadays) and fixed it to work.
* - Get _environ through the NSEnviron call in a MacOSX framework. This allowsJack Jansen2002-08-011-28/+21
| | | | | | | | | us to completely decouple the framework from the executable, so we can use a two-level namespace. - Do framework builds with a twolevel namespace. - Reorganized the code that creates the minimal framework in the build directory, to make it more robust against incomplete frameworks (from earlier aborted builds, or builds of previous Python versions).
* Get rid of the DEFS variable. The only thing this was used for was toGuido van Rossum2002-07-301-2/+1
| | | | pass -DHAVE_CONFIG_H to CC, and that symbol isn't used any more.
* Patch #553702: Cygwin make install patchJason Tishler2002-07-291-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes make install for Cygwin. Specifically, it reverts to the previous behavior: o install libpython$(VERSION)$(SO) in $(BINDIR) o install $(LDLIBRARY) in $(LIBPL) It also begins to remove Cygwin's dependency on $(DLLLIBRARY) which I hope to take advantage of when I attempt to make Cygwin as similar as possible to the other Unix platforms (in other patches). I tested this patch under Red Hat Linux 7.1 without any ill effects. BTW, I'm not the happiest using the following test for Cygwin: test "$(SO)" = .dll I'm willing to update the patch to use: case "$(MACHDEP)" in cygwin* instead, but IMO that will look uglier.
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-3/+3
|
* Add test_zlib and test_struct to list of slow testsJeremy Hylton2002-07-171-1/+1
|
* Patch #557719 by Tony Lownds, slightly massaged by me: streamline theJack Jansen2002-06-211-0/+6
| | | | | | | | | OSX framework build process. Things fixed/modified: - the filesystem case-sensitivity test now works for builds outside the source directory - various other fixes for building outside the source directory - python.app now has a target in the main Makefile - WASTE and AquaTk are found more automatically
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-1/+2
|
* Patch #553678: Cygwin Makefile.pre.in vestige patchJason Tishler2002-05-151-1/+0
| | | | | | | | | | This patch removes a vestige part of the Cygwin make rules that didn't quite make it over during the flattening of the Makefiles. In its current form, it creates a def file but incorrectly calls it libpython$(VERSION).dll.a which immediately gets overwritten by the next command. Obviously, this is useless. It appears, it was useless in the old nested Makefile structure too. :,)
* Patch #553230: Create LIBDIR if necessary. Bugfix candidate.Martin v. Löwis2002-05-081-1/+1
|
* - New builtin function enumerate(x), from PEP 279. Example:Guido van Rossum2002-04-261-0/+2
| | | | | enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c"). The argument can be an arbitrary iterable object.
* pgen now needs pymallocNeil Schemenauer2002-04-221-0/+1
|
* Eliminate use of LIBOBJS which is an error in autoconf 2.53.Martin v. Löwis2002-04-051-2/+2
|
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-031-0/+2
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* Patch #527027: Allow building python as shared library.Martin v. Löwis2002-03-291-28/+26
|
* Build obmalloc.c directly instead of #include'ing from object.c.Tim Peters2002-03-231-2/+1
| | | | | | | | Also move all _PyMalloc_XXX entry points into obmalloc.c. The Windows build works fine. The Unix build is changed here (Makefile.pre.in), but not tested. No other platform's build process has been fiddled.
* SF patch #524005 by Paul Eggert.Guido van Rossum2002-02-281-1/+1
| | | | | | Use posixly correct sort args. Bugfix candidate.
* Two OSX fixes related to switching Python versions in an existing sourcetree:Jack Jansen2002-02-121-8/+9
| | | | | - Create the Python.framework/Versions/$(VERSION) dir if it doesn't exist - Override existing symlinks in the framework.
* Use BLDLIBRARY to build extension modules. Fixes #504252.Martin v. Löwis2002-01-171-2/+2
| | | | 2.2.1 candidate.
* 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
|