diff libaf/Makefile @ 17522:2408715522a7

Move conditional compilation out of the code and into the build system.
author diego
date Tue, 31 Jan 2006 23:24:08 +0000
parents ce1ba8fd57e7
children 0aa3fef68422
line wrap: on
line diff
--- a/libaf/Makefile	Tue Jan 31 10:28:20 2006 +0000
+++ b/libaf/Makefile	Tue Jan 31 23:24:08 2006 +0000
@@ -14,7 +14,6 @@
      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 @@
 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)