44 LINTS = $(PCICMU_OBJS:%.o=$(LINTS_DIR)/%.ln)
45 ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE)
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/sun4u/opl/Makefile.opl
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # lint pass one enforcement
61 #
62 CFLAGS += $(CCVERBOSE) -I../sys
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-uninitialized
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-unused-label
67
68 #
69 # Turn on doubleword alignment for 64 bit registers
70 #
71 CFLAGS += -dalign
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)
|
44 LINTS = $(PCICMU_OBJS:%.o=$(LINTS_DIR)/%.ln)
45 ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE)
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/sun4u/opl/Makefile.opl
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # lint pass one enforcement
61 #
62 CFLAGS += $(CCVERBOSE) -I../sys
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += $(CNOWARN_UNINIT)
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-unused-label
67
68 #
69 # Turn on doubleword alignment for 64 bit registers
70 #
71 CFLAGS += -dalign
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)
|