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

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

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)
#/**************************************************************************
# *
# * generic makefile
# *
# * defines:   -DLINUX  -DBIG_ENDIAN
# *
# *
# *************************************************************************/


include Makefile.inc

# Strict warning options for ANSI C compilation
WFLAGS	= \
        -ansi -pedantic -Wcomment -fno-asm -fsigned-char \
        -W -Wparentheses    \
        -Wreturn-type -Wswitch -Wunused \
        -Wsign-compare -Wimplicit -Wreturn-type \
        -Wshadow -Wpointer-arith -Wwrite-strings    \
        -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations

CC = gcc 
CFLAGS = $(WFLAGS)


RM = rm -rf


all: $(LIB) $(LIBSO)


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


$(LIBSO): $(SRC:.c=.o)
	$(CC) $^ -shared -lc -lm -o $@


remove-all:
	$(RM) $(DIRS)
	$(RM) $(LIB)
	$(RM) $(LIBSO)

clean:	
	$(RM) `find $(SRCDIR) -name "*.o"`
	$(RM) $(LIB)
	$(RM) $(LIBSO:.so=.dll)

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