49 #
50 include $(UTSBASE)/sparc/Makefile.sparc
51
52 CLOBBERFILES += $(MODULE)
53 CFLAGS += $(CCVERBOSE)
54
55 #
56 # Define targets
57 #
58 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
61
62 #
63 # lint pass one enforcement
64 #
65 CFLAGS += $(CCVERBOSE)
66 CPPFLAGS += -I$(SRC)/common
67
68 CERRWARN += -_gcc=-Wno-unused-label
69 CERRWARN += -_gcc=-Wno-uninitialized
70 CERRWARN += -_gcc=-Wno-parentheses
71 CERRWARN += -_gcc=-Wno-clobbered
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
|
49 #
50 include $(UTSBASE)/sparc/Makefile.sparc
51
52 CLOBBERFILES += $(MODULE)
53 CFLAGS += $(CCVERBOSE)
54
55 #
56 # Define targets
57 #
58 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
61
62 #
63 # lint pass one enforcement
64 #
65 CFLAGS += $(CCVERBOSE)
66 CPPFLAGS += -I$(SRC)/common
67
68 CERRWARN += -_gcc=-Wno-unused-label
69 CERRWARN += $(CNOWARN_UNINIT)
70 CERRWARN += -_gcc=-Wno-parentheses
71 CERRWARN += -_gcc=-Wno-clobbered
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
|