Enable mconf build

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2018-02-17 18:24:27 -08:00
parent 9a4e17cf9b
commit d9d4d09026
2 changed files with 7 additions and 3 deletions

View File

@ -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}

View File

@ -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.