17c478bd9Sstevel@tonic-gate# 224da5b34Srie# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 324da5b34Srie# Use is subject to license terms. 47c478bd9Sstevel@tonic-gate# 55661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 67c478bd9Sstevel@tonic-gate 77c478bd9Sstevel@tonic-gatePROG= chat 87c478bd9Sstevel@tonic-gateOBJS= chat.o 97c478bd9Sstevel@tonic-gateSRCS= $(OBJS:%.o=%.c) 107c478bd9Sstevel@tonic-gate 117c478bd9Sstevel@tonic-gateinclude ../../../Makefile.cmd 127c478bd9Sstevel@tonic-gate 137c478bd9Sstevel@tonic-gateCPPFLAGS += -DSOL2 14*85f4cb87SRichard LoweLDFLAGS += $(MAPFILE.NGB:%=-Wl,-M%) 157014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-value 167014882cSRichard LoweCERRWARN += -_gcc=-Wno-trigraphs 177c478bd9Sstevel@tonic-gate 185661bb76SJohn Levon# not linted 195661bb76SJohn LevonSMATCH=off 205661bb76SJohn Levon 217c478bd9Sstevel@tonic-gate.KEEP_STATE: 227c478bd9Sstevel@tonic-gate 237c478bd9Sstevel@tonic-gateall: $(PROG) 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gateinstall: all $(ROOTPROG) 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gateclean: 287c478bd9Sstevel@tonic-gate $(RM) $(OBJS) 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gateinclude ../../../Makefile.targ 31