Mercurial > cpython-lru_cache-weakref
annotate Python/Makefile.in @ 2420:6beef17871f9 legacy-trunk
change ifdefs and fix "%#s" format
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 21 Feb 1995 21:02:46 +0000 |
| parents | 6263e2fd9398 |
| children | 450ad5496407 |
| rev | line source |
|---|---|
| 1438 | 1 # NOTE: Makefile.in is converted into Makefile by the configure script |
| 2 # in the parent directory. Once configure has run, you can recreate | |
| 3 # the Makefile by running just config.status. | |
| 4 | |
| 5 # === Variables set by config.stat === | |
| 6 | |
| 7 srcdir= @srcdir@ | |
| 8 VPATH= @srcdir@ | |
| 9 | |
| 10 CC= @CC@ | |
| 11 RANLIB= @RANLIB@ | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
12 AR= @AR@ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
13 |
| 1450 | 14 DEFS= @DEFS@ |
| 15 LIBOBJS= @LIBOBJS@ | |
| 16 LIBS= @LIBS@ | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
17 DLINCLDIR= @DLINCLDIR@ |
| 1438 | 18 |
| 19 | |
| 20 # === Other things that are customizable but not by configure === | |
| 21 | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
22 INCLDIR= $(srcdir)/../Include |
|
1805
5b92a083934d
errors.c: clear traceback too.
Guido van Rossum <guido@python.org>
parents:
1793
diff
changeset
|
23 OPT= @OPT@ |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
24 CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS) |
| 1450 | 25 |
| 1438 | 26 MKDEP= mkdep |
| 27 SHELL= /bin/sh | |
| 28 | |
| 29 | |
| 30 # === Fixed definitions === | |
| 31 | |
| 1450 | 32 OBJS= \ |
| 33 bltinmodule.o \ | |
| 34 ceval.o cgensupport.o compile.o \ | |
| 35 errors.o \ | |
|
2204
02dd63d3fe9b
removed getopt.o from OBJS
Guido van Rossum <guido@python.org>
parents:
2165
diff
changeset
|
36 getargs.o getmtime.o graminit.o \ |
|
2052
d7e91437f0a2
Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents:
1976
diff
changeset
|
37 import.o importdl.o \ |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
38 marshal.o modsupport.o mystrtoul.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
39 pythonmain.o pythonrun.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
40 sigcheck.o structmember.o sysmodule.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
41 traceback.o \ |
| 1450 | 42 $(LIBOBJS) |
| 1438 | 43 |
| 1450 | 44 LIB= libPython.a |
| 1438 | 45 |
| 46 SYSLIBS= -lm | |
| 47 | |
| 48 | |
| 49 # === Rules === | |
| 50 | |
|
2294
6263e2fd9398
init_frozen non-static, frozenmain.c not in Makefile any more
Guido van Rossum <guido@python.org>
parents:
2258
diff
changeset
|
51 all: $(LIB) |
| 1438 | 52 |
|
2147
838ef9768821
added $& to $(LIB) target for Sequent
Guido van Rossum <guido@python.org>
parents:
2052
diff
changeset
|
53 $(LIB): $& $(OBJS) |
|
1805
5b92a083934d
errors.c: clear traceback too.
Guido van Rossum <guido@python.org>
parents:
1793
diff
changeset
|
54 -rm -f $(LIB) |
| 1438 | 55 $(AR) cr $(LIB) $(OBJS) |
| 1450 | 56 $(RANLIB) $(LIB) |
| 1438 | 57 |
| 58 clean: | |
| 1450 | 59 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej |
| 1438 | 60 |
| 61 clobber: clean | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
62 -rm -f *.a tags TAGS |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
63 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
64 Makefile: $(srcdir)/Makefile.in ../config.status |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
65 (cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
66 $(SHELL) config.status) |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
67 |
|
2052
d7e91437f0a2
Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents:
1976
diff
changeset
|
68 importdl.o: importdl.c |
|
d7e91437f0a2
Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents:
1976
diff
changeset
|
69 $(CC) $(CFLAGS) -I$(DLINCLDIR) -c $(srcdir)/importdl.c |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
70 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
71 depend: |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
72 $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
73 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'` |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
74 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
75 .PRECIOUS: Makefile |
| 1438 | 76 |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
77 bltinmodule.o: bltinmodule.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
78 ceval.o: ceval.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
79 cgensupport.o: cgensupport.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
80 compile.o: compile.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
81 dup2.o: dup2.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
82 errors.o: errors.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
83 fmod.o: fmod.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
84 frozenmain.o: frozenmain.c |
|
1976
e23639879cd0
add getargs.o:getargs.c rule
Guido van Rossum <guido@python.org>
parents:
1913
diff
changeset
|
85 getargs.o: getargs.c |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
86 getcwd.o: getcwd.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
87 getmtime.o: getmtime.c |
|
2165
f49b6372492f
added getopt.c to object, permanently
Guido van Rossum <guido@python.org>
parents:
2147
diff
changeset
|
88 getopt.o: getopt.c |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
89 graminit.o: graminit.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
90 import.o: import.c |
|
2052
d7e91437f0a2
Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents:
1976
diff
changeset
|
91 importdl.o: importdl.c |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
92 marshal.o: marshal.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
93 memmove.o: memmove.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
94 modsupport.o: modsupport.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
95 mystrtoul.o: mystrtoul.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
96 pythonmain.o: pythonmain.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
97 pythonrun.o: pythonrun.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
98 sigcheck.o: sigcheck.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
99 strerror.o: strerror.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
100 strtod.o: strtod.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
101 structmember.o: structmember.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
102 sysmodule.o: sysmodule.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
103 thread.o: thread.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
104 traceback.o: traceback.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
105 version.o: version.c |
| 1438 | 106 |
| 107 # DO NOT DELETE THIS LINE -- mkdep uses it. | |
| 108 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
| 109 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
