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
18821823
Kaydet (Commit)
18821823
authored
Ock 27, 2001
tarafından
Neil Schemenauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Fix buildno dependencies (I hope).
- Change one last EXE to EXEEXT.
üst
0c6141f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
Makefile.pre.in
Makefile.pre.in
+17
-9
No files found.
Makefile.pre.in
Dosyayı görüntüle @
18821823
...
@@ -161,8 +161,7 @@ PYTHON= python$(EXEEXT)
...
@@ -161,8 +161,7 @@ PYTHON= python$(EXEEXT)
MODULE_OBJS
=
\
MODULE_OBJS
=
\
Modules/config.o
\
Modules/config.o
\
Modules/getpath.o
\
Modules/getpath.o
\
Modules/main.o
\
Modules/main.o
Modules/getbuildinfo.o
# Used of signalmodule.o is not available
# Used of signalmodule.o is not available
SIGNAL_OBJS
=
@SIGNAL_OBJS@
SIGNAL_OBJS
=
@SIGNAL_OBJS@
...
@@ -268,6 +267,7 @@ OBJECT_OBJS= \
...
@@ -268,6 +267,7 @@ OBJECT_OBJS= \
##########################################################################
##########################################################################
# objects that get linked into the Python library
# objects that get linked into the Python library
LIBRARY_OBJS
=
\
LIBRARY_OBJS
=
\
Modules/getbuildinfo.o
\
$(PARSER_OBJS)
\
$(PARSER_OBJS)
\
$(OBJECT_OBJS)
\
$(OBJECT_OBJS)
\
$(PYTHON_OBJS)
\
$(PYTHON_OBJS)
\
...
@@ -275,7 +275,6 @@ LIBRARY_OBJS= \
...
@@ -275,7 +275,6 @@ LIBRARY_OBJS= \
$(SIGNAL_OBJS)
\
$(SIGNAL_OBJS)
\
$(MODOBJS)
$(MODOBJS)
#########################################################################
#########################################################################
# Rules
# Rules
...
@@ -284,14 +283,9 @@ all: $(PYTHON) sharedmods
...
@@ -284,14 +283,9 @@ all: $(PYTHON) sharedmods
# Build the interpreter
# Build the interpreter
$(PYTHON)
:
$(MAINOBJ) $(LDLIBRARY)
$(PYTHON)
:
$(MAINOBJ) $(LDLIBRARY)
expr
`
cat
buildno
`
+ 1
>
buildno1
mv
-f
buildno1 buildno
$(LINKCC)
$(LDFLAGS)
$(LINKFORSHARED)
-o
$@
$(MAINOBJ)
\
$(LINKCC)
$(LDFLAGS)
$(LINKFORSHARED)
-o
$@
$(MAINOBJ)
\
$(LDLIBRARY)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
$(LDLIBRARY)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
buildno
:
echo
1
>
buildno
platform
:
$(PYTHON)
platform
:
$(PYTHON)
./
$(PYTHON)
-c
'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]'
>
platform
./
$(PYTHON)
-c
'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]'
>
platform
...
@@ -300,10 +294,24 @@ platform: $(PYTHON)
...
@@ -300,10 +294,24 @@ platform: $(PYTHON)
sharedmods
:
$(PYTHON)
sharedmods
:
$(PYTHON)
./
$(PYTHON)
$(srcdir)
/setup.py build
./
$(PYTHON)
$(srcdir)
/setup.py build
# buildno should really depend on something like LIBRARY_SRC
buildno
:
$(PARSER_OBJS)
\
$(OBJECT_OBJS)
\
$(PYTHON_OBJS)
\
$(MODULE_OBJS)
\
$(SIGNAL_OBJS)
\
$(MODOBJS)
\
$(srcdir)/Modules/getbuildinfo.c
if
test
-f
buildno
;
then
\
expr
`
cat
buildno
`
+ 1
>
buildno1
;
\
mv
-f
buildno1 buildno
;
\
else
echo
1
>
buildno
;
fi
# Build static library
# Build static library
$(LIBRARY)
:
$(LIBRARY_OBJS)
$(LIBRARY)
:
$(LIBRARY_OBJS)
-
rm
-f
$@
-
rm
-f
$@
# avoid long command lines, same as LIBRARY_OBJS
# avoid long command lines, same as LIBRARY_OBJS
$(AR)
cr
$@
Modules/getbuildinfo.o
$(AR)
cr
$@
$(PARSER_OBJS)
$(AR)
cr
$@
$(PARSER_OBJS)
$(AR)
cr
$@
$(OBJECT_OBJS)
$(AR)
cr
$@
$(OBJECT_OBJS)
$(AR)
cr
$@
$(PYTHON_OBJS)
$(AR)
cr
$@
$(PYTHON_OBJS)
...
@@ -684,7 +692,7 @@ libainstall: all
...
@@ -684,7 +692,7 @@ libainstall: all
# Install the dynamically loadable modules
# Install the dynamically loadable modules
# This goes into $(exec_prefix)
# This goes into $(exec_prefix)
sharedinstall
:
sharedinstall
:
./python
$(EXE)
$(srcdir)
/setup.py
install
\
./python
$(EXE
EXT
)
$(srcdir)
/setup.py
install
\
--install-platlib
=
$(DESTSHARED)
--install-platlib
=
$(DESTSHARED)
# Build the toplevel Makefile
# Build the toplevel Makefile
...
...
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