summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/qmake/Makefile.am
blob: 9e14382adeeb5d3454f4c87cf395e281b162f66d (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
25
26
27
28
29
30
31
# 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
lib_LTLIBRARIES = libtdevqmakeparser.la
libtdevqmakeparser_la_LDFLAGS = -no-undefined $(all_libraries) $(LIB_TDEIO)
libtdevqmakeparser_la_SOURCES = qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp \
	qmakeastvisitor.cpp qmakedriver.cpp

tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/parsers/qmake
tdevelopbuildtoolsinclude_HEADERS = qmakeast.h qmakedriver.h qmakeastvisitor.h

parser:
	cd $(srcdir) ; \
	bison -d qmake.yy -r all -k -t -oqmake_yacc.cpp ; \
	flex -d -oqmake_lex.cpp qmake.ll

EXTRA_DIST = qmake.yy qmake.ll

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

noinst_HEADERS = qmake.ll qmake.yy qmake_lex.h