summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.