Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ac405f6c
Kaydet (Commit)
ac405f6c
authored
Eyl 12, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Shared library support
üst
7cc5abd4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
3 deletions
+87
-3
Makefile.in
Makefile.in
+21
-0
configure.in
configure.in
+66
-3
No files found.
Makefile.in
Dosyayı görüntüle @
ac405f6c
...
@@ -29,6 +29,9 @@ srcdir= @srcdir@
...
@@ -29,6 +29,9 @@ srcdir= @srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
INSTALL
=
@INSTALL@
INSTALL
=
@INSTALL@
# Machine-dependent subdirectories
MACHDEP
=
@MACHDEP@
# Install prefixes are treated specially by the configure script:
# Install prefixes are treated specially by the configure script:
# it only changes these lines if it has received a --prefix=... or
# it only changes these lines if it has received a --prefix=... or
# --exec-prefix=... command line option. Note that $(prefix) is
# --exec-prefix=... command line option. Note that $(prefix) is
...
@@ -42,6 +45,13 @@ prefix= /usr/local
...
@@ -42,6 +45,13 @@ prefix= /usr/local
# Install prefix for architecture-dependent files
# Install prefix for architecture-dependent files
exec_prefix
=
$(prefix)
exec_prefix
=
$(prefix)
# Symbols used for using shared libraries
SO
=
@SO@
LDSHARED
=
@LDSHARED@
CCSHARED
=
@CCSHARED@
LINKFORSHARED
=
@LINKFORSHARED@
DESTSHARED
=
$(prefix)
/lib/python/
$(MACHDEP)
# Programs
# Programs
SHELL
=
/bin/sh
SHELL
=
/bin/sh
...
@@ -132,6 +142,17 @@ libainstall: all
...
@@ -132,6 +142,17 @@ libainstall: all
$(INSTALL)
config.h
$(LIBPL)
/config.h
$(INSTALL)
config.h
$(LIBPL)
/config.h
$(INSTALL)
$(srcdir)
/Python/frozenmain.c
$(LIBPL)
/frozenmain.c
$(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
# Build the sub-Makefiles
Makefiles
:
config.status
Makefiles
:
config.status
(
cd
Modules
;
$(MAKE)
-f
Makefile.pre Makefile
)
(
cd
Modules
;
$(MAKE)
-f
Makefile.pre Makefile
)
...
...
configure.in
Dosyayı görüntüle @
ac405f6c
dnl Process this file with autoconf 1.8 or later to
produc
e a configure script.
dnl Process this file with autoconf 1.8 or later to
mak
e a configure script.
AC_REVISION($Revision$)dnl
AC_REVISION($Revision$)dnl
AC_PREREQ(1.
8
)dnl
AC_PREREQ(1.
11
)dnl
AC_INIT(Include/object.h)
AC_INIT(Include/object.h)
AC_CONFIG_HEADER(config.h)dnl
AC_CONFIG_HEADER(config.h)dnl
# Don't suppress compiler output when --verbose is specified
# Don't suppress compiler output when --verbose is specified
...
@@ -59,6 +59,69 @@ AC_RETSIGTYPE
...
@@ -59,6 +59,69 @@ AC_RETSIGTYPE
AC_SIZE_T
AC_SIZE_T
AC_UID_T
AC_UID_T
# Set name for machine-dependent library files
AC_SUBST(MACHDEP)
if test -z "$MACHDEP"
then
ac_system=`uname -s | tr '[[A-Z]]' '[[a-z]]'`
ac_release=`uname -r | sed 's/\..*//'`
MACHDEP="$ac_system$ac_release"
case MACHDEP in
'') MACHDEP=unknown;;
esac
AC_VERBOSE(setting MACHDEP to '$MACHDEP')
fi
# Set info about shared libraries.
# XXX This should try things out instead of testing uname!
AC_SUBST(SO)
AC_SUBST(LDSHARED)
AC_SUBST(CCSHARED)
AC_SUBST(LINKFORSHARED)
ac_system=`uname -s`
ac_release=`uname -r`
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX
if test -z "$SO"
then
case $ac_system in
hp*|HP*) SO=.sl;;
*) SO=.so;;
esac
AC_VERBOSE(setting SO to '$SO')
fi
# LDSHARED is the ld *command* used to create shared library
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
if test -z "$LDSHARED"
then
case $ac_system/$ac_release in
IRIX*) LDSHARED="ld -shared";;
SunOS/4*) LDSHARED="ld";;
SunOS/5*) LDSHARED="ld -G";;
hp*|HP*) LDSHARED="ld -b";;
*) LDSHARED="ld";;
esac
AC_VERBOSE(setting LDSHARED= to '$LDSHARED')
fi
# CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for HP-UX
if test -z "$CCSHARED"
then
case $ac_system in
hp*|HP*) CCSHARED="+z";;
esac
AC_VERBOSE(setting CCSHARED= to '$CCSHARED')
fi
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for HP-UX
if test -z "$LINKFORSHARED"
then
case $ac_system in
hp*|HP*) LINKFORSHARED="-Wl,-E";;
esac
AC_VERBOSE(setting LINKFORSHARED to '$LINKFORSHARED')
fi
# checks for libraries
# checks for libraries
AC_HAVE_LIBRARY(dl)
AC_HAVE_LIBRARY(dl)
...
@@ -151,7 +214,7 @@ AC_CHAR_UNSIGNED
...
@@ -151,7 +214,7 @@ AC_CHAR_UNSIGNED
AC_CONST
AC_CONST
AC_COMPILE_CHECK([
wheter we have
signed char], [], [signed char c;], [], AC_DEFINE(signed, []))
AC_COMPILE_CHECK([signed char], [], [signed char c;], [], AC_DEFINE(signed, []))
AC_CHECKING(for prototypes)
AC_CHECKING(for prototypes)
AC_TEST_PROGRAM([
AC_TEST_PROGRAM([
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment