]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/Makefile
swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGB
[ffmpeg] / libswscale / Makefile
index 29df055e5e2cba134fdb3d339dcaea8f6c92a309..0799b458bea727911a653c1ad15050e0a7e79645 100644 (file)
@@ -1,26 +1,17 @@
-
-include ../config.mak
-
-NAME=swscale
-ifeq ($(BUILD_SHARED),yes)
-LIBVERSION=$(SWSVERSION)
-LIBMAJOR=$(SWSMAJOR)
-endif
-
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
-
-OBJS= swscale.o rgb2rgb.o yuv2rgb.o
-ifeq ($(TARGET_ALTIVEC),yes)
-OBJS+=  yuv2rgb_altivec.o
-endif
-
-HEADERS = swscale.h rgb2rgb.h
-
-include $(SRC_PATH)/common.mak
-
-cs_test: cs_test.c $(LIB)
-
-swscale-example: swscale-example.o $(LIB)
-
-clean::
-       rm -f cs_test swscale-example
+NAME = swscale
+FFLIBS = avutil
+
+HEADERS = swscale.h                                                     \
+          version.h                                                     \
+
+OBJS = input.o                                          \
+       options.o                                        \
+       output.o                                         \
+       rgb2rgb.o                                        \
+       swscale.o                                        \
+       swscale_unscaled.o                               \
+       utils.o                                          \
+       yuv2rgb.o                                        \
+
+TESTPROGS = colorspace                                                  \
+            swscale                                                     \