annotate Python/Makefile.in @ 1573:eaaba2cafeeb legacy-trunk

*** empty log message ***
author Guido van Rossum <guido@python.org>
date Mon, 07 Mar 1994 12:05:46 +0000
parents d8ca0e913c44
children 1940892d2fe3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 # NOTE: Makefile.in is converted into Makefile by the configure script
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 # in the parent directory. Once configure has run, you can recreate
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 # the Makefile by running just config.status.
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
4
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 # === Variables set by config.stat ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 srcdir= @srcdir@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 VPATH= @srcdir@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
9
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 CC= @CC@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 RANLIB= @RANLIB@
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
12 DEFS= @DEFS@
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
13 LIBOBJS= @LIBOBJS@
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
14 LIBS= @LIBS@
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
16
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 # === Other things that are customizable but not by configure ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
18
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
19 TOP= ..
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
20 INCLDIR= $(TOP)/Py
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
21 OPT= -g
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
22 CFLAGS= $(OPT) -I$(INCLDIR) $(DEFS)
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
23
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 AR= ar
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 MKDEP= mkdep
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 SHELL= /bin/sh
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
27
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
28
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 # === Fixed definitions ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
30
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
31 OBJS= \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
32 arraymodule.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
33 bltinmodule.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
34 ceval.o cgensupport.o compile.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
35 errors.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
36 frozenmain.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
37 getmtime.o graminit.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
38 import.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
39 marshal.o mathmodule.o modsupport.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
40 parsermodule.o posixmodule.o pythonmain.o pythonrun.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
41 regexmodule.o regexpr.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
42 stropmodule.o structmember.o structmodule.o sysmodule.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
43 timemodule.o traceback.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
44 version.o \
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
45 $(LIBOBJS)
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
46
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
47 LIB= libPython.a
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
48
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 MYLIBS= $(LIB) ../Objects/libObjects.a ../Parser/libParser.a
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
50
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 SYSLIBS= -lm
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
52
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
53
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 # === Rules ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
55
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 all: $(LIB) python
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
57
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 $(LIB): $(OBJS)
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 $(AR) cr $(LIB) $(OBJS)
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
60 $(RANLIB) $(LIB)
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
61
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
62 python: config.o $(MYLIBS)
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
63 $(CC) config.o $(MYLIBS) $(LIBS) $(SYSLIBS) -o python
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
64
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
65 config.o: Makefile
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
66
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 clean:
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
68 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
69
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
70 clobber: clean
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
71 -rm -f *.a python tags TAGS
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
72
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
73 Makefile: Makefile.in $(TOP)/config.status
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
74 CONFIG_FILES=Makefile $(SHELL) $(TOP)/config.status
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
75
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
76 depend: $(SRCS)
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 $(MKDEP) $(CFLAGS) $(SRCS) $(PGENSRCS)
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
78
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
79 # DO NOT DELETE THIS LINE -- mkdep uses it.
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
80 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY