summaryrefslogtreecommitdiffstats
path: root/kscd/Makefile.am
blob: edb2eaf66b00713e8771092da2c6f09ce3db8376 (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
# $Id$

mimedir = $(kde_mimedir)/text
picsdir  = $(kde_datadir)/kscd/pics

INCLUDES= -I$(top_srcdir) -I$(top_builddir)/libkcddb $(all_includes)
METASOURCES = AUTO

####### Files

noinst_HEADERS = kscd.h bwlednum.h ledlamp.h \
                 version.h docking.h configWidget.h

kscd_SOURCES = panel.ui kscd.cpp kscd.skel ledlamp.cpp \
               docking.cpp bwlednum.cpp \
               configWidget.cpp configWidgetUI.ui prefs.kcfgc cddbdlg.cpp

noinst_LTLIBRARIES = libkcompactdisc.la
libkcompactdisc_la_SOURCES = kcompactdisc.cpp

libkcompactdisc_la_LIBADD = $(top_builddir)/kscd/libwm/libworkman.la
libkcompactdisc_la_LDFLAGS = $(all_libraries) -lpthread

kde_kcfg_DATA = kscd.kcfg

kscd_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kscd_LDADD = $(LIBCDROM) $(LIBCDAUDIO) \
	     $(LIBFPE) $(LIB_KIO) -lkutils $(top_builddir)/libkcddb/libkcddb.la \
	     libkcompactdisc.la -lpthread

profiledata_DATA = kscd.profile.xml
profiledatadir = $(kde_datadir)/profiles

servicedata_DATA = audiocd_play.desktop
servicedatadir = $(kde_datadir)/konqueror/servicemenus

DISTCLEANFILES = config.h

bin_PROGRAMS = kscd
# Don't Build cddaslave. It doesn't work.
# cddaslave

#config.h: kscd-script
#$(SHELL) $(srcdir)/kscd-script

SUBDIRS = bitmaps libwm

bin_SCRIPTS = workman2cddb.pl

kscdicondir = $(kde_datadir)/kscd/icons
kscdicon_ICON = cdsmall
KDE_ICON = kscd

xdg_apps_DATA = kscd.desktop

mime_DATA = xmcd.desktop

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kscd.pot

cdrom.c:config.h
plat_bsd386.c:config.h
plat_freebsd.c:config.h
plat_hpux.c:config.h
plat_irix.c:config.h
plat_linux.c:config.h
plat_news.c:config.h
plat_osf1.c:config.h
plat_scor5.c:config.h
plat_sun.c:config.h
plat_sun_audio.c:config.h
plat_sun_cdda.c:config.h
plat_svr4.c:config.h
plat_ultrix.c:config.h

KDE_OPTIONS = nofinal


cddbdlg.o: ../libkcddb/configbase.h ../libkcddb/cdinfodialogbase.h
configWidget.o: ../libkcddb/configbase.h
docking.o: ../libkcddb/configbase.h
kscd.o: ../libkcddb/configbase.h
kscd_skel.o: ../libkcddb/configbase.h panel.h prefs.h configWidgetUI.h