[cvs] / xvidcore / build / generic / Makefile.dj Repository:
ViewVC logotype

View of /xvidcore/build/generic/Makefile.dj

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Sun Feb 9 19:32:52 2003 UTC (21 years, 3 months ago) by edgomez
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
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)
#/**************************************************************************
# *
# * djgpp makefile
# *
# * treat "deltree /y" with care
# *
# *************************************************************************/


include Makefile.inc


CC = gcc
CFLAGS = -Wall -DARCH_X86
# CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
# CFLAGS += -fPIC
# CFLAGS += -m486
# CFLAGS += -march=pentium -mcpu=pentium
# CFLAGS += -march=pentiumpro -mcpu=pentiumpro


AS = nasm
AFLAGS = -f coff -DPREFIX -DFORMAT_COFF
%.o: %.asm
	$(AS) $(AFLAGS) $< -o $@


RM = deltree /y


all: $(LIB)


$(LIB): $(SRC:.c=.o) $(SRC_INTEL:.asm=.o)
	ar rcs $@ $^


clean:
	$(RM) $(SRCDIR)/*.o
	$(RM) $(SRCDIR)/bitstream/*.o
	$(RM) $(SRCDIR)/dct/*.o
	$(RM) $(SRCDIR)/image/*.o
	$(RM) $(SRCDIR)/motion/*.o
	$(RM) $(SRCDIR)/prediction/*.o
	$(RM) $(SRCDIR)/quant/*.o
	$(RM) $(SRCDIR)/utils/*.o
	$(RM) $(SRCDIR)/bitstream/x86_asm/*.o
	$(RM) $(SRCDIR)/dct/x86_asm/*.o
	$(RM) $(SRCDIR)/image/x86_asm/*.o
	$(RM) $(SRCDIR)/motion/x86_asm/*.o
	$(RM) $(SRCDIR)/quant/x86_asm/*.o
	$(RM) $(SRCDIR)/utils/x86_asm/*.o
	$(RM) $(LIB)



No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4