summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-17 20:59:26 (GMT)
committerAlexey Neyman <stilor@att.net>2018-04-07 19:03:17 (GMT)
commit9a4e17cf9b0e27a9af49da932db96ccb19aeb1f7 (patch)
tree71cf3b5545072d1481a735bd35e44cdea970117f /kconfig
parent66821508f4064904995189f4b46652eb6257b1ea (diff)
Add nconf build
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/kconfig/Makefile.am b/kconfig/Makefile.am
index dfb8617..66df802 100644
--- a/kconfig/Makefile.am
+++ b/kconfig/Makefile.am
@@ -3,7 +3,7 @@
## TBD install into lib/crosstool-ng/kconfig?
## TBD turn off program renaming for these? Or account for it in ct-ng script?
-pkglibexec_PROGRAMS = conf
+pkglibexec_PROGRAMS = conf nconf
AM_LFLAGS = -L -Pzconf
AM_YFLAGS = -l -b zconf -p zconf
@@ -11,8 +11,13 @@ AM_YFLAGS = -l -b zconf -p zconf
BUILT_SOURCES = zconf.c zconf.lex.c
AM_CPPFLAGS = -include config.h -DCONFIG_=\"CT_\"
+
conf_SOURCES = conf.c zconf.c
+nconf_SOURCES = nconf.c nconf.gui.c zconf.c
+nconf_CFLAGS = $(CURSES_CFLAGS)
+nconf_LDADD = $(MENU_LIBS) $(PANEL_LIBS) $(CURSES_LIBS)
+
# automake's support for yacc/lex/gperf is too idiosyncratic. It doesn't
# support a common pattern of including lex-generated file into yacc, nor does
# it support using a different base name for the generated C files.