2015-05-06 17:54:07 -04:00
|
|
|
WIN32_VK_HEADER = {$(srcdir)}win32_vk.chksum
|
|
|
|
|
2013-04-14 06:48:08 -04:00
|
|
|
$(OBJS): $(HDRS) $(ruby_headers) \
|
2015-05-03 14:13:10 -04:00
|
|
|
$(VK_HEADER) \
|
2013-04-14 06:48:08 -04:00
|
|
|
$(hdrdir)/ruby/io.h \
|
|
|
|
$(hdrdir)/ruby/encoding.h \
|
|
|
|
$(hdrdir)/ruby/oniguruma.h
|
2015-05-03 14:13:10 -04:00
|
|
|
|
|
|
|
win32_vk.h: win32_vk.list
|
|
|
|
|
2015-05-06 17:54:07 -04:00
|
|
|
{$(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)
|