xref: /illumos-gate/usr/src/lib/libv12n/Makefile.com (revision d3b5f56344d8bfcdd6cfb82446af0e5e55ad9ebe)
182629e30SMike Christensen#
282629e30SMike Christensen# CDDL HEADER START
382629e30SMike Christensen#
482629e30SMike Christensen# The contents of this file are subject to the terms of the
582629e30SMike Christensen# Common Development and Distribution License (the "License").
682629e30SMike Christensen# You may not use this file except in compliance with the License.
782629e30SMike Christensen#
882629e30SMike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
982629e30SMike Christensen# or http://www.opensolaris.org/os/licensing.
1082629e30SMike Christensen# See the License for the specific language governing permissions
1182629e30SMike Christensen# and limitations under the License.
1282629e30SMike Christensen#
1382629e30SMike Christensen# When distributing Covered Code, include this CDDL HEADER in each
1482629e30SMike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1582629e30SMike Christensen# If applicable, add the following below this CDDL HEADER, with the
1682629e30SMike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
1782629e30SMike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
1882629e30SMike Christensen#
1982629e30SMike Christensen# CDDL HEADER END
2082629e30SMike Christensen#
2182629e30SMike Christensen#
2282629e30SMike Christensen# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
2382629e30SMike Christensen# Use is subject to license terms.
2482629e30SMike Christensen#
2582629e30SMike Christensen#
2682629e30SMike Christensen
2782629e30SMike ChristensenLIBRARY = libv12n.a
2882629e30SMike ChristensenVERS = .1
2982629e30SMike Christensen
3082629e30SMike ChristensenOBJECTS = $(MACHCOBJS) $(CMNOBJS)
3182629e30SMike Christensen
3282629e30SMike Christenseninclude ../../Makefile.lib
3382629e30SMike Christensen
3482629e30SMike ChristensenLIBS = $(DYNLIB) $(LINTLIB)
3582629e30SMike Christensen
3682629e30SMike ChristensenSRCDIR = ../common
3782629e30SMike ChristensenSRCS = $(MACHCOBJS:%.o=../$(MACH)/%.c)
3882629e30SMike Christensen
3982629e30SMike ChristensenCFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
4082629e30SMike ChristensenCFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
4182629e30SMike Christensen
42*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT)
437014882cSRichard Lowe
4482629e30SMike Christensen$(LINTLIB) :=	SRCS = ../common/llib-lv12n
4582629e30SMike Christensen
4682629e30SMike Christensen.KEEP_STATE:
4782629e30SMike Christensen
4882629e30SMike Christensenall: $(LIBS)
4982629e30SMike Christensen
5082629e30SMike Christensenlint: $(LINTLIB) lintcheck
5182629e30SMike Christensen
5282629e30SMike Christensenpics/%.o: ../$(MACH)/%.c
5382629e30SMike Christensen	$(COMPILE.c) -o $@ $<
5482629e30SMike Christensen	$(POST_PROCESS_O)
5582629e30SMike Christensen
5682629e30SMike Christenseninclude ../../Makefile.targ
57