1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/io/console/depend
nobu 81c83f55e7 io/console: win32_vk dependencies
* ext/io/console/depend: check if VK table is modified by the
  checksum.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-06 21:54:07 +00:00

19 lines
556 B
Text

WIN32_VK_HEADER = {$(srcdir)}win32_vk.chksum
$(OBJS): $(HDRS) $(ruby_headers) \
$(VK_HEADER) \
$(hdrdir)/ruby/io.h \
$(hdrdir)/ruby/encoding.h \
$(hdrdir)/ruby/oniguruma.h
win32_vk.h: win32_vk.list
{$(srcdir)}.list.h:
gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k* --output-file=$(@F) $<
.SUFFIXES: .chksum .list
{$(srcdir)}.list.chksum:
@$(RUBY) -I$(top_srcdir)/tool -rchecksum \
-e "Checksum.update(ARGV) {|k,f|k.copy(f) rescue k.make(f)}" \
-- --make=$(MAKE) -I$(srcdir) $(<F) $(@F:.chksum=.h)