65
66 #
67 # Override defaults to build a unique, local modstubs.o.
68 #
69 MODSTUBS_DIR = $(OBJS_DIR)
70 $(MODSTUBS_O) := AS_CPPFLAGS += -DDES_MODULE
71 CLEANFILES += $(MODSTUBS_O)
72
73 #
74 # Linkage dependencies
75 #
76 LDFLAGS += -dy -Nmisc/kcf
77
78 #
79 # lint pass one enforcement
80 #
81 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
82 LINTFLAGS += -I$(COM_DIR)
83
84 CERRWARN += -_gcc=-Wno-parentheses
85 CERRWARN += -_gcc=-Wno-uninitialized
86
87 #
88 # For now, disable these lint checks; maintainers should endeavor
89 # to investigate and remove these for maximum lint coverage.
90 # Please do not carry these forward to new Makefiles.
91 #
92 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
93 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
94
95 #
96 # Default build targets.
97 #
98 .KEEP_STATE:
99
100 def: $(DEF_DEPS)
101
102 all: $(ALL_DEPS)
103
104 clean: $(CLEAN_DEPS)
105
|
65
66 #
67 # Override defaults to build a unique, local modstubs.o.
68 #
69 MODSTUBS_DIR = $(OBJS_DIR)
70 $(MODSTUBS_O) := AS_CPPFLAGS += -DDES_MODULE
71 CLEANFILES += $(MODSTUBS_O)
72
73 #
74 # Linkage dependencies
75 #
76 LDFLAGS += -dy -Nmisc/kcf
77
78 #
79 # lint pass one enforcement
80 #
81 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
82 LINTFLAGS += -I$(COM_DIR)
83
84 CERRWARN += -_gcc=-Wno-parentheses
85 CERRWARN += $(CNOWARN_UNINIT)
86
87 #
88 # For now, disable these lint checks; maintainers should endeavor
89 # to investigate and remove these for maximum lint coverage.
90 # Please do not carry these forward to new Makefiles.
91 #
92 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
93 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
94
95 #
96 # Default build targets.
97 #
98 .KEEP_STATE:
99
100 def: $(DEF_DEPS)
101
102 all: $(ALL_DEPS)
103
104 clean: $(CLEAN_DEPS)
105
|