66 MODSTUBS_DIR = $(OBJS_DIR)
67 $(MODSTUBS_O) := AS_CPPFLAGS += -DFD_MODULE
68 $(OBJS_DIR)/fd_asm.o := AS_CPPFLAGS += -I$(OBJS_DIR)
69 CLEANFILES += $(MODSTUBS_O) $(ASSYM_H) \
70 $(FDOFF_C) $(FDOFF_S) $(FDOFF_TMP)
71
72 #
73 # lint pass one enforcement
74 #
75 CFLAGS += $(CCVERBOSE)
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
85
86 CERRWARN += -_gcc=-Wno-uninitialized
87 CERRWARN += -_gcc=-Wno-parentheses
88 CERRWARN += -_gcc=-Wno-char-subscripts
89
90 #
91 # Default build targets.
92 #
93 .KEEP_STATE:
94
95 def: $(DEF_DEPS)
96
97 all: $(ALL_DEPS)
98
99 clean: $(CLEAN_DEPS)
100
101 clobber: $(CLOBBER_DEPS)
102
103 lint: $(LINT_DEPS)
104
105 modlintlib: $(MODLINTLIB_DEPS)
106
|
66 MODSTUBS_DIR = $(OBJS_DIR)
67 $(MODSTUBS_O) := AS_CPPFLAGS += -DFD_MODULE
68 $(OBJS_DIR)/fd_asm.o := AS_CPPFLAGS += -I$(OBJS_DIR)
69 CLEANFILES += $(MODSTUBS_O) $(ASSYM_H) \
70 $(FDOFF_C) $(FDOFF_S) $(FDOFF_TMP)
71
72 #
73 # lint pass one enforcement
74 #
75 CFLAGS += $(CCVERBOSE)
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
85
86 CERRWARN += $(CNOWARN_UNINIT)
87 CERRWARN += -_gcc=-Wno-parentheses
88 CERRWARN += -_gcc=-Wno-char-subscripts
89
90 #
91 # Default build targets.
92 #
93 .KEEP_STATE:
94
95 def: $(DEF_DEPS)
96
97 all: $(ALL_DEPS)
98
99 clean: $(CLEAN_DEPS)
100
101 clobber: $(CLOBBER_DEPS)
102
103 lint: $(LINT_DEPS)
104
105 modlintlib: $(MODLINTLIB_DEPS)
106
|