2004-02-24 00:41:20 +01:00
|
|
|
bin_PROGRAMS = mpd
|
2006-07-26 05:05:50 +02:00
|
|
|
SUBDIRS = $(MP4FF_SUBDIR)
|
2004-05-31 03:21:17 +02:00
|
|
|
|
2004-11-02 13:50:53 +01:00
|
|
|
mpd_audioOutputs = \
|
2005-03-05 06:22:30 +01:00
|
|
|
audioOutputs/audioOutput_alsa.c \
|
2004-11-02 13:50:53 +01:00
|
|
|
audioOutputs/audioOutput_ao.c \
|
|
|
|
audioOutputs/audioOutput_oss.c \
|
2005-03-13 20:23:09 +01:00
|
|
|
audioOutputs/audioOutput_osx.c \
|
2006-07-13 21:03:49 +02:00
|
|
|
audioOutputs/audioOutput_pulse.c \
|
2005-08-11 14:34:38 +02:00
|
|
|
audioOutputs/audioOutput_mvp.c \
|
2006-10-18 04:49:13 +02:00
|
|
|
audioOutputs/audioOutput_shout.c \
|
|
|
|
audioOutputs/audioOutput_jack.c
|
2004-11-02 13:46:52 +01:00
|
|
|
|
2004-07-04 15:57:26 +02:00
|
|
|
mpd_inputPlugins = \
|
2006-03-16 07:52:46 +01:00
|
|
|
inputPlugins/_flac_common.c \
|
|
|
|
inputPlugins/_ogg_common.c \
|
|
|
|
inputPlugins/oggflac_plugin.c \
|
|
|
|
inputPlugins/oggvorbis_plugin.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
inputPlugins/aac_plugin.c \
|
|
|
|
inputPlugins/audiofile_plugin.c \
|
|
|
|
inputPlugins/flac_plugin.c \
|
|
|
|
inputPlugins/mod_plugin.c \
|
|
|
|
inputPlugins/mp3_plugin.c \
|
|
|
|
inputPlugins/mp4_plugin.c \
|
2006-03-16 07:52:46 +01:00
|
|
|
inputPlugins/mpc_plugin.c
|
2004-07-04 15:57:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
mpd_headers = \
|
|
|
|
ack.h \
|
|
|
|
audio.h \
|
2004-10-20 18:05:13 +02:00
|
|
|
audioOutput.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
buffer2array.h \
|
|
|
|
charConv.h \
|
|
|
|
command.h \
|
|
|
|
conf.h \
|
2004-11-10 22:58:27 +01:00
|
|
|
dbUtils.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
decode.h \
|
|
|
|
directory.h \
|
2006-07-30 05:43:38 +02:00
|
|
|
gcc.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
inputPlugin.h \
|
2006-03-16 07:52:46 +01:00
|
|
|
inputPlugins/_flac_common.h \
|
|
|
|
inputPlugins/_ogg_common.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
inputStream.h \
|
|
|
|
inputStream_file.h \
|
|
|
|
inputStream_http.h \
|
|
|
|
interface.h \
|
|
|
|
list.h \
|
|
|
|
listen.h \
|
|
|
|
log.h \
|
|
|
|
ls.h \
|
|
|
|
metadataChunk.h \
|
|
|
|
mpd_types.h \
|
|
|
|
myfprintf.h \
|
2006-07-22 02:53:37 +02:00
|
|
|
normalize.h \
|
2006-07-27 02:50:59 +02:00
|
|
|
compress.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
outputBuffer.h \
|
|
|
|
path.h \
|
|
|
|
pcm_utils.h \
|
|
|
|
permission.h \
|
|
|
|
player.h \
|
|
|
|
playerData.h \
|
|
|
|
playlist.h \
|
|
|
|
replayGain.h \
|
|
|
|
signal_check.h \
|
|
|
|
sig_handlers.h \
|
2006-07-30 05:43:38 +02:00
|
|
|
sllist.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
song.h \
|
2006-07-31 01:32:47 +02:00
|
|
|
state_file.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
stats.h \
|
|
|
|
tag.h \
|
2004-11-10 22:58:27 +01:00
|
|
|
tagTracker.h \
|
2006-08-06 08:40:11 +02:00
|
|
|
tree.h \
|
2004-07-04 15:57:26 +02:00
|
|
|
utf8.h \
|
|
|
|
utils.h \
|
2007-01-08 04:15:33 +01:00
|
|
|
volume.h \
|
|
|
|
localization.h
|
2004-07-04 15:57:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
mpd_SOURCES = \
|
|
|
|
$(mpd_headers) \
|
2004-11-02 13:50:53 +01:00
|
|
|
$(mpd_audioOutputs) \
|
2004-07-04 15:57:26 +02:00
|
|
|
$(mpd_inputPlugins) \
|
|
|
|
audio.c \
|
2004-10-20 18:05:13 +02:00
|
|
|
audioOutput.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
buffer2array.c \
|
|
|
|
charConv.c \
|
|
|
|
command.c \
|
|
|
|
conf.c \
|
2004-11-10 22:58:27 +01:00
|
|
|
dbUtils.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
decode.c \
|
|
|
|
directory.c \
|
|
|
|
inputPlugin.c \
|
|
|
|
inputStream.c \
|
|
|
|
inputStream_file.c \
|
|
|
|
inputStream_http.c \
|
|
|
|
interface.c \
|
|
|
|
list.c \
|
|
|
|
listen.c \
|
|
|
|
log.c \
|
|
|
|
ls.c \
|
|
|
|
main.c \
|
|
|
|
metadataChunk.c \
|
|
|
|
myfprintf.c \
|
2006-07-22 02:53:37 +02:00
|
|
|
normalize.c \
|
2006-07-27 02:50:59 +02:00
|
|
|
compress.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
outputBuffer.c \
|
|
|
|
path.c \
|
|
|
|
pcm_utils.c \
|
|
|
|
permission.c \
|
|
|
|
player.c \
|
|
|
|
playerData.c \
|
|
|
|
playlist.c \
|
|
|
|
replayGain.c \
|
|
|
|
sig_handlers.c \
|
|
|
|
signal_check.c \
|
2006-07-30 05:43:38 +02:00
|
|
|
sllist.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
song.c \
|
2006-07-31 01:32:47 +02:00
|
|
|
state_file.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
stats.c \
|
|
|
|
tag.c \
|
2004-11-10 22:58:27 +01:00
|
|
|
tagTracker.c \
|
2006-08-06 08:40:11 +02:00
|
|
|
tree.c \
|
2004-07-04 15:57:26 +02:00
|
|
|
utils.c \
|
|
|
|
volume.c \
|
2007-01-08 04:15:33 +01:00
|
|
|
utf8.c \
|
|
|
|
localization.c
|
2004-07-04 15:57:26 +02:00
|
|
|
|
2004-02-24 00:41:20 +01:00
|
|
|
|
|
|
|
mpd_CFLAGS = $(MPD_CFLAGS)
|
2006-07-26 05:05:50 +02:00
|
|
|
mpd_LDADD = $(MPD_LIBS) $(MP4FF_LIB)
|
|
|
|
|
|
|
|
DIST_SUBDIRS = mp4ff
|
2006-07-17 02:15:31 +02:00
|
|
|
|
|
|
|
# sparse is a semantic parser
|
|
|
|
# URL: git://www.kernel.org/pub/scm/devel/sparse/sparse.git
|
|
|
|
SPARSE = sparse
|
|
|
|
SPARSE_FLAGS =
|
|
|
|
sparse-check:
|
|
|
|
for i in $(mpd_SOURCES); \
|
|
|
|
do \
|
|
|
|
$(SPARSE) -I. $(mpd_CFLAGS) $(SPARSE_FLAGS) $(srcdir)/$$i || exit; \
|
|
|
|
done
|
|
|
|
|