summaryrefslogtreecommitdiffstats
path: root/lib/kformula/Makefile.am
blob: e666bf48f85f862a9474f3b7688f64cae00c7c95 (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 tdeinit module for kformula.
lib_LTLIBRARIES = libkformulalib.la

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

#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_TDEUI) $(LIB_KOTEXT)

libkformulalib_la_METASOURCES = AUTO

check_PROGRAMS = kformulatest

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

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