xref: /illumos-gate/usr/src/lib/libkmf/Makefile (revision 82496103dc7749da27d989495d92566a426c2815)
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#
2199ebb4caSwyllys# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2299ebb4caSwyllys# Use is subject to license terms.
2399ebb4caSwyllys#
2499ebb4caSwyllys# ident	"%Z%%M%	%I%	%E% SMI"
2599ebb4caSwyllys#
2699ebb4caSwyllys# KMF Prototype Makefile
2799ebb4caSwyllys#
2899ebb4caSwyllysinclude	../Makefile.lib
2999ebb4caSwyllys
3099ebb4caSwyllysLIBRARY=	libkmf.a
3199ebb4caSwyllysVERS=		1
3299ebb4caSwyllys
3399ebb4caSwyllysSUBDIRS		=	ber_der libkmf plugins
3499ebb4caSwyllys
3599ebb4caSwyllysHDRS=	kmfapi.h kmftypes.h
3699ebb4caSwyllysHDRDIR= include
3799ebb4caSwyllys
3899ebb4caSwyllysall :=          TARGET= all
3999ebb4caSwyllysclean :=        TARGET= clean
4099ebb4caSwyllysclobber :=      TARGET= clobber
4199ebb4caSwyllysinstall :=      TARGET= install
4299ebb4caSwyllyslint :=         TARGET= lint
4399ebb4caSwyllysinstall_h :=    TARGET= install_h
4499ebb4caSwyllys
45*82496103Swyllysall install: install_h $(SUBDIRS)
46*82496103Swyllys
47*82496103Swyllysclean clobber lint:	$(SUBDIRS)
4899ebb4caSwyllys
4999ebb4caSwyllysinstall_h:	$(ROOTHDRDIR) $(ROOTHDRS)
5099ebb4caSwyllys
5199ebb4caSwyllyscheck: $(CHECKHDRS)
5299ebb4caSwyllys
53*82496103Swyllys$(SUBDIRS): FRC
5499ebb4caSwyllys	@cd $@; pwd; $(MAKE) $(TARGET)
5599ebb4caSwyllys
5699ebb4caSwyllysFRC:
5799ebb4caSwyllys
5899ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
59