xref: /titanic_52/usr/src/lib/libkmf/ber_der/Makefile.com (revision 494f7e12a62129ef191a15f9dfde6b7abe3bf510)
199ebb4caSwyllys#
299ebb4caSwyllys# CDDL HEADER START
399ebb4caSwyllys#
499ebb4caSwyllys# The contents of this file are subject to the terms of the
599ebb4caSwyllys# Common Development and Distribution License (the "License").
699ebb4caSwyllys# You may not use this file except in compliance with the License.
799ebb4caSwyllys#
899ebb4caSwyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
999ebb4caSwyllys# or http://www.opensolaris.org/os/licensing.
1099ebb4caSwyllys# See the License for the specific language governing permissions
1199ebb4caSwyllys# and limitations under the License.
1299ebb4caSwyllys#
1399ebb4caSwyllys# When distributing Covered Code, include this CDDL HEADER in each
1499ebb4caSwyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1599ebb4caSwyllys# If applicable, add the following below this CDDL HEADER, with the
1699ebb4caSwyllys# fields enclosed by brackets "[]" replaced with your own identifying
1799ebb4caSwyllys# information: Portions Copyright [yyyy] [name of copyright owner]
1899ebb4caSwyllys#
1999ebb4caSwyllys# CDDL HEADER END
2099ebb4caSwyllys#
21257873cfSJohn.Zolnowsky@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2299ebb4caSwyllys# Use is subject to license terms.
2399ebb4caSwyllys#
2499ebb4caSwyllys
2599ebb4caSwyllysLIBRARY= libkmfberder.a
2699ebb4caSwyllysVERS= .1
2799ebb4caSwyllys
2899ebb4caSwyllysOBJECTS=\
2999ebb4caSwyllys	encode.o \
3099ebb4caSwyllys	decode.o \
3199ebb4caSwyllys	io.o \
3299ebb4caSwyllys	clasn1.o
3399ebb4caSwyllys
3499ebb4caSwyllysinclude $(SRC)/lib/Makefile.lib
35257873cfSJohn.Zolnowsky@Sun.COMinclude $(SRC)/lib/Makefile.rootfs
3699ebb4caSwyllys
3799ebb4caSwyllysSRCDIR=	../common
3899ebb4caSwyllysINCDIR=	../inc
3999ebb4caSwyllys
4099ebb4caSwyllysLIBS=	$(DYNLIB) $(LINTLIB)
4199ebb4caSwyllys
4299ebb4caSwyllys$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
4399ebb4caSwyllys
4499ebb4caSwyllysCFLAGS		+=	$(CCVERBOSE) -xCC
4599ebb4caSwyllysCFLAGS64	+=	$(CCVERBOSE) -xCC
46*494f7e12SKeith M WesolowskiCPPFLAGS	+=	-I$(ADJUNCT_PROTO)/usr/include/libxml2 \
47*494f7e12SKeith M Wesolowski			-I$(INCDIR) -I../../include
48*494f7e12SKeith M WesolowskiCPPFLAGS64	+=	-I$(ADJUNCT_PROTO)/usr/include/libxml2 \
49*494f7e12SKeith M Wesolowski			-I$(INCDIR) -I../../include
5099ebb4caSwyllysLDLIBS		+=	-lc
5199ebb4caSwyllys
527014882cSRichard LoweCERRWARN	+=	-_gcc=-Wno-unused-label
537014882cSRichard Lowe
5499ebb4caSwyllys.KEEP_STATE:
5599ebb4caSwyllys
5699ebb4caSwyllysall:    $(LIBS)
5799ebb4caSwyllys
5899ebb4caSwyllyslint:	lintcheck
5999ebb4caSwyllys
6099ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
61