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#
2405ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc.
2599ebb4caSwyllys
2699ebb4caSwyllysLIBRARY= libkmfberder.a
2799ebb4caSwyllysVERS= .1
2899ebb4caSwyllys
2999ebb4caSwyllysOBJECTS=\
3099ebb4caSwyllys	encode.o \
3199ebb4caSwyllys	decode.o \
3299ebb4caSwyllys	io.o \
3399ebb4caSwyllys	clasn1.o
3499ebb4caSwyllys
3599ebb4caSwyllysinclude $(SRC)/lib/Makefile.lib
36257873cfSJohn.Zolnowsky@Sun.COMinclude $(SRC)/lib/Makefile.rootfs
3799ebb4caSwyllys
3899ebb4caSwyllysSRCDIR=	../common
3999ebb4caSwyllysINCDIR=	../inc
4099ebb4caSwyllys
41*241c90a0SRichard LoweLIBS=	$(DYNLIB)
4299ebb4caSwyllys
4399ebb4caSwyllys
44494f7e12SKeith M WesolowskiCPPFLAGS	+=	-I$(ADJUNCT_PROTO)/usr/include/libxml2 \
45494f7e12SKeith M Wesolowski			-I$(INCDIR) -I../../include
46494f7e12SKeith M WesolowskiCPPFLAGS64	+=	-I$(ADJUNCT_PROTO)/usr/include/libxml2 \
47494f7e12SKeith M Wesolowski			-I$(INCDIR) -I../../include
4899ebb4caSwyllysLDLIBS		+=	-lc
4999ebb4caSwyllys
507014882cSRichard LoweCERRWARN	+=	-_gcc=-Wno-unused-label
517014882cSRichard Lowe
5205ede3dbSJohn Levon# not linted
5305ede3dbSJohn LevonSMATCH=off
5405ede3dbSJohn Levon
5599ebb4caSwyllys.KEEP_STATE:
5699ebb4caSwyllys
5799ebb4caSwyllysall:    $(LIBS)
5899ebb4caSwyllys
5999ebb4caSwyllys
6099ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
61