Print this page
Tweaks per Hans.
Add check target by default.  Fix packaging.  And make check output match
hdrchk, etc.

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile
          +++ new/usr/src/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  PARALLEL_HEADERS = sysheaders userheaders libheaders cmdheaders
  59   59  
  60   60  #
  61   61  # Directories that can be built in parallel
  62   62  #
  63   63  PARALLEL_DIRS = uts lib man
  64   64  
  65   65  # The check target also causes smf(5) service manifests to be validated.
  66   66  CHKMFSTSUBDIRS= cmd
  67   67  
       68 +# And man page formats
       69 +CHKMANSUBDIRS = man
       70 +
  68   71  MSGSUBDIRS=     cmd ucbcmd lib
  69   72  DOMAINS= \
  70   73          SUNW_OST_ADMIN \
  71   74          SUNW_OST_NETRPC \
  72   75          SUNW_OST_OSCMD \
  73   76          SUNW_OST_OSLIB \
  74   77          SUNW_OST_UCBCMD \
  75   78          SUNW_OST_ZONEINFO
  76   79  
  77   80  MSGDDIRS=       $(DOMAINS:%=$(MSGROOT)/%)
↓ open down ↓ 120 lines elided ↑ open up ↑
 198  201  libheaders: bldtools
 199  202          @cd lib; pwd; $(MAKE) install_h
 200  203  
 201  204  sysheaders: FRC
 202  205          @cd uts; pwd; $(MAKE) install_h
 203  206  
 204  207  cmdheaders: FRC
 205  208          @cd cmd/fm; pwd; $(MAKE) install_h
 206  209          @cd cmd/mdb; pwd; $(MAKE) install_h
 207  210  
 208      -check:  $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS)
      211 +check:  $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS) $(CHKMANSUBDIRS)
 209  212  
 210  213  #
 211  214  # Cross-reference customization: skip all of the subdirectories that
 212  215  # don't contain actual source code.
 213  216  #
 214  217  XRPRUNE = pkg prototypes
 215  218  XRINCDIRS = uts/common head ucbhead
 216  219  
 217  220  cscope.out tags: FRC
 218  221          $(XREF) -f -x $@
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX