42 OBJECTS = $(IOAT_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(IOAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
45 CONF_SRCDIR = $(UTSBASE)/i86pc/io/ioat
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/i86xpv/Makefile.i86xpv
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60
61 CERRWARN += -_gcc=-Wno-unused-label
62 CERRWARN += -_gcc=-Wno-uninitialized
63
64 #
65 # Dependency
66 #
67 LDFLAGS += -dy -Nmisc/dcopy
68
69 #
70 # Override defaults to build a unique, local modstubs.o.
71 #
72 MODSTUBS_DIR = $(OBJS_DIR)
73 CLEANFILES += $(MODSTUBS_O)
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
82 all: $(ALL_DEPS)
|
42 OBJECTS = $(IOAT_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(IOAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
45 CONF_SRCDIR = $(UTSBASE)/i86pc/io/ioat
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/i86xpv/Makefile.i86xpv
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60
61 CERRWARN += -_gcc=-Wno-unused-label
62 CERRWARN += $(CNOWARN_UNINIT)
63
64 #
65 # Dependency
66 #
67 LDFLAGS += -dy -Nmisc/dcopy
68
69 #
70 # Override defaults to build a unique, local modstubs.o.
71 #
72 MODSTUBS_DIR = $(OBJS_DIR)
73 CLEANFILES += $(MODSTUBS_O)
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
82 all: $(ALL_DEPS)
|