[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    RE: HPUX-DEVTOOLS: How do I find UNIX version from within a makef i
From:       vishwas.bhadsavle () citicorp ! com
Date:       2001-05-21 12:48:04
[Download RAW message or body]

Thanks Dave.

I want to use something like this:

if (os_version=xxx)
	LIBS=....
else if (os_version=yyy)
	LIBS=....

Is it possible to do this in a makefile ?

	

Regards
Vishwas

-----Original Message-----
From: dave.peter [mailto:dave.peter@eu.citrix.com]
Sent: Monday, May 21, 2001 4:32 PM
To: hpux-devtools
Subject: RE: HPUX-DEVTOOLS: How do I find UNIX version from within a
makef ile


Use something like 

OS_NAME=`uname -s`
OS_VERSION=`uname -r`


-----Original Message-----
From: vishwas.bhadsavle@citicorp.com
[mailto:vishwas.bhadsavle@citicorp.com]
Sent: 21 May 2001 11:43
To: hpux-devtools@cxx.cup.hp.com
Subject: HPUX-DEVTOOLS: How do I find UNIX version from within a
makefile


Hi

Can I find the UNIX vesion from within a makefile ?

Regards
Vishwas

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic