X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libswscale%2FMakefile;h=247ae8d239baf7ff834699bc5a7bf64991228329;hb=dd68318ceee3de05ca705652133e1eb22a17780e;hp=23d120d05ce36257a15a842c902425d33f76e41b;hpb=6e6203fb1c75d1097dffead3717d0acdc64a220f;p=ffmpeg diff --git a/libswscale/Makefile b/libswscale/Makefile index 23d120d05ce..247ae8d239b 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -1,28 +1,24 @@ +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 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-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o -OBJS-$(CONFIG_GPL) += yuv2rgb.o +MMX-OBJS-$(CONFIG_GPL) += x86/yuv2rgb_mmx.o \ -OBJS-$(ARCH_BFIN) += yuv2rgb_bfin.o -ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o +EXAMPLES = swscale +TESTPROGS = colorspace -HEADERS = swscale.h rgb2rgb.h +DIRS = bfin mlib ppc sparc x86 -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