AM_V_GPERF_0 = @echo " GPERF " $@;
AM_V_GPERF_1 =
+# In theory, the destination directory already exists, because there is at
+# least the .pc file created by configure, but better safe than sorry, so
+# we create the directory now.
.gperf.c:
+ $(MKDIR_P) $(@D)
$(AM_V_GPERF)$(GPERF) -t --output-file $@ -a -C -E -g -k 1,3,$$ -p -t $<
# The following rule may produce a warning with some versions of automake:
# uses zconf in lieue of the original yy), then the output file is
# also renamed, but automake does not now that, and make would fail
# because it would think no file was generated.
+#
+# In theory, the destination directory already exists, because there is at
+# least the .pc file created by configure, but better safe than sorry, so
+# we create the directory now.
.l.c:
+ $(MKDIR_P) $(@D)
$(AM_V_LEX)$(LEXCOMPILE) -o$@ $<
# yconf.c not listed, because it is the real _SOURCES, but others are
nodist_libs_images_libkconfig_images_a_SOURCES = libs/images/images.c
libs/images/images.c: libs/images/images.c_orig
+ $(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) -e 's/^static //' $< >$@
libs/images/images.h: libs/images/images.c_orig
+ $(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) -e '/^static \(const char \*xpm_\(.\{1,\}\)\[\]\) = {/!d; s//extern \1;/' \
$< >$@
bin_SCRIPTS += frontends/kconfig
frontends/kconfig: frontends/kconfig.in
+ $(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
$< >$@
@chmod +x $@
utils/kconfig-tweak.in.patch
utils/kconfig-tweak: utils/kconfig-tweak.in
+ $(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) -e "s/@CONFIG_@/$(config_prefix)/g" \
$< >$@
@chmod +x $@