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
d1fc34d5
Kaydet (Commit)
d1fc34d5
authored
Ara 30, 2010
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Build and install libpython3.so.
üst
0dbebc02
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
1 deletion
+32
-1
Makefile.pre.in
Makefile.pre.in
+8
-1
configure
configure
+11
-0
configure.in
configure.in
+10
-0
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Makefile.pre.in
Dosyayı görüntüle @
d1fc34d5
...
@@ -166,6 +166,7 @@ DIST= $(DISTFILES) $(DISTDIRS)
...
@@ -166,6 +166,7 @@ DIST= $(DISTFILES) $(DISTDIRS)
LIBRARY
=
@LIBRARY@
LIBRARY
=
@LIBRARY@
LDLIBRARY
=
@LDLIBRARY@
LDLIBRARY
=
@LDLIBRARY@
BLDLIBRARY
=
@BLDLIBRARY@
BLDLIBRARY
=
@BLDLIBRARY@
PY3LIBRARY
=
@PY3LIBRARY@
DLLLIBRARY
=
@DLLLIBRARY@
DLLLIBRARY
=
@DLLLIBRARY@
LDLIBRARYDIR
=
@LDLIBRARYDIR@
LDLIBRARYDIR
=
@LDLIBRARYDIR@
INSTSONAME
=
@INSTSONAME@
INSTSONAME
=
@INSTSONAME@
...
@@ -420,7 +421,7 @@ coverage:
...
@@ -420,7 +421,7 @@ coverage:
# Build the interpreter
# Build the interpreter
$(BUILDPYTHON)
:
Modules/python.o $(LIBRARY) $(LDLIBRARY)
$(BUILDPYTHON)
:
Modules/python.o $(LIBRARY) $(LDLIBRARY)
$(PY3LIBRARY)
$(LINKCC)
$(PY_LDFLAGS)
$(LINKFORSHARED)
-o
$@
Modules/python.o
$(BLDLIBRARY)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
$(LINKCC)
$(PY_LDFLAGS)
$(LINKFORSHARED)
-o
$@
Modules/python.o
$(BLDLIBRARY)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
platform
:
$(BUILDPYTHON)
platform
:
$(BUILDPYTHON)
...
@@ -454,6 +455,9 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS)
...
@@ -454,6 +455,9 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS)
$(BLDSHARED)
-o
$@
$(LIBRARY_OBJS)
$(MODLIBS)
$(SHLIBS)
$(LIBC)
$(LIBM)
$(LDLAST)
;
\
$(BLDSHARED)
-o
$@
$(LIBRARY_OBJS)
$(MODLIBS)
$(SHLIBS)
$(LIBC)
$(LIBM)
$(LDLAST)
;
\
fi
fi
libpython3.so
:
libpython$(LDVERSION).so
$(BLDSHARED)
-o
$@
-Wl
,-hl
$@
$^
libpython$(VERSION).dylib
:
$(LIBRARY_OBJS)
libpython$(VERSION).dylib
:
$(LIBRARY_OBJS)
$(CC)
-dynamiclib
-Wl
,-single_module
$(PY_LDFLAGS)
-undefined
dynamic_lookup
-Wl
,-install_name,
$(prefix)
/lib/libpython
$(VERSION)
.dylib
-Wl
,-compatibility_version,
$(VERSION)
-Wl
,-current_version,
$(VERSION)
-o
$@
$(LIBRARY_OBJS)
$(SHLIBS)
$(LIBC)
$(LIBM)
$(LDLAST)
;
\
$(CC)
-dynamiclib
-Wl
,-single_module
$(PY_LDFLAGS)
-undefined
dynamic_lookup
-Wl
,-install_name,
$(prefix)
/lib/libpython
$(VERSION)
.dylib
-Wl
,-compatibility_version,
$(VERSION)
-Wl
,-current_version,
$(VERSION)
-o
$@
$(LIBRARY_OBJS)
$(SHLIBS)
$(LIBC)
$(LIBM)
$(LDLAST)
;
\
...
@@ -851,6 +855,9 @@ altbininstall: $(BUILDPYTHON)
...
@@ -851,6 +855,9 @@ altbininstall: $(BUILDPYTHON)
(
cd
$(DESTDIR)$(LIBDIR)
;
$(LN)
-sf
$(INSTSONAME)
$(LDLIBRARY)
)
\
(
cd
$(DESTDIR)$(LIBDIR)
;
$(LN)
-sf
$(INSTSONAME)
$(LDLIBRARY)
)
\
fi
\
fi
\
fi
;
\
fi
;
\
if
test
-n
"
$(PY3LIBRARY)
"
;
then
\
$(INSTALL_SHARED)
$(PY3LIBRARY)
$(DESTDIR)$(LIBDIR)
/
$(PY3LIBRARY)
;
\
fi
;
\
else
true
;
\
else
true
;
\
fi
fi
...
...
configure
Dosyayı görüntüle @
d1fc34d5
...
@@ -647,6 +647,7 @@ LDVERSION
...
@@ -647,6 +647,7 @@ LDVERSION
RUNSHARED
RUNSHARED
INSTSONAME
INSTSONAME
LDLIBRARYDIR
LDLIBRARYDIR
PY3LIBRARY
BLDLIBRARY
BLDLIBRARY
DLLLIBRARY
DLLLIBRARY
LDLIBRARY
LDLIBRARY
...
@@ -4710,6 +4711,7 @@ $as_echo "$LIBRARY" >&6; }
...
@@ -4710,6 +4711,7 @@ $as_echo "$LIBRARY" >&6; }
LDLIBRARY
=
"
$LIBRARY
"
LDLIBRARY
=
"
$LIBRARY
"
BLDLIBRARY
=
'$(LDLIBRARY)'
BLDLIBRARY
=
'$(LDLIBRARY)'
INSTSONAME
=
'$(LDLIBRARY)'
INSTSONAME
=
'$(LDLIBRARY)'
...
@@ -4906,6 +4908,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
...
@@ -4906,6 +4908,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
BLDLIBRARY
=
'-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY
=
'-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
if
test
$with_pydebug
==
no
then
PY3LIBRARY
=
libpython3.so
fi
;;
;;
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
)
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
)
LDLIBRARY
=
'libpython$(LDVERSION).so'
LDLIBRARY
=
'libpython$(LDVERSION).so'
...
@@ -4917,6 +4923,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
...
@@ -4917,6 +4923,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
;;
;;
esac
esac
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
PY3LIBRARY
=
libpython3.so
if
test
$with_pydebug
==
no
then
PY3LIBRARY
=
libpython3.so
fi
;;
;;
hp
*
|
HP
*
)
hp
*
|
HP
*
)
case
`
uname
-m
`
in
case
`
uname
-m
`
in
...
...
configure.in
Dosyayı görüntüle @
d1fc34d5
...
@@ -608,6 +608,7 @@ AC_MSG_RESULT($LIBRARY)
...
@@ -608,6 +608,7 @@ AC_MSG_RESULT($LIBRARY)
AC_SUBST(LDLIBRARY)
AC_SUBST(LDLIBRARY)
AC_SUBST(DLLLIBRARY)
AC_SUBST(DLLLIBRARY)
AC_SUBST(BLDLIBRARY)
AC_SUBST(BLDLIBRARY)
AC_SUBST(PY3LIBRARY)
AC_SUBST(LDLIBRARYDIR)
AC_SUBST(LDLIBRARYDIR)
AC_SUBST(INSTSONAME)
AC_SUBST(INSTSONAME)
AC_SUBST(RUNSHARED)
AC_SUBST(RUNSHARED)
...
@@ -737,6 +738,10 @@ if test $enable_shared = "yes"; then
...
@@ -737,6 +738,10 @@ if test $enable_shared = "yes"; then
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
INSTSONAME="$LDLIBRARY".$SOVERSION
if test $with_pydebug == no
then
PY3LIBRARY=libpython3.so
fi
;;
;;
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
LDLIBRARY='libpython$(LDVERSION).so'
LDLIBRARY='libpython$(LDVERSION).so'
...
@@ -748,6 +753,11 @@ if test $enable_shared = "yes"; then
...
@@ -748,6 +753,11 @@ if test $enable_shared = "yes"; then
;;
;;
esac
esac
INSTSONAME="$LDLIBRARY".$SOVERSION
INSTSONAME="$LDLIBRARY".$SOVERSION
PY3LIBRARY=libpython3.so
if test $with_pydebug == no
then
PY3LIBRARY=libpython3.so
fi
;;
;;
hp*|HP*)
hp*|HP*)
case `uname -m` in
case `uname -m` in
...
...
pyconfig.h.in
Dosyayı görüntüle @
d1fc34d5
...
@@ -497,6 +497,9 @@
...
@@ -497,6 +497,9 @@
/* Define to 1 if you have the `pause' function. */
/* Define to 1 if you have the `pause' function. */
#undef HAVE_PAUSE
#undef HAVE_PAUSE
/* Define if the OS supports pipe2() */
#undef HAVE_PIPE2
/* Define to 1 if you have the `plock' function. */
/* Define to 1 if you have the `plock' function. */
#undef HAVE_PLOCK
#undef HAVE_PLOCK
...
...
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