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 # === Other things that are customizable but not by configure ===
21 INCLDIR
= $(srcdir)/..
/Include
23 CFLAGS
= $(OPT
) -I
$(INCLDIR
) -I..
$(DEFS
)
29 # === Fixed definitions ===
31 OBJS
= abstract.o bufferobject.o \
32 classobject.o cobject.o complexobject.o \
33 fileobject.o floatobject.o \
34 frameobject.o funcobject.o intobject.o listobject.o \
35 longobject.o dictobject.o methodobject.o \
36 moduleobject.o object.o rangeobject.o \
37 sliceobject.o stringobject.o \
38 tupleobject.o typeobject.o
40 SRCS
= abstract.c bufferobject.c \
41 classobject.c cobject.c complexobject.c \
42 fileobject.c floatobject.c \
43 frameobject.c funcobject.c intobject.c listobject.c \
44 longobject.c dictobject.c methodobject.c \
45 moduleobject.c object.c rangeobject.c \
46 sliceobject.c stringobject.c \
47 tupleobject.c typeobject.c
49 LIBRARY
= ..
/libpython
$(VERSION
).a
55 # This target is used by the master Makefile to add the objects to the library
57 $(AR
) cr
$(LIBRARY
) $(OBJS
)
61 -rm -f
*.o core
*~
[@
,#]* *.old *.orig *.rej add2lib
66 Makefile
: $(srcdir)/Makefile.in ..
/config.status
67 (cd ..
; CONFIG_FILES
=Objects
/Makefile CONFIG_HEADERS
= \
68 $(SHELL
) config.status
)
71 $(MKDEP
) $(CFLAGS
) `echo $(OBJS) | tr ' ' '\012' | \
72 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
76 abstract.o
: abstract.c
77 bufferobject.o
: bufferobject.c
78 classobject.o
: classobject.c
80 complexobject.o
: complexobject.c
81 fileobject.o
: fileobject.c
82 floatobject.o
: floatobject.c
83 frameobject.o
: frameobject.c
84 funcobject.o
: funcobject.c
85 intobject.o
: intobject.c
86 listobject.o
: listobject.c
87 longobject.o
: longobject.c
88 dictobject.o
: dictobject.c
89 methodobject.o
: methodobject.c
90 moduleobject.o
: moduleobject.c
92 rangeobject.o
: rangeobject.c
93 sliceobject.o
: sliceobject.c
94 stringobject.o
: stringobject.c
95 tupleobject.o
: tupleobject.c
96 typeobject.o
: typeobject.c
98 # DO NOT DELETE THIS LINE -- mkdep uses it.
99 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
100 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY