xref: /onnv-gate/usr/src/cmd/avs/errgen/Makefile (revision 9093:cd587b0bd19c)
17836SJohn.Forte@Sun.COM# CDDL HEADER START
27836SJohn.Forte@Sun.COM#
37836SJohn.Forte@Sun.COM# The contents of this file are subject to the terms of the
47836SJohn.Forte@Sun.COM# Common Development and Distribution License (the "License").
57836SJohn.Forte@Sun.COM# You may not use this file except in compliance with the License.
67836SJohn.Forte@Sun.COM#
77836SJohn.Forte@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87836SJohn.Forte@Sun.COM# or http://www.opensolaris.org/os/licensing.
97836SJohn.Forte@Sun.COM# See the License for the specific language governing permissions
107836SJohn.Forte@Sun.COM# and limitations under the License.
117836SJohn.Forte@Sun.COM#
127836SJohn.Forte@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
137836SJohn.Forte@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147836SJohn.Forte@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
157836SJohn.Forte@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
167836SJohn.Forte@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
177836SJohn.Forte@Sun.COM#
187836SJohn.Forte@Sun.COM# CDDL HEADER END
197836SJohn.Forte@Sun.COM#
207836SJohn.Forte@Sun.COM#
21*9093SRamana.Srikanth@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
227836SJohn.Forte@Sun.COM# Use is subject to license terms.
237836SJohn.Forte@Sun.COM#
247836SJohn.Forte@Sun.COMDYNPROG=	errgen
257836SJohn.Forte@Sun.COM
267836SJohn.Forte@Sun.COMinclude ../../Makefile.cmd
277836SJohn.Forte@Sun.COMinclude ../Makefile.com
287836SJohn.Forte@Sun.COM
297836SJohn.Forte@Sun.COMPROG=	$(DYNPROG)
307836SJohn.Forte@Sun.COM
317836SJohn.Forte@Sun.COMOBJS=	errgen.o
327836SJohn.Forte@Sun.COM
33*9093SRamana.Srikanth@Sun.COMCFLAGS += $(CCVERBOSE)
347836SJohn.Forte@Sun.COMLINTFLAGS += -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
357836SJohn.Forte@Sun.COM
367836SJohn.Forte@Sun.COM.KEEP_STATE:
377836SJohn.Forte@Sun.COM
387836SJohn.Forte@Sun.COM.PARALLEL: $(OBJS)
397836SJohn.Forte@Sun.COM
407836SJohn.Forte@Sun.COMall: $(PROG)
417836SJohn.Forte@Sun.COM
42*9093SRamana.Srikanth@Sun.COMinstall: all
437836SJohn.Forte@Sun.COM
447836SJohn.Forte@Sun.COMlint:	lint_PROG
457836SJohn.Forte@Sun.COM
467836SJohn.Forte@Sun.COMclean:
477836SJohn.Forte@Sun.COM	$(RM) *.o $(POFILE)
487836SJohn.Forte@Sun.COM
497836SJohn.Forte@Sun.COM$(PROG):	$(OBJS)
50*9093SRamana.Srikanth@Sun.COM	$(NATIVECC) $(CFLAGS) $(OBJS) -o $@
517836SJohn.Forte@Sun.COM	$(POST_PROCESS)
527836SJohn.Forte@Sun.COM
537836SJohn.Forte@Sun.COMinclude	../../Makefile.targ
54