summaryrefslogtreecommitdiffstats
path: root/kword/Makefile.am
blob: 2fd145f642787ed331ab7cab4d982355ff1a5270 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# 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)
libkwordpart_la_LIBADD = 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
libkwordprivate_la_LIBADD = $(LIB_KOFFICEUI) $(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
libkwmailmerge_interface_la_LIBADD = $(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)
kword_la_LIBADD = $(LIB_KOFFICECORE)

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