makefile_aix

clearmake compatibility with AIX® make (on IBM® hosts)

Applicability

Product

Command type

ClearCase®

data structure

Platform

UNIX

Linux

Synopsis

clearmake –C aix

Description

Note: The distinctive features of clearmake, such as build auditing, derived object sharing, and build avoidance, are supported in dynamic views only.

The clearmake program has been designed for compatibility with existing make programs, minimizing the work necessary to switch to clearmake. There are many independently evolving variants of make, which provide different sets of extended features. clearmake does not support all features of all variants, and absolute compatibility is not guaranteed.

If your makefiles use only the common extensions, they will probably work with clearmake. If you must use features that clearmake does not support, consider using another make program in a clearaudit shell. This alternative provides build auditing (configuration records), but does not provide build avoidance (winkin).

Note: When building with configuration records, clearmake handles double-colon rules differently than other make programs. For details, see the DevOps Code ClearCase Guide to Building Software.

Compatibility

When you specify –C aix, the following features are enabled:

  • Execution of build script lines that begin with + , even if clearmake is invoked with the –n option
  • Execution of a shell command embedded in a dependency list:

    myprog: ‘ls *.o'

  • Specification of a builtins file on the command line, using the macro MAKERULES (the default builtin file is /usr/ccs/lib/make.cfg)
  • Environment variable MAKESHELL overrides the make macro SHELL to specify the shell in which build script commands are executed (The environment variable SHELL is never used for this purpose.)
  • .POSIX target prohibits execution of recursive makes during make –n invocations
  • The –q command-line option (see the clearmake reference page)