fixing several imports to work via pkg-config

This patch fixes several imports to use pkg-config instead of certain
esoteric tests.
This commit is contained in:
Enrico Weigelt
2008-10-15 20:39:46 +02:00
committed by Max Kellermann
parent 047043d2a8
commit 30cd345581
8 changed files with 31 additions and 897 deletions

View File

@@ -1,5 +1,3 @@
AM_CPPFLAGS = $(GLIB_CFLAGS)
bin_PROGRAMS = mpd
SUBDIRS = $(MP4FF_SUBDIR)
@@ -196,8 +194,17 @@ mpd_SOURCES = \
mpd_CFLAGS = $(MPD_CFLAGS)
mpd_CPPFLAGS = \
$(AO_CFLAGS) $(ALSA_CFLAGS) \
$(OGGVORBIS_CFLAGS) \
$(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
$(AUDIOFILE_CFLAGS) $(LIBMIKMOD_CFLAGS) \
$(GLIB_CFLAGS)
mpd_LDADD = $(MPD_LIBS) $(MP4FF_LIB) \
$(GLIB_LIBS)
$(AO_LIBS) $(ALSA_LIBS) \
$(OGGVORBIS_LIBS) $(FLAC_LIBS) \
$(AUDIOFILE_LIBS) $(LIBMIKMOD_LIBS) \
$(GLIB_LIBS)
DIST_SUBDIRS = mp4ff