annotate Python/Makefile.in @ 10072:ecebcd84df37 legacy-trunk

put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr
author Just van Rossum <just@lettererror.com>
date Tue, 02 Feb 1999 15:49:03 +0000
parents a2397255a6d3
children 2aab47484012
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
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
7 VERSION= @VERSION@
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
8
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 srcdir= @srcdir@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 VPATH= @srcdir@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
11
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 CC= @CC@
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 RANLIB= @RANLIB@
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
14 AR= @AR@
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
15
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
16 DEFS= @DEFS@
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
17 LIBOBJS= @LIBOBJS@
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
18 LIBS= @LIBS@
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
19 DLINCLDIR= @DLINCLDIR@
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
20
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
21 # Machine-dependent subdirectories
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
22 MACHDEP= @MACHDEP@
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
23
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
24
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 # === Other things that are customizable but not by configure ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
26
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
27 INCLDIR= $(srcdir)/../Include
1805
5b92a083934d errors.c: clear traceback too.
Guido van Rossum <guido@python.org>
parents: 1793
diff changeset
28 OPT= @OPT@
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
29 CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
30
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 MKDEP= mkdep
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 SHELL= /bin/sh
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
33
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 # === Fixed definitions ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
36
9298
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
37 AROBJS= \
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
38 bltinmodule.o \
5357
bc2e3334048e Removed cgensupport.[co] (to ../Modules).
Guido van Rossum <guido@python.org>
parents: 5119
diff changeset
39 ceval.o compile.o \
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
40 errors.o \
5887
2a172b4950b6 frozenmain.c is now also in the library,
Guido van Rossum <guido@python.org>
parents: 5859
diff changeset
41 frozen.o frozenmain.o \
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
42 getargs.o getcompiler.o getcopyright.o getmtime.o \
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
43 getplatform.o getversion.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
44 import.o importdl.o \
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
45 marshal.o modsupport.o mystrtoul.o \
5405
b7871ca930ad Massive changes for separate thread state management.
Guido van Rossum <guido@python.org>
parents: 5357
diff changeset
46 pyfpe.o pystate.o pythonrun.o \
9298
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
47 structmember.o sysmodule.o \
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
48 traceback.o \
1450
d8ca0e913c44 Misc changes.
Guido van Rossum <guido@python.org>
parents: 1438
diff changeset
49 $(LIBOBJS)
9298
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
50 OBJS= $(AROBJS) sigcheck.o
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
51
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
52 LIBRARY= ../libpython$(VERSION).a
1438
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
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 # === Rules ===
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
56
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
57 all: $(OBJS)
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
58
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
59 # This target is used by the master Makefile to add the objects to the library
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
60 add2lib: $(OBJS)
9298
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
61 $(AR) cr $(LIBRARY) $(AROBJS)
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
62 if test ! -f ../Modules/hassignal; \
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
63 then echo adding sigcheck.o; $(AR) r $(LIBRARY) sigcheck.o; \
a2397255a6d3 Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Guido van Rossum <guido@python.org>
parents: 8836
diff changeset
64 else echo leaving sigcheck.o out; fi
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
65 touch add2lib
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:
5859
64f9ce999437 New build procedure.
Guido van Rossum <guido@python.org>
parents: 5405
diff changeset
68 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
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
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
71 -rm -f *.a tags TAGS
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
72
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
73 Makefile: $(srcdir)/Makefile.in ../config.status
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
74 (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
75 $(SHELL) config.status)
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
76
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
77 getplatform.o: getplatform.c Makefile
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
78 $(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' \
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
79 $(srcdir)/getplatform.c
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
80
2052
d7e91437f0a2 Lots of changes, most minor (fatal() instead of abort(), use of
Guido van Rossum <guido@python.org>
parents: 1976
diff changeset
81 importdl.o: importdl.c
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
82 $(CC) -c $(CFLAGS) -I$(DLINCLDIR) $(srcdir)/importdl.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
83
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
84 depend:
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
85 $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
86 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
87
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
88 .PRECIOUS: Makefile
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
89
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
90 bltinmodule.o: bltinmodule.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
91 ceval.o: ceval.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
92 compile.o: compile.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
93 dup2.o: dup2.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
94 errors.o: errors.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
95 fmod.o: fmod.c
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
96 frozen.o: frozen.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
97 frozenmain.o: frozenmain.c
1976
e23639879cd0 add getargs.o:getargs.c rule
Guido van Rossum <guido@python.org>
parents: 1913
diff changeset
98 getargs.o: getargs.c
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
99 getcompiler.o: getcompiler.c
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
100 getcopyright.o: getcopyright.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
101 getcwd.o: getcwd.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
102 getmtime.o: getmtime.c
2165
f49b6372492f added getopt.c to object, permanently
Guido van Rossum <guido@python.org>
parents: 2147
diff changeset
103 getopt.o: getopt.c
2893
450ad5496407 split cofnfig.c in 1000 little files :-)
Guido van Rossum <guido@python.org>
parents: 2294
diff changeset
104 getplatform.o: getplatform.c
8836
f1ca41995e62 Make getversion.o dependent on ../Include/patchlevel.h as well.
Fred Drake <fdrake@acm.org>
parents: 5887
diff changeset
105 getversion.o: getversion.c ../Include/patchlevel.h
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
106 graminit.o: graminit.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
107 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
108 importdl.o: importdl.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
109 marshal.o: marshal.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
110 memmove.o: memmove.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
111 modsupport.o: modsupport.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
112 mystrtoul.o: mystrtoul.c
5119
bda01a374762 Changes for Lee Busby's SIGFPE patch set.
Guido van Rossum <guido@python.org>
parents: 2893
diff changeset
113 pyfpe.o: pyfpe.c
5405
b7871ca930ad Massive changes for separate thread state management.
Guido van Rossum <guido@python.org>
parents: 5357
diff changeset
114 pystate.o: pystate.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
115 pythonrun.o: pythonrun.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
116 sigcheck.o: sigcheck.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
117 strerror.o: strerror.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
118 strtod.o: strtod.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
119 structmember.o: structmember.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
120 sysmodule.o: sysmodule.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
121 thread.o: thread.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
122 traceback.o: traceback.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1450
diff changeset
123 version.o: version.c
1438
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
124
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
125 # DO NOT DELETE THIS LINE -- mkdep uses it.
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
126 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
d7e3842b2e7b New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
127 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY