blob: 7cb99e34836a7f5b7433a7063444430bc8f50d86 (
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.cc comment.cc element.cc env.cc group.cc \
latexparser.cc param.cc text.cc texparser.cc \
texscaner.cc
noinst_HEADERS = command.h comment.h element.h env.h group.h \
latexparser.h param.h text.h
texparser.cc: $(srcdir)/texparser.l texscaner.cc
flex -B -8 -otexparser.cc $(srcdir)/texparser.l
texscaner.cc: $(srcdir)/texscaner.y
bison --debug --verbose -d -o texscaner.cc $(srcdir)/texscaner.y && mv -f texscaner.cc.h texscaner.hh
# -p texparser
######## Debug
check_PROGRAMS = texlauncher
texlauncher_SOURCES = texlauncher.cc
texlauncher_LDADD = liblatexexport.la
texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
METASOURCES = AUTO
|