17c478bd9Sstevel@tonic-gate#
224da5b34Srie# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
324da5b34Srie#  Use is subject to license terms.
47c478bd9Sstevel@tonic-gate#
5*5661bb76SJohn 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
1424da5b34SrieLDFLAGS +=	$(MAPFILE.NGB:%=-M%)
157014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-value
167014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-trigraphs
177c478bd9Sstevel@tonic-gate
18*5661bb76SJohn Levon# not linted
19*5661bb76SJohn LevonSMATCH=off
20*5661bb76SJohn 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-gatelint:
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gateinclude		../../../Makefile.targ
33