You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
4.1 KiB
95 lines
4.1 KiB
# We use STL sorting so we need some typedefs
|
|
KDE_CXXFLAGS = -UQT_NO_STL
|
|
|
|
INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/lib/kformula \
|
|
$(KOTEXT_INCLUDES) $(all_includes)
|
|
|
|
kde_module_LTLIBRARIES = libkwordpart.la
|
|
lib_LTLIBRARIES = libkwmailmerge_interface.la libkwordprivate.la
|
|
|
|
## The part
|
|
libkwordpart_la_SOURCES = KWFactoryInit.cpp
|
|
libkwordpart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts
|
|
libkwordpart_la_LIBADD = $(KOFFICE_LIBS) libkwordprivate.la
|
|
|
|
## A lib with all the code
|
|
libkwordprivate_la_SOURCES = KWTableFrameSet.cpp KWCanvas.cpp KWFrame.cpp KWFormulaFrameSet.cpp \
|
|
KWFactory.cpp KWDocument.cpp \
|
|
KWView.cpp \
|
|
KWViewMode.cpp \
|
|
KWTextParag.cpp KWTextDocument.cpp \
|
|
KWTextFrameSet.cpp KWPartFrameSet.cpp \
|
|
KWTextImage.cpp KWAnchor.cpp \
|
|
KWConfig.cpp \
|
|
KWVariable.cpp \
|
|
KWFrameDia.cpp KWFootNoteDia.cpp \
|
|
KWFrameStyle.cpp KWFrameStyleManager.cpp \
|
|
KWTableStyle.cpp KWTableStyleManager.cpp \
|
|
KWTableTemplate.cpp KWTableTemplateSelector.cpp KWTableDia.cpp \
|
|
KWInsertDia.cpp KWDeleteDia.cpp KWDocStruct.cpp \
|
|
KWInsertTOCCommand.cpp KWStyleManager.cpp KWFindReplace.cpp \
|
|
KWCommand.cpp KWStatisticsDialog.cpp \
|
|
KWordMailMergeDatabaseIface.skel kwordmailmergedatabaseiface.cpp KWMailMergeDataBase.cpp \
|
|
KWMailMergeLabelAction.cpp \
|
|
KWEditPersonnalExpression.cpp \
|
|
KWSplitCellDia.cpp KWInsertPicDia.cpp \
|
|
KWordDocIface.skel KWordDocIface.cpp \
|
|
KWordViewIface.skel KWordViewIface.cpp \
|
|
KWordTextFrameSetIface.skel KWordTextFrameSetIface.cpp \
|
|
KWordTextFrameSetEditIface.skel KWordTextFrameSetEditIface.cpp \
|
|
KWordFrameSetIface.skel KWordFrameSetIface.cpp \
|
|
KWordFormulaFrameSetIface.skel KWordFormulaFrameSetIface.cpp \
|
|
KWordFormulaFrameSetEditIface.skel KWordFormulaFrameSetEditIface.cpp \
|
|
KWordPictureFrameSetIface.skel KWordPictureFrameSetIface.cpp \
|
|
KWordTableFrameSetIface.skel KWordTableFrameSetIface.cpp \
|
|
KWordPartFrameSetIface.skel KWordPartFrameSetIface.cpp \
|
|
KWBgSpellCheck.cpp KWResizeTableDia.cpp KWFrameLayout.cpp \
|
|
KWConfigFootNoteDia.cpp KWCreateBookmarkDia.cpp KWImportStyleDia.cpp \
|
|
KWordFootNoteFrameSetIface.skel KWordFootNoteFrameSetIface.cpp \
|
|
KWCreateBookmarkDiaBase.ui KWSelectBookmarkDiaBase.ui \
|
|
KWSortDia.cpp KWInsertPageDia.cpp KWCollectFramesetsVisitor.cpp \
|
|
KWOasisLoader.cpp KWOasisSaver.cpp KWFrameList.cpp KWPage.cpp \
|
|
KWPageManager.cpp KWFrameSet.cpp KWFrameSetEdit.cpp KWPictureFrameSet.cpp \
|
|
KWFrameViewManager.cpp KWFrameView.cpp KWStartupWidgetBase.ui KWStartupWidget.cpp \
|
|
KWLoadingInfo.cpp
|
|
|
|
|
|
libkwordprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts $(LIBKSPELL2)
|
|
libkwordprivate_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOTEXT) ../lib/kformula/libkformulalib.la ./libkwmailmerge_interface.la
|
|
|
|
METASOURCES = AUTO
|
|
|
|
## The mailmerge interface library
|
|
libkwmailmerge_interface_la_SOURCES = KWMailMergeDataSource.cpp KWMailMergeDataSource.skel
|
|
libkwmailmerge_interface_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts
|
|
libkwmailmerge_interface_la_LIBADD = $(KOFFICE_LIBS) $(LIB_QT) -lDCOP
|
|
kwincludedir = $(includedir)/kword
|
|
kwinclude_HEADERS = KWMailMergeDataSource.h
|
|
|
|
kwmailmerge_servicetype_DATA=kwmailmerge.desktop
|
|
kwmailmerge_servicetypedir=$(kde_servicetypesdir)
|
|
|
|
## The kdeinit loadable module and the kword binary
|
|
kdeinit_LTLIBRARIES = kword.la
|
|
bin_PROGRAMS =
|
|
kword_la_SOURCES = main.cpp
|
|
kword_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts
|
|
kword_la_LIBADD = $(KOFFICE_LIBS)
|
|
|
|
xdg_apps_DATA = kword.desktop
|
|
|
|
kde_services_DATA = kwordpart.desktop
|
|
|
|
rcdir = $(kde_datadir)/kword
|
|
rc_DATA = kword.rc kword_readonly.rc
|
|
|
|
SUBDIRS = . mailmerge templates dtd pics toolbar expression data tests
|
|
|
|
messages: rc.cpp
|
|
$(EXTRACTRC) --tag-group=koffice expression/*.xml > xml_doc.cpp
|
|
$(EXTRACTRC) `find mailmerge -name \*.ui` >> rc.cpp
|
|
$(XGETTEXT) rc.cpp *.cpp `find mailmerge -name \*.cpp -o -name \*.cpp` KWAboutData.h -o $(podir)/kword.pot
|
|
-rm xml_doc.cpp
|
|
|
|
include $(top_srcdir)/admin/Doxyfile.am
|