xref: /illumos-gate/usr/src/lib/libkmf/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
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#
21269e59f9SJan Pechanec# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
2299ebb4caSwyllys#
2399ebb4caSwyllys# KMF Prototype Makefile
2499ebb4caSwyllys#
2599ebb4caSwyllysinclude	../Makefile.lib
2699ebb4caSwyllys
2799ebb4caSwyllysLIBRARY=	libkmf.a
2899ebb4caSwyllysVERS=		1
2999ebb4caSwyllys
30269e59f9SJan PechanecSUBDIRS	=	ber_der libkmf plugins mappers
3199ebb4caSwyllys
3299ebb4caSwyllysHDRS=	kmfapi.h kmftypes.h
3399ebb4caSwyllysHDRDIR= include
3499ebb4caSwyllys
3599ebb4caSwyllysall :=          TARGET= all
3699ebb4caSwyllysclean :=        TARGET= clean
3799ebb4caSwyllysclobber :=      TARGET= clobber
3899ebb4caSwyllysinstall :=      TARGET= install
3999ebb4caSwyllysinstall_h :=    TARGET= install_h
4099ebb4caSwyllys
414e5b757fSkupferall install: install_h $(SUBDIRS) THIRDPARTYLICENSE
4282496103Swyllys
43*241c90a0SRichard Loweclean clobber:	$(SUBDIRS)
4499ebb4caSwyllys
4599ebb4caSwyllysinstall_h:	$(ROOTHDRDIR) $(ROOTHDRS)
4699ebb4caSwyllys
4799ebb4caSwyllyscheck: $(CHECKHDRS)
4899ebb4caSwyllys
4982496103Swyllys$(SUBDIRS): FRC
5099ebb4caSwyllys	@cd $@; pwd; $(MAKE) $(TARGET)
5199ebb4caSwyllys
5299ebb4caSwyllysFRC:
5399ebb4caSwyllys
544e5b757fSkupferTHIRDPARTYLICENSE: cdsa_license.txt
554e5b757fSkupfer	$(SED) -n '/Intel Open Source/,$$p' cdsa_license.txt > $@
564e5b757fSkupfer
574e5b757fSkupferCLOBBERFILES += THIRDPARTYLICENSE
584e5b757fSkupfer
5999ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
60