50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Overrides and depends_on
57 #
58 MODSTUBS_DIR = $(OBJS_DIR)
59 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
60
61 C99LMODE= -Xc99=%all
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 #
67 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
68 LINTTAGS += -erroff=E_STATIC_UNUSED
69
70 CERRWARN += -_gcc=-Wno-uninitialized
71 CERRWARN += -_gcc=-Wno-switch
72 CERRWARN += -_gcc=-Wno-unused-variable
73
74 #
75 # Default build targets.
76 #
77 .KEEP_STATE:
78
79 def: $(DEF_DEPS)
80
81 all: $(ALL_DEPS)
82
83 clean: $(CLEAN_DEPS)
84
85 clobber: $(CLOBBER_DEPS)
86
87 lint: $(LINT_DEPS)
88
89 modlintlib: $(MODLINTLIB_DEPS)
90
|
50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Overrides and depends_on
57 #
58 MODSTUBS_DIR = $(OBJS_DIR)
59 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
60
61 C99LMODE= -Xc99=%all
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 #
67 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
68 LINTTAGS += -erroff=E_STATIC_UNUSED
69
70 CERRWARN += $(CNOWARN_UNINIT)
71 CERRWARN += -_gcc=-Wno-switch
72 CERRWARN += -_gcc=-Wno-unused-variable
73
74 #
75 # Default build targets.
76 #
77 .KEEP_STATE:
78
79 def: $(DEF_DEPS)
80
81 all: $(ALL_DEPS)
82
83 clean: $(CLEAN_DEPS)
84
85 clobber: $(CLOBBER_DEPS)
86
87 lint: $(LINT_DEPS)
88
89 modlintlib: $(MODLINTLIB_DEPS)
90
|