Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# CDDL HEADER START
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# The contents of this file are subject to the terms of the
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# Common Development and Distribution License (the "License").
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# You may not use this file except in compliance with the License.
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# See the License for the specific language governing permissions
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# and limitations under the License.
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# When distributing Covered Code, include this CDDL HEADER in each
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# CDDL HEADER END
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# Use is subject to license terms.
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# ident "%Z%%M% %I% %E% SMI"
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# There should be a mapfile here
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellatoLINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_NAME_DEF_NOT_USED2
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellatoLINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_NAME_DEF_NOT_USED2
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# Override PMAP dependency
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# Rules for making shared objects out of .c files. Works well if
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato# we have a one-to-one mapping. Applies in all cases so far.
d5f5d30fc15de8bf910d2b33679ee8880742ff72gbellato $(CC) $(CPPFLAGS) $(CFLAGS) $(DYNFLAGS) $(GSHARED) -o $@ $< $(LDLIBS)