xref: /titanic_50/usr/src/lib/libkmf/Makefile (revision 269e59f9a28bf47e0f463e64fc5af4a408b73b21)
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#
21*269e59f9SJan 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
30*269e59f9SJan 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
3999ebb4caSwyllyslint :=         TARGET= lint
4099ebb4caSwyllysinstall_h :=    TARGET= install_h
4199ebb4caSwyllys
424e5b757fSkupferall install: install_h $(SUBDIRS) THIRDPARTYLICENSE
4382496103Swyllys
4482496103Swyllysclean clobber lint:	$(SUBDIRS)
4599ebb4caSwyllys
4699ebb4caSwyllysinstall_h:	$(ROOTHDRDIR) $(ROOTHDRS)
4799ebb4caSwyllys
4899ebb4caSwyllyscheck: $(CHECKHDRS)
4999ebb4caSwyllys
5082496103Swyllys$(SUBDIRS): FRC
5199ebb4caSwyllys	@cd $@; pwd; $(MAKE) $(TARGET)
5299ebb4caSwyllys
5399ebb4caSwyllysFRC:
5499ebb4caSwyllys
554e5b757fSkupferTHIRDPARTYLICENSE: cdsa_license.txt
564e5b757fSkupfer	$(SED) -n '/Intel Open Source/,$$p' cdsa_license.txt > $@
574e5b757fSkupfer
584e5b757fSkupferCLOBBERFILES += THIRDPARTYLICENSE
594e5b757fSkupfer
6099ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
61