* Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for

extensions; add -lm to math module definition

	* Modules/Makefile.pre.in: remove *.so and so_locations on clobber
This commit is contained in:
Guido van Rossum 1994-09-12 15:35:36 +00:00
parent 73737abead
commit f5e0ea89db
2 changed files with 4 additions and 2 deletions

View File

@ -88,6 +88,7 @@ clean:
clobber: clean clobber: clean
-rm -f *.a tags TAGS config.c glmodule.c Makefile.pre -rm -f *.a tags TAGS config.c glmodule.c Makefile.pre
-rm -f *.so so_locations
config.c Makefile: Makefile.pre config.c.in $(MAKESETUP) Setup config.c Makefile: Makefile.pre config.c.in $(MAKESETUP) Setup
$(SHELL) $(MAKESETUP) Setup $(SHELL) $(MAKESETUP) Setup

View File

@ -60,13 +60,14 @@ TESTPATH=:$(DESTLIB)/test
# Path for machine- or system-dependent modules (and shared libraries) # Path for machine- or system-dependent modules (and shared libraries)
MACHDEPPATH=:$(DESTLIB)/$(MACHDEP) MACHDEPPATH=:$(DESTLIB)/$(MACHDEP)
PYTHONPATH=.:$(DESTLIB)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH) COREPYTHONPATH=.:$(DESTLIB)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
PYTHONPATH=$(COREPYTHONPATH)
# Modules that should always be present (non UNIX dependent) # Modules that should always be present (non UNIX dependent)
array arraymodule.c # array objects array arraymodule.c # array objects
math mathmodule.c # math library functions, e.g. sin() math mathmodule.c -lm # math library functions, e.g. sin()
parser parsermodule.c # raw interface to the Python parser parser parsermodule.c # raw interface to the Python parser
posix posixmodule.c # posix (UNIX) system calls posix posixmodule.c # posix (UNIX) system calls
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style