aboutsummaryrefslogtreecommitdiffstats
path: root/bs/deps-input.mk
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-06-01 22:24:55 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-01 22:24:55 +0000
commit8a4dff14ad7560aae83e9155d0c62ba7f8c101fd (patch)
treef9803ea83fa7cb6020e84b78f3fc45b4086e4a13 /bs/deps-input.mk
parent97698bd4aaf168620205fea26f089e7b1acc869d (diff)
downloadmpd-8a4dff14ad7560aae83e9155d0c62ba7f8c101fd.tar.gz
mpd-8a4dff14ad7560aae83e9155d0c62ba7f8c101fd.tar.xz
mpd-8a4dff14ad7560aae83e9155d0c62ba7f8c101fd.zip
Add the bs build system from mpd-ke
Dealing with autotools is too painful when having to deal with multiple build environments and configurations. git-svn-id: https://svn.musicpd.org/mpd/trunk@7368 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--bs/deps-input.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/bs/deps-input.mk b/bs/deps-input.mk
new file mode 100644
index 000000000..b9f13b471
--- /dev/null
+++ b/bs/deps-input.mk
@@ -0,0 +1,45 @@
+ifeq ($(HAVE_AUDIOFILE),1)
+ mpd_LDFLAGS += -laudiofile -lm
+endif
+
+ifeq ($(HAVE_FAAD),1)
+ # XXX needs work
+ mpd_CFLAGS += $(FAAD_CFLAGS)
+ mpd_LDFLAGS += -lfaad -lmp4ff
+endif
+
+ifeq ($(HAVE_FLAC),1)
+ mpd_LDFLAGS += -lFLAC -lm
+endif
+
+ifeq ($(HAVE_HELIXMP3),1)
+ mpd_CFLAGS += $(HELIXMP3_CFLAGS)
+ mpd_LDFLAGS += $(HELIXMP3_LDFLAGS) -lmp3codecfixpt
+endif
+
+ifeq ($(HAVE_MIKMOD),1)
+ mpd_LDFLAGS += -lmikmod -lm
+endif
+
+ifeq ($(HAVE_MAD),1)
+ mpd_LDFLAGS += -lmad -lm
+endif
+
+ifeq ($(HAVE_MPCDEC),1)
+ mpd_LDFLAGS += -lmpcdec
+endif
+
+ifeq ($(HAVE_OGGFLAC),1)
+ mpd_LDFLAGS += $(OGGFLAC_LDFLAGS) -lOggFLAC -logg -lFLAC -lm
+endif
+
+ifeq ($(HAVE_OGGVORBIS),1)
+ ifeq ($(HAVE_TREMOR),1)
+ mpd_LDFLAGS += $(TREMOR_LDFLAGS) -lvorbisidec
+ else
+ mpd_LDFLAGS += $(OGGVORBIS_LDFLAGS) -lvorbis -logg -lvorbisfile
+ endif
+endif
+
+
+