home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / Python2 / Python20_source / Parser / Makefile.in < prev    next >
Encoding:
Makefile  |  2000-10-25  |  2.2 KB  |  104 lines

  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. VERSION=    @VERSION@
  8.  
  9. srcdir=        @srcdir@
  10. VPATH=        @srcdir@
  11.  
  12. CC=        @CC@
  13. RANLIB=        @RANLIB@
  14. AR=        @AR@
  15.  
  16. DEFS=        @DEFS@
  17. LIBS=        @LIBS@
  18.  
  19.  
  20. # === Other things that are customizable but not by configure ===
  21.  
  22. INCLDIR=    $(srcdir)/../Include
  23. OPT=        @OPT@
  24. CFLAGS=        $(OPT) -I$(INCLDIR) -I.. $(DEFS)
  25.  
  26. MKDEP=        mkdep
  27. SHELL=        /bin/sh
  28.  
  29.  
  30. # === Fixed definitions ===
  31.  
  32. POBJS=        acceler.o grammar1.o \
  33.         listnode.o node.o parser.o \
  34.         parsetok.o tokenizer.o bitset.o \
  35.         metagrammar.o
  36.  
  37. AROBJS=        $(POBJS) myreadline.o
  38. OBJS=        $(AROBJS) intrcheck.o
  39.  
  40.  
  41. PGENMAIN=    pgenmain.o
  42.  
  43. PGOBJS=        firstsets.o grammar.o pgen.o printgrammar.o
  44.  
  45. PGENOBJS=    $(PGENMAIN) $(POBJS) $(PGOBJS)
  46.  
  47. DOBJS=        $(PGENMAIN) $(OBJS) $(PGOBJS)
  48.  
  49. PGEN=        pgen
  50.  
  51. LIBRARY=    ../libpython$(VERSION).a
  52.  
  53. # === Rules ===
  54.  
  55. all:        $(PGEN) $(OBJS)
  56.  
  57. # This target is used by the master Makefile to add the objects to the library
  58. add2lib:    $(OBJS)
  59.         $(AR) cr $(LIBRARY) $(AROBJS)
  60.         if test ! -f ../Modules/hassignal; \
  61.         then echo adding intrcheck.o; $(AR) r $(LIBRARY) intrcheck.o; \
  62.         else echo leaving intrcheck.o out; fi
  63.         touch add2lib
  64.  
  65. $(PGEN):    $(PGENOBJS)
  66.         $(CC) $(OPT) $(PGENOBJS) $(LIBS) -o $(PGEN)
  67.  
  68. clean:
  69.         -rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
  70.  
  71. clobber:    clean
  72.         -rm -f $(PGEN) *.a tags TAGS
  73.  
  74. Makefile:    $(srcdir)/Makefile.in ../config.status
  75.         (cd ..; CONFIG_FILES=Parser/Makefile CONFIG_HEADERS= \
  76.         $(SHELL) config.status)
  77.  
  78. depend:
  79.         $(MKDEP) $(CFLAGS) `echo $(DOBJS) | tr ' ' '\012' | \
  80.                     sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
  81.  
  82. .PRECIOUS:    Makefile
  83.  
  84. acceler.o: acceler.c
  85. grammar1.o: grammar1.c
  86. intrcheck.o: intrcheck.c
  87. listnode.o: listnode.c
  88. myreadline.o: myreadline.c
  89. node.o: node.c
  90. parser.o: parser.c
  91. parsetok.o: parsetok.c
  92. tokenizer.o: tokenizer.c
  93. bitset.o: bitset.c
  94. firstsets.o: firstsets.c
  95. grammar.o: grammar.c assert.h ../Include/token.h ../Include/grammar.h
  96. metagrammar.o: metagrammar.c
  97. pgen.o: pgen.c
  98. printgrammar.o: printgrammar.c
  99. pgenmain.o: pgenmain.c
  100.  
  101. # DO NOT DELETE THIS LINE -- mkdep uses it.
  102. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  103. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  104.