summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/Makefile.am
blob: 65b567a0e650bc56a4ff9b92a668045584343dad (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
SUBDIRS = player-parts input

bin_PROGRAMS = kaffeine

INCLUDES = -I$(top_srcdir)/kaffeine/src/input/ \
	-I$(top_srcdir)/kaffeine/src/input/dvb/ \
	-I$(top_builddir)/kaffeine/src/input/dvb/plugins/epg \
	-I$(top_srcdir)/kaffeine/src/input/dvb/plugins/epg \
	-I$(top_builddir)/kaffeine/src/input/dvb/ \
	-I$(top_builddir)/kaffeine/src/input/disc/ \
	-I$(top_srcdir)/kaffeine/src/input/disc/ \
	-I$(top_srcdir)/kaffeine/src/input/disc/plugins \
	-I$(top_srcdir)/kaffeine/src/player-parts/kaffeine-part \
	-I$(top_srcdir)/kaffeine/src/input/dvbclient/ \
	-I$(top_srcdir)/kaffeine/src/input/audiobrowser/ \
	$(all_includes) $(CFLAGS_DPMS) $(CFLAGS_XTEST)

METASOURCES = AUTO

kaffeine_SOURCES = main.cpp \
	kaffeine.cpp \
	startwindow.cpp \
	pref.cpp \
	kaffeineiface.skel \
	systemtray.cpp \
	instwizard.cpp\
	tdemultitabbar.cpp \
	inputmanager.cpp

kaffeine_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

if with_dvb
    DVBLIB = input/dvb/libkaffeinedvb.la
endif

kaffeine_LDADD   = $(LIB_TDEPARTS) \
	player-parts/kaffeine-part/libkaffeinepart.la \
	input/dvbclient/libkaffeinedvbclient.la \
	input/audiobrowser/libkaffeineaudiobrowser.la \
	input/disc/libkaffeinedisc.la \
	$(DVBLIB) $(LIB_DPMS) $(LIB_XTEST)

# this is where the desktop file will go
shelldesktopdir   = $(xdg_appsdir)
shelldesktop_DATA = kaffeine.desktop

# this is where the XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/kaffeine
shellrc_DATA = kaffeineui.rc

# this is where profile file for KDE-LIRC goes
profiledata_DATA = kaffeine.profile.xml
profiledatadir = $(kde_datadir)/profiles