swscale/swscale: Add some sanity checks for srcSlice* parameters
[ffmpeg.git] / libswscale / Makefile
index d9b67da..a9f9e03 100644 (file)
@@ -1,26 +1,29 @@
-
-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
-
-OBJS-$(TARGET_ALTIVEC)     +=  yuv2rgb_altivec.o
-OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
-
-HEADERS = swscale.h rgb2rgb.h
-
-include ../common.mak
-
-cs_test: cs_test.c $(LIB)
-
-swscale-example: swscale-example.o $(LIB)
-
-clean::
-       rm -f cs_test swscale-example
+include $(SUBDIR)../config.mak
+
+NAME = swscale
+
+HEADERS = swscale.h                                                     \
+          version.h                                                     \
+
+OBJS = alphablend.o                                     \
+       hscale_fast_bilinear.o                           \
+       input.o                                          \
+       options.o                                        \
+       output.o                                         \
+       rgb2rgb.o                                        \
+       swscale.o                                        \
+       swscale_unscaled.o                               \
+       utils.o                                          \
+       yuv2rgb.o                                        \
+       slice.o                                          \
+       hscale.o                                         \
+       vscale.o                                         \
+       gamma.o                                          \
+
+OBJS-$(CONFIG_SHARED)        += log2_tab.o
+
+# Windows resource file
+SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o
+
+TESTPROGS = colorspace                                                  \
+            swscale                                                     \