Skip to content

Commit

Permalink
More dependencies for ripper
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 29, 2023
1 parent c7af39e commit c89f519
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions common.mk
Expand Up @@ -1144,7 +1144,14 @@ missing-srcs: $(srcdir)/missing/des_tables.c

srcs: common-srcs missing-srcs srcs-enc

EXT_SRCS = $(srcdir)/ext/ripper/ripper.c \
RIPPER_SRCS = $(srcdir)/ext/ripper/ripper.c \
$(srcdir)/ext/ripper/ripper_init.c \
$(srcdir)/ext/ripper/eventids1.h \
$(srcdir)/ext/ripper/eventids1.c \
$(srcdir)/ext/ripper/eventids2table.c \
# RIPPER_SRCS

EXT_SRCS = $(RIPPER_SRCS) \
$(srcdir)/ext/rbconfig/sizeof/sizes.c \
$(srcdir)/ext/rbconfig/sizeof/limits.c \
$(srcdir)/ext/socket/constdefs.c \
Expand Down Expand Up @@ -1260,7 +1267,9 @@ $(REVISION_H)$(yes_baseruby:yes=~disabled~):
# uncommon.mk: $(REVISION_H)
# $(MKFILES): $(REVISION_H)

$(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y $(srcdir)/defs/id.def $(srcdir)/ext/ripper/depend
$(RIPPER_SRCS): $(srcdir)/parse.y $(srcdir)/defs/id.def
$(RIPPER_SRCS): $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/ext/ripper/tools/dsl.rb
$(RIPPER_SRCS): $(srcdir)/ext/ripper/ripper_init.c.tmpl $(srcdir)/ext/ripper/eventids2.c
$(ECHO) generating $@
$(Q) $(CHDIR) $(@D) && \
$(CAT_DEPEND) depend | \
Expand Down
1 change: 1 addition & 0 deletions ext/ripper/depend
Expand Up @@ -6,6 +6,7 @@ BISON = $(BASERUBY) $(top_srcdir)/tool/lrama/exe/lrama
.SUFFIXES: .y

src: ripper.c ripper_init.c eventids1.c eventids1.h eventids2table.c
ripper.c ripper_init.c eventids1.c eventids1.h eventids2table.c: depend

ripper.o: ripper.c

Expand Down

0 comments on commit c89f519

Please sign in to comment.