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.

35 lines
807B

  1. #
  2. # libavutil Makefile
  3. #
  4. include ../config.mak
  5. # NOTE: -I.. is needed to include config.h
  6. CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
  7. #FIXME: This should be in configure/config.mak
  8. ifeq ($(CONFIG_WIN32),yes)
  9. LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
  10. endif
  11. OBJS= mathematics.o \
  12. integer.o \
  13. rational.o \
  14. intfloat_readwrite.o \
  15. crc.o \
  16. HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
  17. intfloat_readwrite.h
  18. ifeq ($(TARGET_ARCH_SPARC64),yes)
  19. CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
  20. endif
  21. NAME=avutil
  22. SUBDIR = libavutil
  23. ifeq ($(BUILD_SHARED),yes)
  24. LIBVERSION=$(LAVUVERSION)
  25. LIBMAJOR=$(LAVUMAJOR)
  26. endif
  27. include $(SRC_PATH)/common.mak