1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet
   9 # at http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2017 Nexenta Systems, Inc.
  14 #
  15 
  16 include         $(SRC)/Makefile.master
  17 
  18 MANSECT=        3ofmt
  19 
  20 MANFILES=       ofmt.3ofmt
  21 
  22 MANLINKS=       ofmt_close.3ofmt \
  23                 ofmt_open.3ofmt \
  24                 ofmt_print.3ofmt \
  25                 ofmt_strerror.3ofmt \
  26                 ofmt_update_winsize.3ofmt
  27 
  28 ofmt_close.3ofmt                := LINKSRC = ofmt.3ofmt
  29 ofmt_open.3ofmt                 := LINKSRC = ofmt.3ofmt
  30 ofmt_print.3ofmt                := LINKSRC = ofmt.3ofmt
  31 ofmt_print_header.3ofmt         := LINKSRC = ofmt.3ofmt
  32 ofmt_set_fs.3ofmt               := LINKSRC = ofmt.3ofmt
  33 ofmt_strerror.3ofmt             := LINKSRC = ofmt.3ofmt
  34 ofmt_update_winsize.3ofmt       := LINKSRC = ofmt.3ofmt
  35 
  36 .KEEP_STATE:
  37 
  38 include         $(SRC)/man/Makefile.man
  39 
  40 install:        $(ROOTMANFILES) $(ROOTMANLINKS)