Makefile.am 2.64 KB
Newer Older
1
bin_PROGRAMS = juk
Zack Rusin's avatar
Zack Rusin committed
2
check_PROGRAMS = tagguessertest mbtest
3

4 5
juk_SOURCES = \
	advancedsearchdialog.cpp \
6
	actioncollection.cpp \
7 8
	artsplayer.cpp \
	cache.cpp \
9
	categoryreaderinterface.cpp \
10
	collectionlist.cpp \
11 12
	deletedialog.cpp \
	deletedialogbase.ui \
13 14 15
	directorylist.cpp \
	directorylistbase.ui \
	dynamicplaylist.cpp \
16 17
	exampleoptions.cpp \
	exampleoptionsbase.ui \
18
	folderplaylist.cpp \
19
	filehandle.cpp \
20
	filerenamer.cpp \
21 22 23
	filerenamerbase.ui \
	filerenameroptions.cpp \
	filerenameroptionsbase.ui \
24 25 26 27 28
	filerenamerconfigdlg.cpp \
	gstreamerplayer.cpp \
	historyplaylist.cpp \
	juk.cpp \
	jukIface.skel \
29
	k3bexporter.cpp \
30 31 32 33
	keydialog.cpp \
	main.cpp \
	mediafiles.cpp \
	musicbrainzquery.cpp \
34
	painteater.cpp \
35 36 37
	playermanager.cpp \
	playlist.cpp \
	playlistbox.cpp \
38
	playlistcollection.cpp \
39
	playlistinterface.cpp \
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
	playlistitem.cpp \
	playlistsearch.cpp \
	playlistsplitter.cpp \
	searchplaylist.cpp \
	searchwidget.cpp \
	slideraction.cpp \
	sortedstringlist.cpp \
	splashscreen.cpp \
	statuslabel.cpp \
	stringshare.cpp \
	systemtray.cpp \
	tag.cpp \
	tageditor.cpp \
	tagguesser.cpp \
	tagguesserconfigdlg.cpp \
	tagguesserconfigdlgwidget.ui \
56
	tagrenameroptions.cpp \
57
	tagtransactionmanager.cpp \
58 59
	trackpickerdialog.cpp \
	trackpickerdialogbase.ui \
60 61
	tracksequenceiterator.cpp \
	tracksequencemanager.cpp \
62
	treeviewitemplaylist.cpp \
63
	upcomingplaylist.cpp \
64
	ktrm.cpp \
65
	viewmode.cpp
66 67

tagguessertest_SOURCES = tagguessertest.cpp tagguesser.cpp
Zack Rusin's avatar
Zack Rusin committed
68
mbtest_SOURCES = mbtest.cpp musicbrainzquery.cpp
69

70
INCLUDES= $(all_includes) -I$(arts_includes) $(taglib_includes)
71

72 73 74
##################################################
# check to see if GStreamer is available
##################################################
75
if link_lib_GST
76
gstlibs = -lkdegst -lkdegstplay
77
endif
78
##################################################
79

Zack Rusin's avatar
Zack Rusin committed
80 81 82 83
##################################################
# check to see if MusicBrainz is available
##################################################
if link_lib_MB
84
mblibs = -lmusicbrainz -ltunepimp
Zack Rusin's avatar
Zack Rusin committed
85 86 87
endif
##################################################

88
juk_LDADD = $(gstlibs) $(mblibs) -lartskde $(LIB_KIO) $(taglib_libs)
89
juk_LDFLAGS = $(all_libraries) $(KDE_RPATH)
90

91 92 93
tagguessertest_LDADD = $(LIB_KDECORE)
tagguessertest_LDFLAGS = $(all_libraries)

Zack Rusin's avatar
Zack Rusin committed
94 95 96
mbtest_LDADD = $(LIB_KDECORE) $(mblibs)
mbtest_LDFLAGS = $(all_libraries)

Scott Wheeler's avatar
Scott Wheeler committed
97
SUBDIRS = pics
98

99
rcdir = $(kde_datadir)/juk
100
rc_DATA = jukui.rc jukui-rtl.rc
101

102 103 104
servicemenudir = $(kde_datadir)/konqueror/servicemenus
servicemenu_DATA = jukservicemenu.desktop

105 106
METASOURCES = AUTO
KDE_ICON = AUTO
107
POFILES = AUTO
108

109
xdg_apps_DATA = juk.desktop
110 111

messages: rc.cpp
112 113 114
	$(EXTRACTRC) *.rc >> rc.cpp
	$(XGETTEXT) *.rc *.cpp *.h -o $(podir)/juk.pot
	-rm rc.cpp