<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Make: use of := and shell under HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844706#M776893</link>
    <description>The gmake convention is that "=" is a recursive assignment whereas ":=" is a static assignment. The conditional assignment is "?=". Probably the easist method is to install gmake but in this case, you should be able to&lt;BR /&gt;simply: OSTYPE=`uname -s`</description>
    <pubDate>Wed, 16 Aug 2006 13:15:03 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-08-16T13:15:03Z</dc:date>
    <item>
      <title>Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844704#M776891</link>
      <description>Once again I am struggling with a GNU makefile and converting it to run under HP-UX. In a GNU makefile I can create a variable as follows:&lt;BR /&gt;&lt;BR /&gt;# Get information about our OS&lt;BR /&gt;OSTYPE  := $(shell uname -s)&lt;BR /&gt;&lt;BR /&gt;Under HP-UX this bombs. I found some documentation indicating that the := relates to  a conditional variable under HP-UX, i.e. completely different to the way GNU make uses it.&lt;BR /&gt;&lt;BR /&gt;Is there a simple way to convert this GNU code to HP-UX?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 16 Aug 2006 13:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844704#M776891</guid>
      <dc:creator>David Webb (MAX)</dc:creator>
      <dc:date>2006-08-16T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844705#M776892</link>
      <description>Shalom dave,&lt;BR /&gt;&lt;BR /&gt;Try the uname command.&lt;BR /&gt;&lt;BR /&gt;OSTYPE=$(uname -a)&lt;BR /&gt;&lt;BR /&gt;You will adjust it for what you need in the variable.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 16 Aug 2006 13:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844705#M776892</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-16T13:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844706#M776893</link>
      <description>The gmake convention is that "=" is a recursive assignment whereas ":=" is a static assignment. The conditional assignment is "?=". Probably the easist method is to install gmake but in this case, you should be able to&lt;BR /&gt;simply: OSTYPE=`uname -s`</description>
      <pubDate>Wed, 16 Aug 2006 13:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844706#M776893</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-16T13:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844707#M776894</link>
      <description>Gmake is nice and all that but it's kinda like the "improvements" to cron that Linux has made. If you are planning to be portable, don't mess with stuff that has been in place for decades. Any makefiles that I use, use standard (meaning "classic") syntax that work under standard make and gmake equally well. There are things that gmakes does to make certain tasks easier but those things come at the expense of portability.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2006 13:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844707#M776894</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-16T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844708#M776895</link>
      <description>Thanks for responses.&lt;BR /&gt;&lt;BR /&gt;Using &lt;BR /&gt;&lt;BR /&gt;OSTYPE = `uname -s'&lt;BR /&gt;&lt;BR /&gt;seems to do what I need. Sorry it's so simple, I thought I had tried all the possibilities of simple things like this, but obviously not.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 16 Aug 2006 13:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844708#M776895</guid>
      <dc:creator>David Webb (MAX)</dc:creator>
      <dc:date>2006-08-16T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Make: use of := and shell under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844709#M776896</link>
      <description>I meant to say:&lt;BR /&gt;&lt;BR /&gt;Using&lt;BR /&gt;&lt;BR /&gt;OSTYPE = `uname -s`&lt;BR /&gt;&lt;BR /&gt;worked (last apostrophe).&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 16 Aug 2006 14:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-use-of-and-shell-under-hp-ux/m-p/3844709#M776896</guid>
      <dc:creator>David Webb (MAX)</dc:creator>
      <dc:date>2006-08-16T14:06:28Z</dc:date>
    </item>
  </channel>
</rss>

