3909 "zfs send -D" does not work
[illumos-gate.git] / usr / src / common / crypto / arcfour / Makefile
blobb66310045fb8b474a0abcb61b75f9bbc5e01e063
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
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # common/crypto/arcfour/Makefile
27 # include global definitions
28 include $(SRC)/Makefile.master
30 .KEEP_STATE:
32 FRC:
34 # EXPORT DELETE START
35 EXPORT_SRC:
36 $(RM) Makefile+ arcfour_crypt.c+ amd64/arcfour-x86_64.pl+ \
37 sun4u/arcfour_crypt_asm.s+ sun4v/arcfour_crypt.c+
38 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
39 < arcfour_crypt.c > arcfour_crypt.c+
40 $(MV) arcfour_crypt.c+ arcfour_crypt.c
41 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
42 < amd64/arcfour-x86_64.pl > amd64/arcfour-x86_64.pl+
43 $(MV) amd64/arcfour-x86_64.pl+ amd64/arcfour-x86_64.pl
44 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
45 < sun4u/arcfour_crypt_asm.s > sun4u/arcfour_crypt_asm.s+
46 $(MV) sun4u/arcfour_crypt_asm.s+ sun4u/arcfour_crypt_asm.s
47 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
48 < sun4v/arcfour_crypt.c > sun4v/arcfour_crypt.c+
49 $(MV) sun4v/arcfour_crypt.c+ sun4v/arcfour_crypt.c
50 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
51 < Makefile > Makefile+
52 $(RM) Makefile
53 $(MV) Makefile+ Makefile
54 $(CHMOD) 444 Makefile arcfour_crypt.c amd64/arcfour-x86_64.pl \
55 sun4u/arcfour_crypt_asm.s sun4v/arcfour_crypt.c
57 # EXPORT DELETE END