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
590B

  1. include ../config.mak
  2. NAME=swscale
  3. ifeq ($(BUILD_SHARED),yes)
  4. LIBVERSION=$(SWSVERSION)
  5. LIBMAJOR=$(SWSMAJOR)
  6. endif
  7. # NOTE: -I.. is needed to include config.h
  8. CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
  9. -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
  10. -D_ISOC9X_SOURCE
  11. OBJS= swscale.o rgb2rgb.o yuv2rgb.o
  12. ifeq ($(TARGET_ALTIVEC),yes)
  13. OBJS+= yuv2rgb_altivec.o
  14. endif
  15. HEADERS = swscale.h rgb2rgb.h
  16. include $(SRC_PATH)/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