36 UTSBASE = ../..
37
38 #
39 # Define the module and object file sets.
40 #
41 MODULE = ehci
42 OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
45 CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/sparc/Makefile.sparc
51
52 #
53 # lint pass one enforcement
54 #
55 CFLAGS += $(CCVERBOSE)
56 CERRWARN += -_gcc=-Wno-uninitialized
57 CERRWARN += -_gcc=-Wno-switch
58
59 #
60 # depends on misc/usba
61 #
62 LDFLAGS += -dy -Nmisc/usba
63
64 #
65 # Define targets
66 #
67 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
68 LINT_TARGET = $(MODULE).lint
69 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
70
71 .KEEP_STATE:
72
73 all: $(ALL_DEPS)
74
75 def: $(DEF_DEPS)
76
|
36 UTSBASE = ../..
37
38 #
39 # Define the module and object file sets.
40 #
41 MODULE = ehci
42 OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
43 LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
45 CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
46
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/sparc/Makefile.sparc
51
52 #
53 # lint pass one enforcement
54 #
55 CFLAGS += $(CCVERBOSE)
56 CERRWARN += $(CNOWARN_UNINIT)
57 CERRWARN += -_gcc=-Wno-switch
58
59 #
60 # depends on misc/usba
61 #
62 LDFLAGS += -dy -Nmisc/usba
63
64 #
65 # Define targets
66 #
67 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
68 LINT_TARGET = $(MODULE).lint
69 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
70
71 .KEEP_STATE:
72
73 all: $(ALL_DEPS)
74
75 def: $(DEF_DEPS)
76
|