42 ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/intel/Makefile.intel
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # Overrides.
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-uninitialized
63
64 #
65 # Default build targets.
66 #
67 .KEEP_STATE:
68
69 def: $(DEF_DEPS)
70
71 all: $(ALL_DEPS)
72
73 clean: $(CLEAN_DEPS)
74
75 clobber: $(CLOBBER_DEPS)
76
77 lint: $(LINT_DEPS)
78
79 modlintlib: $(MODLINTLIB_DEPS)
80
81 clean.lint: $(CLEAN_LINT_DEPS)
82
|
42 ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/intel/Makefile.intel
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # Overrides.
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += $(CNOWARN_UNINIT)
63
64 #
65 # Default build targets.
66 #
67 .KEEP_STATE:
68
69 def: $(DEF_DEPS)
70
71 all: $(ALL_DEPS)
72
73 clean: $(CLEAN_DEPS)
74
75 clobber: $(CLOBBER_DEPS)
76
77 lint: $(LINT_DEPS)
78
79 modlintlib: $(MODLINTLIB_DEPS)
80
81 clean.lint: $(CLEAN_LINT_DEPS)
82
|