www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/18/16:40:45

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3BA7B11A.8ED6248B@yahoo.com>
Date: Tue, 18 Sep 2001 16:39:54 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: CD List <Cygwin-Developers AT Cygwin DOT Com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT Cygwin DOT Com
Subject: Re: [RFA] lib/Makefile.in patch
References: <20010918123348 DOT A18768 AT redhat DOT com>

My "reverted" change is a temporary fix.  I plan to modify it further
and will move and remove code at that time.

Earnie.

Christopher Faylor wrote:
> 
> Now that Earnie has reverted the change which added /usr to inst_*
> variables, I'd like to revert Makefile.in to its previous "one level of
> ifneq" state.  This will make it easier for anyone who is interested in
> understanding what is going on in the future.
> 
> The patch below just removes what appear to be unnecessary if tests.
> The end result is that inst_includedir and inst_libdir should still be
> set appropriately but the code in Makefile.in is simpler and more
> understandable.
> 
> cgf
> 
> Index: Makefile.in
> ===================================================================
> RCS file: /cvs/uberbaum/winsup/w32api/lib/Makefile.in,v
> retrieving revision 1.16
> diff -p -4 -r1.16 Makefile.in
> *** Makefile.in 2001/09/17 16:15:54     1.16
> --- Makefile.in 2001/09/18 16:22:28
> *************** infodir = @infodir@
> *** 40,59 ****
>   #FIXME.  The inst_includedir and inst_libdir need to be modified to use
>   #$(tooldir)/usr/include/w32api and $(tooldir)/usr/lib/w32api for the dist
>   #targets.
>   ifneq (,$(findstring cygwin,$(target_alias)))
> - ifeq ($(build_alias),$(host_alias))
> - ifeq ($(prefix),$(config_prefix))
>   inst_includedir:=$(tooldir)/include/w32api
>   inst_libdir:=$(tooldir)/lib/w32api
> - else
> - inst_includedir:=$(tooldir)/include/w32api
> - inst_libdir:=$(tooldir)/lib/w32api
> - endif
> - else
> - inst_includedir:=$(includedir)
> - inst_libdir:=$(libdir)
> - endif
>   else
>   inst_includedir:=$(includedir)
>   inst_libdir:=$(libdir)
>   endif
> --- 40,49 ----

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019