66 #
67 # depends on rsmops
68 #
69 LDFLAGS += -dy -Nmisc/rsmops
70
71 #
72 # Flag to enable for DR testing via drtest driver
73 #
74 #CFLAGS += -DRSM_DRTEST
75 #LDFLAGS += -Ndrv/rsm_drtest
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_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85
86 CERRWARN += -_gcc=-Wno-uninitialized
87 CERRWARN += -_gcc=-Wno-parentheses
88
89 #
90 # Default build targets.
91 #
92 .KEEP_STATE:
93
94 def: $(DEF_DEPS)
95
96 all: $(ALL_DEPS)
97
98 clean: $(CLEAN_DEPS)
99
100 clobber: $(CLOBBER_DEPS)
101
102 lint: $(LINT_DEPS)
103
104 modlintlib: $(MODLINTLIB_DEPS)
105
106 clean.lint: $(CLEAN_LINT_DEPS)
|
66 #
67 # depends on rsmops
68 #
69 LDFLAGS += -dy -Nmisc/rsmops
70
71 #
72 # Flag to enable for DR testing via drtest driver
73 #
74 #CFLAGS += -DRSM_DRTEST
75 #LDFLAGS += -Ndrv/rsm_drtest
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_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85
86 CERRWARN += $(CNOWARN_UNINIT)
87 CERRWARN += -_gcc=-Wno-parentheses
88
89 #
90 # Default build targets.
91 #
92 .KEEP_STATE:
93
94 def: $(DEF_DEPS)
95
96 all: $(ALL_DEPS)
97
98 clean: $(CLEAN_DEPS)
99
100 clobber: $(CLOBBER_DEPS)
101
102 lint: $(LINT_DEPS)
103
104 modlintlib: $(MODLINTLIB_DEPS)
105
106 clean.lint: $(CLEAN_LINT_DEPS)
|