diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-11-27 02:14:37 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-11-27 02:14:37 +0000 |
commit | d799adc46f07b7a6d6336b7de290367a4a72f339 (patch) | |
tree | 0abdce1d17d64b1e8d28043aac9546d497dec42e /winsup | |
parent | 1d88f8cea2f22cc8a5dab4db4238481666d50254 (diff) | |
download | newlib-d799adc46f07b7a6d6336b7de290367a4a72f339.zip newlib-d799adc46f07b7a6d6336b7de290367a4a72f339.tar.gz newlib-d799adc46f07b7a6d6336b7de290367a4a72f339.tar.bz2 |
* 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.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 13 | ||||
-rw-r--r-- | winsup/w32api/lib/Makefile.in | 15 | ||||
-rw-r--r-- | winsup/w32api/lib/avicap32.def | 8 | ||||
-rw-r--r-- | winsup/w32api/lib/avifil32.def (renamed from winsup/w32api/lib/vfw32.def) | 58 | ||||
-rw-r--r-- | winsup/w32api/lib/msvfw32.def | 49 | ||||
-rw-r--r-- | winsup/w32api/lib/vfw32.mri | 6 |
6 files changed, 91 insertions, 58 deletions
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 <dannysmith@users.sourceforge.net> + + * 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 <dannysmith@users.sourceforge.net> * 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/vfw32.def b/winsup/w32api/lib/avifil32.def index 14bcc14..32f8cb6 100644 --- a/winsup/w32api/lib/vfw32.def +++ b/winsup/w32api/lib/avifil32.def @@ -1,52 +1,5 @@ -LIBRARY MSVFW32.DLL +LIBRARY AVIFIL32.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 @@ -61,8 +14,6 @@ EditStreamPaste@24 EditStreamCut@16 EditStreamCopy@16 EditStreamClone@8 -DllGetClassObject@12 -DllCanUnloadNow@0 CreateEditableStream@8 AVIStreamWriteData@16 AVIStreamWrite@32 @@ -123,9 +74,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/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.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 |