replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
[ffmpeg.git] / libavutil / Makefile
index 373337b..18acf2c 100644 (file)
@@ -4,15 +4,18 @@
 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
+CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. \
+       -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
 
 OBJS= mathematics.o \
       rational.o \
       intfloat_readwrite.o \
       crc.o \
+      md5.o \
+      adler32.o
 
 HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
-          intfloat_readwrite.h
+          intfloat_readwrite.h md5.h adler32.h
 
 NAME=avutil
 ifeq ($(BUILD_SHARED),yes)