65
66 LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
67 LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
68
69 LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
70 LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
71
72 #
73 # Include the makefiles which define build rule templates, the
74 # collection of files per module, and a few specific flags. Note
75 # that order is significant, just as with an include path. The
76 # first build rule template which matches the files name will be
77 # used. By including these in order from most machine dependent
78 # to most machine independent, we allow a machine dependent file
79 # to be used in preference over a machine independent version
80 # (Such as a machine specific optimization, which preserves the
81 # interfaces.)
82 #
83 include $(UTSBASE)/sparc/Makefile.files
84 include $(UTSBASE)/sparc/v9/Makefile.files
85 include $(UTSTREE)/sun/Makefile.files
86 include $(UTSTREE)/common/Makefile.files
87
88 #
89 # ----- TRANSITIONAL SECTION --------------------------------------------------
90 #
91
92 #
93 # Not everything which *should* be a module is a module yet. The
94 # following is a list of such objects which are currently part of
95 # genunix but which might someday become kmods. This must be
96 # defined before we include Makefile.uts, or else genunix's build
97 # won't be as parallel as we might like.
98 #
99 NOT_YET_KMODS = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
100
101 #
102 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
103 #
104 # Include machine independent rules. Note that this does not imply
105 # that the resulting module from rules in Makefile.uts is machine
106 # independent. Only that the build rules are machine independent.
475 MAC_KMODS += mac_6to4
476 MAC_KMODS += mac_ether
477 MAC_KMODS += mac_ipv4
478 MAC_KMODS += mac_ipv6
479 MAC_KMODS += mac_wifi
480 MAC_KMODS += mac_ib
481
482 #
483 # socketmod (kernel/socketmod)
484 #
485 SOCKET_KMODS += sockpfp
486 SOCKET_KMODS += socksctp
487 SOCKET_KMODS += socksdp
488 SOCKET_KMODS += sockrds
489 SOCKET_KMODS += ksslf
490
491 #
492 # kiconv modules (/kernel/kiconv):
493 #
494 KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
|
65
66 LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
67 LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
68
69 LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
70 LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
71
72 #
73 # Include the makefiles which define build rule templates, the
74 # collection of files per module, and a few specific flags. Note
75 # that order is significant, just as with an include path. The
76 # first build rule template which matches the files name will be
77 # used. By including these in order from most machine dependent
78 # to most machine independent, we allow a machine dependent file
79 # to be used in preference over a machine independent version
80 # (Such as a machine specific optimization, which preserves the
81 # interfaces.)
82 #
83 include $(UTSBASE)/sparc/Makefile.files
84 include $(UTSBASE)/sparc/v9/Makefile.files
85 include $(UTSBASE)/sun/Makefile.files
86 include $(UTSBASE)/common/Makefile.files
87
88 #
89 # ----- TRANSITIONAL SECTION --------------------------------------------------
90 #
91
92 #
93 # Not everything which *should* be a module is a module yet. The
94 # following is a list of such objects which are currently part of
95 # genunix but which might someday become kmods. This must be
96 # defined before we include Makefile.uts, or else genunix's build
97 # won't be as parallel as we might like.
98 #
99 NOT_YET_KMODS = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
100
101 #
102 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
103 #
104 # Include machine independent rules. Note that this does not imply
105 # that the resulting module from rules in Makefile.uts is machine
106 # independent. Only that the build rules are machine independent.
475 MAC_KMODS += mac_6to4
476 MAC_KMODS += mac_ether
477 MAC_KMODS += mac_ipv4
478 MAC_KMODS += mac_ipv6
479 MAC_KMODS += mac_wifi
480 MAC_KMODS += mac_ib
481
482 #
483 # socketmod (kernel/socketmod)
484 #
485 SOCKET_KMODS += sockpfp
486 SOCKET_KMODS += socksctp
487 SOCKET_KMODS += socksdp
488 SOCKET_KMODS += sockrds
489 SOCKET_KMODS += ksslf
490
491 #
492 # kiconv modules (/kernel/kiconv):
493 #
494 KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
495
496 #
497 # Ensure that the variable member of the cpu_t (cpu_m) is defined
498 # for the lint builds so as not to cause lint errors during the
499 # global cross check.
500 #
501 $(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \
502 -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu
|