diff options
author | Skip Montanaro <skip@pobox.com> | 2003-01-01 20:07:49 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-01-01 20:07:49 (GMT) |
commit | decc6a47df823a988845d3753a4cfb7a85b80828 (patch) | |
tree | 8ba9542f81b234b72bd5a71eeee38ef80e75fe7b /Makefile.pre.in | |
parent | dc392e31439d9992ea0101abaca09bcb78ebc311 (diff) | |
download | cpython-decc6a47df823a988845d3753a4cfb7a85b80828.zip cpython-decc6a47df823a988845d3753a4cfb7a85b80828.tar.gz cpython-decc6a47df823a988845d3753a4cfb7a85b80828.tar.bz2 |
Split OPT make variable into OPT and BASECFLAGS. The latter contains those
compiler flags which are necessary to get a clean compile. The former is
for user-specified optimizer, debug, trace fiddling. See patch 640843.
Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.
Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 2dde4af..6683c88 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -54,7 +54,8 @@ MAKESETUP= $(srcdir)/Modules/makesetup # Compiler options OPT= @OPT@ -CFLAGS= $(OPT) +BASECFLAGS= @BASECFLAGS@ +CFLAGS= $(BASECFLAGS) $(OPT) CPPFLAGS= -I. -I$(srcdir)/Include LDFLAGS= @LDFLAGS@ LDLAST= @LDLAST@ @@ -844,6 +845,13 @@ idleinstall: --install-scripts=$(BINDIR) \ --install-platlib=$(DESTSHARED) +# This installs a few of the useful scripts in Tools/scripts +scriptsinstall: + SRCDIR=$(srcdir) \ + ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \ + --prefix=$(prefix) \ + --install-scripts=$(BINDIR) + # Build the toplevel Makefile Makefile.pre: Makefile.pre.in config.status CONFIG_FILES=Makefile.pre CONFIG_HEADERS= $(SHELL) config.status |