Mercurial > cpython-lru_cache-weakref
annotate Python/Makefile.in @ 2147:838ef9768821 legacy-trunk
added $& to $(LIB) target for Sequent
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 17 Jan 1995 16:11:29 +0000 |
| parents | d7e91437f0a2 |
| children | f49b6372492f |
| 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 \ | |
| 36 frozenmain.o \ | |
|
1913
8623aa3915db
* Python/{modsupport.c,getargs.c,Makefile.in},
Guido van Rossum <guido@python.org>
parents:
1805
diff
changeset
|
37 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
|
38 import.o importdl.o \ |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
39 marshal.o modsupport.o mystrtoul.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
40 pythonmain.o pythonrun.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
41 sigcheck.o structmember.o sysmodule.o \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
42 traceback.o \ |
| 1450 | 43 $(LIBOBJS) |
| 1438 | 44 |
| 1450 | 45 LIB= libPython.a |
| 1438 | 46 |
| 47 SYSLIBS= -lm | |
| 48 | |
| 49 | |
| 50 # === Rules === | |
| 51 | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
52 all: $(LIB) |
| 1438 | 53 |
|
2147
838ef9768821
added $& to $(LIB) target for Sequent
Guido van Rossum <guido@python.org>
parents:
2052
diff
changeset
|
54 $(LIB): $& $(OBJS) |
|
1805
5b92a083934d
errors.c: clear traceback too.
Guido van Rossum <guido@python.org>
parents:
1793
diff
changeset
|
55 -rm -f $(LIB) |
| 1438 | 56 $(AR) cr $(LIB) $(OBJS) |
| 1450 | 57 $(RANLIB) $(LIB) |
| 1438 | 58 |
| 59 clean: | |
| 1450 | 60 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej |
| 1438 | 61 |
| 62 clobber: clean | |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
63 -rm -f *.a tags TAGS |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
64 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
65 Makefile: $(srcdir)/Makefile.in ../config.status |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
66 (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
|
67 $(SHELL) config.status) |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
68 |
|
2052
d7e91437f0a2
Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents:
1976
diff
changeset
|
69 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
|
70 $(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
|
71 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
72 depend: |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
73 $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
74 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'` |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
75 |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
76 .PRECIOUS: Makefile |
| 1438 | 77 |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
78 bltinmodule.o: bltinmodule.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
79 ceval.o: ceval.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
80 cgensupport.o: cgensupport.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
81 compile.o: compile.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
82 dup2.o: dup2.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
83 errors.o: errors.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
84 fmod.o: fmod.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
85 frozenmain.o: frozenmain.c |
|
1976
e23639879cd0
add getargs.o:getargs.c rule
Guido van Rossum <guido@python.org>
parents:
1913
diff
changeset
|
86 getargs.o: getargs.c |
|
1746
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
87 getcwd.o: getcwd.c |
|
1940892d2fe3
Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents:
1450
diff
changeset
|
88 getmtime.o: getmtime.c |
|
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 |
