51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Overrides.
61 #
62 CFLAGS += $(CCVERBOSE)
63
64 #
65 # For now, disable these lint checks; maintainers should endeavor
66 # to investigate and remove these for maximum lint coverage.
67 # Please do not carry these forward to new Makefiles.
68 #
69 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
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_CONFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Overrides.
61 #
62 CFLAGS += $(CCVERBOSE)
63
64 #
65 # For now, disable these lint checks; maintainers should endeavor
66 # to investigate and remove these for maximum lint coverage.
67 # Please do not carry these forward to new Makefiles.
68 #
69 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
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
|