Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
190N/A#
292N/A# CDDL HEADER START
292N/A#
292N/A# The contents of this file are subject to the terms of the
292N/A# Common Development and Distribution License, Version 1.0 only
292N/A# (the "License"). You may not use this file except in compliance
292N/A# with the License.
292N/A#
292N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
292N/A# or http://www.opensolaris.org/os/licensing.
292N/A# See the License for the specific language governing permissions
292N/A# and limitations under the License.
292N/A#
292N/A# When distributing Covered Code, include this CDDL HEADER in each
292N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
292N/A# If applicable, add the following below this CDDL HEADER, with the
292N/A# fields enclosed by brackets "[]" replaced with your own identifying
292N/A# information: Portions Copyright [yyyy] [name of copyright owner]
292N/A#
292N/A# CDDL HEADER END
292N/A#
292N/A#
292N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
292N/A# Use is subject to license terms.
292N/A#
292N/A# ident "%Z%%M% %I% %E% SMI"
292N/A#
292N/A
292N/ARELEASECERTS = SUNW_SunOS_5.10
292N/A
292N/AETCCRYPTOFILES = \
292N/A kcf.conf \
292N/A pkcs11.conf \
292N/A $(RELEASECERTS:%=certs/%) \
292N/A certs/CA
292N/A
292N/AETCCERTSFILES = \
292N/A $(RELEASECERTS) \
292N/A SUNWSolarisCA
292N/A
292N/Ainclude ../../Makefile.cmd
292N/A
292N/A.KEEP_STATE:
190N/A
190N/AROOTCRYPTODIR= $(ROOT)/etc/crypto
190N/AROOTCRYPTOCERTSDIR= $(ROOTCRYPTODIR)/certs
190N/A
190N/AROOTETCCERTSDIR= $(ROOT)/etc/certs
190N/A
190N/A$(ROOTCRYPTODIR):= OWNER= root
190N/A$(ROOTCRYPTODIR):= GROUP= sys
190N/A$(ROOTETCCERTSDIR):= OWNER= root
190N/A$(ROOTETCCERTSDIR):= GROUP= sys
190N/A
190N/AIETCCRYPTOFILES= $(ETCCRYPTOFILES:%=$(ROOTCRYPTODIR)/%)
190N/AIETCCERTSFILES= $(ETCCERTSFILES:%=$(ROOTETCCERTSDIR)/%)
190N/A
190N/A$(ROOTCRYPTODIR)/%: %
190N/A $(INS.file)
190N/A$(RELEASECERTS:%=$(ROOTCRYPTODIR)/certs/%): \
190N/A certs/$(@F:SUNW_SunOS_5.%=SUNWCryptographic%)
190N/A $(RM) $@
190N/A $(INS) -s -m $(FILEMODE) -f $(@D) \
190N/A certs/$(@F:SUNW_SunOS_5.%=SUNWCryptographic%)
190N/A $(MV) $(@D)/$(@F:SUNW_SunOS_5.%=SUNWCryptographic%) $@
190N/A
190N/A$(ROOTETCCERTSDIR)/%: certs/%
190N/A $(INS.file)
190N/A$(RELEASECERTS:%=$(ROOTETCCERTSDIR)/%): \
190N/A certs/$(@F:SUNW_SunOS_5.%=SUNWSolaris%)
190N/A $(RM) $@
190N/A $(INS) -s -m $(FILEMODE) -f $(@D) \
190N/A certs/$(@F:SUNW_SunOS_5.%=SUNWSolaris%)
190N/A $(MV) $(@D)/$(@F:SUNW_SunOS_5.%=SUNWSolaris%) $@
190N/A
190N/A$(IETCCRYPTOFILES):= FILEMODE= 644
190N/A$(IETCCRYPTOFILES):= OWNER= root
190N/A$(IETCCRYPTOFILES):= GROUP= sys
190N/A$(IETCCERTSFILES):= FILEMODE= 644
190N/A$(IETCCERTSFILES):= OWNER= root
190N/A$(IETCCERTSFILES):= GROUP= sys
190N/A
190N/Ainstall: $(IETCCRYPTOFILES) $(IETCCERTSFILES)
190N/A