70 #
71 # Turn on doubleword alignment for 64 bit registers
72 #
73 CFLAGS += -dalign
74
75 #
76 # Define dependency on fcodem and busra
77 #
78 LDFLAGS += -dy -N misc/fcodem -N misc/busra
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
86 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
87 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
88
89 CERRWARN += -_gcc=-Wno-parentheses
90 CERRWARN += -_gcc=-Wno-uninitialized
91
92 #
93 # Default build targets.
94 #
95 .KEEP_STATE:
96
97 def: $(DEF_DEPS)
98
99 all: $(ALL_DEPS)
100
101 clean: $(CLEAN_DEPS)
102
103 clobber: $(CLOBBER_DEPS)
104
105 lint: $(LINT_DEPS)
106
107 modlintlib: $(MODLINTLIB_DEPS)
108
109 clean.lint: $(CLEAN_LINT_DEPS)
110
|
70 #
71 # Turn on doubleword alignment for 64 bit registers
72 #
73 CFLAGS += -dalign
74
75 #
76 # Define dependency on fcodem and busra
77 #
78 LDFLAGS += -dy -N misc/fcodem -N misc/busra
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
86 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
87 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
88
89 CERRWARN += -_gcc=-Wno-parentheses
90 CERRWARN += $(CNOWARN_UNINIT)
91
92 #
93 # Default build targets.
94 #
95 .KEEP_STATE:
96
97 def: $(DEF_DEPS)
98
99 all: $(ALL_DEPS)
100
101 clean: $(CLEAN_DEPS)
102
103 clobber: $(CLOBBER_DEPS)
104
105 lint: $(LINT_DEPS)
106
107 modlintlib: $(MODLINTLIB_DEPS)
108
109 clean.lint: $(CLEAN_LINT_DEPS)
110
|