From d9d4d090265b56dc158b9ffa7a875d0a68f9c57f Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 17 Feb 2018 18:24:27 -0800 Subject: Enable mconf build Signed-off-by: Alexey Neyman diff --git a/configure.ac b/configure.ac index 02f91e0..bd7ccb4 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ AC_CONFIG_AUX_DIR([scripts]) AC_CONFIG_MACRO_DIR([m4]) # TBD try to use gnu strictness? Just add the missing files? -AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-xz dist-bzip2]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-xz dist-bzip2 subdir-objects]) #-------------------------------------------------------------------- # Allow dummy --{en,dis}able-{static,shared} diff --git a/kconfig/Makefile.am b/kconfig/Makefile.am index 66df802..1b4a06c 100644 --- a/kconfig/Makefile.am +++ b/kconfig/Makefile.am @@ -1,9 +1,8 @@ -## Process this file with automake to produce Makefile.in ## vim: set noet : ## 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 nconf +pkglibexec_PROGRAMS = conf nconf mconf AM_LFLAGS = -L -Pzconf AM_YFLAGS = -l -b zconf -p zconf @@ -18,6 +17,11 @@ nconf_SOURCES = nconf.c nconf.gui.c zconf.c nconf_CFLAGS = $(CURSES_CFLAGS) nconf_LDADD = $(MENU_LIBS) $(PANEL_LIBS) $(CURSES_LIBS) +mconf_SOURCES = mconf.c zconf.c lxdialog/checklist.c lxdialog/inputbox.c \ + lxdialog/menubox.c lxdialog/textbox.c lxdialog/util.c \ + lxdialog/yesno.c +mconf_LDADD = $(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