summaryrefslogtreecommitdiffstats
path: root/kdesktop/Makefile.am
blob: 4d0c273e1341cacac437668095d4860a29927e03 (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
## Makefile.am of kdebase/kdesktop

INCLUDES = -I$(top_srcdir)/kcontrol/background -I$(top_srcdir)/libkonq -I$(top_srcdir)/kdmlib $(all_includes)
kdesktop_la_LDFLAGS  = $(all_libraries) -module $(KDE_PLUGIN)
kdesktop_la_LIBADD   = libkdesktopsettings.la $(top_builddir)/libkonq/libkonq.la $(top_builddir)/kcontrol/background/libbgnd.la $(top_builddir)/kdmlib/libdmctl.la $(LIB_XSS) $(LIB_KUTILS) $(LIB_XCURSOR)

SUBDIRS = . lock pics patterns programs init kwebdesktop

####### Files

bin_PROGRAMS = kcheckrunning kxdglauncher
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = kdesktop.la
noinst_LTLIBRARIES = libkdesktopsettings.la

libkdesktopsettings_la_LDFLAGS = $(all_libraries) -no-undefined
libkdesktopsettings_la_LIBADD = $(LIB_TDECORE)
libkdesktopsettings_la_SOURCES = kdesktopsettings.kcfgc klaunchsettings.kcfgc 

kdesktop_la_SOURCES = main.cc krootwm.cc xautolock.cc kdiconview.cc desktop.cc \
	lockeng.cc KDesktopIface.skel \
	bgmanager.cc init.cc KScreensaverIface.skel \
	minicli.cpp KBackgroundIface.skel pixmapserver.cc kcustommenu.cc \
	startupid.cpp minicli_ui.ui xautolock_diy.c xautolock_engine.c \
	kshadowengine.cpp kshadowsettings.cpp \
	kdesktopshadowsettings.cpp kfileividesktop.cpp \
	kdesktopapp.cpp

include_HEADERS = KDesktopIface.h KScreensaverIface.h KBackgroundIface.h

noinst_HEADERS = desktop.h bgmanager.h krootwm.h \
	xautolock.h lockeng.h init.h minicli.h \
	pixmapserver.h startupid.h xautolock_c.h \
	kdesktopapp.h kxdglauncher.h

kcheckrunning_SOURCES = kcheckrunning.cpp
kcheckrunning_LDFLAGS = $(all_libraries)
kcheckrunning_LDADD = $(LIB_X11) $(LIB_QT)

kxdglauncher_SOURCES = kxdglauncher.cpp
kxdglauncher_LDFLAGS = $(all_libraries)
kxdglauncher_LDADD = $(LIB_KUTILS)

METASOURCES = AUTO

####### Build rules

# List made with: grep -l kdesktopsettings.h *[pc] | sed -e 's/\.c.*$/.lo: kdesktopsettings.h/'
bgmanager.lo: kdesktopsettings.h
desktop.lo: kdesktopsettings.h
init.lo: kdesktopsettings.h
kdesktopsettings.lo: kdesktopsettings.h
kdiconview.lo: kdesktopsettings.h
krootwm.lo: kdesktopsettings.h
lockeng.lo: kdesktopsettings.h
main.lo: kdesktopsettings.h
minicli.lo: kdesktopsettings.h

# List made with: grep -l klaunchsettings.h *[pc] | sed -e 's/\.c.*$/.lo: klaunchsettings.h/'
desktop.lo: klaunchsettings.h
klaunchsettings.lo: klaunchsettings.h
startupid.lo: klaunchsettings.h

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

menu_DATA = kdesktop_custom_menu1 kdesktop_custom_menu2
menudir = $(kde_confdir)

autostart_DATA = kdesktop.desktop
autostartdir = $(datadir)/autostart

konqservice_DATA = kdesktopSetAsBackground.desktop
konqservicedir = $(kde_datadir)/konqueror/servicemenus

kde_kcfg_DATA = kdesktop.kcfg klaunch.kcfg