45 # Include common rules.
46 #
47 include ../Makefile.intel
48
49 OBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
50 LINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(LINT_MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Depends on smbios
61 #
62 LDFLAGS += -dy -N drv/smbios
63
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += -_gcc=-Wno-uninitialized
66
67 # needs work
68 SMATCH=off
69
70 #
71 # Default build targets.
72 #
73 .KEEP_STATE:
74
75 def: $(DEF_DEPS)
76
77 all: $(ALL_DEPS)
78
79 clean: $(CLEAN_DEPS)
80
81 clobber: $(CLOBBER_DEPS)
82
83 lint: $(LINT_DEPS)
84
85 modlintlib: $(MODLINTLIB_DEPS)
|
45 # Include common rules.
46 #
47 include ../Makefile.intel
48
49 OBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
50 LINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(LINT_MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Depends on smbios
61 #
62 LDFLAGS += -dy -N drv/smbios
63
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += $(CNOWARN_UNINIT)
66
67 # needs work
68 SMATCH=off
69
70 #
71 # Default build targets.
72 #
73 .KEEP_STATE:
74
75 def: $(DEF_DEPS)
76
77 all: $(ALL_DEPS)
78
79 clean: $(CLEAN_DEPS)
80
81 clobber: $(CLOBBER_DEPS)
82
83 lint: $(LINT_DEPS)
84
85 modlintlib: $(MODLINTLIB_DEPS)
|