dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libkmf / Makefile
blob244cf752b83b921bf37f25655bd523a194afa30b
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) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23 # KMF Prototype Makefile
25 include ../Makefile.lib
27 LIBRARY= libkmf.a
28 VERS= 1
30 SUBDIRS = ber_der libkmf plugins mappers
32 HDRS= kmfapi.h kmftypes.h
33 HDRDIR= include
35 all := TARGET= all
36 clean := TARGET= clean
37 clobber := TARGET= clobber
38 install := TARGET= install
39 install_h := TARGET= install_h
41 all install: install_h $(SUBDIRS) THIRDPARTYLICENSE
43 clean clobber: $(SUBDIRS)
45 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
47 check: $(CHECKHDRS)
49 $(SUBDIRS): FRC
50 @cd $@; pwd; $(MAKE) $(TARGET)
52 FRC:
54 THIRDPARTYLICENSE: cdsa_license.txt
55 $(SED) -n '/Intel Open Source/,$$p' cdsa_license.txt > $@
57 CLOBBERFILES += THIRDPARTYLICENSE
59 include $(SRC)/lib/Makefile.targ