ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb# CDDL HEADER START
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb# The contents of this file are subject to the terms of the
ef8846857fcf954444cdc77e72249afef48377d2rb# Common Development and Distribution License (the "License").
ef8846857fcf954444cdc77e72249afef48377d2rb# You may not use this file except in compliance with the License.
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ef8846857fcf954444cdc77e72249afef48377d2rb# or http://www.opensolaris.org/os/licensing.
ef8846857fcf954444cdc77e72249afef48377d2rb# See the License for the specific language governing permissions
ef8846857fcf954444cdc77e72249afef48377d2rb# and limitations under the License.
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb# When distributing Covered Code, include this CDDL HEADER in each
ef8846857fcf954444cdc77e72249afef48377d2rb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ef8846857fcf954444cdc77e72249afef48377d2rb# If applicable, add the following below this CDDL HEADER, with the
ef8846857fcf954444cdc77e72249afef48377d2rb# fields enclosed by brackets "[]" replaced with your own identifying
ef8846857fcf954444cdc77e72249afef48377d2rb# information: Portions Copyright [yyyy] [name of copyright owner]
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb# CDDL HEADER END
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb#
0bb073995ac5a95bd35f2dd790df1ea3d8c2d507Nick Todd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
ef8846857fcf954444cdc77e72249afef48377d2rb# Use is subject to license terms.
ef8846857fcf954444cdc77e72249afef48377d2rb#
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbLIBRARY = libpri.a
ef8846857fcf954444cdc77e72249afef48377d2rbVERS = .1
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbLIBSRCS = pri.c
ef8846857fcf954444cdc77e72249afef48377d2rbOBJECTS = $(LIBSRCS:%.c=%.o)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbinclude ../../Makefile.lib
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbLIBS = $(DYNLIB) $(LINTLIB)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbSRCDIR = ../common
ef8846857fcf954444cdc77e72249afef48377d2rbSRCS = $(LIBSRCS:%.c=$(SRCDIR)/%.c)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbCPPFLAGS += -I. -I$(SRC)/uts/sun4v
ef8846857fcf954444cdc77e72249afef48377d2rbCFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
ef8846857fcf954444cdc77e72249afef48377d2rbCFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbLDLIBS += -lc
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbLINTFLAGS = -msux
0bb073995ac5a95bd35f2dd790df1ea3d8c2d507Nick ToddLINTFLAGS64 = -msux -m64
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb$(LINTLIB) := SRCS = $(LINTSRC:%=$(SRCDIR)/%)
ef8846857fcf954444cdc77e72249afef48377d2rb$(LINTLIB) := LINTFLAGS = -nsvx -I$(ROOT)/usr/platform/sun4v/include
0bb073995ac5a95bd35f2dd790df1ea3d8c2d507Nick Todd$(LINTLIB) := LINTFLAGS64 = -nsvx -m64 \
ef8846857fcf954444cdc77e72249afef48377d2rb -I$(ROOT)/usr/platform/sun4v/include
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb.KEEP_STATE:
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rball: $(LIBS)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rblint: $(LINTLIB) lintcheck
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbpics/%.o: $(SRCDIR)/%.c
ef8846857fcf954444cdc77e72249afef48377d2rb $(COMPILE.c) -o $@ $<
ef8846857fcf954444cdc77e72249afef48377d2rb $(POST_PROCESS_O)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rbinclude ../../Makefile.targ