summaryrefslogtreecommitdiffstats
path: root/kplato/Makefile.am
blob: 146a789b00f14eaad78a9fe4cb1b31cc794891a3 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
SUBDIRS = templates pics reports toolbar tests

INCLUDES = $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) \
           -I$(top_srcdir)/kdgantt -I$(top_srcdir)/kugar/lib \
           $(all_includes)

libkplatopart_la_SOURCES = \
    kptsummarytaskgeneralpanelbase.ui \
    kptsummarytaskdialog.cpp \
    kptsummarytaskgeneralpanel.cpp \
    kptschedule.cpp \
    kptappointment.cpp \
    kptcalendarlistpanel.ui \
    kptresourceappointmentsview.cpp \
    kpttaskappointmentsview.cpp \
    kptdoublelistviewbase.cpp \
    kptaccountsviewconfigdialog.cpp \
    kptaccountsviewconfigurepanelbase.ui \
    kptaccountsview.cpp \
    kpttaskcostpanelbase.ui \
    kpttaskcostpanel.cpp \
    kptmilestoneprogresspanel.cpp \
    kptmilestoneprogresspanelbase.ui \
    kptmilestoneprogressdialog.cpp \
    kptaccount.cpp kptaccountsdialog.cpp kptaccountspanel.cpp kptaccountspanelbase.ui \
    kptnode.cpp kptproject.cpp \
    kptrelation.cpp kptresource.cpp kpttask.cpp \
    kptduration.cpp kptfactory.cpp kptpart.cpp kptview.cpp \
    kptdurationwidget.ui relationpanel.ui\
    kptprojectdialog.cpp kpttaskdialog.cpp  \
    kptmainprojectdialog.cpp kptmainprojectpanel.cpp kptmainprojectpanelbase.ui \
    kptganttview.cpp kptresourcespanel.cpp \
    kptpertview.cpp kptpertcanvas.cpp kptrelationdialog.cpp \
    kptcanvasitem.cpp kptprojectdialogbase.ui \
    resourcespanelbase.ui \
    kptresourceview.cpp \
    kpttastderesourcespanelbase.ui kptrequestresourcespanel.cpp \
    resourcedialogbase.ui kptresourcedialog.cpp \
    kpttaskgeneralpanelbase.ui \
    kpttasknotespanelbase.ui \
    kptdatetime.cpp \
    kptcalendar.cpp kptcalendaredit.cpp kptcalendarlistdialog.cpp \
    kptcalendarpanel.cpp kptdatetable.cpp \
    kptcalendarlistdialogbase.cpp kptcalendareditbase.cpp \
    kptcommand.cpp KPtViewIface.cpp KPtViewIface.skel  \
    standardworktimedialogbase.ui kptstandardworktimedialog.cpp \
    kptintervaleditbase.ui kptintervaledit.cpp \
    kpttaskgeneralpanel.cpp kpttaskdefaultpanel.cpp \
    kptconfigtaskpanelbase.ui \
    kptconfigdialog.cpp \
    kpttaskprogresspanel.cpp kpttaskprogresspanelbase.ui \
    kpttaskprogressdialog.cpp \
    kptconfig.cpp kptcontext.cpp \
    kptresourcesdialog.cpp \
    kptwbsdefinitiondialog.cpp kptwbsdefinitionpanel.cpp kptwbsdefinitionpanelbase.ui \
    kptwbsdefinition.cpp
##    kptconfigbehaviorpanel.cpp kptconfigbehaviorpanelbase.ui \
##    kptreportview.cpp 

# (this is not used)
noinst_HEADERS = \
    kptxmlloaderobject.h \
    kptsummarytaskdialog.h \
    kptsummarytaskgeneralpanel.h \
    kptschedule.h \
    kptappointment.h \
    kptresourceappointmentsview.h \
    kpttaskappointmentsview.h \
    kptdoublelistviewbase.h \
    kptaccountsviewconfigdialog.h \
    kptaccountsview.h \
    kpttaskcostpanel.h \
    kpttaskprogresspanel.h \
    kpttaskprogressdialog.h \
    kptaccount.h kptaccountsdialog.h kptaccountspanel.h \
    kptaboutdata.h kptduration.h kptfactory.h \
    kptnode.h kptpart.h kptproject.h kptrelation.h \
    kptresource.h kpttask.h kptview.h \
    kptprojectdialog.h kpttaskdialog.h  \
    kptmainprojectdialog.h \
    kptganttview.h kptcanvasitem.h \
    kptpertview.h kptpertcanvas.h kptrelationdialog.h \
    kptresourcespanel.h kptresourceview.h \
    kptrequestresourcespanel.h kptresourcedialog.h\
    kptdatetime.h kptmap.h \
    kptcalendar.h kptcalendaredit.h kptcalendarlistdialog.h \
    kptcalendarpanel.h kptdatetable.h \
    kptcalendarlistdialogbase.h kptcalendareditbase.h \
    kptcommand.h \
    kptstandardworktimedialog.h kptintervaledit.h intervalitem.h \
    kpttaskgeneralpanel.h kpttaskdefaultpanel.h \
    kptconfigdialog.h \
    kpttaskprogresspanel.h \
    kptconfig.h kptcontext.h \
    kptresourcesdialog.h \
    kptwbsdefinitiondialog.h kptwbsdefinitionpanel.h \
    kptwbsdefinition.h \
    kpteffortcostmap.h
##    kptconfigbehaviorpanel.h \
##    kptreportview.h

## The part
lib_LTLIBRARIES = 
kde_module_LTLIBRARIES = libkplatopart.la
libkplatopart_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -ltdeprint
libkplatopart_la_LIBADD = $(LIB_TDEABC) $(KOFFICE_LIBS) -lDCOP \
                          $(top_builddir)/kdgantt/libkdgantt.la
##                          $(top_builddir)/kugar/lib/libkugarlib.la

libkplatopart_la_METASOURCES = AUTO

## The tdeinit loadable module and executable
tdeinit_LTLIBRARIES = kplato.la
bin_PROGRAMS =
kplato_la_SOURCES = main.cpp
kplato_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -ltdeprint
kplato_la_LIBADD = $(KOFFICE_LIBS)

xdg_apps_DATA = kplato.desktop

rcdir = $(kde_datadir)/kplato
rc_DATA = kplato.rc kplato_readonly.rc

## NOTE: extractattr needs <Label & Text on same line!
messages: rc.cpp
	$(EXTRACTATTR) --attr=Label,Text reports/*.ktf >>rc.cpp
	$(XGETTEXT) rc.cpp *.cpp kptaboutdata.h -o $(podir)/kplato.pot

kde_services_DATA = kplatopart.desktop

include $(top_srcdir)/admin/Doxyfile.am

.NOTPARALLEL: