summaryrefslogtreecommitdiffstats
path: root/libaf/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-31 23:24:08 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-31 23:24:08 +0000
commit8c317f72a7741b180dfa4bd693cfa1b54e8345a7 (patch)
tree9efcfbb6155295acc6ae1832611c881e881c4a73 /libaf/Makefile
parentdc7763a8e8a207e6c97d52d95f5a58941320a132 (diff)
downloadmpv-8c317f72a7741b180dfa4bd693cfa1b54e8345a7.tar.bz2
mpv-8c317f72a7741b180dfa4bd693cfa1b54e8345a7.tar.xz
Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17523 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/Makefile')
-rw-r--r--libaf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libaf/Makefile b/libaf/Makefile
index 26671d327a..8c72f4fec4 100644
--- a/libaf/Makefile
+++ b/libaf/Makefile
@@ -14,7 +14,6 @@ SRCS=af.c \
af_format.c \
af_gate.c \
af_hrtf.c \
- af_lavcresample.c \
af_pan.c \
af_resample.c \
af_sub.c \
@@ -34,6 +33,10 @@ LIBAV_INC += -I../libavutil
endif
ifeq ($(CONFIG_LIBAVCODEC),yes)
LIBAV_INC += -I../libavcodec
+SRCS+=af_lavcresample.c
+endif
+ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
+SRCS+=af_lavcresample.c
endif
OBJS=$(SRCS:.c=.o)