[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 1170, Fri Oct 3 19:59:16 2003 UTC revision 1171, Sat Oct 4 00:38:49 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.1 2003-10-03 19:59:16 edgomez Exp $  # $Id: Makefile.cygwin,v 1.1.2.2 2003-10-04 00:38:49 edgomez Exp $
10  ##############################################################################  ##############################################################################
11    
12  include Makefile.inc  include Makefile.inc
13    
14  XVIDCOREINC=/usr/local/include  LOCAL_XVID_SRCTREE=../../src
15  XVIDCORELIB=/usr/local/lib  LOCAL_XVID_BUILDTREE=../../build/generic/=build
16    
17  RM = rm -rf  RM = rm -rf
18    
# Line 21  Line 21 
21    
22  # Constants which should not be modified  # Constants which should not be modified
23  # The `mingw-runtime` package is required when building with -mno-cygwin  # The `mingw-runtime` package is required when building with -mno-cygwin
24  CFLAGS += -I$(SRCDIR)/w32api -I$(XVIDCOREINC)  CFLAGS += -I$(SRCDIR)/w32api -I$(LOCAL_XVID_SRCTREE)
25  CFLAGS += -D_WIN32_IE=0x0500  CFLAGS += -D_WIN32_IE=0x0500
26  CFLAGS += -mno-cygwin  CFLAGS += -mno-cygwin
27    
# Line 32  Line 32 
32    # Warning level options    # Warning level options
33        # Shows all warnings        # Shows all warnings
34    CFLAGS += -Wall    CFLAGS += -Wall
       # To detect non ANSI C code (xvid is not ANSI C (yet?))  
   # CFLAGS += -pedantic  
   
35    
36    # General Optimization options    # General Optimization options
37        # Optimize code for size (implies -O2)        # Optimize code for size (implies -O2)
# Line 61  Line 58 
58    
59  $(LIBSO): $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)  $(LIBSO): $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)
60          $(CC) $(CFLAGS) -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \          $(CC) $(CFLAGS) -shared -Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup \
61                   -o $@ $^ ../src/driverproc.def -L$(XVIDCORELIB) \                   -o $@ $^ $(LOCAL_XVID_BUILDTREE)/libxvidcore.a $(SRCDIR)/driverproc.def \
62                   -lxvidcore -lgdi32 -lwinmm -lcomdlg32 -lcomctl32                   -lgdi32 -lwinmm -lcomdlg32 -lcomctl32
63    
64  clean:  clean:
65          $(RM) $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)          $(RM) $(SRC:.c=.o) $(SRC_RES:.rc=.res.o)

Legend:
Removed from v.1170  
changed lines
  Added in v.1171

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