~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to ext/ripper/depend

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2011-09-24 19:16:17 UTC
  • mfrom: (1.1.8 upstream) (13.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110924191617-o1qz4rcmqjot8zuy
Tags: 1.9.3~rc1-1
* New upstream release: 1.9.3 RC1.
  + Includes load.c fixes. Closes: #639959.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        $(hdrdir)/regex.h $(hdrdir)/st.h $(hdrdir)/util.h
16
16
 
17
17
.y.c:
18
 
        $(BISON) -t -v -oy.tab.c $<
19
 
        sed -f $(top_srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@
 
18
        $(ECHO) compiling compiler $<
 
19
        $(Q) $(BISON) -t -v -oy.tab.c $<
 
20
        $(Q) sed -f $(top_srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@
20
21
        @$(RM) y.tab.c
21
22
 
22
23
all: check
23
24
static: check
24
25
 
25
26
ripper.y: $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y
26
 
        $(RUBY) $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y --output=$@
 
27
        $(ECHO) extracting $@ from $(top_srcdir)/parse.y
 
28
        $(Q) $(RUBY) $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y --output=$@
27
29
 
28
30
check: $(GEN) $(SRC1) $(SRC2)
29
 
        $(RUBY) $(GEN) --mode=check --ids1src=$(SRC1) --ids2src=$(SRC2)
 
31
        $(ECHO) checking $(SRC1) and $(SRC2)
 
32
        $(Q) $(RUBY) $(GEN) --mode=check --ids1src=$(SRC1) --ids2src=$(SRC2)
30
33
 
31
34
eventids1.c: $(srcdir)/tools/generate.rb $(SRC1)
32
 
        $(RUBY) $(GEN) --mode=eventids1 --ids1src=$(SRC1) --output=$@
 
35
        $(ECHO) generating $@ from $(SRC1)
 
36
        $(Q) $(RUBY) $(GEN) --mode=eventids1 --ids1src=$(SRC1) --output=$@
33
37
 
34
38
eventids2table.c: $(srcdir)/tools/generate.rb $(SRC2)
35
 
        $(RUBY) $(GEN) --mode=eventids2table --ids2src=$(SRC2) --output=$@
 
39
        $(ECHO) generating $@ from $(SRC2)
 
40
        $(Q) $(RUBY) $(GEN) --mode=eventids2table --ids2src=$(SRC2) --output=$@
36
41
 
37
42
# Entries for Ripper maintainer
38
43
 
39
44
preproc: ripper.E
40
45
ripper.E: ripper.c
41
 
        $(CC) -E $(CPPFLAGS) ripper.c | $(RUBY) $(srcdir)/tools/strip.rb > $@
 
46
        $(ECHO) preprocessing ripper.c
 
47
        $(Q) $(CC) -E $(CPPFLAGS) ripper.c | $(RUBY) $(srcdir)/tools/strip.rb > $@