Print this page
5025 import and use mandoc
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile
          +++ new/usr/src/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright (c) 2012 by Delphix. All rights reserved.
       25 +# Copyright 2014 Garrett D'Amore <garrett@damore.org>
  25   26  #
  26   27  
  27   28  #
  28   29  # Makefile for system source
  29   30  #
  30   31  # include global definitions
  31   32  include Makefile.master
  32   33  #
  33   34  # the Targetdirs file is the AT&T target.dirs file in a makefile format.
  34   35  # it defines TARGETDIRS and ROOTDIRS.
↓ open down ↓ 23 lines elided ↑ open up ↑
  58   59  PARALLEL_HEADERS = sysheaders userheaders libheaders cmdheaders
  59   60  
  60   61  #
  61   62  # Directories that can be built in parallel
  62   63  #
  63   64  PARALLEL_DIRS = uts lib man
  64   65  
  65   66  # The check target also causes smf(5) service manifests to be validated.
  66   67  CHKMFSTSUBDIRS= cmd
  67   68  
       69 +# And man page formats
       70 +CHKMANSUBDIRS = man
       71 +
  68   72  MSGSUBDIRS=     cmd ucbcmd lib
  69   73  DOMAINS= \
  70   74          SUNW_OST_ADMIN \
  71   75          SUNW_OST_NETRPC \
  72   76          SUNW_OST_OSCMD \
  73   77          SUNW_OST_OSLIB \
  74   78          SUNW_OST_UCBCMD \
  75   79          SUNW_OST_ZONEINFO
  76   80  
  77   81  MSGDDIRS=       $(DOMAINS:%=$(MSGROOT)/%)
↓ open down ↓ 120 lines elided ↑ open up ↑
 198  202  libheaders: bldtools
 199  203          @cd lib; pwd; $(MAKE) install_h
 200  204  
 201  205  sysheaders: FRC
 202  206          @cd uts; pwd; $(MAKE) install_h
 203  207  
 204  208  cmdheaders: FRC
 205  209          @cd cmd/fm; pwd; $(MAKE) install_h
 206  210          @cd cmd/mdb; pwd; $(MAKE) install_h
 207  211  
 208      -check:  $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS)
      212 +check:  $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS) $(CHKMANSUBDIRS)
 209  213  
 210  214  #
 211  215  # Cross-reference customization: skip all of the subdirectories that
 212  216  # don't contain actual source code.
 213  217  #
 214  218  XRPRUNE = pkg prototypes
 215  219  XRINCDIRS = uts/common head ucbhead
 216  220  
 217  221  cscope.out tags: FRC
 218  222          $(XREF) -f -x $@
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX