2016-07-06 01:48:13 -04:00
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
|
|
console.o: $(RUBY_EXTCONF_H)
|
|
|
|
console.o: $(arch_hdrdir)/ruby/config.h
|
|
|
|
console.o: $(hdrdir)/ruby/backward.h
|
|
|
|
console.o: $(hdrdir)/ruby/defines.h
|
|
|
|
console.o: $(hdrdir)/ruby/encoding.h
|
|
|
|
console.o: $(hdrdir)/ruby/intern.h
|
|
|
|
console.o: $(hdrdir)/ruby/io.h
|
|
|
|
console.o: $(hdrdir)/ruby/missing.h
|
|
|
|
console.o: $(hdrdir)/ruby/oniguruma.h
|
|
|
|
console.o: $(hdrdir)/ruby/ruby.h
|
|
|
|
console.o: $(hdrdir)/ruby/st.h
|
|
|
|
console.o: $(hdrdir)/ruby/subst.h
|
|
|
|
console.o: $(top_srcdir)/include/ruby.h
|
|
|
|
console.o: console.c
|
|
|
|
# AUTOGENERATED DEPENDENCIES END
|
2015-05-03 14:13:10 -04:00
|
|
|
|
2015-05-07 02:35:40 -04:00
|
|
|
win32_vk.inc: win32_vk.list
|
2015-05-03 14:13:10 -04:00
|
|
|
|
2015-05-08 04:05:45 -04:00
|
|
|
.list.inc:
|
2015-09-01 23:57:23 -04:00
|
|
|
( \
|
|
|
|
$(RUBY) -anF, \
|
|
|
|
-e 'BEGIN {puts "#define UNDEFINED_VK (unsigned short)-1"}' \
|
|
|
|
-e 'n=$$F[1] and (n.strip!; /\AVK_/=~n) and' \
|
|
|
|
-e 'puts(%[#ifndef #{n}\n# define #{n} UNDEFINED_VK\n#endif])' \
|
|
|
|
$< && \
|
2015-06-12 21:59:58 -04:00
|
|
|
gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k* $< \
|
|
|
|
| sed 's/(int)(long)&((\(struct stringpool_t\) *\*)0)->\(stringpool_[a-z0-9]*\)/offsetof(\1, \2)/g' \
|
2015-09-01 23:57:23 -04:00
|
|
|
) > $(@F)
|
2015-07-21 06:52:19 -04:00
|
|
|
|
2015-06-12 21:59:58 -04:00
|
|
|
.SUFFIXES: .chksum .list .inc
|
2015-05-06 17:54:07 -04:00
|
|
|
|
2015-05-08 04:05:45 -04:00
|
|
|
.list.chksum:
|
2015-05-06 17:54:07 -04:00
|
|
|
@$(RUBY) -I$(top_srcdir)/tool -rchecksum \
|
2015-05-07 03:09:43 -04:00
|
|
|
-e "Checksum.update(ARGV) {|k|k.copy(k.target) rescue k.make(k.target)}" \
|
2015-06-13 06:47:30 -04:00
|
|
|
-- --make=$(MAKE) -I$(srcdir) $(<F) $(@F:.chksum=.inc)
|