home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pyth_os2.zip / python-1.0.2 / OS2 / Objects / Makefile
Makefile  |  1994-06-02  |  2KB  |  91 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # NOTE: Makefile.in is converted into Makefile by the configure script
  3. # in the parent directory.  Once configure has run, you can recreate
  4. # the Makefile by running just config.status.
  5.  
  6. # === Variables set by config.stat ===
  7.  
  8. srcdir=        .
  9.  
  10. CC=        gcc
  11. RANLIB=        ar -s
  12. AR=        ar
  13.  
  14. DEFS=        -DHAVE_CONFIG_H
  15.  
  16.  
  17. # === Other things that are customizable but not by configure ===
  18.  
  19. INCLDIR=    $(srcdir)/../Include
  20. OPT=        -O
  21. CFLAGS=        $(OPT) -I$(INCLDIR) -I.. $(DEFS)
  22.  
  23. MKDEP=        mkdep
  24. SHELL=        /bin/sh
  25.  
  26.  
  27. # === Fixed definitions ===
  28.  
  29. OBJS=        accessobject.o \
  30.         classobject.o fileobject.o floatobject.o \
  31.         frameobject.o funcobject.o intobject.o listobject.o \
  32.         longobject.o mappingobject.o methodobject.o \
  33.         moduleobject.o object.o rangeobject.o stringobject.o \
  34.         tupleobject.o typeobject.o
  35.  
  36. SRCS=        accessobject.c \
  37.         classobject.c fileobject.c floatobject.c \
  38.         frameobject.c funcobject.c intobject.c listobject.c \
  39.         longobject.c mappingobject.c methodobject.c \
  40.         moduleobject.c object.c rangeobject.c stringobject.c \
  41.         tupleobject.c typeobject.c
  42.  
  43. LIB=        libObjects.a
  44.  
  45.  
  46. # === Rules ===
  47.  
  48. all:        $(LIB)
  49.  
  50. $(LIB):        $(OBJS)
  51.         $(AR) cr $(LIB) $(OBJS)
  52.         $(RANLIB) $(LIB)
  53.  
  54. clean:
  55.         -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
  56.  
  57. clobber:    clean
  58.         -rm -f *.a tags TAGS
  59.  
  60. #Makefile:    $(srcdir)/Makefile.in ../config.status
  61. #        (cd ..; CONFIG_FILES=Objects/Makefile CONFIG_HEADERS= \
  62. #        $(SHELL) config.status)
  63.  
  64. depend:
  65.         $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
  66.                     sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
  67.  
  68. .PRECIOUS:    Makefile
  69.  
  70. accessobject.o: accessobject.c
  71. classobject.o: classobject.c
  72. fileobject.o: fileobject.c
  73. floatobject.o: floatobject.c
  74. frameobject.o: frameobject.c
  75. funcobject.o: funcobject.c
  76. intobject.o: intobject.c
  77. listobject.o: listobject.c
  78. longobject.o: longobject.c
  79. mappingobject.o: mappingobject.c
  80. methodobject.o: methodobject.c
  81. moduleobject.o: moduleobject.c
  82. object.o: object.c
  83. rangeobject.o: rangeobject.c
  84. stringobject.o: stringobject.c
  85. tupleobject.o: tupleobject.c
  86. typeobject.o: typeobject.c
  87.  
  88. # DO NOT DELETE THIS LINE -- mkdep uses it.
  89. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  90. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  91.