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.

34 lines
789B

  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. rational.o \
  13. intfloat_readwrite.o \
  14. crc.o \
  15. HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
  16. intfloat_readwrite.h
  17. ifeq ($(TARGET_ARCH_SPARC64),yes)
  18. CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
  19. endif
  20. NAME=avutil
  21. SUBDIR = libavutil
  22. ifeq ($(BUILD_SHARED),yes)
  23. LIBVERSION=$(LAVUVERSION)
  24. LIBMAJOR=$(LAVUMAJOR)
  25. endif
  26. include $(SRC_PATH)/common.mak