I still don't think this should be here. Note: without this code DV encoder
[libav.git] / libavutil / Makefile
CommitLineData
c11c2bc2
AS
1#
2# libavutil Makefile
3#
4include ../config.mak
5
c11c2bc2 6# NOTE: -I.. is needed to include config.h
320d060a 7CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
c11c2bc2 8
c0af3840
DB
9#FIXME: This should be in configure/config.mak
10ifeq ($(CONFIG_WIN32),yes)
320d060a 11 LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
c0af3840
DB
12endif
13
c11c2bc2
AS
14OBJS= mathematics.o \
15 integer.o \
16 rational.o \
17 intfloat_readwrite.o \
18
8b2121e3
MR
19HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
20 intfloat_readwrite.h
c11c2bc2
AS
21
22ifeq ($(TARGET_ARCH_SPARC64),yes)
23CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
24endif
25
4bdd05e7 26NAME=avutil
8b2121e3 27SUBDIR = libavutil
c11c2bc2 28ifeq ($(BUILD_SHARED),yes)
f3b60109
DB
29LIBVERSION=$(LAVUVERSION)
30LIBMAJOR=$(LAVUMAJOR)
c11c2bc2
AS
31endif
32
8b2121e3 33include $(SRC_PATH)/common.mak