replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
[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.. \
8        -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
9
10 OBJS= mathematics.o \
11       rational.o \
12       intfloat_readwrite.o \
13       crc.o \
14       md5.o \
15       adler32.o
16
17 HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
18           intfloat_readwrite.h md5.h adler32.h
19
20 NAME=avutil
21 ifeq ($(BUILD_SHARED),yes)
22 LIBVERSION=$(LAVUVERSION)
23 LIBMAJOR=$(LAVUMAJOR)
24 endif
25
26 include $(SRC_PATH)/common.mak