Print this page
10080 smatch Makefile changes for usr/src/cmd


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

  26 
  27 include         ../Makefile.cmd
  28 
  29 PROG1 =         refer addbib lookbib sortbib
  30 PROG2 =         roffbib indxbib
  31 PROG3 =         mkey inv hunt
  32 PROG =          $(PROG1) $(PROG2)
  33 
  34 OBJS =          addbib.o deliv2.o glue1.o glue2.o glue3.o glue4.o       \
  35                 glue5.o hunt1.o hunt2.o hunt3.o hunt5.o hunt6.o         \
  36                 hunt7.o hunt8.o inv1.o inv2.o inv3.o            \
  37                 inv5.o inv6.o lookbib.o mkey1.o mkey2.o mkey3.o         \
  38                 refer..o refer0.o refer1.o refer2.o refer3.o refer4.o   \
  39                 refer5.o refer6.o refer7.o refer8.o shell.o sortbib.o   \
  40                 tick.o types.o
  41 
  42 #
  43 # for messaging catalog
  44 #
  45 POFILES= $(OBJS:%.o=%.po)
  46 POFILE= refer.po
  47 
  48 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  49 CERRWARN += -_gcc=-Wno-parentheses
  50 CERRWARN += -_gcc=-Wno-unused-variable
  51 CERRWARN += -_gcc=-Wno-uninitialized
  52 



  53 CLOBBERFILES += $(PROG3)
  54 
  55 addbib.po :=    XGETFLAGS += -a -x addbib.xcl
  56 
  57 
  58 OTXTS =         tmac.bib
  59 
  60 REFDIR =        $(ROOTLIB)/refer
  61 TMACDIR =       $(ROOTSHLIB)/tmac
  62 #Don't re-install dir already installed by Targetdirs
  63 #ROOTDIRS =     $(REFDIR) $(TMACDIR)
  64 ROOTDIRS =     $(REFDIR)
  65 
  66 SUBDIRS =       papers
  67 
  68 REFDIRPROG =    $(PROG3:%=$(REFDIR)/%)
  69 IOTXTS =        $(OTXTS:%=$(TMACDIR)/%)
  70 
  71 $(IOTXTS):=     FILEMODE = 0644
  72 




   6 # (the "License").  You may not use this file except in compliance
   7 # with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.
  27 
  28 include         ../Makefile.cmd
  29 
  30 PROG1 =         refer addbib lookbib sortbib
  31 PROG2 =         roffbib indxbib
  32 PROG3 =         mkey inv hunt
  33 PROG =          $(PROG1) $(PROG2)
  34 
  35 OBJS =          addbib.o deliv2.o glue1.o glue2.o glue3.o glue4.o       \
  36                 glue5.o hunt1.o hunt2.o hunt3.o hunt5.o hunt6.o         \
  37                 hunt7.o hunt8.o inv1.o inv2.o inv3.o            \
  38                 inv5.o inv6.o lookbib.o mkey1.o mkey2.o mkey3.o         \
  39                 refer..o refer0.o refer1.o refer2.o refer3.o refer4.o   \
  40                 refer5.o refer6.o refer7.o refer8.o shell.o sortbib.o   \
  41                 tick.o types.o
  42 
  43 #
  44 # for messaging catalog
  45 #
  46 POFILES= $(OBJS:%.o=%.po)
  47 POFILE= refer.po
  48 
  49 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  50 CERRWARN += -_gcc=-Wno-parentheses
  51 CERRWARN += -_gcc=-Wno-unused-variable
  52 CERRWARN += -_gcc=-Wno-uninitialized
  53 
  54 # not linted
  55 SMATCH=off
  56 
  57 CLOBBERFILES += $(PROG3)
  58 
  59 addbib.po :=    XGETFLAGS += -a -x addbib.xcl
  60 
  61 
  62 OTXTS =         tmac.bib
  63 
  64 REFDIR =        $(ROOTLIB)/refer
  65 TMACDIR =       $(ROOTSHLIB)/tmac
  66 #Don't re-install dir already installed by Targetdirs
  67 #ROOTDIRS =     $(REFDIR) $(TMACDIR)
  68 ROOTDIRS =     $(REFDIR)
  69 
  70 SUBDIRS =       papers
  71 
  72 REFDIRPROG =    $(PROG3:%=$(REFDIR)/%)
  73 IOTXTS =        $(OTXTS:%=$(TMACDIR)/%)
  74 
  75 $(IOTXTS):=     FILEMODE = 0644
  76