mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
fdb3a34156
disable integer.* (unused) libavutil.a 45k -> 32k Originally committed as revision 5311 to svn://svn.ffmpeg.org/ffmpeg/trunk
34 lines
789 B
Makefile
34 lines
789 B
Makefile
#
|
|
# libavutil Makefile
|
|
#
|
|
include ../config.mak
|
|
|
|
# NOTE: -I.. is needed to include config.h
|
|
CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
|
|
|
|
#FIXME: This should be in configure/config.mak
|
|
ifeq ($(CONFIG_WIN32),yes)
|
|
LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
|
|
endif
|
|
|
|
OBJS= mathematics.o \
|
|
rational.o \
|
|
intfloat_readwrite.o \
|
|
crc.o \
|
|
|
|
HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
|
|
intfloat_readwrite.h
|
|
|
|
ifeq ($(TARGET_ARCH_SPARC64),yes)
|
|
CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
|
|
endif
|
|
|
|
NAME=avutil
|
|
SUBDIR = libavutil
|
|
ifeq ($(BUILD_SHARED),yes)
|
|
LIBVERSION=$(LAVUVERSION)
|
|
LIBMAJOR=$(LAVUMAJOR)
|
|
endif
|
|
|
|
include $(SRC_PATH)/common.mak
|