Alcatel-Lucent

Alcatel-Lucent  >  Bell Labs  >  Bell Labs Technologies  >  Software  >  Alcatel-Lucent nmake Bookmark and Share

Alcatel-Lucent nmake Product Builder

Q: How do I know what version/release I have?


Alcatel-Lucent nmake 12 and newer

The --version command line option was added in nmake 12 to show the version of the nmake command.

    $ nmake --version
    Alcatel-Lucent (Bell Labs) nmake 12 06/09/2010

Alcatel-Lucent nmake lu3.4 and newer

Execute the following command:

    $ what_version_nmake
    /tools/nmake/sparc5/lu3.5/:
	Release: nmake lu3.5 06/07/2002 - Bell Labs

The what_version_nmake command is included in the nmake bin directory as of release lu3.4. Execute this command to show the version string and the latest applied patch. The -v flag can be used to show verbose information about the components.

The below methods of finding the version string will work in all releases.

All Releases

There are a few ways you can determine what version of nmake you are running.

  1. Run the what command on the nmake binary, and look for a line with make or nmake. Different platforms have different amounts of output from the what command. You should pipe the output to a pager or grep for make. Also note that the what command is located in /usr/ccs/bin/ on Solaris machines, which may not be in your PATH.
        $ what <nmake_root>/bin/nmake | grep make
        nmake:
    	    Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002
        
  2. Run nmake and print the $(MAKEVERSION) variable from the command line.
        $ nmake -n -f - . 'print $(MAKEVERSION)'
        Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002
        
  3. Print the variable $(MAKEVERSION) in a Makefile.
        $ cat Makefile
        target :
    	    : "$(MAKEVERSION)"
    
        $ nmake      
        + : Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002
        
Last Update: Monday,28-Feb-2011 15:26:34 EST