From 9a4e17cf9b0e27a9af49da932db96ccb19aeb1f7 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 17 Feb 2018 12:59:26 -0800 Subject: Add nconf build Signed-off-by: Alexey Neyman 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. -- cgit v0.10.2-6-g49f6