This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Nicholas Wourms wrote:
> final outcome:
> --------------
> /usr/X11R6/bin/cygXfoo.0.0.dll
> /usr/X11R6/lib/libXfoo.0.0.dll.a
> /usr/X11R6/lib/libXfoo.0.dll.a
> /usr/X11R6/lib/libXfoo.dll.a
> /usr/X11R6/lib/libXfoo.a
Attached a patch which tweaks the makefile to build
lib$(NAME)-$(MAJOR).dll
lib$(NAME)-$(MAJOR).a
lib$(NAME).a -> lib$(NAME)-$(MAJOR).a
for Xft1 and Xft2 its
exports/bin/libXft-1.dll
exports/bin/libXft-2.dll
exports/lib/libXft-1.a -> ../../lib/Xft1/libXft-1.a
exports/lib/libXft-2.a -> ../../lib/Xft/libXft-2.a
exports/lib/libXft.a -> libXft-2.a
tweaking it to use cyg*.dll is simple
I also change the widely spreaded concat3(lib,libname,.dll) to one macro
(SharedLibraryName, libFoo-X.dll)
The other new macro is ImportLibraryName, which is libFoo-X.a
LibraryTargetName is still libFoo.a
And the is the rule LinkImportLibrary which links ImportLibraryName to
LibraryTargetName.
bye
ago
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
Attachment:
cygwin-so.diff
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |