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