summaryrefslogtreecommitdiffstats
path: root/filters/kword/latex/import/parser/Makefile.am
blob: 4a3b963cf6fcf05eccfd3fc07411ed139e23f008 (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
32
####### General stuff

INCLUDES= -I$(srcdir) $(all_includes)
liblatexparser_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
liblatexparser_la_LIBADD  = -lm $(KOFFICE_LIBS)

####### Files

kde_module_LTLIBRARIES = liblatexparser.la

liblatexparser_la_SOURCES = command.cpp comment.cpp element.cpp env.cpp group.cpp \
														latexparser.cpp param.cpp text.cpp texparser.cpp \
														texscaner.cpp

noinst_HEADERS = command.h comment.h element.h env.h group.h \
								 latexparser.h param.h text.h

texparser.cpp: $(srcdir)/texparser.l texscaner.cpp
		flex -B -8 -otexparser.cpp $(srcdir)/texparser.l

texscaner.cpp: $(srcdir)/texscaner.y
		bison --debug --verbose -d -o texscaner.cpp $(srcdir)/texscaner.y && mv -f texscaner.cpp.h texscaner.hh
# -p texparser
######## Debug
check_PROGRAMS = texlauncher
texlauncher_SOURCES = texlauncher.cpp
texlauncher_LDADD = liblatexexport.la
texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor


METASOURCES = AUTO