50 #
51 ALL_TARGET = $(BINARY) $(CONFMOD)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Include common rules.
57 #
58 include $(UTSBASE)/sparc/Makefile.sparc
59 include $(CONF_SRCDIR)/pmcs8001fw.version
60
61 #
62 # Add additional flags
63 #
64 PMCS_DRV_FLGS = -DMODNAME=\"${MODULE}\" -DDISABLE_MSIX
65 CPPFLAGS += $(PMCS_DRV_FLGS) \
66 -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
67 -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
68
69 CERRWARN += -_gcc=-Wno-switch
70 CERRWARN += -_gcc=-Wno-uninitialized
71 CERRWARN += -_gcc=-Wno-unused-value
72 CERRWARN += -_gcc=-Wno-unused-label
73 CERRWARN += -_gcc=-Wno-parentheses
74
75
76 #
77 # Default build targets.
78 #
79 .KEEP_STATE:
80
81 all: $(ALL_DEPS)
82
83 def: $(DEF_DEPS)
84
85 clean: $(CLEAN_DEPS)
86
87 clobber: $(CLOBBER_DEPS)
88
89 lint: $(LINT_DEPS)
90
|
50 #
51 ALL_TARGET = $(BINARY) $(CONFMOD)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Include common rules.
57 #
58 include $(UTSBASE)/sparc/Makefile.sparc
59 include $(CONF_SRCDIR)/pmcs8001fw.version
60
61 #
62 # Add additional flags
63 #
64 PMCS_DRV_FLGS = -DMODNAME=\"${MODULE}\" -DDISABLE_MSIX
65 CPPFLAGS += $(PMCS_DRV_FLGS) \
66 -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
67 -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
68
69 CERRWARN += -_gcc=-Wno-switch
70 CERRWARN += $(CNOWARN_UNINIT)
71 CERRWARN += -_gcc=-Wno-unused-value
72 CERRWARN += -_gcc=-Wno-unused-label
73 CERRWARN += -_gcc=-Wno-parentheses
74
75
76 #
77 # Default build targets.
78 #
79 .KEEP_STATE:
80
81 all: $(ALL_DEPS)
82
83 def: $(DEF_DEPS)
84
85 clean: $(CLEAN_DEPS)
86
87 clobber: $(CLOBBER_DEPS)
88
89 lint: $(LINT_DEPS)
90
|