summaryrefslogtreecommitdiffstats
path: root/lib/kformula/Makefile.am
blob: 83ba71984d645ee58c1a848c5726c8ad585d3352 (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
33
34
35
36
37
38
39

INCLUDES= $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) $(all_includes)

SUBDIRS = pics fonts dtd

####### 
# We have to name it kformulalib, not just kformula, since that's the name of the kdeinit module for kformula.
lib_LTLIBRARIES = libkformulalib.la

libkformulalib_la_SOURCES	= basicelement.cc contextstyle.cc formulacursor.cc \
	formulaelement.cc indexelement.cc kformulacontainer.cc \
	sequenceelement.cc textelement.cc bracketelement.cc \
	matrixelement.cc fractionelement.cc rootelement.cc symbolelement.cc \
	kformulacommand.cc kformulamimesource.cc \
	MatrixDialog.cc sequenceparser.cc elementtype.cc kformuladocument.cc \
	symboltable.cc kformulainputfilter.cc kformulaview.cc \
	spaceelement.cc kformulaconfigpage.cc \
	symbolaction.cc fontstyle.cc creationstrategy.cc \
	oasiscreationstrategy.cc tokenstyleelement.cc tokenelement.cc \
	identifierelement.cc operatorelement.cc glyphelement.cc styleelement.cc \
	stringelement.cc paddedelement.cc errorelement.cc phantomelement.cc \
	actionelement.cc encloseelement.cc entities.cc operatordictionary.cc \
	numberelement.cc

#include_HEADERS = kformulacontainer.h kformuladocument.h kformulaview.h \
#	kformuladefs.h kformulaconfigpage.h

libkformulalib_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined $(KDE_RPATH)
libkformulalib_la_LIBADD  = $(LIB_KDEUI) $(LIB_KOTEXT)

libkformulalib_la_METASOURCES = AUTO

check_PROGRAMS = kformulatest

kformulatest_SOURCES = main.cc kformulawidget.cc
kformulatest_LDADD = libkformulalib.la

#symbolnames.cc: 
#	awk -F, '$$1 !~ "#" {if (split($$3,a," ")>0) print "i18n(\"" a[1] "\");"}' config/unicode.tbl > symbolnames.cc