From 0d45fa2001d71a7a64a410d9b0460955bc5d4b89 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 4 Jul 2004 13:57:26 +0000 Subject: [PATCH] tidy up Makefile a bit git-svn-id: https://svn.musicpd.org/mpd/trunk@1791 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/Makefile.am | 109 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 89 insertions(+), 20 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 68b8d9a45..bac83b8e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,27 +1,96 @@ bin_PROGRAMS = mpd SUBDIRS = $(ID3_SUBDIR) $(MAD_SUBDIR) $(MP4FF_SUBDIR) -mpd_inputPlugins = inputPlugins/mp3_plugin.c inputPlugins/ogg_plugin.c \ - inputPlugins/flac_plugin.c inputPlugins/audiofile_plugin.c \ - inputPlugins/mp4_plugin.c inputPlugins/aac_plugin.c \ - inputPlugins/mod_plugin.c +mpd_inputPlugins = \ + inputPlugins/aac_plugin.c \ + inputPlugins/audiofile_plugin.c \ + inputPlugins/flac_plugin.c \ + inputPlugins/mod_plugin.c \ + inputPlugins/mp3_plugin.c \ + inputPlugins/mp4_plugin.c \ + inputPlugins/ogg_plugin.c + + +mpd_headers = \ + ack.h \ + audio.h \ + buffer2array.h \ + charConv.h \ + command.h \ + conf.h \ + decode.h \ + directory.h \ + inputPlugin.h \ + 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 \ + outputBuffer.h \ + path.h \ + pcm_utils.h \ + permission.h \ + player.h \ + playerData.h \ + playlist.h \ + replayGain.h \ + signal_check.h \ + sig_handlers.h \ + song.h \ + stats.h \ + tag.h \ + tables.h \ + utf8.h \ + utils.h \ + volume.h + + +mpd_SOURCES = \ + $(mpd_headers) \ + $(mpd_inputPlugins) \ + audio.c \ + buffer2array.c \ + charConv.c \ + command.c \ + conf.c \ + 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 \ + outputBuffer.c \ + path.c \ + pcm_utils.c \ + permission.c \ + player.c \ + playerData.c \ + playlist.c \ + replayGain.c \ + sig_handlers.c \ + signal_check.c \ + song.c \ + stats.c \ + tables.c \ + tag.c \ + utils.c \ + volume.c \ + utf8.c -mpd_headers = buffer2array.h interface.h command.h playlist.h ls.h \ - song.h list.h directory.h tables.h utils.h path.h \ - tag.h player.h listen.h conf.h volume.h \ - audio.h playerData.h stats.h myfprintf.h sig_handlers.h decode.h log.h \ - charConv.h permission.h mpd_types.h pcm_utils.h \ - signal_check.h utf8.h inputStream.h \ - outputBuffer.h replayGain.h inputStream_file.h inputStream_http.h \ - inputPlugin.h metadataChunk.h ack.h -mpd_SOURCES = main.c buffer2array.c interface.c command.c playlist.c ls.c \ - song.c list.c directory.c tables.c utils.c path.c \ - tag.c player.c listen.c conf.c volume.c \ - audio.c playerData.c stats.c myfprintf.c sig_handlers.c decode.c log.c \ - charConv.c permission.c pcm_utils.c \ - signal_check.c utf8.c inputStream.c outputBuffer.c \ - replayGain.c inputStream_file.c inputStream_http.c inputPlugin.c \ - metadataChunk.c $(mpd_headers) $(mpd_inputPlugins) mpd_CFLAGS = $(MPD_CFLAGS) mpd_LDADD = $(MPD_LIBS) $(ID3_LIB) $(MAD_LIB) $(MP4FF_LIB)