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 ===
15 # === Other things that are customizable but not by configure ===
20 CFLAGS
= $(OPT
) -I
$(INCLDIR
) $(DEFS
)
27 # === Fixed definitions ===
29 PARSEROBJS
= acceler.o grammar1.o \
30 intrcheck.o listnode.o myreadline.o node.o parser.o \
31 parsetok.o tokenizer.o bitset.o \
32 firstsets.o grammar.o metagrammar.o pgen.o \
37 PARSERSRCS
= acceler.c fgetsintr.c grammar1.c \
38 intrcheck.c listnode.c myreadline.c node.c parser.c \
39 parsetok.c tokenizer.c bitset.c \
40 firstsets.c grammar.c metagrammar.c pgen.c \
55 $(AR
) cr
$(LIB
) $(PARSEROBJS
)
58 $(PGEN
): $(PGENOBJS
) $(LIB
)
59 $(CC
) $(PGENOBJS
) $(LIB
) -o
$(PGEN
)
62 -rm -f
*.o core
*~
[@
,#]* *.old *.orig *.rej
65 -rm -f
$(PGEN
) *.a
tags TAGS
67 Makefile
: Makefile.in
$(TOP
)/config.status
68 CONFIG_FILES
=Makefile
$(SHELL
) $(TOP
)/config.status
70 depend
: $(PARSERSRCS
) $(PGENSRCS
)
71 $(MKDEP
) $(CFLAGS
) $(PARSERSRCS
) $(PGENSRCS
)
73 # DO NOT DELETE THIS LINE -- mkdep uses it.
74 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
75 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY