40
41 #
42 # Include common rules.
43 #
44 include $(UTSBASE)/sun4u/Makefile.sun4u
45
46 #
47 # lint pass one enforcement
48 #
49 CFLAGS += $(CCVERBOSE)
50
51 LDFLAGS += -dy -N misc/i2c_svc
52
53 #
54 # For now, disable these lint checks; maintainers should endeavor
55 # to investigate and remove these for maximum lint coverage.
56 # Please do not carry these forward to new Makefiles.
57 #
58 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
59
60 CERRWARN += -_gcc=-Wno-uninitialized
61
62 #
63 # Define targets
64 #
65 ALL_TARGET = $(BINARY)
66 LINT_TARGET = $(MODULE).lint
67 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
68
69 .KEEP_STATE:
70
71 def: $(DEF_DEPS)
72
73 all: $(ALL_DEPS)
74
75 clean: $(CLEAN_DEPS)
76
77 clobber: $(CLOBBER_DEPS)
78
79 lint: $(LINT_DEPS)
80
|
40
41 #
42 # Include common rules.
43 #
44 include $(UTSBASE)/sun4u/Makefile.sun4u
45
46 #
47 # lint pass one enforcement
48 #
49 CFLAGS += $(CCVERBOSE)
50
51 LDFLAGS += -dy -N misc/i2c_svc
52
53 #
54 # For now, disable these lint checks; maintainers should endeavor
55 # to investigate and remove these for maximum lint coverage.
56 # Please do not carry these forward to new Makefiles.
57 #
58 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
59
60 CERRWARN += $(CNOWARN_UNINIT)
61
62 #
63 # Define targets
64 #
65 ALL_TARGET = $(BINARY)
66 LINT_TARGET = $(MODULE).lint
67 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
68
69 .KEEP_STATE:
70
71 def: $(DEF_DEPS)
72
73 all: $(ALL_DEPS)
74
75 clean: $(CLEAN_DEPS)
76
77 clobber: $(CLOBBER_DEPS)
78
79 lint: $(LINT_DEPS)
80
|