rsyslog/grammar/Makefile.am
Chris Hiszpanski 20d869968b Added LIBLOGGING_STDLOG_CFLAGS and LIBLOGGING_STDLOG_LIBS to automake sources
Build was failing when using these variables
2014-09-25 05:06:57 -07:00

20 lines
499 B
Makefile

BUILT_SOURCES = grammar.h
CLEANFILES = grammar.h grammar.c
AM_YFLAGS = -d
noinst_LTLIBRARIES = libgrammar.la
#bin_PROGRAMS = testdriver # TODO: make this conditional
libgrammar_la_SOURCES = \
grammar.y \
lexer.l \
rainerscript.c \
rainerscript.h \
parserif.h \
grammar.h
libgrammar_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBLOGGING_STDLOG_CFLAGS)
#testdriver_SOURCES = testdriver.c libgrammar.la
#testdriver_CPPFLAGS = $(RSRT_CFLAGS)
#testdriver_LDADD = libgrammar.la
#testdriver_LDFLAGS = -lestr