Print this page
10080 smatch Makefile changes for usr/src/cmd
   1 #
   2 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 #

   5 
   6 PROG= kdestroy
   7 
   8 OBJS    = kdestroy.o krpc_sys.o
   9 
  10 SRCS    = kdestroy.c krpc_sys.c
  11 
  12 include ../../Makefile.cmd
  13 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  14 
  15 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  16 CERRWARN += -_gcc=-Wno-parentheses
  17 



  18 POFILE = kdestroy.po 
  19 POFILES = generic.po 
  20 
  21 CPPFLAGS += -I../../../lib/gss_mechs/mech_krb5/include \
  22                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  23 
  24 
  25 i386_CPPFLAGS =
  26 sparc_CPPFLAGS += -D$(MACH)
  27 
  28 LDFLAGS += $(KRUNPATH)
  29 LDLIBS += $(KMECHLIB)
  30 
  31 .KEEP_STATE:
  32 all: $(PROG)
  33 
  34 krpc_sys.o: krpc_sys.c 
  35         $(COMPILE.c)  -o  $@ krpc_sys.c
  36         $(POST_PROCESS_O)
  37 


   1 #
   2 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 #
   5 # Copyright (c) 2018, Joyent, Inc.
   6 
   7 PROG= kdestroy
   8 
   9 OBJS    = kdestroy.o krpc_sys.o
  10 
  11 SRCS    = kdestroy.c krpc_sys.c
  12 
  13 include ../../Makefile.cmd
  14 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  15 
  16 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  17 CERRWARN += -_gcc=-Wno-parentheses
  18 
  19 # not linted
  20 SMATCH=off
  21 
  22 POFILE = kdestroy.po 
  23 POFILES = generic.po 
  24 
  25 CPPFLAGS += -I../../../lib/gss_mechs/mech_krb5/include \
  26                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  27 
  28 
  29 i386_CPPFLAGS =
  30 sparc_CPPFLAGS += -D$(MACH)
  31 
  32 LDFLAGS += $(KRUNPATH)
  33 LDLIBS += $(KMECHLIB)
  34 
  35 .KEEP_STATE:
  36 all: $(PROG)
  37 
  38 krpc_sys.o: krpc_sys.c 
  39         $(COMPILE.c)  -o  $@ krpc_sys.c
  40         $(POST_PROCESS_O)
  41