Print this page
first pass
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/gssapi/mechs/krb5/Makefile
+++ new/usr/src/uts/common/gssapi/mechs/krb5/Makefile
1 1 #
2 2 # Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
3 3 # Use is subject to license terms.
4 4 #
5 5 # ident "%Z%%M% %I% %E% SMI"
6 6 #
7 7 # /usr/src/uts/common/gssapi/mechs/krb5/Makefile
8 8
9 9 include ../../../../../Makefile.master
10 10
11 -# EXPORT DELETE START
12 -
13 11 all:
14 - @$(ECHO) " This Makefile is used to clean up the source tree\n" \
15 - "for export distribution.\n" \
16 - "[Usage]: make [EXPORT_SRC] [CRYPT_SRC]\n\n" \
17 - "WARNING: EXPORT_SRC, CRYPT_SRC targets change the\n" \
18 - "source tree and remove the Makefile."
19 -
20 -# Special target to clean up the source tree for export distribution
21 -# Warning: This target changes the source tree
22 -EXPORT_SRC:
23 - $(RM) krb5mech.c+ include/gssapiP_krb5.h+
24 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
25 - < include/gssapiP_krb5.h > include/gssapiP_krb5.h+
26 - $(MV) include/gssapiP_krb5.h+ include/gssapiP_krb5.h
27 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
28 - < krb5mech.c > krb5mech.c+
29 - $(MV) krb5mech.c+ krb5mech.c
30 -
31 - $(RM) crypto/des/f_cbc.c+ crypto/des/f_cksum.c+ \
32 - crypto/des/d3_cbc.c+ mech/seal.c+ mech/unseal.c+
33 -
34 - $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
35 - < mech/seal.c > mech/seal.c+
36 - $(MV) mech/seal.c+ mech/seal.c
37 -
38 - $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
39 - < mech/unseal.c > mech/unseal.c+
40 - $(MV) mech/unseal.c+ mech/unseal.c
41 -
42 - $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
43 - < crypto/des/f_cbc.c > crypto/des/f_cbc.c+
44 - $(MV) crypto/des/f_cbc.c+ crypto/des/f_cbc.c
45 -
46 - $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
47 - < crypto/des/d3_cbc.c > crypto/des/d3_cbc.c+
48 - $(MV) crypto/des/d3_cbc.c+ crypto/des/d3_cbc.c
49 -
50 - $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
51 - < crypto/des/f_cksum.c > crypto/des/f_cksum.c+
52 - $(MV) crypto/des/f_cksum.c+ crypto/des/f_cksum.c
53 -
54 - $(RM) ../../../Makefile.files+
55 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
56 - < ../../../Makefile.files > ../../../Makefile.files+
57 - $(MV) ../../../Makefile.files+ ../../../Makefile.files
58 -
59 - $(RM) Makefile+
60 - sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
61 - < Makefile > Makefile+
62 - $(MV) Makefile+ Makefile
63 -
64 - $(CHMOD) 444 krb5mech.c include/gssapiP_krb5.h crypto/des/f_cbc.c \
65 - crypto/des/f_cksum.c crypto/des/d3_cbc.c \
66 - mech/seal.c mech/unseal.c
67 -
68 -# CRYPT DELETE START
69 -# Special target to clean up the source tree for domestic distribution
70 -# Warning: This target changes the source tree
71 -CRYPT_SRC:
72 - $(RM) krb5mech.c+
73 - sed -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
74 - < krb5mech.c > krb5mech.c+
75 - $(MV) krb5mech.c+ krb5mech.c
76 -
77 - $(RM) Makefile+
78 - sed -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
79 - < Makefile > Makefile+
80 - $(MV) Makefile+ Makefile
81 -
82 - $(CHMOD) 444 krb5mech.c Makefile
83 -# CRYPT DELETE END
84 -# EXPORT DELETE END
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX