17c478bd9Sstevel@tonic-gate#
224da5b34Srie# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
324da5b34Srie#  Use is subject to license terms.
47c478bd9Sstevel@tonic-gate#
57c478bd9Sstevel@tonic-gate
67c478bd9Sstevel@tonic-gatePROG=		chat
77c478bd9Sstevel@tonic-gateOBJS=		chat.o
87c478bd9Sstevel@tonic-gateSRCS=		$(OBJS:%.o=%.c)
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gateinclude		../../../Makefile.cmd
117c478bd9Sstevel@tonic-gate
127c478bd9Sstevel@tonic-gateCPPFLAGS +=	-DSOL2
1324da5b34SrieLDFLAGS +=	$(MAPFILE.NGB:%=-M%)
14*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-value
15*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-trigraphs
167c478bd9Sstevel@tonic-gate
177c478bd9Sstevel@tonic-gate.KEEP_STATE:
187c478bd9Sstevel@tonic-gate
197c478bd9Sstevel@tonic-gateall: $(PROG)
207c478bd9Sstevel@tonic-gate
217c478bd9Sstevel@tonic-gateinstall: all $(ROOTPROG)
227c478bd9Sstevel@tonic-gate
237c478bd9Sstevel@tonic-gateclean:
247c478bd9Sstevel@tonic-gate	$(RM) $(OBJS)
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gatelint:
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gateinclude		../../../Makefile.targ
29