diff options
| author | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-02-08 23:02:47 +0000 |
|---|---|---|
| committer | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-02-08 23:02:47 +0000 |
| commit | c97715f75d050c51654d83182f683f3ddf208b66 (patch) | |
| tree | c3ebd830165ed5593373c7400fa58eb5bd8f3f57 | |
| parent | 5f327df55fcf22fcfe79ec248ba386f82145534d (diff) | |
| download | vdr-plugin-muggle-c97715f75d050c51654d83182f683f3ddf208b66.tar.gz vdr-plugin-muggle-c97715f75d050c51654d83182f683f3ddf208b66.tar.bz2 | |
HAVE_FLAC and HAVE_VORBISFILE from Make.config
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@467 e10066b5-e1e2-0310-b819-94efdf66514b
| -rw-r--r-- | muggle-plugin/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/muggle-plugin/Makefile b/muggle-plugin/Makefile index 19b9c80..d2439e5 100644 --- a/muggle-plugin/Makefile +++ b/muggle-plugin/Makefile @@ -9,14 +9,10 @@ # PLUGIN = muggle -#if you want ogg / flac support, remove the trailing x in those two -#definitions: -define have_vorbisfile -1 -endef -define have_flac -1 -endef +#if you want ogg / flac support, define HAVE_VORBISFILE and/or HAVE_FLAC +#in $VDRDIR/Make.config like this: +# HAVE_VORBISFILE=1 +# HAVE_FLAC=1 ### The version number of this plugin (taken from the main source file): @@ -66,12 +62,12 @@ OBJS = $(PLUGIN).o i18n.o mg_valmap.o mg_order.o mg_db.o mg_actions.o vdr_menu.o LIBS = -lmad -lmysqlclient MILIBS = -lmysqlclient -ltag -ifdef have_vorbisfile +ifdef HAVE_VORBISFILE DEFINES += -DHAVE_VORBISFILE OBJS += vdr_decoder_ogg.o LIBS += -lvorbisfile -lvorbis endif -ifdef have_flac +ifdef HAVE_FLAC DEFINES += -DHAVE_FLAC OBJS += vdr_decoder_flac.o LIBS += -lFLAC++ |
