41 MODULE = xpvd
42 OBJECTS = $(XPVD_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(XPVD_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
45
46 #
47 # Include common rules.
48 #
49 include $(UTSBASE)/i86xpv/Makefile.i86xpv
50
51 #
52 # Define targets
53 #
54 ALL_TARGET = $(BINARY)
55 LINT_TARGET = $(MODULE).lint
56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
57
58 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60
61 CERRWARN += -_gcc=-Wno-uninitialized
62
63 #
64 # Default build targets.
65 #
66 .KEEP_STATE:
67
68 def: $(DEF_DEPS)
69
70 all: $(ALL_DEPS)
71
72 clean: $(CLEAN_DEPS)
73
74 clobber: $(CLOBBER_DEPS)
75
76 lint: $(LINT_DEPS)
77
78 modlintlib: $(MODLINTLIB_DEPS)
79
80 clean.lint: $(CLEAN_LINT_DEPS)
81
|
41 MODULE = xpvd
42 OBJECTS = $(XPVD_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(XPVD_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
45
46 #
47 # Include common rules.
48 #
49 include $(UTSBASE)/i86xpv/Makefile.i86xpv
50
51 #
52 # Define targets
53 #
54 ALL_TARGET = $(BINARY)
55 LINT_TARGET = $(MODULE).lint
56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
57
58 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60
61 CERRWARN += $(CNOWARN_UNINIT)
62
63 #
64 # Default build targets.
65 #
66 .KEEP_STATE:
67
68 def: $(DEF_DEPS)
69
70 all: $(ALL_DEPS)
71
72 clean: $(CLEAN_DEPS)
73
74 clobber: $(CLOBBER_DEPS)
75
76 lint: $(LINT_DEPS)
77
78 modlintlib: $(MODLINTLIB_DEPS)
79
80 clean.lint: $(CLEAN_LINT_DEPS)
81
|