|
|
|
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:
|