Skip to content

Commit deea70f

Browse files
hsbtclaude
andcommitted
Generate ext/psych/depend with mkmf --update-depend
The handwritten `$(OBJS): $(HDRS) ...` rule has no autogenerated section, so `tool/sync_default_gems.rb` copies it over the dependencies ruby/ruby keeps in its own tree. Regenerating the file gives sync a section to minimize and drops the `$(hdrdir)` references, which pin the build to the headers of whichever Ruby generated them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 79be592 commit deea70f

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

‎ext/psych/depend‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ distclean-so::
1212
-cd libyaml && $(MAKE) distclean
1313
-$(Q)$(RMDIRS) libyaml/* libyaml
1414

15-
$(OBJS): $(HDRS) $(ruby_headers) \
16-
$(hdrdir)/ruby/encoding.h \
17-
$(hdrdir)/ruby/oniguruma.h
15+
# AUTOGENERATED DEPENDENCIES START
16+
psych.o psych_emitter.o psych_emitter_fy.o psych_parser.o psych_parser_fy.o psych_to_ruby.o psych_yaml_tree.o: psych.h
17+
psych.o psych_emitter.o psych_emitter_fy.o psych_parser.o psych_parser_fy.o psych_to_ruby.o psych_yaml_tree.o: psych_emitter.h
18+
psych.o psych_emitter.o psych_emitter_fy.o psych_parser.o psych_parser_fy.o psych_to_ruby.o psych_yaml_tree.o: psych_parser.h
19+
psych.o psych_emitter.o psych_emitter_fy.o psych_parser.o psych_parser_fy.o psych_to_ruby.o psych_yaml_tree.o: psych_to_ruby.h
20+
psych.o psych_emitter.o psych_emitter_fy.o psych_parser.o psych_parser_fy.o psych_to_ruby.o psych_yaml_tree.o: psych_yaml_tree.h
21+
psych.o: psych.c
22+
psych_emitter.o: psych_emitter.c
23+
psych_emitter_fy.o: psych_emitter_fy.c
24+
psych_parser.o: psych_parser.c
25+
psych_parser_fy.o: psych_parser_fy.c
26+
psych_to_ruby.o: psych_to_ruby.c
27+
psych_yaml_tree.o: psych_yaml_tree.c
28+
# AUTOGENERATED DEPENDENCIES END

0 commit comments

Comments
 (0)