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.

30 lines
490B

  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. endif
  15. HEADERS = swscale.h rgb2rgb.h
  16. include ../common.mak
  17. cs_test: cs_test.c $(LIB)
  18. swscale-example: swscale-example.o $(LIB)
  19. clean::
  20. rm -f cs_test swscale-example