summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 06:35:40 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 06:35:40 (GMT)
commit19e0fa010e8c02b7ba6a1fd3c59adfd65e462062 (patch)
tree3327e8b4ee53fc0b4cd914a13ea27beb4f2b1290 /ext/io
parentc4324e31f49c56241505471dec5ec811de63393c (diff)
win32_vk.inc: renamed
* ext/io/console/win32_vk.inc: renamed not to be included in HDRS by mkmf.rb and regenerated unexpectedly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/console/console.c2
-rw-r--r--ext/io/console/depend6
-rw-r--r--ext/io/console/win32_vk.inc (renamed from ext/io/console/win32_vk.h)2
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 8f54b5d..4c49aba 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -698,7 +698,7 @@ console_cursor_set(VALUE io, VALUE cpos)
return console_goto(io, RARRAY_AREF(cpos, 0), RARRAY_AREF(cpos, 1));
}
-#include "win32_vk.h"
+#include "win32_vk.inc"
static VALUE
console_key_pressed_p(VALUE io, VALUE k)
diff --git a/ext/io/console/depend b/ext/io/console/depend
index 1e485fd..2709f32 100644
--- a/ext/io/console/depend
+++ b/ext/io/console/depend
@@ -6,9 +6,9 @@ $(OBJS): $(HDRS) $(ruby_headers) \
$(hdrdir)/ruby/encoding.h \
$(hdrdir)/ruby/oniguruma.h
-win32_vk.h: win32_vk.list
+win32_vk.inc: win32_vk.list
-{$(srcdir)}.list.h:
+{$(srcdir)}.list.inc:
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
@@ -16,4 +16,4 @@ win32_vk.h: win32_vk.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)
+ -- --make=$(MAKE) -I$(srcdir) $(<F) $(@F:.chksum=.inc)
diff --git a/ext/io/console/win32_vk.h b/ext/io/console/win32_vk.inc
index 463712b..8a798c9 100644
--- a/ext/io/console/win32_vk.h
+++ b/ext/io/console/win32_vk.inc
@@ -1,5 +1,5 @@
/* C code produced by gperf version 3.0.4 */
-/* Command-line: gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k'*' --output-file=win32_vk.h win32_vk.list */
+/* Command-line: gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k'*' --output-file=win32_vk.inc win32_vk.list */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \