mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
Silence unused var/func warnings for autogenerated ANTLR files
This commit is contained in:
parent
f4cb0fb79d
commit
646dd44dd9
@ -72,6 +72,11 @@ ANTLR_SRC = \
|
||||
SMARTPLLexer.c SMARTPLLexer.h SMARTPLParser.c SMARTPLParser.h \
|
||||
SMARTPL2SQL.c SMARTPL2SQL.h
|
||||
|
||||
ANTLR_OBJECTS = \
|
||||
RSPLexer.$(OBJEXT) RSPParser.$(OBJEXT) RSP2SQL.$(OBJEXT) \
|
||||
DAAPLexer.$(OBJEXT) DAAPParser.$(OBJEXT) DAAP2SQL.$(OBJEXT) \
|
||||
SMARTPLLexer.$(OBJEXT) SMARTPLParser.$(OBJEXT) SMARTPL2SQL.$(OBJEXT)
|
||||
|
||||
AM_CPPFLAGS += \
|
||||
$(FORKED_CPPFLAGS) \
|
||||
$(FORKED_OPTS_CPPFLAGS) \
|
||||
@ -154,6 +159,9 @@ EXTRA_DIST = \
|
||||
$(ANTLR_TOKENS) \
|
||||
$(ANTLR_DEPS)
|
||||
|
||||
# silence unused warnings from antlr generated files
|
||||
$(ANTLR_OBJECTS): AM_CPPFLAGS += -Wno-unused
|
||||
|
||||
# gperf construction rules
|
||||
%_hash.h: %.gperf
|
||||
$(AM_V_GEN)$(GPERF) --output-file=$@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user