From d799adc46f07b7a6d6336b7de290367a4a72f339 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 27 Nov 2003 02:14:37 +0000 Subject: * lib/vfw32.def: Remove, replacing with ... * lib/msvfw32.def: New file. * lib/avicap32.def: New file. * lib/avifil32.def: New file. * lib/vfw32.mri: New file. * Makefile.in: (MRI_FILES, MIMPLIBS): New vars for import libs with multiple dll's. (LIBS): Add MIMPLIBS. (DISTFILES): Add MRI_FILES. (libvfw32.a): Build using mri script. --- winsup/w32api/ChangeLog | 13 ++++ winsup/w32api/lib/Makefile.in | 15 ++++- winsup/w32api/lib/avicap32.def | 8 +++ winsup/w32api/lib/avifil32.def | 77 ++++++++++++++++++++++++ winsup/w32api/lib/msvfw32.def | 49 +++++++++++++++ winsup/w32api/lib/vfw32.def | 131 ----------------------------------------- winsup/w32api/lib/vfw32.mri | 6 ++ 7 files changed, 166 insertions(+), 133 deletions(-) create mode 100644 winsup/w32api/lib/avicap32.def create mode 100644 winsup/w32api/lib/avifil32.def create mode 100644 winsup/w32api/lib/msvfw32.def delete mode 100644 winsup/w32api/lib/vfw32.def create mode 100644 winsup/w32api/lib/vfw32.mri (limited to 'winsup') diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index eb9c3a1..4b1d024 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,16 @@ +2003-11-27 Danny Smith + + * lib/vfw32.def: Remove, replacing with ... + * lib/msvfw32.def: New file. + * lib/avicap32.def: New file. + * lib/avifil32.def: New file. + * lib/vfw32.mri: New file. + * Makefile.in: (MRI_FILES, MIMPLIBS): New vars for + import libs with multiple dll's. + (LIBS): Add MIMPLIBS. + (DISTFILES): Add MRI_FILES. + (libvfw32.a): Build using mri script. + 2003-11-23 Danny Smith * include/winnt.h (PAGE_*): Group defines together. Change diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in index 5d55812..ad14441 100644 --- a/winsup/w32api/lib/Makefile.in +++ b/winsup/w32api/lib/Makefile.in @@ -110,9 +110,11 @@ GL_HEADERS = $(notdir $(wildcard $(srcdir)/../include/GL/*.h)) # libraries DEF_FILES = $(notdir $(wildcard $(srcdir)/*.def)) +MRI_FILES = $(notdir $(wildcard $(srcdir)/*.mri)) IMPLIBS = $(addprefix lib,$(subst .def,.a,$(DEF_FILES))) +MIMPLIBS = $(addprefix lib,$(subst .mri,.a,$(MRI_FILES))) EXTRA_LIBS=libuuid.a libscrnsave.a libscrnsavw.a libdxguid.a liblargeint.a -LIBS = $(IMPLIBS) $(EXTRA_LIBS) +LIBS = $(IMPLIBS) $(MIMPLIBS) $(EXTRA_LIBS) UUID_OBJS = uuid.o mshtml-uuid.o EXTRA_OBJS = shell32.o dxguid.o scrnsave.o scrnsavw.o largeint.o \ $(UUID_OBJS) dinput.o kernel32.o @@ -120,7 +122,7 @@ UUID_SOURCES = uuid.c mshtml-uuid.c SOURCES = scrnsave.c shell32.c largeint.c dinput.c $(UUID_SOURCES)\ dxguid.c res.rc test.c kernel32.c -DISTFILES = Makefile.in $(DEF_FILES) $(SOURCES) +DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES) .NOTPARALLEL: @@ -166,6 +168,15 @@ libuuid.a : $(UUID_OBJS) $(AR) rc $@ $(UUID_OBJS) $(RANLIB) $@ +# libvfw32.a contains import stubs for 3 dll's. Using an MRI script +# seems to be the simplest way to combine them into one archive. +# NB: With older dlltool, the object file members will not have unique +# names. +libvfw32.a : libmsvfw32.a libavifil32.a libavicap32.a vfw32.mri + rm -f $@ + $(AR) -M < vfw32.mri + $(RANLIB) $@ + lib%.a : %.def %.o $(DLLTOOL) $(DLLTOOL_FLAGS) --output-lib $@ --def $(srcdir)/$*.def $(AR) r $@ $*.o diff --git a/winsup/w32api/lib/avicap32.def b/winsup/w32api/lib/avicap32.def new file mode 100644 index 0000000..cde12a4 --- /dev/null +++ b/winsup/w32api/lib/avicap32.def @@ -0,0 +1,8 @@ +LIBRARY AVICAP32.DLL +EXPORTS +videoThunk32@20 +capGetDriverDescriptionW@20 +capGetDriverDescriptionA@20 +capCreateCaptureWindowW@32 +capCreateCaptureWindowA@32 +AppCleanup@4 diff --git a/winsup/w32api/lib/avifil32.def b/winsup/w32api/lib/avifil32.def new file mode 100644 index 0000000..32f8cb6 --- /dev/null +++ b/winsup/w32api/lib/avifil32.def @@ -0,0 +1,77 @@ +LIBRARY AVIFIL32.DLL +EXPORTS +IID_IGetFrame +IID_IAVIStream +IID_IAVIFile +IID_IAVIEditStream +EditStreamSetNameW@8 +EditStreamSetNameA@8 +EditStreamSetName@8 +EditStreamSetInfoW@12 +EditStreamSetInfoA@12 +EditStreamSetInfo@12 +EditStreamPaste@24 +EditStreamCut@16 +EditStreamCopy@16 +EditStreamClone@8 +CreateEditableStream@8 +AVIStreamWriteData@16 +AVIStreamWrite@32 +AVIStreamTimeToSample@8 +AVIStreamStart@4 +AVIStreamSetFormat@16 +AVIStreamSampleToTime@8 +AVIStreamRelease@4 +AVIStreamReadFormat@16 +AVIStreamReadData@16 +AVIStreamRead@28 +AVIStreamOpenFromFileW@24 +AVIStreamOpenFromFileA@24 +AVIStreamOpenFromFile@24 +AVIStreamLength@4 +AVIStreamInfoW@12 +AVIStreamInfoA@12 +AVIStreamInfo@12 +AVIStreamGetFrameOpen@8 +AVIStreamGetFrameClose@4 +AVIStreamGetFrame@8 +AVIStreamFindSample@12 +AVIStreamEndStreaming@4 +AVIStreamCreate@16 +AVIStreamBeginStreaming@16 +AVIStreamAddRef@4 +AVISaveW +AVISaveVW@24 +AVISaveVA@24 +AVISaveV@24 +AVISaveOptionsFree@8 +AVISaveOptions@20 +AVISaveA +AVISave +AVIPutFileOnClipboard@4 +AVIMakeStreamFromClipboard@12 +AVIMakeFileFromStreams@12 +AVIMakeCompressedStream@16 +AVIGetFromClipboard@4 +AVIFileWriteData@16 +AVIFileRelease@4 +AVIFileReadData@16 +AVIFileOpenW@16 +AVIFileOpenA@16 +AVIFileOpen@16 +AVIFileInit@0 +AVIFileInfoW@12 +AVIFileInfoA@12 +AVIFileInfo@12 +AVIFileGetStream@16 +AVIFileExit@0 +AVIFileEndRecord@4 +AVIFileCreateStreamW@12 +AVIFileCreateStreamA@12 +AVIFileCreateStream@12 +AVIFileAddRef@4 +AVIClearClipboard@0 +AVIBuildFilterW@12 +AVIBuildFilterA@12 +AVIBuildFilter@12 + diff --git a/winsup/w32api/lib/msvfw32.def b/winsup/w32api/lib/msvfw32.def new file mode 100644 index 0000000..7428c6e --- /dev/null +++ b/winsup/w32api/lib/msvfw32.def @@ -0,0 +1,49 @@ +LIBRARY MSVFW32.DLL +EXPORTS +VideoForWindowsVersion@0 +StretchDIB@48 +MCIWndRegisterClass +MCIWndCreateW +MCIWndCreateA +MCIWndCreate +ICSeqCompressFrameStart@8 +ICSeqCompressFrameEnd@4 +ICSeqCompressFrame@20 +ICSendMessage@16 +ICRemove@12 +ICOpenFunction@16 +ICOpen@12 +ICMThunk32@20 +ICLocate@20 +ICInstall@20 +ICInfo@12 +ICImageDecompress@20 +ICImageCompress@28 +ICGetInfo@12 +ICGetDisplayFormat@24 +ICDrawBegin +ICDraw +ICDecompress +ICCompressorFree@4 +ICCompressorChoose@24 +ICCompress +ICClose@4 +GetSaveFileNamePreviewW@4 +GetSaveFileNamePreviewA@4 +GetOpenFileNamePreviewW@4 +GetOpenFileNamePreviewA@4 +GetOpenFileNamePreview@4 +DrawDibTime@8 +DrawDibStop@4 +DrawDibStart@8 +DrawDibSetPalette@8 +DrawDibRealize@12 +DrawDibProfileDisplay@4 +DrawDibOpen@0 +DrawDibGetPalette@4 +DrawDibGetBuffer@16 +DrawDibEnd@4 +DrawDibDraw@52 +DrawDibClose@4 +DrawDibChangePalette@16 +DrawDibBegin@32 diff --git a/winsup/w32api/lib/vfw32.def b/winsup/w32api/lib/vfw32.def deleted file mode 100644 index 14bcc14..0000000 --- a/winsup/w32api/lib/vfw32.def +++ /dev/null @@ -1,131 +0,0 @@ -LIBRARY MSVFW32.DLL -EXPORTS -VideoForWindowsVersion@0 -StretchDIB@48 -MCIWndRegisterClass -MCIWndCreateW -MCIWndCreateA -MCIWndCreate -ICSeqCompressFrameStart@8 -ICSeqCompressFrameEnd@4 -ICSeqCompressFrame@20 -ICSendMessage@16 -ICRemove@12 -ICOpenFunction@16 -ICOpen@12 -ICMThunk32@20 -ICLocate@20 -ICInstall@20 -ICInfo@12 -ICImageDecompress@20 -ICImageCompress@28 -ICGetInfo@12 -ICGetDisplayFormat@24 -ICDrawBegin -ICDraw -ICDecompress -ICCompressorFree@4 -ICCompressorChoose@24 -ICCompress -ICClose@4 -GetSaveFileNamePreviewW@4 -GetSaveFileNamePreviewA@4 -GetOpenFileNamePreviewW@4 -GetOpenFileNamePreviewA@4 -GetOpenFileNamePreview@4 -DrawDibTime@8 -DrawDibStop@4 -DrawDibStart@8 -DrawDibSetPalette@8 -DrawDibRealize@12 -DrawDibProfileDisplay@4 -DrawDibOpen@0 -DrawDibGetPalette@4 -DrawDibGetBuffer@16 -DrawDibEnd@4 -DrawDibDraw@52 -DrawDibClose@4 -DrawDibChangePalette@16 -DrawDibBegin@32 -IID_IGetFrame -IID_IAVIStream -IID_IAVIFile -IID_IAVIEditStream -EditStreamSetNameW@8 -EditStreamSetNameA@8 -EditStreamSetName@8 -EditStreamSetInfoW@12 -EditStreamSetInfoA@12 -EditStreamSetInfo@12 -EditStreamPaste@24 -EditStreamCut@16 -EditStreamCopy@16 -EditStreamClone@8 -DllGetClassObject@12 -DllCanUnloadNow@0 -CreateEditableStream@8 -AVIStreamWriteData@16 -AVIStreamWrite@32 -AVIStreamTimeToSample@8 -AVIStreamStart@4 -AVIStreamSetFormat@16 -AVIStreamSampleToTime@8 -AVIStreamRelease@4 -AVIStreamReadFormat@16 -AVIStreamReadData@16 -AVIStreamRead@28 -AVIStreamOpenFromFileW@24 -AVIStreamOpenFromFileA@24 -AVIStreamOpenFromFile@24 -AVIStreamLength@4 -AVIStreamInfoW@12 -AVIStreamInfoA@12 -AVIStreamInfo@12 -AVIStreamGetFrameOpen@8 -AVIStreamGetFrameClose@4 -AVIStreamGetFrame@8 -AVIStreamFindSample@12 -AVIStreamEndStreaming@4 -AVIStreamCreate@16 -AVIStreamBeginStreaming@16 -AVIStreamAddRef@4 -AVISaveW -AVISaveVW@24 -AVISaveVA@24 -AVISaveV@24 -AVISaveOptionsFree@8 -AVISaveOptions@20 -AVISaveA -AVISave -AVIPutFileOnClipboard@4 -AVIMakeStreamFromClipboard@12 -AVIMakeFileFromStreams@12 -AVIMakeCompressedStream@16 -AVIGetFromClipboard@4 -AVIFileWriteData@16 -AVIFileRelease@4 -AVIFileReadData@16 -AVIFileOpenW@16 -AVIFileOpenA@16 -AVIFileOpen@16 -AVIFileInit@0 -AVIFileInfoW@12 -AVIFileInfoA@12 -AVIFileInfo@12 -AVIFileGetStream@16 -AVIFileExit@0 -AVIFileEndRecord@4 -AVIFileCreateStreamW@12 -AVIFileCreateStreamA@12 -AVIFileCreateStream@12 -AVIFileAddRef@4 -AVIClearClipboard@0 -AVIBuildFilterW@12 -AVIBuildFilterA@12 -AVIBuildFilter@12 -videoThunk32@20 -capGetDriverDescriptionW@20 -capGetDriverDescriptionA@20 -capCreateCaptureWindowW@32 -capCreateCaptureWindowA@32 -AppCleanup@4 diff --git a/winsup/w32api/lib/vfw32.mri b/winsup/w32api/lib/vfw32.mri new file mode 100644 index 0000000..ee01b12 --- /dev/null +++ b/winsup/w32api/lib/vfw32.mri @@ -0,0 +1,6 @@ +CREATE libvfw32.a +ADDLIB libmsvfw32.a +ADDLIB libavicap32.a +ADDLIB libavifil32.a +SAVE +END -- cgit v1.1