diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 1fe5701..3f12b40 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,6 +29,9 @@ srcdir= @srcdir@ VPATH= @srcdir@ INSTALL= @INSTALL@ +# Machine-dependent subdirectories +MACHDEP= @MACHDEP@ + # Install prefixes are treated specially by the configure script: # it only changes these lines if it has received a --prefix=... or # --exec-prefix=... command line option. Note that $(prefix) is @@ -42,6 +45,13 @@ prefix= /usr/local # Install prefix for architecture-dependent files exec_prefix= $(prefix) +# Symbols used for using shared libraries +SO= @SO@ +LDSHARED= @LDSHARED@ +CCSHARED= @CCSHARED@ +LINKFORSHARED= @LINKFORSHARED@ +DESTSHARED= $(prefix)/lib/python/$(MACHDEP) + # Programs SHELL= /bin/sh @@ -132,6 +142,17 @@ libainstall: all $(INSTALL) config.h $(LIBPL)/config.h $(INSTALL) $(srcdir)/Python/frozenmain.c $(LIBPL)/frozenmain.c +# install the dynamically loadable modules +sharedinstall: + cd Modules; $(MAKE) \ + OPT="$(OPT)" \ + SO="$(SO)" \ + LDSHARED="$(LDSHARED)" \ + CCSHARED="$(CCSHARED)" \ + LINKFORSHARED="$(LINKFORSHARED)" \ + DESTSHARED="$(DESTSHARED)" \ + sharedinstall + # Build the sub-Makefiles Makefiles: config.status (cd Modules; $(MAKE) -f Makefile.pre Makefile) |