59
60 #
61 # Linkage dependencies
62 #
63 LDFLAGS += -dy -Ndrv/ip -Ndrv/ipsecah -Nmisc/kcf
64
65 #
66 # lint pass one enforcement
67 #
68 CFLAGS += $(CCVERBOSE)
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
76 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
77 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
78
79 CERRWARN += -_gcc=-Wno-uninitialized
80
81 #
82 # Default build targets.
83 #
84 .KEEP_STATE:
85
86 def: $(DEF_DEPS)
87
88 all: $(ALL_DEPS) $(SISCHECK_DEPS)
89
90 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
91
92 clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
93
94 lint: $(LINT_DEPS)
95
96 modlintlib: $(MODLINTLIB_DEPS)
97
98 clean.lint: $(CLEAN_LINT_DEPS)
99
|
59
60 #
61 # Linkage dependencies
62 #
63 LDFLAGS += -dy -Ndrv/ip -Ndrv/ipsecah -Nmisc/kcf
64
65 #
66 # lint pass one enforcement
67 #
68 CFLAGS += $(CCVERBOSE)
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
76 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
77 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
78
79 CERRWARN += $(CNOWARN_UNINIT)
80
81 #
82 # Default build targets.
83 #
84 .KEEP_STATE:
85
86 def: $(DEF_DEPS)
87
88 all: $(ALL_DEPS) $(SISCHECK_DEPS)
89
90 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
91
92 clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
93
94 lint: $(LINT_DEPS)
95
96 modlintlib: $(MODLINTLIB_DEPS)
97
98 clean.lint: $(CLEAN_LINT_DEPS)
99
|