Makefile.am 2.29 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 13
	artsplayer.cpp \
	cache.cpp \
	collectionlist.cpp \
	customaction.cpp \
	directorylist.cpp \
	directorylistbase.ui \
	dynamicplaylist.cpp \
14
	filehandle.cpp \
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
	filerenamer.cpp \
	filerenamerconfigdlg.cpp \
	filerenamerconfigdlgwidget.ui \
	gstreamerplayer.cpp \
	historyplaylist.cpp \
	juk.cpp \
	jukIface.skel \
	keydialog.cpp \
	main.cpp \
	mediafiles.cpp \
	musicbrainzitem.cpp \
	musicbrainzquery.cpp \
	playermanager.cpp \
	playlist.cpp \
	playlistbox.cpp \
	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
49 50

tagguessertest_SOURCES = tagguessertest.cpp tagguesser.cpp
Zack Rusin's avatar
Zack Rusin committed
51
mbtest_SOURCES = mbtest.cpp musicbrainzquery.cpp
52

53
INCLUDES= $(all_includes) -I$(arts_includes) $(taglib_includes)
54

55 56 57
##################################################
# check to see if GStreamer is available
##################################################
58
if link_lib_GST
59
gstlibs = -lkdegst -lkdegstplay
60
endif
61
##################################################
62

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

71 72 73 74 75
if include_ARTS
artslibs = -lartskde
endif

juk_LDADD = $(gstlibs) $(mblibs) $(artslibs) $(LIB_KIO) $(taglib_libs)
76
juk_LDFLAGS = $(all_libraries) $(KDE_RPATH)
77

78 79 80
tagguessertest_LDADD = $(LIB_KDECORE)
tagguessertest_LDFLAGS = $(all_libraries)

Zack Rusin's avatar
Zack Rusin committed
81 82 83
mbtest_LDADD = $(LIB_KDECORE) $(mblibs)
mbtest_LDFLAGS = $(all_libraries)

Scott Wheeler's avatar
Scott Wheeler committed
84
SUBDIRS = pics
85

86 87
rcdir = $(kde_datadir)/juk
rc_DATA = jukui.rc
88

89 90 91
servicemenudir = $(kde_datadir)/konqueror/servicemenus
servicemenu_DATA = jukservicemenu.desktop

92 93
METASOURCES = AUTO
KDE_ICON = AUTO
94
POFILES = AUTO
95

96
xdg_apps_DATA = juk.desktop
97 98

messages: rc.cpp
99 100 101
	$(EXTRACTRC) *.rc >> rc.cpp
	$(XGETTEXT) *.rc *.cpp *.h -o $(podir)/juk.pot
	-rm rc.cpp
102 103

KDE_OPTIONS = nofinal