+2017-08-16 Bruno Haible <bruno@clisp.org>
+
+ iconv_open, uni*: Add support for VPATH builds with OpenBSD 'make'.
+ * modules/iconv_open (Makefile.am): In the rules that use gperf, prefix
+ the target file names with '$(srcdir)/'.
+ * modules/unicase/locale-language (Makefile.am): Likewise.
+ * modules/unicase/special-casing (Makefile.am): Likewise.
+ * modules/unictype/bidiclass-byname (Makefile.am): Likewise.
+ * modules/unictype/category-byname (Makefile.am): Likewise.
+ * modules/unictype/combining-class-byname (Makefile.am): Likewise.
+ * modules/unictype/joininggroup-byname (Makefile.am): Likewise.
+ * modules/unictype/joiningtype-byname (Makefile.am): Likewise.
+ * modules/unictype/property-byname (Makefile.am): Likewise.
+ * modules/unictype/scripts (Makefile.am): Likewise.
+ * modules/uninorm/composition (Makefile.am): Likewise.
+
2017-08-16 Bruno Haible <bruno@clisp.org>
nonblocking-socket tests: Fix failure on OpenBSD 6.0.
fi
Makefile.am:
-iconv_open-aix.h: iconv_open-aix.gperf
+$(srcdir)/iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
-iconv_open-hpux.h: iconv_open-hpux.gperf
+$(srcdir)/iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
-iconv_open-irix.h: iconv_open-irix.gperf
+$(srcdir)/iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
-iconv_open-osf.h: iconv_open-osf.gperf
+$(srcdir)/iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
-iconv_open-solaris.h: iconv_open-solaris.gperf
+$(srcdir)/iconv_open-solaris.h: $(srcdir)/iconv_open-solaris.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
lib_SOURCES += unicase/locale-language.c
endif
-unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf
+$(srcdir)/unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $(srcdir)/unicase/locale-languages.h-t && \
mv $(srcdir)/unicase/locale-languages.h-t $(srcdir)/unicase/locale-languages.h
BUILT_SOURCES += unicase/locale-languages.h
Makefile.am:
lib_SOURCES += unicase/special-casing.c
-unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf
+$(srcdir)/unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $(srcdir)/unicase/special-casing-table.h-t && \
mv $(srcdir)/unicase/special-casing-table.h-t $(srcdir)/unicase/special-casing-table.h
BUILT_SOURCES += unicase/special-casing-table.h
lib_SOURCES += unictype/bidi_byname.c
endif
-unictype/bidi_byname.h: unictype/bidi_byname.gperf
+$(srcdir)/unictype/bidi_byname.h: $(srcdir)/unictype/bidi_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > $(srcdir)/unictype/bidi_byname.h-t && \
mv $(srcdir)/unictype/bidi_byname.h-t $(srcdir)/unictype/bidi_byname.h
BUILT_SOURCES += unictype/bidi_byname.h
lib_SOURCES += unictype/categ_byname.c
endif
-unictype/categ_byname.h: unictype/categ_byname.gperf
+$(srcdir)/unictype/categ_byname.h: $(srcdir)/unictype/categ_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > $(srcdir)/unictype/categ_byname.h-t && \
mv $(srcdir)/unictype/categ_byname.h-t $(srcdir)/unictype/categ_byname.h
BUILT_SOURCES += unictype/categ_byname.h
lib_SOURCES += unictype/combiningclass_byname.c
endif
-unictype/combiningclass_byname.h: unictype/combiningclass_byname.gperf
+$(srcdir)/unictype/combiningclass_byname.h: $(srcdir)/unictype/combiningclass_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t && \
mv $(srcdir)/unictype/combiningclass_byname.h-t $(srcdir)/unictype/combiningclass_byname.h
BUILT_SOURCES += unictype/combiningclass_byname.h
lib_SOURCES += unictype/joininggroup_byname.c
endif
-unictype/joininggroup_byname.h: unictype/joininggroup_byname.gperf
+$(srcdir)/unictype/joininggroup_byname.h: $(srcdir)/unictype/joininggroup_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > $(srcdir)/unictype/joininggroup_byname.h-t && \
mv $(srcdir)/unictype/joininggroup_byname.h-t $(srcdir)/unictype/joininggroup_byname.h
BUILT_SOURCES += unictype/joininggroup_byname.h
lib_SOURCES += unictype/joiningtype_byname.c
endif
-unictype/joiningtype_byname.h: unictype/joiningtype_byname.gperf
+$(srcdir)/unictype/joiningtype_byname.h: $(srcdir)/unictype/joiningtype_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > $(srcdir)/unictype/joiningtype_byname.h-t && \
mv $(srcdir)/unictype/joiningtype_byname.h-t $(srcdir)/unictype/joiningtype_byname.h
BUILT_SOURCES += unictype/joiningtype_byname.h
lib_SOURCES += unictype/pr_byname.c
endif
-unictype/pr_byname.h: unictype/pr_byname.gperf
+$(srcdir)/unictype/pr_byname.h: $(srcdir)/unictype/pr_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $(srcdir)/unictype/pr_byname.h-t && \
mv $(srcdir)/unictype/pr_byname.h-t $(srcdir)/unictype/pr_byname.h
BUILT_SOURCES += unictype/pr_byname.h
lib_SOURCES += unictype/scripts.c
endif
-unictype/scripts_byname.h: unictype/scripts_byname.gperf
+$(srcdir)/unictype/scripts_byname.h: $(srcdir)/unictype/scripts_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $(srcdir)/unictype/scripts_byname.h-t && \
mv $(srcdir)/unictype/scripts_byname.h-t $(srcdir)/unictype/scripts_byname.h
BUILT_SOURCES += unictype/scripts_byname.h
lib_SOURCES += uninorm/composition.c
endif
-uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
+$(srcdir)/uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
$(V_GPERF)$(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $(srcdir)/uninorm/composition-table.h-t && \
mv $(srcdir)/uninorm/composition-table.h-t $(srcdir)/uninorm/composition-table.h
BUILT_SOURCES += uninorm/composition-table.h