Makefile.am 2.35 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 9 10 11 12
	artsplayer.cpp \
	cache.cpp \
	collectionlist.cpp \
	directorylist.cpp \
	directorylistbase.ui \
	dynamicplaylist.cpp \
13
	folderplaylist.cpp \
14
	filehandle.cpp \
15 16 17 18 19 20 21
	filerenamer.cpp \
	filerenamerconfigdlg.cpp \
	filerenamerconfigdlgwidget.ui \
	gstreamerplayer.cpp \
	historyplaylist.cpp \
	juk.cpp \
	jukIface.skel \
22
	k3bexporter.cpp \
23 24 25 26 27
	keydialog.cpp \
	main.cpp \
	mediafiles.cpp \
	musicbrainzitem.cpp \
	musicbrainzquery.cpp \
28
	painteater.cpp \
29 30 31
	playermanager.cpp \
	playlist.cpp \
	playlistbox.cpp \
32
	playlistcollection.cpp \
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
	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 \
	trackpickerdialog.cpp \
	trackpickerdialogbase.ui \
	viewmode.cpp
52 53

tagguessertest_SOURCES = tagguessertest.cpp tagguesser.cpp
Zack Rusin's avatar
Zack Rusin committed
54
mbtest_SOURCES = mbtest.cpp musicbrainzquery.cpp
55

56
INCLUDES= $(all_includes) -I$(arts_includes) $(taglib_includes)
57

58 59 60
##################################################
# check to see if GStreamer is available
##################################################
61
if link_lib_GST
62
gstlibs = -lkdegst -lkdegstplay
63
endif
64
##################################################
65

Zack Rusin's avatar
Zack Rusin committed
66 67 68 69 70 71 72 73
##################################################
# check to see if MusicBrainz is available
##################################################
if link_lib_MB
mblibs = -lmusicbrainz
endif
##################################################

74 75 76 77 78
if include_ARTS
artslibs = -lartskde
endif

juk_LDADD = $(gstlibs) $(mblibs) $(artslibs) $(LIB_KIO) $(taglib_libs)
79
juk_LDFLAGS = $(all_libraries) $(KDE_RPATH)
80

81 82 83
tagguessertest_LDADD = $(LIB_KDECORE)
tagguessertest_LDFLAGS = $(all_libraries)

Zack Rusin's avatar
Zack Rusin committed
84 85 86
mbtest_LDADD = $(LIB_KDECORE) $(mblibs)
mbtest_LDFLAGS = $(all_libraries)

Scott Wheeler's avatar
Scott Wheeler committed
87
SUBDIRS = pics
88

89 90
rcdir = $(kde_datadir)/juk
rc_DATA = jukui.rc
91

92 93 94
servicemenudir = $(kde_datadir)/konqueror/servicemenus
servicemenu_DATA = jukservicemenu.desktop

95 96
METASOURCES = AUTO
KDE_ICON = AUTO
97
POFILES = AUTO
98

99
xdg_apps_DATA = juk.desktop
100 101

messages: rc.cpp
102 103 104
	$(EXTRACTRC) *.rc >> rc.cpp
	$(XGETTEXT) *.rc *.cpp *.h -o $(podir)/juk.pot
	-rm rc.cpp
105 106

KDE_OPTIONS = nofinal