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 #
23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
25 #
26
27 #
28 # uts/common/Makefile.rules
29 #
30 # This Makefile defines all the file build rules for the directory
31 # uts/common and its children. These are the source files which may
32 # be considered common to all SunOS systems.
33 #
34 # The following two-level ordering must be maintained in this file.
35 # Lines are sorted first in order of decreasing specificity based on
36 # the first directory component. That is, sun4u rules come before
37 # sparc rules come before common rules.
38 #
39 # Lines whose initial directory components are equal are sorted
40 # alphabetically by the remaining components.
41
42 #
43 # Section 1a: C objects build rules
44 #
45 $(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/aes/%.c
46 $(COMPILE.c) -o $@ $<
47 $(CTFCONVERT_O)
712 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/dmfe/%.c
713 $(COMPILE.c) -o $@ $<
714 $(CTFCONVERT_O)
715
716 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/drm/%.c
717 $(COMPILE.c) -o $@ $<
718 $(CTFCONVERT_O)
719
720 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/efe/%.c
721 $(COMPILE.c) -o $@ $<
722 $(CTFCONVERT_O)
723
724 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/elxl/%.c
725 $(COMPILE.c) -o $@ $<
726 $(CTFCONVERT_O)
727
728 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/fcoe/%.c
729 $(COMPILE.c) -o $@ $<
730 $(CTFCONVERT_O)
731
732 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hme/%.c
733 $(COMPILE.c) -o $@ $<
734 $(CTFCONVERT_O)
735
736 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/pciex/%.c
737 $(COMPILE.c) -o $@ $<
738 $(CTFCONVERT_O)
739
740 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hotplug/hpcsvc/%.c
741 $(COMPILE.c) -o $@ $<
742 $(CTFCONVERT_O)
743
744 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/pciex/hotplug/%.c
745 $(COMPILE.c) -o $@ $<
746 $(CTFCONVERT_O)
747
748 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hotplug/pcihp/%.c
749 $(COMPILE.c) -o $@ $<
750 $(CTFCONVERT_O)
751
2074 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2075
2076 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dls/%.c
2077 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2078
2079 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dmfe/%.c
2080 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2081
2082 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/drm/%.c
2083 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2084
2085 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/efe/%.c
2086 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2087
2088 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/elxl/%.c
2089 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2090
2091 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fcoe/%.c
2092 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2093
2094 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hme/%.c
2095 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2096
2097 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/%.c
2098 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2099
2100 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/hpcsvc/%.c
2101 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2102
2103 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/hotplug/%.c
2104 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2105
2106 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/pcihp/%.c
2107 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2108
2109 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rds/%.c
2110 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2111
2112 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rdsv3/%.c
2113 @($(LHEAD) $(LINT.c) $< $(LTAIL))
|
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 #
23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
25 #
26
27 #
28 # Copyright 2013 Damian Bogel. All rights reserved.
29 #
30
31 #
32 # uts/common/Makefile.rules
33 #
34 # This Makefile defines all the file build rules for the directory
35 # uts/common and its children. These are the source files which may
36 # be considered common to all SunOS systems.
37 #
38 # The following two-level ordering must be maintained in this file.
39 # Lines are sorted first in order of decreasing specificity based on
40 # the first directory component. That is, sun4u rules come before
41 # sparc rules come before common rules.
42 #
43 # Lines whose initial directory components are equal are sorted
44 # alphabetically by the remaining components.
45
46 #
47 # Section 1a: C objects build rules
48 #
49 $(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/aes/%.c
50 $(COMPILE.c) -o $@ $<
51 $(CTFCONVERT_O)
716 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/dmfe/%.c
717 $(COMPILE.c) -o $@ $<
718 $(CTFCONVERT_O)
719
720 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/drm/%.c
721 $(COMPILE.c) -o $@ $<
722 $(CTFCONVERT_O)
723
724 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/efe/%.c
725 $(COMPILE.c) -o $@ $<
726 $(CTFCONVERT_O)
727
728 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/elxl/%.c
729 $(COMPILE.c) -o $@ $<
730 $(CTFCONVERT_O)
731
732 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/fcoe/%.c
733 $(COMPILE.c) -o $@ $<
734 $(CTFCONVERT_O)
735
736 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/fsd/%.c
737 $(COMPILE.c) -o $@ $<
738 $(CTFCONVERT_O)
739
740 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hme/%.c
741 $(COMPILE.c) -o $@ $<
742 $(CTFCONVERT_O)
743
744 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/pciex/%.c
745 $(COMPILE.c) -o $@ $<
746 $(CTFCONVERT_O)
747
748 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hotplug/hpcsvc/%.c
749 $(COMPILE.c) -o $@ $<
750 $(CTFCONVERT_O)
751
752 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/pciex/hotplug/%.c
753 $(COMPILE.c) -o $@ $<
754 $(CTFCONVERT_O)
755
756 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/hotplug/pcihp/%.c
757 $(COMPILE.c) -o $@ $<
758 $(CTFCONVERT_O)
759
2082 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2083
2084 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dls/%.c
2085 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2086
2087 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dmfe/%.c
2088 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2089
2090 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/drm/%.c
2091 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2092
2093 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/efe/%.c
2094 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2095
2096 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/elxl/%.c
2097 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2098
2099 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fcoe/%.c
2100 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2101
2102 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fsd/%.c
2103 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2104
2105 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hme/%.c
2106 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2107
2108 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/%.c
2109 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2110
2111 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/hpcsvc/%.c
2112 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2113
2114 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/hotplug/%.c
2115 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2116
2117 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/pcihp/%.c
2118 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2119
2120 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rds/%.c
2121 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2122
2123 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rdsv3/%.c
2124 @($(LHEAD) $(LINT.c) $< $(LTAIL))
|