BUILD: Allow for disabling Bink support

This commit is contained in:
Matthew Hoops 2011-07-13 12:08:26 -04:00
parent 7dc7271316
commit a50abde1b1
12 changed files with 104 additions and 10 deletions

View file

@ -24,6 +24,10 @@
// based quite heavily on the Bink decoder found in FFmpeg.
// Many thanks to Kostya Shishkov for doing the hard work.
#include "common/scummsys.h"
#ifdef USE_BINK
#ifndef VIDEO_BINK_DECODER_H
#define VIDEO_BINK_DECODER_H
@ -325,4 +329,6 @@ private:
} // End of namespace Video
#endif
#endif // VIDEO_BINK_DECODER_H
#endif // USE_BINK

View file

@ -2,7 +2,6 @@ MODULE := video
MODULE_OBJS := \
avi_decoder.o \
bink_decoder.o \
coktel_decoder.o \
dxa_decoder.o \
flic_decoder.o \
@ -20,5 +19,10 @@ MODULE_OBJS := \
codecs/smc.o \
codecs/truemotion1.o
ifdef USE_BINK
MODULE_OBJS += \
bink_decoder.o
endif
# Include common rules
include $(srcdir)/rules.mk