Print this page
first pass
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/des/Makefile
+++ new/usr/src/uts/common/des/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 # ident "%Z%%M% %I% %E% SMI"
23 23 #
24 24 # Copyright (c) 1989,1999 by Sun Microsystems, Inc.
25 25 # All rights reserved.
26 26 #
27 27 # uts/common/des/Makefile
28 28 #
29 29 # include global definitions
30 30 include ../../../Makefile.master
31 31
32 32 HDRS= des.h desdata.h softdes.h
33 33
34 34 ROOTDIRS= $(ROOT)/usr/include/des
35 35
36 36 ROOTHDRS= $(HDRS:%=$(ROOTDIRS)/%)
37 37
38 38 CHECKHDRS= $(HDRS:%.h=%.check)
39 39
40 40 # install rule
41 41 $(ROOTDIRS)/%: %
42 42 $(INS.file)
↓ open down ↓ |
42 lines elided |
↑ open up ↑ |
43 43
44 44 .KEEP_STATE:
45 45
46 46 .PARALLEL: $(CHECKHDRS)
47 47
48 48 install_h: $(ROOTDIRS) $(ROOTHDRS)
49 49
50 50 $(ROOTDIRS):
51 51 $(INS.dir)
52 52
53 -# EXPORT DELETE START
54 -EXPORT_SRC:
55 - $(RM) Makefile+ des_crypt.c+ des_soft.c+ desdata.h+
56 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
57 - < des_crypt.c > des_crypt.c+
58 - $(MV) des_crypt.c+ des_crypt.c
59 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
60 - < des_soft.c > des_soft.c+
61 - $(MV) des_soft.c+ des_soft.c
62 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
63 - < desdata.h > desdata.h+
64 - $(MV) desdata.h+ desdata.h
65 - sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
66 - < Makefile > Makefile+
67 - $(RM) Makefile
68 - $(MV) Makefile+ Makefile
69 - $(CHMOD) 444 Makefile des_crypt.c des_soft.c desdata.h
70 -
71 -# EXPORT DELETE END
72 53 check: $(CHECKHDRS)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX