Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License, Version 1.0 only
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# (the "License"). You may not use this file except in compliance
7b67cfadd077feb0ec3e6c78385ba0d845a9789bMark Andrews# with the License.
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater# or http://www.opensolaris.org/os/licensing.
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# If applicable, add the following below this CDDL HEADER, with the
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater# CDDL HEADER END
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater# Use is subject to license terms.
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#ident "%Z%%M% %I% %E% SMI"
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# lib/pkcs11/Makefile
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninclude ../Makefile.lib
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsHDRS = cryptoki.h pkcs11.h pkcs11f.h pkcs11t.h
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonHDRDIR = include
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsROOTHDRDIR = $(ROOT)/usr/include/security
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# RSA PKCS#11 sourced header files won't pass hrdchk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCHECKHDRS = $(HDRDIR)/cryptoki.h
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterSUBDIRS = \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews libpkcs11
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater# Don't build these for OpenSolaris, since they will be replaced by
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# binaries that are signed by Sun RE.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater$(CLOSED_BUILD)SUBDIRS += \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews pkcs11_kernel \
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater pkcs11_softtoken
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# EXPORT DELETE START
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews$(CLOSED_BUILD)SUBDIRS += pkcs11_softtoken_extra
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# EXPORT DELETE END
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsall := TARGET= all
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsclean := TARGET= clean
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsclobber := TARGET= clobber
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall := TARGET= install
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewslint := TARGET= lint
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson.KEEP_STATE:
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updaterall clean clobber install lint: $(SUBDIRS)
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updaterinstall_h: $(ROOTHDRS)
55e03fc54708d97917bf26639b987f759bdc1f44Automatic Updater
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updatercheck: $(CHECKHDRS)
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont$(SUBDIRS): FRC
52367885450d8f61d4f2d63292beb15ba8f39ac7Automatic Updater @cd $@; pwd; $(MAKE) $(TARGET)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontFRC:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
52367885450d8f61d4f2d63292beb15ba8f39ac7Automatic Updater# EXPORT DELETE START
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic UpdaterEXPORT_SRC:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(RM) Makefile+
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater < Makefile > Makefile+
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater $(MV) -f Makefile+ Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(CHMOD) 444 Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# EXPORT DELETE END
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsinclude ../Makefile.targ
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews