Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions


   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/troff/troff.d/Makefile
  26 #

  27 
  28 include         ../../Makefile.cmd
  29 
  30 PROG =          troff ta makedev
  31 
  32 SUBDIRS =       tmac.d
  33 
  34 TAOBJS =        draw.o ta.o
  35 MAKEDEVOBJS =   makedev.o
  36 TROFFOBJS =     t10.o t6.o
  37 COMMONOBJS =    hytab.o n1.o n2.o n3.o n4.o n5.o                \
  38                 n7.o n8.o n9.o ni.o nii.o suftab.o
  39 
  40 SRCS =          $(TAOBJS:%.o=%.c) $(MAKEDEVOBJS:%.o=%.c)        \
  41                 $(TROFFOBJS:%.o=%.c) $(COMMONOBJS:%.o=../%.c)
  42 
  43 TXTS =          README maketables troff.sh
  44 
  45 CPPFLAGS =      -DUSG -DINCORE -I. -I.. $(CPPFLAGS.master)
  46 
  47 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  48 CERRWARN +=     -_gcc=-Wno-unused-variable
  49 CERRWARN +=     -_gcc=-Wno-parentheses
  50 CERRWARN +=     -_gcc=-Wno-uninitialized
  51 CERRWARN +=     -_gcc=-Wno-extra
  52 



  53 #
  54 # For message catalog
  55 #
  56 POFILES= $(TROFFOBJS:%.o=%.po) $(COMMONOBJS:%.o=../%.po)
  57 POFILE= troff.d.po
  58 
  59 # conditional assignments
  60 
  61 all :=          TARGET= all
  62 install :=      TARGET= install
  63 clean :=        TARGET= clean
  64 clobber :=      TARGET= clobber
  65 lint :=         TARGET= lint
  66 strip :=        TARGET= strip
  67 
  68 troff:=         POBJS=  $(COMMONOBJS) $(TROFFOBJS)
  69 ta:=            POBJS=  $(TAOBJS)
  70 makedev:=       POBJS=  $(MAKEDEVOBJS)
  71 
  72 ta:=            LDLIBS += -lm




   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/troff/troff.d/Makefile
  26 #
  27 # Copyright (c) 2018, Joyent, Inc.
  28 
  29 include         ../../Makefile.cmd
  30 
  31 PROG =          troff ta makedev
  32 
  33 SUBDIRS =       tmac.d
  34 
  35 TAOBJS =        draw.o ta.o
  36 MAKEDEVOBJS =   makedev.o
  37 TROFFOBJS =     t10.o t6.o
  38 COMMONOBJS =    hytab.o n1.o n2.o n3.o n4.o n5.o                \
  39                 n7.o n8.o n9.o ni.o nii.o suftab.o
  40 
  41 SRCS =          $(TAOBJS:%.o=%.c) $(MAKEDEVOBJS:%.o=%.c)        \
  42                 $(TROFFOBJS:%.o=%.c) $(COMMONOBJS:%.o=../%.c)
  43 
  44 TXTS =          README maketables troff.sh
  45 
  46 CPPFLAGS =      -DUSG -DINCORE -I. -I.. $(CPPFLAGS.master)
  47 
  48 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  49 CERRWARN +=     -_gcc=-Wno-unused-variable
  50 CERRWARN +=     -_gcc=-Wno-parentheses
  51 CERRWARN +=     -_gcc=-Wno-uninitialized
  52 CERRWARN +=     -_gcc=-Wno-extra
  53 
  54 # "parse error: parsing (i (9223372034707292160-96) >= 65)"
  55 SMATCH =        off
  56 
  57 #
  58 # For message catalog
  59 #
  60 POFILES= $(TROFFOBJS:%.o=%.po) $(COMMONOBJS:%.o=../%.po)
  61 POFILE= troff.d.po
  62 
  63 # conditional assignments
  64 
  65 all :=          TARGET= all
  66 install :=      TARGET= install
  67 clean :=        TARGET= clean
  68 clobber :=      TARGET= clobber
  69 lint :=         TARGET= lint
  70 strip :=        TARGET= strip
  71 
  72 troff:=         POBJS=  $(COMMONOBJS) $(TROFFOBJS)
  73 ta:=            POBJS=  $(TAOBJS)
  74 makedev:=       POBJS=  $(MAKEDEVOBJS)
  75 
  76 ta:=            LDLIBS += -lm