xref: /onnv-gate/usr/src/lib/libkmf/Makefile (revision 12611:d9f75b73c5fd)
13089Swyllys#
23089Swyllys# CDDL HEADER START
33089Swyllys#
43089Swyllys# The contents of this file are subject to the terms of the
53089Swyllys# Common Development and Distribution License (the "License").
63089Swyllys# You may not use this file except in compliance with the License.
73089Swyllys#
83089Swyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93089Swyllys# or http://www.opensolaris.org/os/licensing.
103089Swyllys# See the License for the specific language governing permissions
113089Swyllys# and limitations under the License.
123089Swyllys#
133089Swyllys# When distributing Covered Code, include this CDDL HEADER in each
143089Swyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153089Swyllys# If applicable, add the following below this CDDL HEADER, with the
163089Swyllys# fields enclosed by brackets "[]" replaced with your own identifying
173089Swyllys# information: Portions Copyright [yyyy] [name of copyright owner]
183089Swyllys#
193089Swyllys# CDDL HEADER END
203089Swyllys#
21*12611SJan.Pechanec@Sun.COM# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
223089Swyllys#
233089Swyllys# KMF Prototype Makefile
243089Swyllys#
253089Swyllysinclude	../Makefile.lib
263089Swyllys
273089SwyllysLIBRARY=	libkmf.a
283089SwyllysVERS=		1
293089Swyllys
30*12611SJan.Pechanec@Sun.COMSUBDIRS	=	ber_der libkmf plugins mappers
313089Swyllys
323089SwyllysHDRS=	kmfapi.h kmftypes.h
333089SwyllysHDRDIR= include
343089Swyllys
353089Swyllysall :=          TARGET= all
363089Swyllysclean :=        TARGET= clean
373089Swyllysclobber :=      TARGET= clobber
383089Swyllysinstall :=      TARGET= install
393089Swyllyslint :=         TARGET= lint
403089Swyllysinstall_h :=    TARGET= install_h
413089Swyllys
424162Skupferall install: install_h $(SUBDIRS) THIRDPARTYLICENSE
433098Swyllys
443098Swyllysclean clobber lint:	$(SUBDIRS)
453089Swyllys
463089Swyllysinstall_h:	$(ROOTHDRDIR) $(ROOTHDRS)
473089Swyllys
483089Swyllyscheck: $(CHECKHDRS)
493089Swyllys
503098Swyllys$(SUBDIRS): FRC
513089Swyllys	@cd $@; pwd; $(MAKE) $(TARGET)
523089Swyllys
533089SwyllysFRC:
543089Swyllys
554162SkupferTHIRDPARTYLICENSE: cdsa_license.txt
564162Skupfer	$(SED) -n '/Intel Open Source/,$$p' cdsa_license.txt > $@
574162Skupfer
584162SkupferCLOBBERFILES += THIRDPARTYLICENSE
594162Skupfer
603089Swyllysinclude $(SRC)/lib/Makefile.targ
61