summaryrefslogtreecommitdiffstats
path: root/akregator/src/Makefile.am
blob: 2ee3f3794fd4b65e5b3656f5e25b0d3450a28d71 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
#set the include path for X, qt and KDE
INCLUDES = -I$(top_srcdir)/akregator/src/librss -I$(top_srcdir) $(all_includes)

# let automoc handle all of the meta source files (moc).
METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg"` >> rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/akregator.pot

KDE_ICON = AUTO

# this Makefile creates both a KPart application and a KPart
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = akregator

# the application source, library search path, and link libraries
akregator_SOURCES = main.cpp mainwindow.cpp
akregator_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
akregator_LDADD = $(LIB_KPARTS) libakregatorprivate.la
#akregator_LDADD = $(LIB_KPARTS) libakregatorprivate.la $(top_builddir)/libtdepim/libtdepim.la

# this is where the desktop file will go
xdg_apps_DATA = akregator.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/akregator
shellrc_DATA = akregator_shell.rc

kdelnk_DATA = feed.protocol
kdelnkdir = $(kde_servicesdir)

#########################################################################
# PRIVATE SECTION
#########################################################################

# install headers (for storage plugins)
akregatorinclude_HEADERS = storage.h feedstorage.h storagefactory.h storagefactoryregistry.h \
                           plugin.h articleinterceptor.h akregator_export.h
akregatorincludedir = $(includedir)/akregator

# this is a lib shared by both the KPart and the main application
lib_LTLIBRARIES = libakregatorprivate.la
libakregatorprivate_la_SOURCES = akregatorconfig.kcfgc \
                                 articlefilter.cpp \
				 aboutdata.cpp \
                                 trayicon.cpp \
				 article.cpp \
				 feed.cpp \
				 treenode.cpp \
                                 treenodevisitor.cpp \
                                 tagnode.cpp \
				 folder.cpp \
                                 tagfolder.cpp \
                                 nodelist.cpp \
				 feedlist.cpp \
                                 tagnodelist.cpp \
			         fetchqueue.cpp \
			  	 feediconmanager.cpp \
				feediconmanager.skel \
                                 articleinterceptor.cpp \
                                plugin.cpp \
 				pluginmanager.cpp \
				storagefactoryregistry.cpp \
				storage.cpp \
                                tag.cpp \
                                tagset.cpp \
                                storagedummyimpl.cpp \
                                storagefactorydummyimpl.cpp \
                                simplenodeselector.cpp \
                                feedstoragedummyimpl.cpp \
                                dragobjects.cpp \
                                utils.cpp
				
libakregatorprivate_la_LDFLAGS = $(all_libraries) -avoid-version -no-undefined 
libakregatorprivate_la_LIBADD =	$(top_builddir)/libtdepim/libtdepim.la \
	$(top_builddir)/akregator/src/librss/librsslocal.la $(LIB_KHTML)

#########################################################################
# KPART SECTION
#########################################################################

kde_kcfg_DATA = akregator.kcfg
kde_module_LTLIBRARIES = libakregatorpart.la

mainwindow.lo: akregatorconfig.h
akregator_part.lo: akregatorconfig.h
akregator_view.lo: akregatorconfig.h
akregatorconfig.lo: akregatorconfig.h
articlelistview.lo: akregatorconfig.h
articleviewer.lo: akregatorconfig.h
feed.lo: akregatorconfig.h
fetchqueue.lo: akregatorconfig.h
trayicon.lo: akregatorconfig.h
viewer.lo: akregatorconfig.h
searchbar.lo: akregatorconfig.h

kspeech_DIR = $(kde_includes)
kspeechsink_DIR = $(kde_includes)

# the Part's source, library search path, and link libraries
libakregatorpart_la_SOURCES = \
	searchbar.cpp \
	akregator_run.cpp \
	articlelistview.cpp \
	actionmanager.cpp \
        actionmanagerimpl.cpp \
	frame.cpp \
	viewer.cpp \
	articleviewer.cpp \
	addfeeddialog.cpp \
	addfeedwidgetbase.ui \
	propertiesdialog.cpp \
	propertieswidgetbase.ui \
	pageviewer.cpp \
	tabwidget.cpp \
	feedlistview.cpp \
	treenodeitem.cpp \
	folderitem.cpp \
	feeditem.cpp \
        progressmanager.cpp \
        kernel.cpp \
        listtabwidget.cpp \
        settings_appearance.ui \
	settings_general.ui \
	settings_archive.ui \
	settings_browser.ui \
	settings_advancedbase.ui \
        tagnodeitem.cpp \
	configdialog.cpp \
	settings_advanced.cpp \
	akregator_partiface.skel \
	akregator_part.cpp \
	akregator_view.cpp \
        notificationmanager.cpp \
        tagaction.cpp \
        tagpropertieswidgetbase.ui \
        tagpropertiesdialog.cpp \
        tagfolderitem.cpp \
        speechclient.cpp \
	kspeechsink.skel \
	kspeech.stub

libakregatorpart_la_LDFLAGS = $(KDE_RPATH) $(KDE_PLUGIN) $(LIB_KUTILS) -avoid-version -no-undefined $(all_libraries)
libakregatorpart_la_LIBADD = libakregatorprivate.la $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KHTML) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -L$(top_builddir)/libtdepim -lkdepim

# this is where the desktop file will go
partdesktopdir = $(kde_servicesdir)
partdesktop_DATA = akregator_part.desktop

# this is where the part's XML-GUI resource file goes
partrcdir = $(kde_datadir)/akregator
partrc_DATA = articleviewer.rc pageviewer.rc akregator_part.rc eventsrc

kde_servicetypes_DATA = akregator_plugin.desktop


SUBDIRS = librss about . mk4storage pics

DOXYGEN_REFERENCES = kdeui
include $(top_srcdir)/admin/Doxyfile.am