5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
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.
12 #
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 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # ident "%Z%%M% %I% %E% SMI"
26 #
27
28 #
29 # We build each flavor in a separate make invocation to improve clarity(!) in
30 # Makefile.com. The subordinate makes have $(CURTYPE) set to indicate the
31 # flavor they're supposed to build. This causes the correct set of source
32 # files and compiler and linker flags to be selected.
33 #
34 # The SPARC library is built from the closed gate. This Makefile is shared
35 # between both environments, so all paths must be absolute.
36 #
37
38 install: $(TYPES:%=install.%)
39
40 all: $(TYPES:%=all.%)
41
42 $(TYPES:%=all.%):
43 @CURTYPE=$(@:all.%=%) $(MAKE) $@.targ
44
45 $(TYPES:%=install.%):
46 @CURTYPE=$(@:install.%=%) $(MAKE) $@.targ
47
48 install.library.targ: all.library $(INSTALL_DEPS_library)
49 install.standalone.targ: all.standalone $(INSTALL_DEPS_standalone)
50
51 all.library.targ: $(LIBS)
52 all.standalone.targ: $(STANDLIBRARY)
53
54 lint: $(TYPES:%=lint.%)
55
56 $(TYPES:%=lint.%):
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
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.
12 #
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 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25
26 #
27 # We build each flavor in a separate make invocation to improve clarity(!) in
28 # Makefile.com. The subordinate makes have $(CURTYPE) set to indicate the
29 # flavor they're supposed to build. This causes the correct set of source
30 # files and compiler and linker flags to be selected.
31 #
32
33 install: $(TYPES:%=install.%)
34
35 all: $(TYPES:%=all.%)
36
37 $(TYPES:%=all.%):
38 @CURTYPE=$(@:all.%=%) $(MAKE) $@.targ
39
40 $(TYPES:%=install.%):
41 @CURTYPE=$(@:install.%=%) $(MAKE) $@.targ
42
43 install.library.targ: all.library $(INSTALL_DEPS_library)
44 install.standalone.targ: all.standalone $(INSTALL_DEPS_standalone)
45
46 all.library.targ: $(LIBS)
47 all.standalone.targ: $(STANDLIBRARY)
48
49 lint: $(TYPES:%=lint.%)
50
51 $(TYPES:%=lint.%):
|