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.

24 lines
538B

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