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