Kaydet (Commit) 693291ba authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Superseded by $(srcdir)/Makefile.pre.in.

üst e0d43577
all:
@echo Nothing to make in this directory.
clean:
find . '(' -name '*.pyc' -o -name '*.fdc' \
-o -name core -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \
-print -exec rm -f {} ';'
clobber: clean
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.status ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
DEFS= @DEFS@
LIBS= @LIBS@
# === Fixed definitions ===
TOP= ..
PGENDIR= $(TOP)/Parser
PGEN= $(PGENDIR)/pgen
DESTH= $(srcdir)/$(TOP)/Include/graminit.h
DESTC= $(srcdir)/$(TOP)/Python/graminit.c
all: install
# This target is used by the master Makefile to add the objects to the library
add2lib:
install: $(DESTH) $(DESTC)
depend:
$(DESTH): graminit.h
cp graminit.h $(DESTH)
$(DESTC): graminit.c
cp graminit.c $(DESTC)
graminit.c graminit.h: $(PGEN) Grammar
$(PGEN) $(srcdir)/Grammar
$(PGEN):
cd $(PGENDIR); $(MAKE) pgen
clean:
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej
-rm -f graminit.[ch]
clobber: clean
-rm -f tags TAGS
all:
@echo Nothing to make in this directory.
clean:
find . '(' -name '*.pyc' -o -name '*.fdc' \
-o -name core -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \
-print -exec rm -f {} ';'
clobber: clean
all:
@echo Nothing to make in this directory.
clean:
find . '(' -name '*.py[co]' -o -name '*.fdc' \
-o -name core -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \
-print -exec rm -f {} ';'
clobber: clean
This diff is collapsed.
all:
@echo Nothing to make in this directory.
clean:
find . '(' -name '*.pyc' -o -name core -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' ')' \
-print -exec rm -f {} ';'
clobber: clean
# META-NOTE: this note is different from the note in the other Makefiles!
# NOTE: Makefile.pre.in is converted into Makefile.pre by the configure
# script in the toplevel directory or by ../config.status.
# Makefile.pre is converted into Makefile by running the makesetup
# script in the source directory. Once Makefile exists, it can be
# brought up to date by running "make Makefile". (The makesetup also
# creates config.c from config.c.in in the source directory.)
# === Variables set by makesetup ===
MODOBJS= _MODOBJS_
MODLIBS= _MODLIBS_
# === Variables set by configure ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CXX= @CXX@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
OPT= @OPT@
LDFLAGS= @LDFLAGS@
LDLAST= @LDLAST@
SGI_ABI= @SGI_ABI@
DEFS= @DEFS@
LIBS= @LIBS@
LIBM= @LIBM@
LIBC= @LIBC@
# Machine-dependent subdirectories
MACHDEP= @MACHDEP@
# Install prefix for architecture-independent files
prefix= @prefix@
# Install prefix for architecture-dependent files
exec_prefix= @exec_prefix@
# Executable suffix (.exe on Windows and Mac OS X)
EXE= @EXE@
# Expanded directories
BINDIR= $(exec_prefix)/bin
LIBDIR= $(exec_prefix)/lib
MANDIR= $(prefix)/man
INCLUDEDIR= $(prefix)/include
SCRIPTDIR= $(prefix)/lib
# Detailed destination directories
BINLIBDEST= $(LIBDIR)/python$(VERSION)
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
LIBP= $(LIBDIR)/python$(VERSION)
# Symbols used for using shared libraries
SO= @SO@
LDSHARED= @LDSHARED@
CCSHARED= @CCSHARED@
LINKFORSHARED= @LINKFORSHARED@
DESTSHARED= $(BINLIBDEST)/lib-dynload
# Portable install script (configure doesn't always guess right)
INSTALL= @srcdir@/../install-sh -c
INSTALL_PROGRAM=${INSTALL} -m 755
INSTALL_DATA= ${INSTALL} -m 644
# Shared libraries must be installed with executable mode on some systems;
# rather than figuring out exactly which, we always give them executable mode.
# Also, making them read-only seems to be a good idea...
INSTALL_SHARED= ${INSTALL} -m 555
# === Variables that are customizable by hand or by inclusion in Setup ===
LINKCC= @LINKCC@
INCLDIR= $(srcdir)/../Include
CONFIGINCLDIR= ..
CFLAGS= $(OPT) -I$(INCLDIR) -I$(CONFIGINCLDIR) $(DEFS)
MKDEP= mkdep
SHELL= /bin/sh
MAKESETUP= $(srcdir)/makesetup
# (The makesetup script inserts all variable definitions
# found in the Setup file just below the following line.
# This means that the Setup file can override any of the definitions
# given before this point, but not any given below.
# The script insert the definitions in reverse order,
# for the benefits of independent extensions.)
# === Definitions added by makesetup ===
# === Fixed definitions ===
FIXOBJS= config.o getpath.o main.o getbuildinfo.o
OBJS= $(MODOBJS) $(FIXOBJS)
#MAINOBJ= python.o
MAINOBJ= @MAINOBJ@
SYSLIBS= $(LIBM) $(LIBC)
LIBRARY= ../libpython$(VERSION).a
LDLIBRARY= ../@LDLIBRARY@
DLLLIBRARY= @DLLLIBRARY@
# === Rules ===
all: $(OBJS)
# This target is used by the master Makefile to add the objects to the library.
# To deal with the conflict between signalmodule.o and
# sigcheck.o+intrcheck.o, we remove the latter two if we have the former.
add2lib: $(OBJS)
-if test -f hassignal; \
then echo removing sigcheck.o intrcheck.o; \
$(AR) d $(LIBRARY) sigcheck.o intrcheck.o 2>/dev/null; \
else echo leaving sigcheck.o intrcheck.o in; fi
$(AR) cr $(LIBRARY) $(OBJS)
touch add2lib
# This target is used by the master Makefile to link the final binary.
link: $(MAINOBJ)
$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
$(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python$(EXE) $(LDLAST)
mv python$(EXE) ../python$(EXE)
# This rule builds the Cygwin Python DLL
$(DLLLIBRARY): $(LIBRARY)
test -d cygwin || mkdir cygwin
(cd cygwin; ar x ../$^)
dlltool --export-all --output-def $(basename $@).def cygwin/*.o
$(LDSHARED) -Wl,--out-implib=$(LDLIBRARY) -o $@ $(basename $@).def cygwin/*.o $(MODLIBS) $(LIBS) $(SYSLIBS)
rm -fr cygwin
clean:
-rm -f *.o python$(EXE) core *~ [@,#]* *.old *.orig *.rej
-rm -f add2lib hassignal
clobber: clean
-rm -f *.a tags TAGS config.c Makefile.pre
-rm -f *.so *.sl so_locations
getpath.o: getpath.c Makefile
$(CC) -c $(CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
-DPREFIX='"$(prefix)"' \
-DEXEC_PREFIX='"$(exec_prefix)"' \
-DVERSION='"$(VERSION)"' \
-DVPATH='"$(VPATH)"' \
$(srcdir)/getpath.c
# When the configuration changes, we remove the library, so that it
# gets remade from scratch; this ensures to remove modules that are no
# longer pertinent (but that were in a previous configuration).
config.c Makefile: Makefile.pre config.c.in $(MAKESETUP)
config.c Makefile: Setup.config Setup Setup.local
config.c Makefile:
-rm -rf $(LIBRARY)
$(SHELL) $(MAKESETUP) Setup.config Setup.local Setup
hassignal:
-rm -f hassignal
-for i in $(OBJS); do \
if test "$$i" = "signalmodule.o"; then \
echo yes >hassignal; break; \
fi; \
done
Setup: $(srcdir)/Setup.dist
@echo "-----------------------------------------------"; \
echo "Modules/Setup.dist is newer than Modules/Setup;"; \
echo "check to make sure you have all the updates you"; \
echo "need in your Modules/Setup file."; \
echo "-----------------------------------------------";
Setup.local:
echo "# Edit this file for local setup changes" >Setup.local
Makefile.pre: Makefile.pre.in ../config.status
(cd ..; CONFIG_FILES=Modules/Makefile.pre CONFIG_HEADERS= \
$(SHELL) config.status)
depend:
$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
.PRECIOUS: ../python$(EXE)
glmodule.c: $(srcdir)/cgen.py $(srcdir)/cstubs
python $(srcdir)/cgen.py <$(srcdir)/cstubs >glmodule.c
almodule.o: almodule.c
arraymodule.o: arraymodule.c
audioop.o: audioop.c
cdmodule.o: cdmodule.c
cgensupport.o: cgensupport.c
clmodule.o: clmodule.c
_codecsmodule.o: _codecsmodule.c
dbmmodule.o: dbmmodule.c
errnomodule.o: errnomodule.c
fcntlmodule.o: fcntlmodule.c
flmodule.o: flmodule.c
fmmodule.o: fmmodule.c
glmodule.o: glmodule.c
imageop.o: imageop.c
imgfile.o: imgfile.c
main.o: main.c
mathmodule.o: mathmodule.c
md5c.o: md5c.c
md5module.o: md5module.c
mpzmodule.o: mpzmodule.c
nismodule.o: nismodule.c
operator.o: operator.c
parsermodule.o: parsermodule.c
posixmodule.o: posixmodule.c
pwdmodule.o: pwdmodule.c
regexmodule.o: regexmodule.c
regexpr.o: regexpr.c
resource.o: resource.c
rgbimgmodule.o: rgbimgmodule.c
rotormodule.o: rotormodule.c
selectmodule.o: selectmodule.c
sgimodule.o: sgimodule.c
socketmodule.o: socketmodule.c
stdwinmodule.o: stdwinmodule.c
stropmodule.o: stropmodule.c
structmodule.o: structmodule.c
sunaudiodev.o: sunaudiodev.c
svmodule.o: svmodule.c
threadmodule.o: threadmodule.c
timemodule.o: timemodule.c
timingmodule.o: timingmodule.c
unicodedata.o: unicodedata.c unicodedata_db.h unicodename_db.h
xxmodule.o: xxmodule.c
yuvconvert.o: yuvconvert.c
# Rules to build and install all shared modules
sharedmods: $(SHAREDMODS)
sharedinstall: $(DESTSHARED) $(SHAREDMODS)
-for i in X $(SHAREDMODS); do \
if test $$i != X; \
then $(INSTALL_SHARED) $$i $(DESTSHARED)/$$i; \
fi; \
done
DESTDIRS= $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
$(DESTSHARED):
@for i in $(DESTDIRS); \
do \
if test ! -d $$i; then \
echo "Creating directory $$i"; \
mkdir $$i; \
chmod 755 $$i; \
else true; \
fi; \
done
ccpython.o: ccpython.cc
$(CXX) $(CFLAGS) -c $*.cc
# Stuff is appended here by makesetup and make depend
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
DEFS= @DEFS@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
SHELL= /bin/sh
# === Fixed definitions ===
OBJS= abstract.o bufferobject.o \
classobject.o cobject.o complexobject.o \
fileobject.o floatobject.o \
frameobject.o funcobject.o intobject.o listobject.o \
longobject.o dictobject.o methodobject.o \
moduleobject.o object.o rangeobject.o \
sliceobject.o stringobject.o \
tupleobject.o typeobject.o \
unicodeobject.o unicodectype.o
SRCS= abstract.c bufferobject.c \
classobject.c cobject.c complexobject.c \
fileobject.c floatobject.c \
frameobject.c funcobject.c intobject.c listobject.c \
longobject.c dictobject.c methodobject.c \
moduleobject.c object.c rangeobject.c \
sliceobject.c stringobject.c \
tupleobject.c typeobject.c \
unicodeobject.c unicodectype.c
LIBRARY= ../libpython$(VERSION).a
# === Rules ===
all: $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib: $(OBJS)
$(AR) cr $(LIBRARY) $(OBJS)
touch add2lib
clean:
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
clobber: clean
-rm -f *.a tags TAGS
Makefile: $(srcdir)/Makefile.in ../config.status
(cd ..; CONFIG_FILES=Objects/Makefile CONFIG_HEADERS= \
$(SHELL) config.status)
depend:
$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
.PRECIOUS: Makefile
abstract.o: abstract.c
bufferobject.o: bufferobject.c
classobject.o: classobject.c
cobject.o: cobject.c
complexobject.o: complexobject.c
fileobject.o: fileobject.c
floatobject.o: floatobject.c
frameobject.o: frameobject.c
funcobject.o: funcobject.c
intobject.o: intobject.c
listobject.o: listobject.c
longobject.o: longobject.c
dictobject.o: dictobject.c
methodobject.o: methodobject.c
moduleobject.o: moduleobject.c
object.o: object.c
rangeobject.o: rangeobject.c
sliceobject.o: sliceobject.c
stringobject.o: stringobject.c
tupleobject.o: tupleobject.c
typeobject.o: typeobject.c
unicodeobject.o: unicodeobject.c
unicodectype.o: unicodectype.c unicodetype_db.h
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
DEFS= @DEFS@
LIBS= @LIBS@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
SHELL= /bin/sh
# === Fixed definitions ===
POBJS= acceler.o grammar1.o \
listnode.o node.o parser.o \
parsetok.o tokenizer.o bitset.o \
metagrammar.o
AROBJS= $(POBJS) myreadline.o
OBJS= $(AROBJS) intrcheck.o
PGENMAIN= pgenmain.o
PGOBJS= firstsets.o grammar.o pgen.o printgrammar.o
PGENOBJS= $(PGENMAIN) $(POBJS) $(PGOBJS)
DOBJS= $(PGENMAIN) $(OBJS) $(PGOBJS)
PGEN= pgen
LIBRARY= ../libpython$(VERSION).a
# === Rules ===
all: $(PGEN) $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib: $(OBJS)
$(AR) cr $(LIBRARY) $(AROBJS)
if test ! -f ../Modules/hassignal; \
then echo adding intrcheck.o; $(AR) r $(LIBRARY) intrcheck.o; \
else echo leaving intrcheck.o out; fi
touch add2lib
$(PGEN): $(PGENOBJS)
$(CC) $(OPT) $(PGENOBJS) $(LIBS) -o $(PGEN)
clean:
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
clobber: clean
-rm -f $(PGEN) *.a tags TAGS
Makefile: $(srcdir)/Makefile.in ../config.status
(cd ..; CONFIG_FILES=Parser/Makefile CONFIG_HEADERS= \
$(SHELL) config.status)
depend:
$(MKDEP) $(CFLAGS) `echo $(DOBJS) | tr ' ' '\012' | \
sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
.PRECIOUS: Makefile
acceler.o: acceler.c
grammar1.o: grammar1.c
intrcheck.o: intrcheck.c
listnode.o: listnode.c
myreadline.o: myreadline.c
node.o: node.c
parser.o: parser.c
parsetok.o: parsetok.c
tokenizer.o: tokenizer.c
bitset.o: bitset.c
firstsets.o: firstsets.c
grammar.o: grammar.c assert.h ../Include/token.h ../Include/grammar.h
metagrammar.o: metagrammar.c
pgen.o: pgen.c
printgrammar.o: printgrammar.c
pgenmain.o: pgenmain.c
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
AR= @AR@
DEFS= @DEFS@
LIBOBJS= @LIBOBJS@
LIBS= @LIBS@
DLINCLDIR= @DLINCLDIR@
DYNLOADFILE= @DYNLOADFILE@
# Machine-dependent subdirectories
MACHDEP= @MACHDEP@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
SHELL= /bin/sh
# === Fixed definitions ===
AROBJS= \
bltinmodule.o exceptions.o \
ceval.o compile.o codecs.o \
errors.o \
frozen.o frozenmain.o \
getargs.o getcompiler.o getcopyright.o getmtime.o \
getplatform.o getversion.o graminit.o \
import.o importdl.o \
marshal.o modsupport.o mystrtoul.o \
pyfpe.o pystate.o pythonrun.o \
structmember.o sysmodule.o \
traceback.o getopt.o \
$(DYNLOADFILE) \
$(LIBOBJS)
OBJS= $(AROBJS) sigcheck.o
LIBRARY= ../libpython$(VERSION).a
# === Rules ===
all: $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib: $(OBJS)
$(AR) cr $(LIBRARY) $(AROBJS)
if test ! -f ../Modules/hassignal; \
then echo adding sigcheck.o; $(AR) r $(LIBRARY) sigcheck.o; \
else echo leaving sigcheck.o out; fi
touch add2lib
clean:
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
clobber: clean
-rm -f *.a tags TAGS
Makefile: $(srcdir)/Makefile.in ../config.status
(cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \
$(SHELL) config.status)
getplatform.o: getplatform.c Makefile
$(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' \
$(srcdir)/getplatform.c
importdl.o: importdl.c
$(CC) -c $(CFLAGS) -I$(DLINCLDIR) $(srcdir)/importdl.c
depend:
$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
.PRECIOUS: Makefile
bltinmodule.o: bltinmodule.c
ceval.o: ceval.c
codecs.o: codecs.c
compile.o: compile.c
dup2.o: dup2.c
dynload_aix.o: dynload_aix.c
dynload_beos.o: dynload_beos.c
dynload_dl.o: dynload_dl.c
dynload_hpux.o: dynload_hpux.c
dynload_mac.o: dynload_mac.c
dynload_next.o: dynload_next.c
dynload_os2.o: dynload_os2.c
dynload_shlib.o: dynload_shlib.c
dynload_stub.o: dynload_stub.c
dynload_win.o: dynload_win.c
exceptions.o: exceptions.c
errors.o: errors.c
fmod.o: fmod.c
frozen.o: frozen.c
frozenmain.o: frozenmain.c
getargs.o: getargs.c
getcompiler.o: getcompiler.c
getcopyright.o: getcopyright.c
getcwd.o: getcwd.c
getmtime.o: getmtime.c
getopt.o: getopt.c
getplatform.o: getplatform.c
getversion.o: getversion.c ../Include/patchlevel.h
graminit.o: graminit.c
import.o: import.c
importdl.o: importdl.c
marshal.o: marshal.c
memmove.o: memmove.c
modsupport.o: modsupport.c
mystrtoul.o: mystrtoul.c
pyfpe.o: pyfpe.c
pystate.o: pystate.c
pythonrun.o: pythonrun.c
sigcheck.o: sigcheck.c
strerror.o: strerror.c
strtod.o: strtod.c
structmember.o: structmember.c
sysmodule.o: sysmodule.c ../Include/patchlevel.h
thread.o: thread.c
traceback.o: traceback.c
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment