summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-11-02 17:09:47 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-02 17:09:47 +0000
commit786b30af267d69b7cf7d06c72b1d5f80d16f9a88 (patch)
tree9d60e3fb069bb6158a1b8fa21f112b1be6eaf9b6 /Makefile
parent6dc7b6b37768b804f4ec795c5f16452538f987e8 (diff)
Add option to disable ffmpeg build.
Patch taken from the Debian package by Sam Hocevar. Originally committed as revision 6871 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8269847f8f..09e5fc6d88 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,13 @@ CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
LDFLAGS+= -g
+ifeq ($(CONFIG_FFMPEG),yes)
MANPAGES=doc/ffmpeg.1
PROGS_G+=ffmpeg_g$(EXESUF)
PROGS+=ffmpeg$(EXESUF)
PROGTEST=output_example$(EXESUF)
QTFASTSTART=qt-faststart$(EXESUF)
+endif
ifeq ($(CONFIG_FFSERVER),yes)
MANPAGES+=doc/ffserver.1