summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/autotools/Makefile.am
blob: 929f089afdd61959b578ede11f2b4339622bef27 (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 = libkdevautotoolsparser.la
libkdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_KIO)
libkdevautotoolsparser_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 khtml kmdi kio kjs kparts kutils
DOXYGEN_PROJECTNAME = KDevelop AutoTools Parser
DOXYGEN_DOCDIRPREFIX = kdevparser
include ../../../../Doxyfile.am