mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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)
|
SRC_DIR = $(SRC_PATH)/lib$(NAME)
|
||||||
VPATH = $(SRC_DIR)
|
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)
|
SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
|
||||||
OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
|
OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
|
||||||
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
|
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
|
||||||
|
@ -4,8 +4,7 @@
|
|||||||
#
|
#
|
||||||
include ../config.mak
|
include ../config.mak
|
||||||
|
|
||||||
CFLAGS=-DHAVE_AV_CONFIG_H -I$(BUILD_ROOT) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
|
CFLAGS+=$(AMR_CFLAGS)
|
||||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE $(AMR_CFLAGS)
|
|
||||||
|
|
||||||
OBJS= bitstream.o \
|
OBJS= bitstream.o \
|
||||||
utils.o \
|
utils.o \
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
#
|
#
|
||||||
include ../config.mak
|
include ../config.mak
|
||||||
|
|
||||||
CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec \
|
CFLAGS+=-I$(SRC_PATH)/libavcodec
|
||||||
$(OPTFLAGS) -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 \
|
|
||||||
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
|
|
||||||
|
|
||||||
OBJS= utils.o cutils.o os_support.o allformats.o
|
OBJS= utils.o cutils.o os_support.o allformats.o
|
||||||
|
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
#
|
#
|
||||||
include ../config.mak
|
include ../config.mak
|
||||||
|
|
||||||
CFLAGS=-DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I$(BUILD_ROOT) $(OPTFLAGS) \
|
CFLAGS+=-DBUILD_AVUTIL
|
||||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
|
|
||||||
|
|
||||||
OBJS= mathematics.o \
|
OBJS= mathematics.o \
|
||||||
rational.o \
|
rational.o \
|
||||||
|
@ -15,8 +15,6 @@ SHARED_OBJS=postprocess_pic.o
|
|||||||
|
|
||||||
HEADERS = postprocess.h
|
HEADERS = postprocess.h
|
||||||
|
|
||||||
CFLAGS = -I$(BUILD_ROOT) -I$(SRC_PATH)/libavutil $(OPTFLAGS)
|
|
||||||
|
|
||||||
include $(SRC_PATH)/common.mak
|
include $(SRC_PATH)/common.mak
|
||||||
|
|
||||||
depend: postprocess.c
|
depend: postprocess.c
|
||||||
|
Loading…
Reference in New Issue
Block a user