[svn] / branches / dev-api-4 / xvidcore / vfw / bin / Makefile.cygwin Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/bin/Makefile.cygwin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1178, Tue Oct 14 14:22:45 2003 UTC revision 1179, Wed Oct 15 13:55:09 2003 UTC
# Line 6  Line 6 
6  # Modified by : Edouard Gomez <ed.gomez at free.fr>  # Modified by : Edouard Gomez <ed.gomez at free.fr>
7  #               Peter Ross <pross@xvid.org>  #               Peter Ross <pross@xvid.org>
8  #  #
9  # $Id: Makefile.cygwin,v 1.1.2.2 2003-10-04 00:38:49 edgomez Exp $  # $Id: Makefile.cygwin,v 1.1.2.3 2003-10-15 13:55:09 edgomez Exp $
10  ##############################################################################  ##############################################################################
11    
12  include Makefile.inc  include Makefile.inc
# Line 15  Line 15 
15  LOCAL_XVID_BUILDTREE=../../build/generic/=build  LOCAL_XVID_BUILDTREE=../../build/generic/=build
16    
17  RM = rm -rf  RM = rm -rf
18    WINDRES=windres
 # CC = gcc-2  
 # CC = gcc-3.1  
19    
20  # Constants which should not be modified  # Constants which should not be modified
21  # The `mingw-runtime` package is required when building with -mno-cygwin  # The `mingw-runtime` package is required when building with -mno-cygwin
# Line 29  Line 27 
27  # Optional Compiler options  # Optional Compiler options
28  ##############################################################################  ##############################################################################
29    
   # Warning level options  
       # Shows all warnings  
30    CFLAGS += -Wall    CFLAGS += -Wall
31    CFLAGS += -O1
32    # General Optimization options  CFLAGS += -fstrength-reduce
33        # Optimize code for size (implies -O2)  CFLAGS += -finline-functions
34    CFLAGS += -Os  CFLAGS += -fgcse
35        # Unroll loops code, this might speed up loops  CFLAGS += -freduce-all-givs
   CFLAGS += -funroll-loops  
       # Generates FPU math code  
36    CFLAGS += -ffast-math    CFLAGS += -ffast-math
       # ??? (man gcc)  
   CFLAGS += -fstrict-aliasing  
       # Omit the x86 push ebp; mov ebp, esp function  
       # header and its corresponding function tailer  
   CFLAGS += -fomit-frame-pointer  
   
37    
38  ##############################################################################  ##############################################################################
39  # Rules  # Rules
# Line 54  Line 42 
42  all: $(LIBSO)  all: $(LIBSO)
43    
44  %.res.o: %.rc  %.res.o: %.rc
45          windres --include-dir=$(SRCDIR) -o $@ $<          $(WINDRES) --include-dir=$(SRCDIR) -o $@ $<
46    
47  $(LIBSO): $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)  $(LIBSO): $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)
48          $(CC) $(CFLAGS) -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \          $(CC) $(CFLAGS) -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \
# Line 63  Line 51 
51    
52  clean:  clean:
53          $(RM) $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)          $(RM) $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)
54          $(RM) $(LIBSO)          $(RM) $(LIBSO) $(LIBSO).a
55    
56  install:  install:
57          rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 ./xvid.inf          rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 ./xvid.inf

Legend:
Removed from v.1178  
changed lines
  Added in v.1179

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