]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/Makefile
aacenc: Don't lowpass the input unless specifically requested.
[ffmpeg] / libswscale / Makefile
index 35a132c218889b17dd18e305567d2b8a0882a5e0..9ae28e07ef4d5c20c10feefa56d80246397fee0e 100644 (file)
@@ -1,30 +1,23 @@
+include $(SUBDIR)../config.mak
 
-include ../config.mak
+NAME = swscale
+FFLIBS = avutil
 
-NAME=swscale
-LIBVERSION=$(SWSVERSION)
-LIBMAJOR=$(SWSMAJOR)
+HEADERS = swscale.h
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+OBJS = options.o rgb2rgb.o swscale.o utils.o yuv2rgb.o
 
-OBJS= swscale.o rgb2rgb.o
+OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
+                               bfin/swscale_bfin.o      \
+                               bfin/yuv2rgb_bfin.o
+OBJS-$(CONFIG_MLIB)        +=  mlib/yuv2rgb_mlib.o
+OBJS-$(HAVE_ALTIVEC)       +=  ppc/yuv2rgb_altivec.o
+OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
 
-OBJS-$(HAVE_ALTIVEC)       +=  yuv2rgb_altivec.o
-OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
+MMX-OBJS-$(CONFIG_GPL)     +=  x86/yuv2rgb_mmx.o        \
 
-OBJS-$(ARCH_BFIN)          +=  yuv2rgb_bfin.o \
-                               swscale_bfin.o \
+TESTPROGS = colorspace swscale
 
-ASM_OBJS-$(ARCH_BFIN)      += internal_bfin.o
+DIRS = bfin mlib ppc sparc x86
 
-HEADERS = swscale.h rgb2rgb.h
-
-include ../common.mak
-
-cs_test: cs_test.o $(LIB)
-
-swscale-example: swscale-example.o $(LIB)
-swscale-example: EXTRALIBS += -lm
-
-clean::
-       rm -f cs_test swscale-example
+include $(SUBDIR)../subdir.mak