xref: /onnv-gate/usr/src/common/crypto/des/Makefile (revision 7188:b5eb53fb3905)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*7188Smcpowers# Common Development and Distribution License (the "License").
6*7188Smcpowers# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
22*7188Smcpowers# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate# common/crypto/des/Makefile
280Sstevel@tonic-gate#
290Sstevel@tonic-gate# include global definitions
300Sstevel@tonic-gateinclude $(SRC)/Makefile.master
310Sstevel@tonic-gate
320Sstevel@tonic-gate.KEEP_STATE:
330Sstevel@tonic-gate
340Sstevel@tonic-gateFRC:
350Sstevel@tonic-gate
360Sstevel@tonic-gate# EXPORT DELETE START
370Sstevel@tonic-gateEXPORT_SRC:
38*7188Smcpowers	$(RM) Makefile+ des_impl.c+ des_impl.h+ des_ks.c+ sun4u/des_crypt_asm.s+
390Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
400Sstevel@tonic-gate		< des_impl.c > des_impl.c+
410Sstevel@tonic-gate	$(MV) des_impl.c+ des_impl.c
420Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
430Sstevel@tonic-gate		< des_ks.c > des_ks.c+
440Sstevel@tonic-gate	$(MV) des_ks.c+ des_ks.c
450Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
460Sstevel@tonic-gate		< sun4u/des_crypt_asm.s > sun4u/des_crypt_asm.s+
470Sstevel@tonic-gate	$(MV) sun4u/des_crypt_asm.s+ sun4u/des_crypt_asm.s
480Sstevel@tonic-gate	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
490Sstevel@tonic-gate		< Makefile > Makefile+
500Sstevel@tonic-gate	$(RM) Makefile
510Sstevel@tonic-gate	$(MV) Makefile+ Makefile
52*7188Smcpowers	$(CHMOD) 444 Makefile des_impl.c des_impl.h des_ks.c sun4u/des_crypt_asm.s
530Sstevel@tonic-gate
540Sstevel@tonic-gate# EXPORT DELETE END
55