summaryrefslogtreecommitdiffstats
path: root/kchart/Makefile.am
blob: d05332b4761c7f66ce557f7b3175337646baec30 (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
95
96
97
98
INCLUDES  = $(KOFFICE_INCLUDES) -I$(srcdir)/kdchart -I$(top_srcdir)/interfaces -I$(interfacedir) $(all_includes)

## The lib with most of the code (shared with the kchart filters)
lib_LTLIBRARIES = libkchartcommon.la

libkchartcommon_la_SOURCES = kchart_part.cc \
	kchart_view.cc kchart_factory.cc \
	kchartColorConfigPage.cc \
	kchartParameterConfigPage.cc \
	kchartParameter3dConfigPage.cc \
	kchartBackgroundPixmapConfigPage.cc	\
	kchartSubTypeChartPage.cc	\
	kchartComboConfigPage.cc \
	kchartFontConfigPage.cc \
	kchartDataConfigPage.cc \
	kchartPieConfigPage.cc \
	kchartParameterPieConfigPage.cc \
	kchartConfigDialog.cc \
	kchartWizard.cc \
	kchartWizardLabelsLegendPage.cc \
	kchartWizardSelectChartSubTypePage.cc \
	kchartWizardSelectChartTypePage.cc \
	kchartWizardSelectDataPage.cc \
	kchartWizardSetupAxesPage.cc \
	kchartWizardSetupDataPage.cc \
        kchartWizardSelectDataFormatPage.cc \
	kchartDataEditor.cc \
	KChartViewIface.skel KChartViewIface.cc \
	kchartLegendConfigPage.cc kchart_params.cc KChartParamsIface.skel \
	KChartParamsIface.cc kchartHeaderFooterConfigPage.cc \
	kchartLine3dConfigPage.cc kchartParameterPolarConfigPage.cc kchartPageLayout.cc \
	kchartPrinterDlg.cc \
        csvimportdialog.cc csvimportdialogui.ui

libkchartcommon_la_LIBADD = $(top_builddir)/interfaces/libkochart.la \
                            $(LIB_KOFFICEUI) \
                            kdchart/libkdchart.la
libkchartcommon_la_LDFLAGS = $(KDE_RPATH) -version-info 2:0:0 -no-undefined

## The part
kde_module_LTLIBRARIES = libkchartpart.la
libkchartpart_la_SOURCES = kchart_factory_init.cc
libkchartpart_la_LDFLAGS = $(KDE_PLUGIN)
libkchartpart_la_LIBADD = libkchartcommon.la

## The kdeinit loadable module and executable
kdeinit_LTLIBRARIES = kchart.la
bin_PROGRAMS =
kchart_la_SOURCES = main.cc
kchart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kchart_la_LIBADD = $(LIB_KOFFICECORE)

noinst_HEADERS =  kchart_part.h \
		kchart_view.h kchart_factory.h \
		kchartColorConfigPage.h \
		kchartParameterConfigPage.h \
		kchartParameter3dConfigPage.h \
		kchartBackgroundPixmapConfigPage.h	\
		kchartSubTypeChartPage.h	\
		kchartComboConfigPage.h \
		kchartParameterPieConfigPage.h \
		kchartFontConfigPage.h \
		kchartDataConfigPage.h \
		kchartPieConfigPage.h \
		kchartConfigDialog.h \
		kchartWizard.h \
		kchartWizardLabelsLegendPage.h \
		kchartWizardSelectChartSubTypePage.h \
		kchartWizardSelectChartTypePage.h \
		kchartWizardSelectDataPage.h \
		kchartWizardSetupAxesPage.h \
		kchartWizardSetupDataPage.h \
                kchartWizardSelectDataFormatPage.h \
		kchartDataEditor.h \
		kchart_aboutdata.h	\
		kchartcolorarray.h KChartViewIface.h \
		kchartLegendConfigPage.h  kchart_params.h \
		KChartParamsIface.h kchartHeaderFooterConfigPage.h \
		kchartLine3dConfigPage.h kchartParameterPolarConfigPage.h \
		kchartPageLayout.h \
		kchartPrinterDlg.h \
		csvimportdialog.h

METASOURCES = AUTO

rcdir = $(kde_datadir)/kchart
rc_DATA = kchart.rc kchart_readonly.rc

xdg_apps_DATA = kchart.desktop

SUBDIRS =  kdchart . toolbar pics templates

messages: rc.cpp
	$(XGETTEXT) rc.cpp *.cc kchart_aboutdata.h kdchart/*.cpp -o $(podir)/kchart.pot

kde_services_DATA = kchartpart.desktop

include $(top_srcdir)/admin/Doxyfile.am