]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
* Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
authorGuido van Rossum <guido@python.org>
Mon, 12 Sep 1994 15:35:36 +0000 (15:35 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Sep 1994 15:35:36 +0000 (15:35 +0000)
extensions; add -lm to math module definition

* Modules/Makefile.pre.in: remove *.so and so_locations on clobber

Modules/Makefile.pre.in
Modules/Setup.in

index 39c3b7c9df6d18f59187df9ea2d597b7c02e0ae3..ff1ca9cacc6761659501e7d9a18d370317796f86 100644 (file)
@@ -88,6 +88,7 @@ clean:
 
 clobber:       clean
                -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
                $(SHELL) $(MAKESETUP) Setup
index af7d2357d4951228b20c5aac2a35533af2857739..ffbf64ff5fbc32828c4b4f5b8a3b06f59d4dc786 100644 (file)
@@ -60,13 +60,14 @@ TESTPATH=:$(DESTLIB)/test
 # Path for machine- or system-dependent modules (and shared libraries)
 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)
 
 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
 posix posixmodule.c    # posix (UNIX) system calls
 regex regexmodule.c regexpr.c  # Regular expressions, GNU Emacs style