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 
   7 PROG= klist
   8 
   9 OUTPUT_OPTION = -I. 
  10 
  11 OBJS    = klist.o                       
  12 SRCS    = $(OBJS:.o=.c)
  13 
  14 include ../../Makefile.cmd
  15 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  16 
  17 TEXT_DOMAIN = SUNW_OST_OSCMD
  18 POFILE = klist.po
  19 POFILES = generic.po
  20 
  21 DEFS = -DHAVE_GETIPNODEBYADDR=1 -DHAVE_INET_NTOP=1
  22 
  23 CPPFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  24                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  25                 $(DEFS)
  26 
  27 LDFLAGS += $(KRUNPATH)
  28 LDLIBS += $(KMECHLIB)
  29 CERRWARN += -_gcc=-Wno-unused-function
  30 



  31 $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50 
  32 
  33 .KEEP_STATE:
  34 
  35 all: $(PROG)
  36 
  37 $(PROG):       $(OBJS)  
  38         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  39         $(POST_PROCESS)
  40 
  41 install: $(KRB5PROG)
  42 
  43 install_h:
  44 
  45 clean:
  46         $(RM) $(OBJS)
  47 
  48 lint: lint_SRCS
  49 
  50 include ../../Makefile.targ
   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= klist
   8 
   9 OUTPUT_OPTION = -I. 
  10 
  11 OBJS    = klist.o                       
  12 SRCS    = $(OBJS:.o=.c)
  13 
  14 include ../../Makefile.cmd
  15 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  16 
  17 TEXT_DOMAIN = SUNW_OST_OSCMD
  18 POFILE = klist.po
  19 POFILES = generic.po
  20 
  21 DEFS = -DHAVE_GETIPNODEBYADDR=1 -DHAVE_INET_NTOP=1
  22 
  23 CPPFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  24                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  25                 $(DEFS)
  26 
  27 LDFLAGS += $(KRUNPATH)
  28 LDLIBS += $(KMECHLIB)
  29 CERRWARN += -_gcc=-Wno-unused-function
  30 
  31 # not linted
  32 SMATCH=off
  33 
  34 $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50 
  35 
  36 .KEEP_STATE:
  37 
  38 all: $(PROG)
  39 
  40 $(PROG):       $(OBJS)  
  41         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  42         $(POST_PROCESS)
  43 
  44 install: $(KRB5PROG)
  45 
  46 install_h:
  47 
  48 clean:
  49         $(RM) $(OBJS)
  50 
  51 lint: lint_SRCS
  52 
  53 include ../../Makefile.targ