generic crc calculation code
[ffmpeg.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       integer.o \
16       rational.o \
17       intfloat_readwrite.o \
18       crc.o \
19
20 HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
21           intfloat_readwrite.h
22
23 ifeq ($(TARGET_ARCH_SPARC64),yes)
24 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
25 endif
26
27 NAME=avutil
28 SUBDIR = libavutil
29 ifeq ($(BUILD_SHARED),yes)
30 LIBVERSION=$(LAVUVERSION)
31 LIBMAJOR=$(LAVUMAJOR)
32 endif
33
34 include $(SRC_PATH)/common.mak