summaryrefslogtreecommitdiffstats
path: root/kspread/Makefile.am
blob: da52cf90c548885acac3b4c9aebc9001ce4e2492 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
KDE_CXXFLAGS = $(USE_RTTI)
INCLUDES  = $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) -I$(interfacedir) \
	-I$(srcdir)/tests \
	-Idialogs \
	-I$(top_srcdir)/interfaces \
	 -I$(top_srcdir)/kchart/kdchart $(all_includes)

lib_LTLIBRARIES = libkspreadcommon.la
kde_module_LTLIBRARIES = libkspreadpart.la

libkspreadcommon_la_SOURCES = digest.cpp commands.cpp damages.cpp dependencies.cpp \
	formula.cpp 	functions.cpp kspread_autofill.cpp kspread_canvas.cpp \
	kspread_cell.cpp kspread_cluster.cpp kspread_condition.cpp kspread_doc.cpp \
	kspread_editors.cpp kspread_events.cpp kspread_factory.cpp kspread_format.cpp \
	kspread_functions_conversion.cpp kspread_functions_database.cpp kspread_functions_datetime.cpp \
	kspread_functions_engineering.cpp kspread_functions_financial.cpp kspread_functions_helper.cpp \
	kspread_functions_information.cpp kspread_functions_logic.cpp kspread_functions_math.cpp \
	kspread_functions_reference.cpp kspread_functions_statistical.cpp kspread_functions_text.cpp \
	kspread_functions_trig.cpp kspread_handler.cpp kspread_locale.cpp kspread_map.cpp \
	kspread_numformat.cpp kspread_object.cpp kspread_style.cpp kspread_style_manager.cpp \
	kspread_undo.cpp kspread_value.cpp kspread_view.cpp kspread_sheet.cpp kspread_sheetprint.cpp \
	kspread_util.cpp kspread_toolbox.cpp 	valuecalc.cpp 	valueconverter.cpp 	valueformatter.cpp \
		valueparser.cpp KSpreadAppIface.cpp KSpreadAppIface.skel KSpreadCellIface.cpp \
	KSpreadCellIface.skel KSpreadColumnIface.skel KSpreadColumnIface.cpp KSpreadDocIface.cpp \
	KSpreadDocIface.skel KSpreadLayoutIface.skel KSpreadLayoutIface.cpp KSpreadMapIface.cpp \
	KSpreadMapIface.skel KSpreadRowIface.skel KSpreadRowIface.cpp KSpreadTableIface.cpp \
	KSpreadTableIface.skel KSpreadViewIface.skel KSpreadViewIface.cpp \
		kspread_genvalidationstyle.cpp region.cpp selection.cpp manipulator.cpp manipulator_data.cpp \
	kspread_generalProperty.cpp kspread_propertyEditor.cpp 

libkspreadcommon_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -ltdeutils
libkspreadcommon_la_LIBADD = $(top_builddir)/interfaces/libkochart.la \
	dialogs/libdialogs.la tests/libtests.la \
	$(LIB_KOFFICEUI) $(LIB_KOTEXT) -ltdespell

libkspreadpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts
libkspreadpart_la_LIBADD  = libkspreadcommon.la
libkspreadpart_la_SOURCES = kspread_factory_init.cpp


METASOURCES = AUTO

## The tdeinit loadable module and the executable
tdeinit_LTLIBRARIES = kspread.la
bin_PROGRAMS =
kspread_la_SOURCES = main.cpp
kspread_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts
kspread_la_LIBADD = $(LIB_KOFFICECORE)

xdg_apps_DATA = kspread.desktop

kde_services_DATA = kspreadpart.desktop

rcdir = $(kde_datadir)/kspread
rc_DATA = kspread.rc kspread_readonly.rc

SUBDIRS = dialogs tests . plugins pics dtd toolbar extensions sheetstyles templates 

parser:
	flex lex.l
	yacc -d yacc.y
	flex -Pdep lex.dep.l
	bison -p dep -b dep -d yacc.dep.y

messages: rc.cpp
	$(EXTRACTRC) --tag-group=koffice extensions/*.xml > xml_doc.cpp
	$(EXTRACTRC) dialogs/*.ui >> rc.cpp
	$(XGETTEXT) rc.cpp *.cpp kspread_aboutdata.h dialogs/*.cpp tests/*.cpp -o $(podir)/kspread.pot
	-rm xml_doc.cpp

include ../admin/Doxyfile.am

noinst_HEADERS =

.NOTPARALLEL: