2018-02-05 07:39:01 +00:00
|
|
|
## vim: set noet :
|
|
|
|
|
2018-04-14 04:36:59 +00:00
|
|
|
## FIXME when kconfig is split into a subpackage, need to remove this option from sub-configure
|
2018-02-22 07:34:58 +00:00
|
|
|
transform = s,x,x,
|
|
|
|
|
2018-02-18 02:24:27 +00:00
|
|
|
pkglibexec_PROGRAMS = conf nconf mconf
|
2018-02-05 07:39:01 +00:00
|
|
|
|
2020-12-09 09:22:43 +00:00
|
|
|
EXTRA_DIST = parser.y lexer.l \
|
2018-02-24 03:05:41 +00:00
|
|
|
expr.h list.h lkc.h lkc_proto.h nconf.h lxdialog/dialog.h \
|
2021-07-13 20:40:57 +00:00
|
|
|
menu.c
|
2018-02-05 07:39:01 +00:00
|
|
|
|
2020-12-09 09:22:43 +00:00
|
|
|
CLEANFILES = lexer.lex.c parser.tab.c parser.tab.h
|
|
|
|
BUILT_SOURCES = lexer.lex.c parser.tab.c
|
2018-02-05 07:39:01 +00:00
|
|
|
|
2020-12-09 09:13:29 +00:00
|
|
|
AM_LFLAGS = -L
|
|
|
|
AM_YFLAGS = -t -l
|
2018-02-05 07:39:01 +00:00
|
|
|
AM_CPPFLAGS = -include config.h -DCONFIG_=\"CT_\"
|
2018-04-14 04:36:59 +00:00
|
|
|
AM_LIBTOOLFLAGS = --tag CC
|
2018-02-17 20:59:26 +00:00
|
|
|
|
2021-07-13 20:40:57 +00:00
|
|
|
conf_SOURCES = conf.c confdata.c expr.c symbol.c preprocess.c util.c
|
|
|
|
nodist_conf_SOURCES = parser.tab.c lexer.lex.c
|
2019-02-05 15:39:17 +00:00
|
|
|
conf_LDADD = $(LIBINTL)
|
2018-02-05 07:39:01 +00:00
|
|
|
|
2021-07-13 20:40:57 +00:00
|
|
|
nconf_SOURCES = nconf.c nconf.gui.c confdata.c expr.c symbol.c preprocess.c util.c
|
|
|
|
nodist_nconf_SOURCES = parser.tab.c lexer.lex.c
|
2018-02-17 20:59:26 +00:00
|
|
|
nconf_CFLAGS = $(CURSES_CFLAGS)
|
2019-02-05 15:39:17 +00:00
|
|
|
nconf_LDADD = $(MENU_LIBS) $(PANEL_LIBS) $(CURSES_LIBS) $(LIBINTL)
|
2018-02-17 20:59:26 +00:00
|
|
|
|
2021-07-13 20:40:57 +00:00
|
|
|
mconf_SOURCES = mconf.c confdata.c expr.c symbol.c preprocess.c util.c \
|
2020-12-09 09:13:29 +00:00
|
|
|
lxdialog/checklist.c lxdialog/inputbox.c \
|
2018-02-18 02:24:27 +00:00
|
|
|
lxdialog/menubox.c lxdialog/textbox.c lxdialog/util.c \
|
|
|
|
lxdialog/yesno.c
|
2021-07-13 20:40:57 +00:00
|
|
|
nodist_mconf_SOURCES = parser.tab.c lexer.lex.c
|
2019-02-05 15:39:17 +00:00
|
|
|
mconf_LDADD = $(CURSES_LIBS) $(LIBINTL)
|
2018-02-18 02:24:27 +00:00
|
|
|
|
2018-02-05 07:39:01 +00:00
|
|
|
# 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.
|
|
|
|
YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
|
|
|
|
AM_V_YACC = $(am__v_YACC_@AM_V@)
|
|
|
|
am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
|
|
|
|
am__v_YACC_0 = @echo " YACC " $@;
|
|
|
|
|
|
|
|
LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS)
|
|
|
|
AM_V_LEX = $(am__v_LEX_@AM_V@)
|
|
|
|
am__v_LEX_ = $(am__v_LEX_@AM_DEFAULT_V@)
|
|
|
|
am__v_LEX_0 = @echo " LEX " $@;
|
|
|
|
|
2020-12-09 09:22:43 +00:00
|
|
|
parser.tab.c: parser.y
|
|
|
|
$(AM_V_YACC)$(YACCCOMPILE) -o$@ --defines=parser.tab.h $<
|
2018-02-05 07:39:01 +00:00
|
|
|
|
2020-12-09 09:22:43 +00:00
|
|
|
lexer.lex.c: lexer.l
|
2018-02-05 07:39:01 +00:00
|
|
|
$(AM_V_LEX)$(LEXCOMPILE) -o$@ $<
|