59 # Linkage dependencies
60 #
61 LDFLAGS += -dy -Nmisc/kcf
62
63 #
64 # lint pass one enforcement
65 #
66 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
67 CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
68 LINTFLAGS += -I$(COM_DIR)
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_ASSIGN_NARROW_CONV
77 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
78
79 CERRWARN += -_gcc=-Wno-uninitialized
80 CERRWARN += -_gcc=-Wno-parentheses
81
82 #
83 # Default build targets.
84 #
85 .KEEP_STATE:
86
87 def: $(DEF_DEPS)
88
89 all: $(ALL_DEPS)
90
91 clean: $(CLEAN_DEPS)
92
93 clobber: $(CLOBBER_DEPS)
94
95 lint: $(LINT_DEPS)
96
97 modlintlib: $(MODLINTLIB_DEPS)
98
99 clean.lint: $(CLEAN_LINT_DEPS)
|
59 # Linkage dependencies
60 #
61 LDFLAGS += -dy -Nmisc/kcf
62
63 #
64 # lint pass one enforcement
65 #
66 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
67 CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
68 LINTFLAGS += -I$(COM_DIR)
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_ASSIGN_NARROW_CONV
77 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
78
79 CERRWARN += $(CNOWARN_UNINIT)
80 CERRWARN += -_gcc=-Wno-parentheses
81
82 #
83 # Default build targets.
84 #
85 .KEEP_STATE:
86
87 def: $(DEF_DEPS)
88
89 all: $(ALL_DEPS)
90
91 clean: $(CLEAN_DEPS)
92
93 clobber: $(CLOBBER_DEPS)
94
95 lint: $(LINT_DEPS)
96
97 modlintlib: $(MODLINTLIB_DEPS)
98
99 clean.lint: $(CLEAN_LINT_DEPS)
|