xref: /illumos-gate/usr/src/lib/libv12n/Makefile.com (revision 82629e3015252bf18319ba3815c773df23e21436)
1*82629e30SMike Christensen#
2*82629e30SMike Christensen# CDDL HEADER START
3*82629e30SMike Christensen#
4*82629e30SMike Christensen# The contents of this file are subject to the terms of the
5*82629e30SMike Christensen# Common Development and Distribution License (the "License").
6*82629e30SMike Christensen# You may not use this file except in compliance with the License.
7*82629e30SMike Christensen#
8*82629e30SMike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*82629e30SMike Christensen# or http://www.opensolaris.org/os/licensing.
10*82629e30SMike Christensen# See the License for the specific language governing permissions
11*82629e30SMike Christensen# and limitations under the License.
12*82629e30SMike Christensen#
13*82629e30SMike Christensen# When distributing Covered Code, include this CDDL HEADER in each
14*82629e30SMike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*82629e30SMike Christensen# If applicable, add the following below this CDDL HEADER, with the
16*82629e30SMike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
17*82629e30SMike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
18*82629e30SMike Christensen#
19*82629e30SMike Christensen# CDDL HEADER END
20*82629e30SMike Christensen#
21*82629e30SMike Christensen#
22*82629e30SMike Christensen# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23*82629e30SMike Christensen# Use is subject to license terms.
24*82629e30SMike Christensen#
25*82629e30SMike Christensen#
26*82629e30SMike Christensen
27*82629e30SMike ChristensenLIBRARY = libv12n.a
28*82629e30SMike ChristensenVERS = .1
29*82629e30SMike Christensen
30*82629e30SMike ChristensenOBJECTS = $(MACHCOBJS) $(CMNOBJS)
31*82629e30SMike Christensen
32*82629e30SMike Christenseninclude ../../Makefile.lib
33*82629e30SMike Christensen
34*82629e30SMike ChristensenLIBS = $(DYNLIB) $(LINTLIB)
35*82629e30SMike Christensen
36*82629e30SMike ChristensenSRCDIR = ../common
37*82629e30SMike ChristensenSRCS = $(MACHCOBJS:%.o=../$(MACH)/%.c)
38*82629e30SMike Christensen
39*82629e30SMike ChristensenCFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
40*82629e30SMike ChristensenCFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
41*82629e30SMike Christensen
42*82629e30SMike Christensen$(LINTLIB) :=	SRCS = ../common/llib-lv12n
43*82629e30SMike Christensen
44*82629e30SMike Christensen.KEEP_STATE:
45*82629e30SMike Christensen
46*82629e30SMike Christensenall: $(LIBS)
47*82629e30SMike Christensen
48*82629e30SMike Christensenlint: $(LINTLIB) lintcheck
49*82629e30SMike Christensen
50*82629e30SMike Christensenpics/%.o: ../$(MACH)/%.c
51*82629e30SMike Christensen	$(COMPILE.c) -o $@ $<
52*82629e30SMike Christensen	$(POST_PROCESS_O)
53*82629e30SMike Christensen
54*82629e30SMike Christenseninclude ../../Makefile.targ
55