2005-09-22 16:58:10 -04:00
|
|
|
ripper.o: ripper.c eventids1.c $(srcdir)/eventids2.c $(hdrdir)/lex.c
|
2004-09-12 13:34:30 -04:00
|
|
|
|
2005-06-02 10:43:10 -04:00
|
|
|
.y.c:
|
|
|
|
bison -t -v -o$@ $<
|
2004-09-12 13:34:30 -04:00
|
|
|
|
|
|
|
ripper.y: $(hdrdir)/parse.y $(srcdir)/tools/preproc.rb
|
2005-09-22 17:12:11 -04:00
|
|
|
$(RUBY) $(srcdir)/tools/preproc.rb $(hdrdir)/parse.y > $@
|
2004-09-23 06:49:11 -04:00
|
|
|
|
2005-09-22 16:58:10 -04:00
|
|
|
$(srcdir)/lib/ripper/core.rb: $(srcdir)/lib/ripper/core.rb.in $(srcdir)/tools/generate.rb
|
|
|
|
$(RUBY) $(srcdir)/tools/generate.rb --mode=ripper/core --template=$@.in --output=$@ --ids1src=$(hdrdir)/parse.y --ids2src=$(srcdir)/eventids2.c
|
2004-09-23 06:49:11 -04:00
|
|
|
|
2005-09-22 16:58:10 -04:00
|
|
|
eventids1.c: $(hdrdir)/parse.y $(srcdir)/tools/generate.rb
|
2005-09-22 17:12:11 -04:00
|
|
|
$(RUBY) $(srcdir)/tools/generate.rb --mode=eventids1 --ids1src=$(hdrdir)/parse.y --output=$@
|
2005-09-19 02:12:35 -04:00
|
|
|
|
2005-09-22 16:58:10 -04:00
|
|
|
# Entries for Ripper maintainer
|
2004-09-23 06:49:11 -04:00
|
|
|
|
|
|
|
preproc: ripper.E
|
|
|
|
ripper.E: ripper.c
|
|
|
|
$(CC) -E $(CPPFLAGS) ripper.c | $(RUBY) $(srcdir)/tools/strip.rb > $@
|