Print this page
lib: move compat links from targetdirs to proper makefiles
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/Makefile.mach
+++ new/usr/src/lib/Makefile.mach
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.
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
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 #
23 23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 -# ident "%Z%%M% %I% %E% SMI"
27 -#
28 -# lib/Makefile.mach
29 26 #
27 +
30 28 # included to define targets built with machine-dependent source
31 29 #
32 30
33 31 # conditional assignment of default permissions for the installed DYNLIB.
34 32 # set here and in Makefile.targ, instead of Makefile.lib, because ROOTLIBDIR
35 33 # may be changed in the including makefile after it has included Makefile.lib.
36 34 #
37 35 $(ROOTLIBDIR)/$(DYNLIB) := FILEMODE= 755
38 36 $(ROOTLIBDIR64)/$(DYNLIB) := FILEMODE= 755
39 37
40 38 # install rules
41 39 $(ROOTLIBDIR)/%: $(MACH)/%
42 40 $(INS.file)
43 41
44 42 $(ROOTLIBDIR64)/%: $(MACH64)/%
45 43 $(INS.file)
46 44
47 45 $(ROOTLIBDIR)/$(LIBLINKS): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
48 46 $(INS.liblink)
49 47
50 48 $(ROOTLIBDIR64)/$(LIBLINKS): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
51 49 $(INS.liblink64)
52 50
53 51 $(MACHLIBS): FRC
54 52 @cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)
55 53
56 54 $(MACHLIBS64): FRC
57 55 @cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)
56 +
57 +$(ROOTCOMPATLINKS):
58 + $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
59 +
60 +$(ROOTCOMPATLINKS64):
61 + $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
58 62
59 63 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX