dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / pkcs11 / Makefile
blob80180d2c457dad89ac1e540e745b89f7b6968258
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
23 # lib/pkcs11/Makefile
25 include ../Makefile.lib
27 HDRS = cryptoki.h pkcs11.h pkcs11f.h pkcs11t.h
28 HDRDIR = include
29 ROOTHDRDIR = $(ROOT)/usr/include/security
31 # RSA PKCS#11 sourced header files won't pass hrdchk
32 CHECKHDRS = $(HDRDIR)/cryptoki.h
34 SUBDIRS = \
35 libpkcs11 \
36 libsoftcrypto \
37 libkcfd \
38 pkcs11_kernel \
39 pkcs11_softtoken
41 all := TARGET= all
42 clean := TARGET= clean
43 clobber := TARGET= clobber
44 install := TARGET= install
46 .KEEP_STATE:
48 all clean clobber install: $(SUBDIRS)
50 install_h: $(ROOTHDRS)
52 check: $(CHECKHDRS)
55 $(SUBDIRS): FRC
56 @cd $@; pwd; $(MAKE) $(TARGET)
58 FRC:
60 include ../Makefile.targ