Guido van Rossum | 455b87d | 1993-12-20 11:43:21 +0000 | [diff] [blame^] | 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@ |
| 12 | |
| 13 | |
| 14 | # === Other things that are customizable but not by configure === |
| 15 | |
| 16 | AR= ar |
| 17 | MKDEP= mkdep |
| 18 | SHELL= /bin/sh |
| 19 | |
| 20 | INCLDIR= $(srcdir)/../Py |
| 21 | OPT= -g |
| 22 | CFLAGS= $(OPT) -I$(INCLDIR) |
| 23 | |
| 24 | |
| 25 | # === Fixed definitions === |
| 26 | |
| 27 | OBJS= 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 | |
| 34 | SRCS= 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 | |
| 41 | LIB= libObjects.a |
| 42 | |
| 43 | |
| 44 | # === Rules === |
| 45 | |
| 46 | all: $(LIB) |
| 47 | |
| 48 | $(LIB): $(OBJS) |
| 49 | $(AR) cr $(LIB) $(OBJS) |
| 50 | |
| 51 | clean: |
| 52 | -rm -f $(OBJS) |
| 53 | -rm -f core *~ [@,#]* *.old *.orig *.rej |
| 54 | |
| 55 | clobber: clean |
| 56 | -rm -f $(LIB) tags TAGS |
| 57 | |
| 58 | Makefile: Makefile.in ../config.status |
| 59 | (cd ..; $(SHELL) config.status) |
| 60 | |
| 61 | depend: $(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 |