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 2019 Joyent, Inc.
27 # Copyright 2018 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 #
510 $(OBJS_DIR)/%.o: $(COMMONBASE)/net/patricia/%.c
511 $(COMPILE.c) -o $@ $<
512 $(CTFCONVERT_O)
513
514 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/udp/%.c
515 $(COMPILE.c) -o $@ $<
516 $(CTFCONVERT_O)
517
518 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/nca/%.c
519 $(COMPILE.c) -o $@ $<
520 $(CTFCONVERT_O)
521
522 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/sockmods/%.c
523 $(COMPILE.c) -o $@ $<
524 $(CTFCONVERT_O)
525
526 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/dlpistub/%.c
527 $(COMPILE.c) -o $@ $<
528 $(CTFCONVERT_O)
529
530 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/%.c
531 $(COMPILE.c) -o $@ $<
532 $(CTFCONVERT_O)
533
534 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/%.c
535 $(COMPILE.c) -o $@ $<
536 $(CTFCONVERT_O)
537
538 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/adapters/%.c
539 $(COMPILE.c) -o $@ $<
540 $(CTFCONVERT_O)
541
542 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/av1394/%.c
543 $(COMPILE.c) -o $@ $<
544 $(CTFCONVERT_O)
545
546 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
547 $(COMPILE.c) -o $@ $<
548 $(CTFCONVERT_O)
549
1945 @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL))
1946
1947 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/udp/%.c
1948 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1949
1950 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sctp/%.c
1951 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1952
1953 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/tcp/%.c
1954 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1955
1956 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ilb/%.c
1957 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1958
1959 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/nca/%.c
1960 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1961
1962 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/dlpistub/%.c
1963 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1964
1965 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/%.c
1966 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1967
1968 $(LINTS_DIR)/%.ln: $(SRC)/common/font/%.c
1969 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1970
1971 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/%.c
1972 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1973
1974 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/adapters/%.c
1975 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1976
1977 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/av1394/%.c
1978 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1979
1980 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
1981 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1982
1983 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c
1984 @($(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 2019 Joyent, Inc.
27 # Copyright 2018 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 #
510 $(OBJS_DIR)/%.o: $(COMMONBASE)/net/patricia/%.c
511 $(COMPILE.c) -o $@ $<
512 $(CTFCONVERT_O)
513
514 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/udp/%.c
515 $(COMPILE.c) -o $@ $<
516 $(CTFCONVERT_O)
517
518 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/nca/%.c
519 $(COMPILE.c) -o $@ $<
520 $(CTFCONVERT_O)
521
522 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/sockmods/%.c
523 $(COMPILE.c) -o $@ $<
524 $(CTFCONVERT_O)
525
526 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/dlpistub/%.c
527 $(COMPILE.c) -o $@ $<
528 $(CTFCONVERT_O)
529
530 $(OBJS_DIR)/%.o: $(UTSBASE)/common/inet/cc/%.c
531 $(COMPILE.c) -o $@ $<
532 $(CTFCONVERT_O)
533
534 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/%.c
535 $(COMPILE.c) -o $@ $<
536 $(CTFCONVERT_O)
537
538 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/%.c
539 $(COMPILE.c) -o $@ $<
540 $(CTFCONVERT_O)
541
542 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/adapters/%.c
543 $(COMPILE.c) -o $@ $<
544 $(CTFCONVERT_O)
545
546 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/av1394/%.c
547 $(COMPILE.c) -o $@ $<
548 $(CTFCONVERT_O)
549
550 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
551 $(COMPILE.c) -o $@ $<
552 $(CTFCONVERT_O)
553
1949 @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL))
1950
1951 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/udp/%.c
1952 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1953
1954 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sctp/%.c
1955 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1956
1957 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/tcp/%.c
1958 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1959
1960 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ilb/%.c
1961 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1962
1963 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/nca/%.c
1964 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1965
1966 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/dlpistub/%.c
1967 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1968
1969 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/cc/%.c
1970 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1971
1972 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/%.c
1973 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1974
1975 $(LINTS_DIR)/%.ln: $(SRC)/common/font/%.c
1976 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1977
1978 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/%.c
1979 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1980
1981 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/adapters/%.c
1982 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1983
1984 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/av1394/%.c
1985 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1986
1987 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c
1988 @($(LHEAD) $(LINT.c) $< $(LTAIL))
1989
1990 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c
1991 @($(LHEAD) $(LINT.c) $< $(LTAIL))
|