mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a33fe57287
commit
dadb850a50
@ -5,6 +5,9 @@
|
||||
SRC_DIR = $(SRC_PATH)/lib$(NAME)
|
||||
VPATH = $(SRC_DIR)
|
||||
|
||||
CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||||
-D_ISOC9X_SOURCE -I$(BUILD_ROOT) -I$(SRC_PATH) \
|
||||
-I$(SRC_PATH)/libavutil $(OPTFLAGS)
|
||||
SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
|
||||
OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
|
||||
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
|
||||
|
@ -4,8 +4,7 @@
|
||||
#
|
||||
include ../config.mak
|
||||
|
||||
CFLAGS=-DHAVE_AV_CONFIG_H -I$(BUILD_ROOT) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE $(AMR_CFLAGS)
|
||||
CFLAGS+=$(AMR_CFLAGS)
|
||||
|
||||
OBJS= bitstream.o \
|
||||
utils.o \
|
||||
|
@ -4,9 +4,7 @@
|
||||
#
|
||||
include ../config.mak
|
||||
|
||||
CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec \
|
||||
$(OPTFLAGS) -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 \
|
||||
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
|
||||
CFLAGS+=-I$(SRC_PATH)/libavcodec
|
||||
|
||||
OBJS= utils.o cutils.o os_support.o allformats.o
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
#
|
||||
include ../config.mak
|
||||
|
||||
CFLAGS=-DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I$(BUILD_ROOT) $(OPTFLAGS) \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
|
||||
CFLAGS+=-DBUILD_AVUTIL
|
||||
|
||||
OBJS= mathematics.o \
|
||||
rational.o \
|
||||
|
@ -15,8 +15,6 @@ SHARED_OBJS=postprocess_pic.o
|
||||
|
||||
HEADERS = postprocess.h
|
||||
|
||||
CFLAGS = -I$(BUILD_ROOT) -I$(SRC_PATH)/libavutil $(OPTFLAGS)
|
||||
|
||||
include $(SRC_PATH)/common.mak
|
||||
|
||||
depend: postprocess.c
|
||||
|
Loading…
Reference in New Issue
Block a user