xref: /onnv-gate/usr/src/common/crypto/arcfour/Makefile (revision 9533:030f23fa7e02)
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
59392Sopensolaris@drydog.com# Common Development and Distribution License (the "License").
69392Sopensolaris@drydog.com# 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#
229392Sopensolaris@drydog.com# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate# common/crypto/arcfour/Makefile
260Sstevel@tonic-gate#
270Sstevel@tonic-gate# include global definitions
280Sstevel@tonic-gateinclude $(SRC)/Makefile.master
290Sstevel@tonic-gate
300Sstevel@tonic-gate.KEEP_STATE:
310Sstevel@tonic-gate
320Sstevel@tonic-gateFRC:
330Sstevel@tonic-gate
340Sstevel@tonic-gate# EXPORT DELETE START
350Sstevel@tonic-gateEXPORT_SRC:
369392Sopensolaris@drydog.com	$(RM) Makefile+ arcfour_crypt.c+ amd64/arcfour-x86_64.pl+ \
379392Sopensolaris@drydog.com		sun4u/arcfour_crypt_asm.s+ sun4v/arcfour_crypt.c+
380Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
390Sstevel@tonic-gate		< arcfour_crypt.c > arcfour_crypt.c+
400Sstevel@tonic-gate	$(MV) arcfour_crypt.c+ arcfour_crypt.c
410Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
42*9533Sopensolaris@drydog.com		< amd64/arcfour-x86_64.pl > amd64/arcfour-x86_64.pl+
43*9533Sopensolaris@drydog.com	$(MV) amd64/arcfour-x86_64.pl+ amd64/arcfour-x86_64.pl
449392Sopensolaris@drydog.com	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
450Sstevel@tonic-gate		< sun4u/arcfour_crypt_asm.s > sun4u/arcfour_crypt_asm.s+
460Sstevel@tonic-gate	$(MV) sun4u/arcfour_crypt_asm.s+ sun4u/arcfour_crypt_asm.s
479392Sopensolaris@drydog.com	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
489392Sopensolaris@drydog.com		< sun4v/arcfour_crypt.c > sun4v/arcfour_crypt.c+
499392Sopensolaris@drydog.com	$(MV) sun4v/arcfour_crypt.c+ sun4v/arcfour_crypt.c
500Sstevel@tonic-gate	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
510Sstevel@tonic-gate		< Makefile > Makefile+
520Sstevel@tonic-gate	$(RM) Makefile
530Sstevel@tonic-gate	$(MV) Makefile+ Makefile
549392Sopensolaris@drydog.com	$(CHMOD) 444 Makefile arcfour_crypt.c amd64/arcfour-x86_64.pl \
559392Sopensolaris@drydog.com		sun4u/arcfour_crypt_asm.s sun4v/arcfour_crypt.c
560Sstevel@tonic-gate
570Sstevel@tonic-gate# EXPORT DELETE END
58