summaryrefslogtreecommitdiffstats
path: root/kget/Makefile.am
blob: 433ee66d6b07540884b2c6ba558fa076651ff49a (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
SUBDIRS = . pics icons sounds kget_plug_in
INCLUDES = $(all_includes)


bin_PROGRAMS = kget

kget_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kget_LDADD   = $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIBSOCKET)
kget_SOURCES = getfilejob.cpp slaveevent.cpp slave.cpp transferlist.cpp \
               transfer.cpp settings.cpp logwindow.cpp \
               kmainwidget.cpp kfileio.cpp droptarget.cpp docking.cpp \
               dlgconnectionbase.ui dlgautomationbase.ui dlglimitsbase.ui \
               dlgadvancedbase.ui dlgdirectoriesbase.ui dlgsystembase.ui \
               dlgSystem.cpp dlgPreferences.cpp dlgLimits.cpp \
               dlgIndividual.cpp dlgDirectories.cpp dlgConnection.cpp \
               dlgAutomation.cpp dlgAdvanced.cpp \
               main.cpp dockindividual.cpp kget_iface.skel safedelete.cpp

noinst_HEADERS = common.h \
                 dlgAdvanced.h dlgAutomation.h dlgConnection.h \
                 dlgDirectories.h dlgIndividual.h dlgLimits.h \
                 dlgPreferences.h dlgSystem.h docking.h droptarget.h \
                 kfileio.h kmainwidget.h logwindow.h settings.h \
                 transfer.h transferlist.h version.h slave.h \
                 slaveevent.h http_defaults.h getfilejob.h dockindividual.h

kget_METASOURCES = AUTO

xdg_apps_DATA = kget.desktop

mimedir = $(kde_mimedir)/application
mime_DATA =x-kgetlist.desktop

servicemenudir = $(kde_datadir)/konqueror/servicemenus
servicemenu_DATA = kget_download.desktop

EXTRA_DIST = kget.desktop $(mime_DATA)

rcdir = $(kde_datadir)/kget
rc_DATA = kgetui.rc

events_DATA = eventsrc
eventsdir = $(kde_datadir)/kget

KDE_ICON = AUTO

messages: rc.cpp
	$(EXTRACTRC) *.ui > rc.cpp
	$(EXTRACTRC) *.rc */*.rc >> rc.cpp
	$(XGETTEXT) *.cpp */*.cpp *.h -o $(podir)/kget.pot