aboutsummaryrefslogtreecommitdiffstats
path: root/bs/deps-input.mk
blob: c45a788b6b26dc535a80ca5e9cf338c86d45c302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
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

ifeq ($(HAVE_WAVPACK),1)
  mpd_LDFLAGS += -lwavpack
endif