You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
518B

  1. include ../config.mak
  2. NAME=swscale
  3. ifeq ($(BUILD_SHARED),yes)
  4. LIBVERSION=$(SWSVERSION)
  5. LIBMAJOR=$(SWSMAJOR)
  6. endif
  7. EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
  8. OBJS= swscale.o rgb2rgb.o
  9. ifeq ($(TARGET_ALTIVEC),yes)
  10. OBJS+= yuv2rgb_altivec.o
  11. endif
  12. ifeq ($(CONFIG_GPL),yes)
  13. OBJS+= yuv2rgb.o
  14. else
  15. OBJS+= yuv2rgb_init.o
  16. endif
  17. HEADERS = swscale.h rgb2rgb.h
  18. include ../common.mak
  19. cs_test: cs_test.c $(LIB)
  20. swscale-example: swscale-example.o $(LIB)
  21. clean::
  22. rm -f cs_test swscale-example