X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4ED88260.8010004@cs.cmu.edu> Date: Thu, 01 Dec 2011 23:46:40 -0800 From: Paul Allen Newell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Thunderbird/3.1.16 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: pnewell AT cs DOT cmu DOT edu Subject: best way to prevent a cygwin build? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dear Cygwin: I have a network of Fedora machines and WinXP running Cygwin. Most of the projects I work on can be compiled/linked/run under both, but there are exceptions. As in Maya ... I am not happy with having to run two separate source trees and would like a way (as in "best standard") to add something to any Maya makefile which will prevent execution if it is being compiled on Cygwin. The best I have been able to come up with is a check under each make directive, but that's alot of exceptions where I would think only one would be necessary. I searched the GNU make docs and googled for such, but the best I could see were bailout rules under a given make rule directive. I can find out whether I need to bail by the test "ifeq (Cygwin, $(shell uname -o))" but can't figure out a way to have the makefile ask this question once for the entire set of make directives in it. Any suggestions? Thanks, Paul -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple