[XviD-devel] vfw/mingw

peter ross xvid-devel@xvid.org
Wed, 25 Sep 2002 19:31:56 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_531e_75c3_29f4
Content-Type: text/plain; format=flowed

>All the stuff you've been doing was in one of my pending patches...  i'll 
>see what's stil missing once you''l done all your modifications.

oh sorry gom.
ive already commited the xvidcore/vfw modifications.
these were very minor: mainly to get rid of "no newline char at
eof" warnings, win32 resource #includes, etc.

we just need to sort out these issues:
* xvidcore\build\Makefile.mingw
  currently iam just using make -f Makefile.dj

* vfw\makefile.mingw
  ive attached this gom. you may fix what's missing.
  should it include all the debug/optimization options??

* "vfw.h" is not currently distributed with mingw
  (but you can copy \microsoft visual studio\vc98\include\vfw.h
   into \mingw\include)

-- pete

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

------=_NextPart_000_531e_75c3_29f4
Content-Type: text/plain; name="Makefile.mingw"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="Makefile.mingw"

#############################################################################
#
# MinGW x86 Makefile
#
# Edit this file to enable/disable optimizations
#
# $Id: Makefile.cygwin,v 1.5 2002/09/22 10:31:18 edgomez Exp $
#
#############################################################################

XVIDCORE = ..\xvidcore

CC = gcc
RM = deltree /y

CFLAGS += -Wall -mpreferred-stack-boundary=4 -I$(XVIDCORE)\src

DLL = bin\xvid.dll
SRC = src\driverproc.c src\codec.c src\config.c src\2pass.c
RES = src\config.res


all: $(DLL)

%.res: %.rc
	windres --include-dir=src $< -O coff -o $@


$(DLL): $(SRC:.c=.o) $(RES:.rc=.res)
	$(CC) $(CFLAGS) --shared -Wl,--enable-stdcall-fixup,--dll,--out-implib,$@.a 
-o $@ $^ src\driverproc.def -L$(XVIDCORE)\build\generic -lxvidcore -lwinmm 
-lcomdlg32 -lcomctl32 -lgdi32

clean:
	$(RM) $(DLL)
	$(RM) "src\*.o"


------=_NextPart_000_531e_75c3_29f4--