summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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 8f54b5dd09..4c49abaa41 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 1e485fd194..2709f32aa5 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 463712b4e0..8a798c97fc 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) \