|
@@ -223,6 +223,9 @@ HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC)
|
|
|
HOSTCFLAGS_lex.zconf.o := -I$(src)
|
|
|
HOSTCFLAGS_zconf.tab.o := -I$(src)
|
|
|
|
|
|
+LEX_PREFIX_zconf := zconf
|
|
|
+YACC_PREFIX_zconf := zconf
|
|
|
+
|
|
|
HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl
|
|
|
HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK
|
|
|
|
|
@@ -335,28 +338,3 @@ $(obj)/gconf.glade.h: $(obj)/gconf.glade
|
|
|
$(Q)intltool-extract --type=gettext/glade --srcdir=$(srctree) \
|
|
|
$(obj)/gconf.glade
|
|
|
|
|
|
-###
|
|
|
-# The following requires flex/bison/gperf
|
|
|
-# By default we use the _shipped versions, uncomment the following line if
|
|
|
-# you are modifying the flex/bison src.
|
|
|
-# LKC_GENPARSER := 1
|
|
|
-
|
|
|
-ifdef LKC_GENPARSER
|
|
|
-
|
|
|
-$(obj)/zconf.tab.c: $(src)/zconf.y
|
|
|
-$(obj)/lex.zconf.c: $(src)/zconf.l
|
|
|
-$(obj)/zconf.hash.c: $(src)/zconf.gperf
|
|
|
-
|
|
|
-%.tab.c: %.y
|
|
|
- bison -l -b $* -p $(notdir $*) $<
|
|
|
- cp $@ $@_shipped
|
|
|
-
|
|
|
-lex.%.c: %.l
|
|
|
- flex -L -P$(notdir $*) -o$@ $<
|
|
|
- cp $@ $@_shipped
|
|
|
-
|
|
|
-%.hash.c: %.gperf
|
|
|
- gperf -C < $< > $@
|
|
|
- cp $@ $@_shipped
|
|
|
-
|
|
|
-endif
|