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]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # common/crypto/arcfour/Makefile
26 #
27 # include global definitions
28 include $(SRC)/Makefile.master
29
30 .KEEP_STATE:
31
32 FRC:
33
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
56
57 # EXPORT DELETE END
|
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]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # common/crypto/arcfour/Makefile
26 #
27 # include global definitions
28 include $(SRC)/Makefile.master
29
30 .KEEP_STATE:
31
32 FRC:
|