blob: c86f06d525c1c0be3fe02b22bc3bb7f8ac0226aa [file] [log] [blame]
Guido van Rossum455b87d1993-12-20 11:43:21 +00001# 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
7srcdir= @srcdir@
8VPATH= @srcdir@
9
10CC= @CC@
11RANLIB= @RANLIB@
12
13
14# === Other things that are customizable but not by configure ===
15
16AR= ar
17MKDEP= mkdep
18SHELL= /bin/sh
19
20INCLDIR= $(srcdir)/../Py
21OPT= -g
22CFLAGS= $(OPT) -I$(INCLDIR)
23
24
25# === Fixed definitions ===
26
27OBJS= accessobject.o \
28 classobject.o fileobject.o floatobject.o \
29 frameobject.o funcobject.o intobject.o listobject.o \
30 longobject.o mappingobject.o methodobject.o \
31 moduleobject.o object.o rangeobject.o stringobject.o \
32 tupleobject.o typeobject.o
33
34SRCS= accessobject.c \
35 classobject.c fileobject.c floatobject.c \
36 frameobject.c funcobject.c intobject.c listobject.c \
37 longobject.c mappingobject.c methodobject.c \
38 moduleobject.c object.c rangeobject.c stringobject.c \
39 tupleobject.c typeobject.c
40
41LIB= libObjects.a
42
43
44# === Rules ===
45
46all: $(LIB)
47
48$(LIB): $(OBJS)
49 $(AR) cr $(LIB) $(OBJS)
50
51clean:
52 -rm -f $(OBJS)
53 -rm -f core *~ [@,#]* *.old *.orig *.rej
54
55clobber: clean
56 -rm -f $(LIB) tags TAGS
57
58Makefile: Makefile.in ../config.status
59 (cd ..; $(SHELL) config.status)
60
61depend: $(SRCS)
62 $(MKDEP) $(CFLAGS) $(SRCS) $(PGENSRCS)
63
64# DO NOT DELETE THIS LINE -- mkdep uses it.
65# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
66# IF YOU PUT ANYTHING HERE IT WILL GO AWAY