summaryrefslogtreecommitdiff
path: root/misc/tools/kconfig-frontends/utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tools/kconfig-frontends/utils/Makefile.am')
-rw-r--r--misc/tools/kconfig-frontends/utils/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/tools/kconfig-frontends/utils/Makefile.am b/misc/tools/kconfig-frontends/utils/Makefile.am
new file mode 100644
index 000000000..57ff28896
--- /dev/null
+++ b/misc/tools/kconfig-frontends/utils/Makefile.am
@@ -0,0 +1,21 @@
+bin_SCRIPTS = tweak
+dist_bin_SCRIPTS = diff merge
+
+if COND_utils_gettext
+ MAYBE_utils_gettext = gettext
+endif
+bin_PROGRAMS = $(MAYBE_utils_gettext)
+
+gettext_SOURCES = gettext.c
+gettext_CPPFLAGS = $(AM_CPPFLAGS) \
+ -I$(top_srcdir)/libs/parser
+gettext_CFLAGS = $(AM_CFLAGS) $(kf_CFLAGS)
+gettext_LDADD = $(top_builddir)/libs/parser/libkconfig-parser.la \
+ $(intl_LIBS)
+CLEANFILES = tweak
+EXTRA_DIST = tweak.in tweak.in.patch
+
+tweak: tweak.in
+ $(AM_V_GEN)$(SED) -r -e "s/@CONFIG_@/$(config_prefix)/g" \
+ $< >$@
+ @chmod +x $@