xref: /illumos-gate/usr/src/lib/libpri/Makefile.com (revision 5acbfd58b99f5441b5139785de11abc6090b4059)
1ef884685Srb144127#
2ef884685Srb144127# CDDL HEADER START
3ef884685Srb144127#
4ef884685Srb144127# The contents of this file are subject to the terms of the
5ef884685Srb144127# Common Development and Distribution License (the "License").
6ef884685Srb144127# You may not use this file except in compliance with the License.
7ef884685Srb144127#
8ef884685Srb144127# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9ef884685Srb144127# or http://www.opensolaris.org/os/licensing.
10ef884685Srb144127# See the License for the specific language governing permissions
11ef884685Srb144127# and limitations under the License.
12ef884685Srb144127#
13ef884685Srb144127# When distributing Covered Code, include this CDDL HEADER in each
14ef884685Srb144127# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15ef884685Srb144127# If applicable, add the following below this CDDL HEADER, with the
16ef884685Srb144127# fields enclosed by brackets "[]" replaced with your own identifying
17ef884685Srb144127# information: Portions Copyright [yyyy] [name of copyright owner]
18ef884685Srb144127#
19ef884685Srb144127# CDDL HEADER END
20ef884685Srb144127#
21ef884685Srb144127#
220bb07399SNick Todd# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23ef884685Srb144127# Use is subject to license terms.
24ef884685Srb144127#
25ef884685Srb144127
26ef884685Srb144127LIBRARY = libpri.a
27ef884685Srb144127VERS = .1
28ef884685Srb144127
29ef884685Srb144127LIBSRCS = pri.c
30ef884685Srb144127OBJECTS = $(LIBSRCS:%.c=%.o)
31ef884685Srb144127
32ef884685Srb144127include ../../Makefile.lib
33ef884685Srb144127
34241c90a0SRichard LoweLIBS = $(DYNLIB)
35ef884685Srb144127
36ef884685Srb144127SRCDIR = ../common
37ef884685Srb144127SRCS = $(LIBSRCS:%.c=$(SRCDIR)/%.c)
38ef884685Srb144127
39ef884685Srb144127CPPFLAGS += -I. -I$(SRC)/uts/sun4v
40*5acbfd58SToomas SoomeCFLAGS += $(C_BIGPICFLAGS)
41*5acbfd58SToomas SoomeCFLAGS64 += $(C_BIGPICFLAGS)
42ef884685Srb144127
43ef884685Srb144127LDLIBS += -lc
44ef884685Srb144127
45ef884685Srb144127.KEEP_STATE:
46ef884685Srb144127
47ef884685Srb144127all: $(LIBS)
48ef884685Srb144127
49ef884685Srb144127
50ef884685Srb144127pics/%.o: $(SRCDIR)/%.c
51ef884685Srb144127	$(COMPILE.c) -o $@ $<
52ef884685Srb144127	$(POST_PROCESS_O)
53ef884685Srb144127
54ef884685Srb144127include ../../Makefile.targ
55