1 #
   2 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
   3 #  Use is subject to license terms.
   4 #
   5 # Copyright (c) 2018, Joyent, Inc.
   6 
   7 PROG=           chat
   8 OBJS=           chat.o
   9 SRCS=           $(OBJS:%.o=%.c)
  10 
  11 include         ../../../Makefile.cmd
  12 
  13 CPPFLAGS +=     -DSOL2
  14 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  15 CERRWARN +=     -_gcc=-Wno-unused-value
  16 CERRWARN +=     -_gcc=-Wno-trigraphs
  17 
  18 # not linted
  19 SMATCH=off
  20 
  21 .KEEP_STATE:
  22 
  23 all: $(PROG)
  24 
  25 install: all $(ROOTPROG)
  26 
  27 clean:
  28         $(RM) $(OBJS)
  29 
  30 lint:   
  31 
  32 include         ../../../Makefile.targ