IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  annotate
  apropos
  catcr
  catcs
  cc.icon
  cc.magic
  cd
  chactivity
  chbl
  checkin
  checkout
  checkvob
  chevent
  chflevel
  chfolder
  chmaster
  chpool
  chproject
  chstream
  chtype
  chview
  clearaudit
  clearbug
  cleardescribe
  cleardiffbl
  cleardiff
  clearexport_ccase
  clearexport_cvs
  clearexport_pvcs
  clearexport_rcs
  clearexport_sccs
  clearexport_ssafe
  clearfsimport
  cleargetlog
  clearhistory
  clearimport
  clearjoinproj
  clearlicense
  clearmake
  clearmake.options
  clearmrgman
  clearprojexp
  clearprompt
  cleartool
  clearviewupdate
  clearvobadmin
  comments
  config_ccase
  config_spec
  cptype
  credmap
  creds
  deliver
  describe
  diffbl
  diffcr
  diff
  dospace
  edcs
  endview
  env_ccase
  events_ccase
  export_mvfs
  exports_ccase
  file
  find
  findmerge
  fmt_ccase
  getcache
  get
  getlog
  help
  hostinfo
  init_ccase
  ln
  lock
  lsactivity
  lsbl
  lscheckout
  lsclients
  lscomp
  lsdo
  lsfolder
  lshistory
  ls
  lslock
  lsmaster
  lspool
  lsprivate
  lsproject
  lsregion
  lsreplica
  lssite
  lsstgloc
  lsstream
  lstype
  lsview
  lsvob
  lsvtree
  makefile_aix
  makefile_ccase
  makefile_gnu
  makefile_pmake
  makefile_smake
  makefile_sun
  man
  merge
  mkactivity
  mkattr
  mkattype
  mkbl
  mkbranch
  mkbrtype
  mkcomp
  mkdir
  mkelem
  mkeltype
  mkfolder
  mkhlink
  mkhltype
  mklabel
  mklbtype
  mkpool
  mkproject
  mkregion
  mkstgloc
  mkstream
  mktag
  mktrigger
  mktrtype
  mkview
  mkvob
  mount_ccase
  mount
  msdostext_mode
  mvfslog
  mvfsstorage
  mvfstime
  mvfsversion
  mv
  omake
  pathnames_ccase
  permissions
  profile_ccase
  promote_server
  protect
  protectvob
  pwd
  pwv
  query_language
  quit
  rebase
  recoverview
  reformatview
  reformatvob
  register
  relocate
  rename
  reqmaster
  reserve
  rgy_backup
  rgy_check
  rgy_passwd
  rgy_switchover
  rmactivity
  rmattr
  rmbl
  rmbranch
  rmcomp
  rmdo
  rmelem
  rmfolder
  rmhlink
  rmlabel
  rmmerge
  rmname
  rmpool
  rmproject
  rmregion
  rmstgloc
  rmstream
  rmtag
  rmtrigger
  rmtype
  rmver
  rmview
  rmvob
  schedule
  schemes
  scrubber
  setactivity
  setcache
  setcs
  setplevel
  setsite
  setview
  shell
  snapshot.conf
  softbench_ccase
  space
  startview
  type_manager
  umount
  uncheckout
  unlock
  unregister
  unreserve
  update
  version_selector
  view_scrubber
  vob_restore
  vob_scrubber
  vob_sidwalk
  vob_snapshot
  vob_snapshot_setup
  wildcards_ccase
  winkin
  xclearcase
  xcleardiff
  xmldiffmrg

makefile_smake

clearmake compatibility with IRIX smake (on SGI hosts)

APPLICABILITY

ProductCommand type
ClearCasedata structure
ClearCase LTdata structure

Platform
UNIX

SYNOPSIS

clearmake –C sgismake

DESCRIPTION

Note: The distinctive features of clearmake, such as build auditing, derived object sharing, and build avoidance, are supported in dynamic views only. In addition, while parallel building is supported in ClearCase snapshot views, it is not supported in ClearCase LT.

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 Building Software.

Compatibility

The following features are enabled when you specify –C sgismake:

  • All extended macro-assignment operators:
    ?= Assign if undefined
    := Expand RHS immediately
    += Append to macro
    != Assign result of shell command
  • All extended macro-expansion operators:

    $(VAR:T)
    $(
    VAR:S/pattern/replace/)
    $(
    VAR:H)
    $(
    VAR:R)
    $(
    VAR:Mpattern)
    $(
    VAR:E)
    $(
    VAR:Npattern) 

  • Most makefile conditional directives (expressions may contain defined operator and defined operator):

    #if
    #ifdef, #ifndef
    #ifmake, #ifnmake
    #else 
    #elif 
    #elifmake, #elifnmake
    #elifdef, #elifndef
    #endif 

  • Makefile inclusion with search rules similar to those of cpp(1):
#include <file>
Look for file in /usr/include/make

#include "file"
Look for file in current directory, then in directories specified with –I command-line options, then in /usr/include/make

  • Command line option –I, for use with #include statements
  • Aliases for internal make macros:
    $(.TARGET) Alias for $@
    $(.PREFIX) Alias for $*
    $(.OODATE) Alias for $?
    $(.IMPSRC) Alias for $<
    $(.ALLSRC) Alias for $>

    Note: $> is not supported by standard make (1).

  • smake-specific built-ins file: /usr/include/make/system.mk
  • Inference rules with nonexistent intermediates
  • Search paths for dependencies (.PATH and .PATH.suffix)
  • Deferring build script commands (“...” in build script)
  • .NULL target: specifies suffix to use when target has no file-name suffix
  • .NOTPARALLEL target: disables parallel building
  • .MAKE target: specifies that a target corresponds to a sub-make; that target's build script is be invoked even when –n is used
  • The –q command-line option (see the clearmake reference page)

Limitations

Using –C –sgismake on a non-IRIX system may cause errors because different systems have different names for their built-in makefiles. You can disable use of built-in rules with clearmake –r.

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News