xref: /illumos-gate/usr/src/lib/libkmf/Makefile (revision 99ebb4ca412cb0a19d77a3899a87c055b9c30fa8)
1*99ebb4caSwyllys#
2*99ebb4caSwyllys# CDDL HEADER START
3*99ebb4caSwyllys#
4*99ebb4caSwyllys# The contents of this file are subject to the terms of the
5*99ebb4caSwyllys# Common Development and Distribution License (the "License").
6*99ebb4caSwyllys# You may not use this file except in compliance with the License.
7*99ebb4caSwyllys#
8*99ebb4caSwyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*99ebb4caSwyllys# or http://www.opensolaris.org/os/licensing.
10*99ebb4caSwyllys# See the License for the specific language governing permissions
11*99ebb4caSwyllys# and limitations under the License.
12*99ebb4caSwyllys#
13*99ebb4caSwyllys# When distributing Covered Code, include this CDDL HEADER in each
14*99ebb4caSwyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*99ebb4caSwyllys# If applicable, add the following below this CDDL HEADER, with the
16*99ebb4caSwyllys# fields enclosed by brackets "[]" replaced with your own identifying
17*99ebb4caSwyllys# information: Portions Copyright [yyyy] [name of copyright owner]
18*99ebb4caSwyllys#
19*99ebb4caSwyllys# CDDL HEADER END
20*99ebb4caSwyllys#
21*99ebb4caSwyllys# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
22*99ebb4caSwyllys# Use is subject to license terms.
23*99ebb4caSwyllys#
24*99ebb4caSwyllys# ident	"%Z%%M%	%I%	%E% SMI"
25*99ebb4caSwyllys#
26*99ebb4caSwyllys# KMF Prototype Makefile
27*99ebb4caSwyllys#
28*99ebb4caSwyllysinclude	../Makefile.lib
29*99ebb4caSwyllys
30*99ebb4caSwyllysLIBRARY=	libkmf.a
31*99ebb4caSwyllysVERS=		1
32*99ebb4caSwyllys
33*99ebb4caSwyllysSUBDIRS		=	ber_der libkmf plugins
34*99ebb4caSwyllys
35*99ebb4caSwyllysHDRS=	kmfapi.h kmftypes.h
36*99ebb4caSwyllysHDRDIR= include
37*99ebb4caSwyllys
38*99ebb4caSwyllysall :=          TARGET= all
39*99ebb4caSwyllysclean :=        TARGET= clean
40*99ebb4caSwyllysclobber :=      TARGET= clobber
41*99ebb4caSwyllysinstall :=      TARGET= install
42*99ebb4caSwyllyslint :=         TARGET= lint
43*99ebb4caSwyllysinstall_h :=    TARGET= install_h
44*99ebb4caSwyllys
45*99ebb4caSwyllysall clean clobber install lint:	$(SUBDIRS)
46*99ebb4caSwyllys
47*99ebb4caSwyllysinstall_h:	$(ROOTHDRDIR) $(ROOTHDRS)
48*99ebb4caSwyllys
49*99ebb4caSwyllyscheck: $(CHECKHDRS)
50*99ebb4caSwyllys
51*99ebb4caSwyllys$(SUBDIRS): install_h FRC
52*99ebb4caSwyllys	@cd $@; pwd; $(MAKE) $(TARGET)
53*99ebb4caSwyllys
54*99ebb4caSwyllysFRC:
55*99ebb4caSwyllys
56*99ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ
57