##############################################################################
#
# - Unified Makefile for XviD for *nix environments -
#
# Copyright(C) 2003-2004 Edouard Gomez <ed.gomez@free.fr>
#
#
# Description:
# This Makefile allows building XviD sources to obtain a shared library
# and a static library. This Makefile uses variables defined in the
# platform.inc file. This platform.inc file is usually created by the
# ./configure script whenever a unix shell is available.
#
# Makefile functional dependencies:
# - echo
# - rm (with option -r and -f)
# - cd
# - make VPATH support (eg: GNU make, solaris 8 make)
# - ar
#
# Building output:
# - C means "_C_ompiling"
# - A means "_A_ssembling"
# - I means "_I_nstalling"
# - D means "creating _D_irectory"
# - Cl means "_Cl_eaning"
#
# NB: (for mingw32/djgpp users)
# These 2 environments do not provide a shell by default. So it's impossible
# to use the configure script to generate a platform.inc file suitable for
# your machine. You have two choices:
# - install minsys from the mingw project or install cygwin and then use
# the configure script as on a unix system.
# - write a platform.inc file by hand.
#
# PS: default build directory is "=build", it fits naming conventions that
# make the arch/tla revision control program ignore files contained in
# this directory during commits operations. This choice is completly
# arbitrary, but try not to change it.
#
##############################################################################
include sources.inc
include platform.inc
RM = rm -rf
##############################################################################
#
# Build rules
#
##############################################################################
# Their Objects
OBJECTS = $(GENERIC_OBJECTS)
OBJECTS += $(ASSEMBLY_OBJECTS)
OBJECTS += $(DCT_IA64_OBJECTS)
# The VPATH mechanism could use a "per target" build directory
# To keep it simple at the moment, the directory is fixed to "build"
BUILD_DIR = =build
VPATH = $(SRC_DIR):$(BUILD_DIR)
#-----------------------------------------------------------------------------
# The default rule
#-----------------------------------------------------------------------------
.SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c
all: $(STATIC_LIB) $(SHARED_LIB)
@echo
@echo "---------------------------------------------------------------"
@echo " XviD has been successfully built."
@echo
@echo " * Binaries are currently located in the '$(BUILD_DIR)' directory"
@echo " * To install them on your system, you can run '# make install'"
@echo " as root."
@echo "---------------------------------------------------------------"
@echo
$(OBJECTS): platform.inc
$(BUILD_DIR):
@echo " D: $(BUILD_DIR)"
@$(INSTALL) -d $(BUILD_DIR)
#-----------------------------------------------------------------------------
# Generic assembly rule
#-----------------------------------------------------------------------------
.$(ASSEMBLY_EXTENSION).$(OBJECT_EXTENSION):
@echo " A: $(@D)/$(<F)"
@$(INSTALL) -d $(BUILD_DIR)/$(@D)
@$(AS) $(AFLAGS) $< -o $(BUILD_DIR)/$@
#-----------------------------------------------------------------------------
# Generic C rule
#-----------------------------------------------------------------------------
.c.$(OBJECT_EXTENSION):
@echo " C: $(@D)/$(<F)"
@$(INSTALL) -d $(BUILD_DIR)/$(@D)
@$(CC) -c $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS) $(CFLAGS) $< -o $(BUILD_DIR)/$@
#-----------------------------------------------------------------------------
# Static Library
#-----------------------------------------------------------------------------
$(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)
@echo " L: $(@F)"
@cd $(BUILD_DIR) && ar rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)
#-----------------------------------------------------------------------------
# Shared Library
#
# NB: This rule is used a nasty way by the MacOSX module build process
# In this only case, it uses the SPECIFIC_LDFLAGS to append an additionnal
# linking step:
# 1/ it links a pre shared lib (libxvidcore.so-temp.4)
# 2/ it links that pre shared lib outputing the real shared lib (module)
# In all other cases this rule is straight forward and simple.
# PRE_SHARED_LIB == SHARED_LIB and no nasty command appending.
#
# NB': we copy the def file for the win32 target, the file is unused on other
# platforms
#-----------------------------------------------------------------------------
$(SHARED_LIB): $(BUILD_DIR) $(OBJECTS)
@echo " L: $(@F)"
@$(INSTALL) -m 644 libxvidcore.def $(BUILD_DIR)/libxvidcore.def
@cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) $(SPECIFIC_LDFLAGS)
#-----------------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------------
install: $(BUILD_DIR)/$(STATIC_LIB) $(BUILD_DIR)/$(SHARED_LIB)
@echo " D: $(libdir)"
@$(INSTALL) -d $(libdir)
@echo " I: $(libdir)/$(SHARED_LIB)"
@$(INSTALL) -m 755 $(BUILD_DIR)/$(SHARED_LIB) $(libdir)/$(SHARED_LIB)
@echo " I: $(libdir)/$(STATIC_LIB)"
@$(INSTALL) -m 755 $(BUILD_DIR)/$(STATIC_LIB) $(libdir)/$(STATIC_LIB)
@echo " D: $(includedir)"
@$(INSTALL) -d $(includedir)
@echo " I: $(includedir)/xvid.h"
@$(INSTALL) -m 644 $(SRC_DIR)/xvid.h $(includedir)/xvid.h
#-----------------------------------------------------------------------------
# Platorm specific file -- dumb rules for people executing make before
# ./configure or even ./bootstrap.sh
#-----------------------------------------------------------------------------
platform.inc: configure platform.inc.in
./configure
configure:
./bootstrap.sh
#-----------------------------------------------------------------------------
# .PHONY targets
#-----------------------------------------------------------------------------
.PHONY: mrproper distclean clean info \
list-objects list-targets list-install-path list-cflags
clean:
@echo " Cl: Build directory"
@$(RM) $(BUILD_DIR)
distclean: clean
@echo " Cl: Generated build files"
@$(RM) platform.inc
@$(RM) config.log
@$(RM) config.status
@$(RM) autom4te.cache
mrproper: distclean
@echo " Cl: Bootstrapped build files"
@$(RM) configure
@$(RM) install-sh
@$(RM) missing
@$(RM) config.guess
@$(RM) mkinstalldirs
@$(RM) config.sub
list-objects:
@echo
@echo "---------------------------------------------------------------"
@echo "Object files used for this build"
@echo "---------------------------------------------------------------"
@echo
@echo $(OBJECTS)
@echo
list-targets:
@echo
@echo "---------------------------------------------------------------"
@echo "Target Libraries"
@echo "---------------------------------------------------------------"
@echo
@echo Shared library: $(SHARED_LIB)
@echo Static library: $(STATIC_LIB)
@echo
list-install-path:
@echo
@echo "---------------------------------------------------------------"
@echo "Install Paths"
@echo "---------------------------------------------------------------"
@echo
@echo Include Directory: $(includedir)
@echo Library Directory: $(libdir)
@echo
list-cflags:
@echo
@echo "---------------------------------------------------------------"
@echo "Using CFLAGS"
@echo "---------------------------------------------------------------"
@echo
@echo CFLAGS=$(CFLAGS)
@echo
info: list-objects list-cflags list-targets list-install-path
没有合适的资源?快使用搜索试试~ 我知道了~
xvid源代码.rar_MPEG4 XVID_ax mpeg4_xvid mpeg4_xvid visual_xvidx.ax
共425个文件
c:100个
h:90个
asm:64个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 2 浏览量
2022-09-24
12:15:00
上传
评论
收藏 2.71MB RAR 举报
温馨提示
这是xvidx源代码(MPEG4)。可以在vc下编译。
资源推荐
资源详情
资源评论
收起资源包目录
xvid源代码.rar_MPEG4 XVID_ax mpeg4_xvid mpeg4_xvid visual_xvidx.ax (425个子文件)
xvidcore.dll.a 4KB
simple_idct_mmx.asm 42KB
simple_idct_mmx.asm 42KB
idct_3dne.asm 31KB
idct_3dne.asm 31KB
quantize_h263_mmx.asm 25KB
quantize_h263_mmx.asm 25KB
idct_mmx.asm 23KB
idct_mmx.asm 23KB
qpel_mmx.asm 23KB
qpel_mmx.asm 23KB
reduced_mmx.asm 22KB
reduced_mmx.asm 22KB
quantize_mpeg_xmm.asm 21KB
quantize_mpeg_xmm.asm 21KB
fdct_sse2_skal.asm 21KB
fdct_sse2_skal.asm 21KB
quantize_h263_3dne.asm 21KB
quantize_h263_3dne.asm 21KB
quantize_mpeg_mmx.asm 19KB
quantize_mpeg_mmx.asm 19KB
interpolate8x8_mmx.asm 18KB
interpolate8x8_mmx.asm 18KB
fdct_mmx_skal.asm 16KB
fdct_mmx_skal.asm 16KB
sad_mmx.asm 13KB
sad_mmx.asm 13KB
colorspace_rgb_mmx.asm 13KB
colorspace_rgb_mmx.asm 13KB
fdct_mmx_ffmpeg.asm 12KB
fdct_mmx_ffmpeg.asm 12KB
idct_sse2_dmitry.asm 11KB
idct_sse2_dmitry.asm 11KB
mem_transfer_mmx.asm 10KB
mem_transfer_mmx.asm 10KB
mem_transfer_3dne.asm 10KB
mem_transfer_3dne.asm 10KB
sad_3dne.asm 9KB
sad_3dne.asm 9KB
colorspace_yuyv_mmx.asm 9KB
colorspace_yuyv_mmx.asm 9KB
interpolate8x8_3dne.asm 9KB
interpolate8x8_3dne.asm 9KB
sad_xmm.asm 8KB
sad_xmm.asm 8KB
interpolate8x8_3dn.asm 8KB
interpolate8x8_3dn.asm 8KB
interpolate8x8_xmm.asm 8KB
interpolate8x8_xmm.asm 8KB
colorspace_yuv_mmx.asm 7KB
colorspace_yuv_mmx.asm 7KB
interlacing_mmx.asm 5KB
interlacing_mmx.asm 5KB
sad_3dn.asm 4KB
sad_3dn.asm 4KB
cpuid.asm 4KB
cpuid.asm 4KB
sad_sse2.asm 4KB
sad_sse2.asm 4KB
cbp_sse2.asm 3KB
cbp_sse2.asm 3KB
cbp_3dne.asm 3KB
cbp_3dne.asm 3KB
cbp_mmx.asm 3KB
cbp_mmx.asm 3KB
AUTHORS 828B
AUTHORS 828B
XviD_logo.bmp 5KB
XviD_logo.bmp 5KB
XviD_logo.bmp 5KB
XviD_logo.bmp 5KB
cactus.pgm.bz2 78KB
cactus.pgm.bz2 78KB
config.c 72KB
config.c 72KB
encoder.c 61KB
encoder.c 61KB
mbcoding.c 54KB
mbcoding.c 54KB
xvid_bench.c 51KB
xvid_bench.c 51KB
decoder.c 49KB
decoder.c 49KB
plugin_2pass2.c 46KB
plugin_2pass2.c 46KB
bitstream.c 42KB
bitstream.c 42KB
mbtransquant.c 41KB
mbtransquant.c 41KB
estimation_bvop.c 37KB
estimation_bvop.c 37KB
estimation_pvop.c 34KB
estimation_pvop.c 34KB
xvid_encraw.c 31KB
xvid_encraw.c 31KB
estimation_rd_based.c 31KB
estimation_rd_based.c 31KB
image.c 30KB
image.c 30KB
codec.c 30KB
共 425 条
- 1
- 2
- 3
- 4
- 5
资源评论
钱亚锋
- 粉丝: 86
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功