This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Sorta OT - Imakefiles
- From: "Jean-Claude Gervais" <jc dot gervais at videotron dot ca>
- To: "Cygwin-XFree" <cygwin-xfree at cygwin dot com>
- Date: Mon, 26 Aug 2002 09:57:27 -0400
- Subject: Sorta OT - Imakefiles
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
Does anyone know how to "tell" an Imakefile to copy a shared-library and
it's lib file to a user-specified location instead of the X directories?
For example, I have the following Imakefile, and I'd like for the .DLL file
to go to one directory, and its complimentary .LIB file to go to another
directory;
SRCS = ldlib.cpp
OBJS = ldlib.o
LIBNAME = ldlib
CC = g++ -mno-cygwin
SOREV = 1.0
INCLUDES = -I../../include
DependTarget()
SharedLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),.,.)
InstallSharedLibrary($(LIBNAME),$(SOREV),.)
How do you get the InstallSharedLibrary target to copy the files to
alternate destinations and not the default ones?