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.

29 lines
558B

  1. include ../config.mak
  2. NAME=swscale
  3. ifeq ($(BUILD_SHARED),yes)
  4. LIBVERSION=$(SWSVERSION)
  5. LIBMAJOR=$(SWSMAJOR)
  6. endif
  7. CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
  8. -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
  9. -D_ISOC9X_SOURCE
  10. OBJS= swscale.o rgb2rgb.o yuv2rgb.o
  11. ifeq ($(TARGET_ALTIVEC),yes)
  12. OBJS+= yuv2rgb_altivec.o
  13. endif
  14. HEADERS = swscale.h rgb2rgb.h
  15. include $(SRC_PATH)/common.mak
  16. cs_test: cs_test.c $(LIB)
  17. swscale-example: swscale-example.o $(LIB)
  18. clean::
  19. rm -f cs_test swscale-example