Parent Directory
|
Revision Log
I made all these changes on my own working copy until i had something really usable wihtout regressions for most users. I think its place is now in CVS. Here is a ChangeLog summary generated from my local patches. base-0 Imported xvidcore 0.9.0 into arch repository patch-1 Updated to current stable CVS_HEAD patch-2 Changed build system for Unix OSes patch-3 Fixes for the new build system in sources. patch-4 Fixed options and added the --disable-assembly option patch-5 Fixed a BSD checking in nasm output format. patch-6 Fixed the "ar" "s" option for some platforms. patch-7 Changed the way I add strings into variables. patch-8 Fixed portab.h for _DEBUG target and GCC/ICC compilers. patch-9 Added Altivec detection (Guillaume Morin) patch-10 Fixed MacOSX build. patch-11 Fixed WIN32/_MSC_VER confusion and updated MSVC libxvidcore.dsp project file. patch-12 DivX4 compatibility layer has been turned into an option (default:disable). ToDo: - Fix IA64 assembly file selection. - Do I disable PPC assembly code ? (according to Guillaume, it needs to be updated)
############################################################################## # # - Unified Makefile for XviD for *nix environments - # # Copyright(C) 2003 Edouard Gomez <ed.gomez@free.fr> # # # Description: # This Makefile allows building XviD sources to obtain a shared library # and a static library. This Makefie 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. # # Nota Bene for mingw32/djgpp users: # However if you provide a platform.inc file adapted to your OS, then # change the include platform.inc to include yourfile.inc and it should # work too. # # ############################################################################## include sources.inc include platform.inc RM = rm -rf ############################################################################## # # Build rules # ############################################################################## # Our main targets STATIC_LIB=libxvidcore.$(STATIC_EXTENSION) SHARED_LIB=libxvidcore.$(SHARED_EXTENSION) # Their Objects OBJECTS=$(GENERIC_OBJECTS) OBJECTS+=$(DIVX4COMPAT_OBJECTS) OBJECTS+=$(ASSEMBLY_OBJECTS) #----------------------------------------------------------------------------- # The default rule #----------------------------------------------------------------------------- .SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c all: platform.inc $(STATIC_LIB) $(SHARED_LIB) #----------------------------------------------------------------------------- # Generic assembly rule #----------------------------------------------------------------------------- .$(ASSEMBLY_EXTENSION).$(OBJECT_EXTENSION): $(AS) $(AFLAGS) $< -o $@ #----------------------------------------------------------------------------- # Generic C rule #----------------------------------------------------------------------------- .c.$(OBJECT_EXTENSION): $(CC) -c $(CFLAGS) $< -o $@ #----------------------------------------------------------------------------- # Static Library #----------------------------------------------------------------------------- $(STATIC_LIB): $(OBJECTS) ar rc $(STATIC_LIB) $(OBJECTS) #----------------------------------------------------------------------------- # Shared Library #----------------------------------------------------------------------------- $(SHARED_LIB): $(OBJECTS) $(CC) $(LDFLAGS) $(OBJECTS) -o $(SHARED_LIB) $(OS_LDFLAGS) #----------------------------------------------------------------------------- # Installation #----------------------------------------------------------------------------- install: all @echo @echo "+---------- Installing XviD libraries in $(libdir) ----------+" @echo $(INSTALL) -m 755 $(SHARED_LIB) $(libdir)/$(SHARED_LIB) $(INSTALL) -m 755 $(STATIC_LIB) $(libdir)/$(STATIC_LIB) @echo @echo "+---------- Installing XviD header in $(includedir) ----------+" @echo $(INSTALL) -m 644 $(SRCDIR)/xvid.h $(includedir)/xvid.h @echo #----------------------------------------------------------------------------- # Platorm specific file -- dumb rule for people executing make before # ./configure #----------------------------------------------------------------------------- platform.inc: platform.inc.in ./configure #----------------------------------------------------------------------------- # .PHONY targets #----------------------------------------------------------------------------- .PHONY: distclean clean info list-objects list-targets list-install-path clean: $(RM) $(OBJECTS) $(RM) $(SHARED_LIB) $(RM) $(STATIC_LIB) distclean: clean $(RM) config.log $(RM) platform.inc $(RM) autom4te.cache list-objects: @echo @echo "Object files used for this build" @echo "---------------------------------------------------------------" @echo @echo $(OBJECTS) @echo list-targets: @echo @echo "Target Libraries" @echo "---------------------------------------------------------------" @echo @echo Shared library: $(SHARED_LIB) @echo Static library: $(STATIC_LIB) @echo list-install-path: @echo @echo "Install Paths" @echo "---------------------------------------------------------------" @echo @echo Include: $(includedir) @echo Library: $(libdir) @echo info: list-objects list-targets list-install-path
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |