45 LINTS = $(MC_US3I_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/sun4u/Makefile.sun4u
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59
60 #
61 # lint pass one enforcement
62 #
63 CFLAGS += $(CCVERBOSE)
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += -_gcc=-Wno-uninitialized
66
67 #
68 # Turn on doubleword alignment for 64 bit registers
69 #
70 CFLAGS += -dalign
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
|
45 LINTS = $(MC_US3I_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/sun4u/Makefile.sun4u
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59
60 #
61 # lint pass one enforcement
62 #
63 CFLAGS += $(CCVERBOSE)
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += $(CNOWARN_UNINIT)
66
67 #
68 # Turn on doubleword alignment for 64 bit registers
69 #
70 CFLAGS += -dalign
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
|