summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/autotools/Makefile.am
blob: 47234583cd0a0233bd94be77e9e625611a604003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This directory collects some classes related to
# project management for the sole purpose that they
# can be shared between parts.
SUBDIRS = . tests
INCLUDES = -I$(top_srcdir)/lib/interfaces \
        -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \
        $(all_includes)
METASOURCES = AUTO
noinst_LTLIBRARIES = libtdevautotoolsparser.la
libtdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_TDEIO)
libtdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp

parser:
	cd $(srcdir) ; \
	bison -d autotools.yy -o autotools_yacc.cpp ; \
	mv -f autotools_yacc.hpp autotools_yacc.h ; \
	flex -oautotools_lex.cpp autotools.ll

EXTRA_DIST = autotools.yy autotools.ll

DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils
DOXYGEN_PROJECTNAME = TDevelop AutoTools Parser
DOXYGEN_DOCDIRPREFIX = tdevparser
include ../../../../Doxyfile.am