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
661aebcb
Kaydet (Commit)
661aebcb
authored
Tem 19, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New test for generic Makefile.pre.in
üst
a955967a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
0 deletions
+52
-0
README
Demo/extend/README
+16
-0
make_clean
Demo/extend/make_clean
+5
-0
make_shared
Demo/extend/make_shared
+16
-0
make_static
Demo/extend/make_static
+15
-0
No files found.
Demo/extend/README
0 → 100644
Dosyayı görüntüle @
661aebcb
This directory contains a test and demonstration of the power of the
generic Makefile.pre.in from the Misc directory. There are three
shell scripts. Study the source of the scripts to find out how they
work (it's really easy).
./make_static Make a static python binary with the xx module
linked in. To test this, run ./python and try to
import xx.
./make_shared Make a shared module xx. To test this, run the
standard python interpreter in this directory and try
to import xx.
./make_clean Clean up after either of the above. Note that each
scripts starts by calling this script, to begin with a
clean slate.
Demo/extend/make_clean
0 → 100755
Dosyayı görüntüle @
661aebcb
#! /bin/sh
# Reset the directory contents.
rm
-f
Setup
*
Makefile
*
*
.c
*
.o
*
.a
*
.so
*
~ python sedscript
Demo/extend/make_shared
0 → 100755
Dosyayı görüntüle @
661aebcb
#! /bin/sh
# This script tests and demonstrates the mechanism for building a
# shared library for an additional extension module using the
# generic Makefile.pre.in from the Misc directory.
./make_clean
cp
../../Misc/Makefile.pre.in
.
cp
../../Modules/xxmodule.c
.
echo
'*shared*'
>
Setup.in
echo
xx xxmodule.c
>>
Setup.in
make
-f
Makefile.pre.in boot
make Makefile
make
Demo/extend/make_static
0 → 100755
Dosyayı görüntüle @
661aebcb
#! /bin/sh
# This script tests and demonstrates the mechanism for building a
# static Python binary with an additional extension module using the
# generic Makefile.pre.in from the Misc directory.
./make_clean
cp
../../Misc/Makefile.pre.in
.
cp
../../Modules/xxmodule.c
.
echo
xx xxmodule.c
>
Setup.in
make
-f
Makefile.pre.in boot
make Makefile
make static
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