51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
58
59 LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf
60
61 #
62 # For now, disable these lint checks; maintainers should endeavor
63 # to investigate and remove these for maximum lint coverage.
64 # Please do not carry these forward to new Makefiles.
65 #
66 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
67 LINTTAGS += -erroff=E_STATIC_UNUSED
68 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70
71 CERRWARN += -_gcc=-Wno-uninitialized
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
90 clean.lint: $(CLEAN_LINT_DEPS)
91
|
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
58
59 LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf
60
61 #
62 # For now, disable these lint checks; maintainers should endeavor
63 # to investigate and remove these for maximum lint coverage.
64 # Please do not carry these forward to new Makefiles.
65 #
66 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
67 LINTTAGS += -erroff=E_STATIC_UNUSED
68 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70
71 CERRWARN += $(CNOWARN_UNINIT)
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
90 clean.lint: $(CLEAN_LINT_DEPS)
91
|