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.
5 # === Variables set by config.stat ===
19 DLINCLDIR
= @DLINCLDIR@
21 # Machine-dependent subdirectories
25 # === Other things that are customizable but not by configure ===
27 INCLDIR
= $(srcdir)/..
/Include
29 CFLAGS
= $(OPT
) -I
$(INCLDIR
) -I..
$(DEFS
)
35 # === Fixed definitions ===
41 frozen.o frozenmain.o \
42 getargs.o getcompiler.o getcopyright.o getmtime.o \
43 getplatform.o getversion.o graminit.o \
45 marshal.o modsupport.o mystrtoul.o \
46 pyfpe.o pystate.o pythonrun.o \
47 sigcheck.o structmember.o sysmodule.o \
51 LIBRARY
= ..
/libpython
$(VERSION
).a
58 # This target is used by the master Makefile to add the objects to the library
60 $(AR
) cr
$(LIBRARY
) $(OBJS
)
64 -rm -f
*.o core
*~
[@
,#]* *.old *.orig *.rej add2lib
69 Makefile
: $(srcdir)/Makefile.in ..
/config.status
70 (cd ..
; CONFIG_FILES
=Python
/Makefile CONFIG_HEADERS
= \
71 $(SHELL
) config.status
)
73 getplatform.o
: getplatform.c Makefile
74 $(CC
) -c
$(CFLAGS
) -DPLATFORM
='"$(MACHDEP)"' \
75 $(srcdir)/getplatform.c
77 importdl.o
: importdl.c
78 $(CC
) -c
$(CFLAGS
) -I
$(DLINCLDIR
) $(srcdir)/importdl.c
81 $(MKDEP
) $(CFLAGS
) `echo $(OBJS) | tr ' ' '\012' | \
82 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
86 bltinmodule.o
: bltinmodule.c
93 frozenmain.o
: frozenmain.c
95 getcompiler.o
: getcompiler.c
96 getcopyright.o
: getcopyright.c
98 getmtime.o
: getmtime.c
100 getplatform.o
: getplatform.c
101 getversion.o
: getversion.c ..
/Include
/patchlevel.h
102 graminit.o
: graminit.c
104 importdl.o
: importdl.c
107 modsupport.o
: modsupport.c
108 mystrtoul.o
: mystrtoul.c
111 pythonrun.o
: pythonrun.c
112 sigcheck.o
: sigcheck.c
113 strerror.o
: strerror.c
115 structmember.o
: structmember.c
116 sysmodule.o
: sysmodule.c
118 traceback.o
: traceback.c
121 # DO NOT DELETE THIS LINE -- mkdep uses it.
122 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
123 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY