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 2016 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2013 Saso Kiselkov. All rights reserved.
26 # Copyright 2017 Joyent, Inc.
27 # Copyright 2016 Nexenta Systems, Inc.
28 # Copyright (c) 2016 by Delphix. 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 #
549 $(OBJS_DIR)/%.o: $(COMMONBASE)/net/patricia/%.c
550 $(COMPILE.c) -o $@ $<
551 $(CTFCONVERT_O)
552
553 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/udp/%.c
554 $(COMPILE.c) -o $@ $<
555 $(CTFCONVERT_O)
556
557 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/nca/%.c
558 $(COMPILE.c) -o $@ $<
559 $(CTFCONVERT_O)
560
561 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/sockmods/%.c
562 $(COMPILE.c) -o $@ $<
563 $(CTFCONVERT_O)
564
565 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/dlpistub/%.c
566 $(COMPILE.c) -o $@ $<
567 $(CTFCONVERT_O)
568
569 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/%.c
570 $(COMPILE.c) -o $@ $<
571 $(CTFCONVERT_O)
572
573 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/%.c
574 $(COMPILE.c) -o $@ $<
575 $(CTFCONVERT_O)
576
577 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/adapters/%.c
578 $(COMPILE.c) -o $@ $<
579 $(CTFCONVERT_O)
580
581 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/av1394/%.c
582 $(COMPILE.c) -o $@ $<
583 $(CTFCONVERT_O)
584
585 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
586 $(COMPILE.c) -o $@ $<
587 $(CTFCONVERT_O)
588
2046 @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL))
2047
2048 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/udp/%.c
2049 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2050
2051 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sctp/%.c
2052 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2053
2054 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/tcp/%.c
2055 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2056
2057 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ilb/%.c
2058 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2059
2060 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/nca/%.c
2061 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2062
2063 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/dlpistub/%.c
2064 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2065
2066 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/%.c
2067 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2068
2069 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/font/%.c
2070 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2071
2072 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/%.c
2073 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2074
2075 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/adapters/%.c
2076 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2077
2078 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/av1394/%.c
2079 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2080
2081 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
2082 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2083
2084 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c
2085 @($(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 2016 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2013 Saso Kiselkov. All rights reserved.
26 # Copyright 2017 Joyent, Inc.
27 # Copyright 2016 Nexenta Systems, Inc.
28 # Copyright (c) 2017 by Delphix. 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 #
549 $(OBJS_DIR)/%.o: $(COMMONBASE)/net/patricia/%.c
550 $(COMPILE.c) -o $@ $<
551 $(CTFCONVERT_O)
552
553 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/udp/%.c
554 $(COMPILE.c) -o $@ $<
555 $(CTFCONVERT_O)
556
557 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/nca/%.c
558 $(COMPILE.c) -o $@ $<
559 $(CTFCONVERT_O)
560
561 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/sockmods/%.c
562 $(COMPILE.c) -o $@ $<
563 $(CTFCONVERT_O)
564
565 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/dlpistub/%.c
566 $(COMPILE.c) -o $@ $<
567 $(CTFCONVERT_O)
568
569 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/cc/%.c
570 $(COMPILE.c) -o $@ $<
571 $(CTFCONVERT_O)
572
573 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/%.c
574 $(COMPILE.c) -o $@ $<
575 $(CTFCONVERT_O)
576
577 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/%.c
578 $(COMPILE.c) -o $@ $<
579 $(CTFCONVERT_O)
580
581 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/adapters/%.c
582 $(COMPILE.c) -o $@ $<
583 $(CTFCONVERT_O)
584
585 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/av1394/%.c
586 $(COMPILE.c) -o $@ $<
587 $(CTFCONVERT_O)
588
589 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
590 $(COMPILE.c) -o $@ $<
591 $(CTFCONVERT_O)
592
2050 @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL))
2051
2052 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/udp/%.c
2053 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2054
2055 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sctp/%.c
2056 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2057
2058 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/tcp/%.c
2059 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2060
2061 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ilb/%.c
2062 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2063
2064 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/nca/%.c
2065 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2066
2067 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/dlpistub/%.c
2068 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2069
2070 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/cc/%.c
2071 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2072
2073 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/%.c
2074 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2075
2076 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/font/%.c
2077 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2078
2079 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/%.c
2080 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2081
2082 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/adapters/%.c
2083 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2084
2085 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/av1394/%.c
2086 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2087
2088 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
2089 @($(LHEAD) $(LINT.c) $< $(LTAIL))
2090
2091 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c
2092 @($(LHEAD) $(LINT.c) $< $(LTAIL))
|